@font-face {
    font-family: "Vidoky Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("../fonts/storefront/dm-sans.woff2") format("woff2");
}
@font-face {
    font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/storefront/instrument-serif.woff2") format("woff2");
}
@font-face {
    font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("../fonts/storefront/instrument-serif-italic.woff2") format("woff2");
}
:root {
    --vs-paper: #fffdf8; --vs-pane: #fffdf8; --vs-ink: #301e23; --vs-muted: #68585a;
    --vs-line: #ded7cc; --vs-wash: #f2ede4; --vs-wine: #591e32; --vs-accent: #9d304a;
    --vs-serif: "Instrument Serif", Georgia, serif; --vs-sans: "Vidoky Sans", "DM Sans", Arial, sans-serif;
}
.vs-spot-arrow { display: inline-grid; place-items: center; flex: none; }
.vs-home .vs-hero { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 14px; }
.vs-lead { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); min-height: clamp(255px, 21vw, 312px); border-radius: 16px; overflow: hidden; color: #532037; background: #f4d0c7; }
.vs-lead.vs-lead-text-only { grid-template-columns: 1fr; }
.vs-lead-copy { align-self: center; padding: clamp(21px, 2.4vw, 40px); min-width: 0; z-index: 1; }
body.vd-digital-market .vs-lead h1 {
    font: 400 clamp(49px, 4.6vw, 76px)/.89 var(--vs-serif); letter-spacing: -.035em;
    color: #552137; margin: 0; overflow-wrap: break-word;
}
.vs-lead h1 em { font-family: inherit; font-weight: 400; }
body.vd-digital-market .vs-lead-copy p { color: #5f3541; max-width: 29ch; margin: 14px 0 0; font: 400 clamp(13px, 1.05vw, 16px)/1.38 var(--vs-sans); }
.vs-action { margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 10px 17px; border-radius: 30px; background: #582038; color: #fff9ed; font: 650 13px/1.35 var(--vs-sans); }
.vs-action:hover { background: #762c46; }
.vs-action span { font-size: 1.25em; line-height: 1; }
.vs-lead-art,
.vs-spot { display: block; position: relative; min-width: 0; overflow: hidden; isolation: isolate; }
.vs-lead-art { background: #e1a697; }
.vs-lead-art::after { content: ""; position: absolute; pointer-events: none; inset: 0 auto 0 -1px; width: 11px; background: radial-gradient(circle at left center, #f4d0c7 8px, transparent 8.8px) 0 0 / 11px 20px repeat-y; }
body.vd-digital-market .vs-lead-art > img,
body.vd-digital-market .vs-spot-image img {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
body.vd-digital-market .vs-lead-art > img,
.vs-spot-image { position: absolute; inset: 0; }
.vs-photo-caption { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 26px); padding: 6px 10px; border-radius: 22px; color: #442534; background: #fffaee; font: 600 11px/1.25 var(--vs-sans); }
.vs-photo-caption span { margin-left: 3px; }
.vs-spot { display: grid; align-items: end; min-height: 0; border-radius: 16px; background: #b1ba73; }
.vs-spot-image { display: block; }
body.vd-digital-market .vs-spot-image img { object-position: center 48%; }
.vs-spot-caption { position: relative; display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 13px; padding: 11px 13px 11px 15px; background: #fff8e9; border-radius: 10px; color: #302621; }
.vs-spot-caption > span:first-child { min-width: 0; }
.vs-spot-caption small { display: block; font: 700 9px/1.35 var(--vs-sans); letter-spacing: .115em; text-transform: uppercase; color: #605245; margin-bottom: 3px; }
.vs-spot-caption strong { display: block; font: 400 clamp(21px, 2.05vw, 34px)/.99 var(--vs-serif); letter-spacing: -.015em; overflow-wrap: anywhere; }
.vs-spot-description { display: block; font: 400 12px/1.35 var(--vs-sans); margin-top: 4px; }
.vs-spot-arrow { width: 31px; height: 31px; border-radius: 50%; border: 1px solid #cdbfaf; font-size: 17px; }
.vs-spot:hover .vs-spot-arrow { background: #5a2138; color: #fff; border-color: transparent; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
.vs-spot-image img,
.vs-lead-art > img { transition: transform .25s ease-out; }
.vs-spot:hover > .vs-spot-image img,
.vs-lead-art:hover > img { transform: scale(1.025); }
}
@media (max-width: 1050px) {
.vs-lead-copy { padding: 20px; }
}
@media (max-width: 800px) {
.vs-home .vs-hero { grid-template-columns: minmax(0,1.95fr) minmax(0,1fr); gap: 9px; }
.vs-lead { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 225px; }
body.vd-digital-market .vs-lead h1 { font-size: clamp(43px,6vw,51px); }
.vs-spot-caption { margin: 8px; padding: 9px; gap: 5px; }
.vs-spot-arrow { width: 27px; height: 27px; }
}
@media (max-width: 640px) {
.vs-home .vs-hero { grid-template-columns: 1fr; gap: 8px; }
.vs-lead { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 190px; border-radius: 12px; }
.vs-lead-copy { padding: 16px 12px 16px 16px; }
body.vd-digital-market .vs-lead h1 { font-size: clamp(39px,9.4vw,56px); }
body.vd-digital-market .vs-lead-copy p { font-size: 12px; margin-top: 9px; }
.vs-action { font-size: 12px; gap: 6px; padding: 9px 11px; margin-top: 10px; }
.vs-photo-caption { right: 6px; bottom: 6px; padding: 4px 7px; max-width: calc(100% - 15px); font-size: 9px; }
.vs-spot { grid-template-columns: 36% minmax(0,1fr); border-radius: 11px; align-items: stretch; background: #e8edc2; }
.vs-spot-image { position: relative; display: block; min-height: 72px; }
body.vd-digital-market .vs-spot-image img { position: absolute; inset: 0; object-position: 50% 46%; }
.vs-spot-caption { margin: 0; border-radius: 0; padding: 8px 12px; background: transparent; }
.vs-spot-caption small { font-size: 8px; }
.vs-spot-caption strong { font-size: 24px; }
.vs-spot-arrow { width: 27px; height: 27px; }
}
@media (max-width: 360px) {
.vs-lead-copy { padding-left: 12px; }
.vs-action { font-size: 11px; }
.vs-spot-caption { padding-inline: 9px; }
.vs-spot-caption strong { font-size: 22px; }
}
.vs-diagonal { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; flex-shrink: 0; }
.vs-photo-caption .vs-diagonal { margin-left: 2px; }
.vs-spot-arrow { display: inline-grid; place-items: center; }

/* Homepage hero sits inside the 4.7 layout; five product cards per row. */
.market-home .vs-hero-wrap { padding-top: 22px; }
.market-home .vs-hero-wrap .vs-lead-copy p { max-width: 29ch; }
.market-home .market-products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.market-home .market-product-image { height: 170px; }
.market-home .market-product-info { padding: 14px; }
.market-home .market-product-info h3 { font-size: 14px; }
@media (max-width: 1100px) { .market-home .market-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) { .market-home .market-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .market-home .market-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* Neutralise the legacy global `section{padding:100px 5%}` for the hero. */
.market-home .vs-hero { padding: 0; }
.market-home .vs-hero-wrap { padding: 20px 0 8px; }
.market-home .vs-hero-wrap { width: min(1260px, calc(100% - 36px)); margin-inline: auto; }
@media (max-width: 540px) { .market-home .vs-hero-wrap { width: calc(100% - 30px); } }

/* ───────── Hero mosaic: six picture cards of different shapes, with ribbon decorations ───────── */
.hx-wrap { width: min(1260px, calc(100% - 36px)); margin: 30px auto 10px; }
.hx-grid { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 205px; gap: 14px; padding: 0; }
.hx-card { position: relative; overflow: hidden; display: block; min-width: 0; isolation: isolate; }
.hx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease-out; }
.hx-photo:hover img { transform: scale(1.04); }
.hx-photo .vs-photo-caption { right: auto; left: 12px; bottom: 12px; font-size: 11px; max-width: calc(100% - 24px); }
.hx-feature { grid-column: 1 / span 3; grid-row: 1 / span 2; border-radius: 26px; }
/* Corner ribbon across the big card */
.hx-feature::after { content: ""; position: absolute; z-index: 2; top: 26px; left: -44px; width: 170px; height: 26px; transform: rotate(-45deg); background: var(--hx-ribbon, #fff); box-shadow: 0 2px 6px #0004; }
.hx-feature::before { content: ""; position: absolute; z-index: 2; top: 26px; left: -44px; width: 170px; height: 26px; transform: rotate(-45deg) translateY(0); border-block: 2px solid var(--hx-ribbon-line, #101010); box-sizing: border-box; pointer-events: none; }
.hx-arch     { grid-column: 4 / span 2; grid-row: 1 / span 2; border-radius: 999px 999px 20px 20px; }
.hx-wide     { grid-column: 6 / span 3; grid-row: 1;           border-radius: 26px; }
.hx-square   { grid-column: 6;          grid-row: 2;           border-radius: 18px; }
.hx-squircle { grid-column: 7;          grid-row: 2;           border-radius: 999px; }
.hx-circle   { grid-column: 8;          grid-row: 2;           border-radius: 50%; }
.hx-wide img { object-position: 50% 30%; }
.hx-squircle .vs-photo-caption, .hx-circle .vs-photo-caption, .hx-arch .vs-photo-caption { left: 50%; transform: translateX(-50%); width: max-content; max-width: 92%; }
.hx-squircle .vs-photo-caption, .hx-circle .vs-photo-caption, .hx-square .vs-photo-caption { font-size: 10px; padding: 4px 8px; }
/* Decorations */
.hx-deco { position: relative; z-index: 4; pointer-events: none; fill: var(--hx-ribbon, #fff); stroke: var(--hx-ribbon-line, #101010); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 3px 5px #0005); }
.hx-bow-a { grid-column: 4 / span 2; grid-row: 1; align-self: start; justify-self: center; width: 118px; margin-top: -30px; }
.hx-bow-b { grid-column: 1 / span 3; grid-row: 2; align-self: end; justify-self: end; width: 84px; margin: 0 -14px -18px 0; transform: rotate(14deg); }
.hx-star-a { grid-column: 6 / span 3; grid-row: 1; align-self: start; justify-self: end; width: 30px; margin: -12px -8px 0 0; stroke-width: 1.4; }
.hx-star-b { grid-column: 5; grid-row: 2; align-self: end; justify-self: end; width: 22px; margin: 0 -18px 18px 0; stroke-width: 1.4; }
.hx-star-c { grid-column: 3; grid-row: 1; align-self: start; justify-self: end; width: 20px; margin: 18px -14px 0 0; stroke-width: 1.4; }
@media (max-width: 640px) {
  .hx-wrap { width: calc(100% - 30px); margin-top: 22px; }
  .hx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; grid-auto-rows: calc((100vw - 30px - 16px) / 3); }
  .hx-feature  { grid-column: 1 / -1; grid-row: 1 / span 2; border-radius: 20px; }
  .hx-arch     { grid-column: 1;          grid-row: 3; }
  .hx-wide     { grid-column: 2 / span 2; grid-row: 3; border-radius: 20px; }
  .hx-square   { grid-column: 1;          grid-row: 4; }
  .hx-squircle { grid-column: 2;          grid-row: 4; }
  .hx-circle   { grid-column: 3;          grid-row: 4; }
  .hx-photo .vs-photo-caption { font-size: 9px; padding: 3px 6px; bottom: 6px; }
  .hx-photo .vs-photo-caption svg { display: none; }
  .hx-bow-a { grid-column: 1; grid-row: 3; width: 56px; margin-top: -14px; }
  .hx-bow-b { grid-column: 1 / -1; grid-row: 2; width: 54px; margin: 0 -4px -10px 0; }
  .hx-star-a, .hx-star-b, .hx-star-c { display: none; }
}
.hx-grid .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Old global image rules force height:auto; make hero pictures always fill their card. */
body.vd-digital-market .hx-photo > img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; aspect-ratio: auto !important; }
.hx-photo .vs-photo-caption { white-space: nowrap; }
@media (max-width: 640px) { .hx-arch .vs-photo-caption, .hx-square .vs-photo-caption, .hx-squircle .vs-photo-caption, .hx-circle .vs-photo-caption { display: none; } }
@media (max-width:1000px){.hx-square .vs-photo-caption,.hx-squircle .vs-photo-caption,.hx-circle .vs-photo-caption{display:none}}
