/* ---- Tokens ---- */
:root {
  color-scheme: light;
  --ground: #FFF4E2;
  --paper: #FFFDF7;
  --ink: #16302A;
  --deep: #10453B;
  --teal: #0B7078;
  --sky: #12A0A8;
  --pink: #DC3B7D;
  --amber: #FBA51F;
  --coral: #F0553C;
  --action: #CC3B22;
  --on-dark: #FFF7EE;
  --radius: 24px;
  --pill: 999px;

  --t-display: clamp(40px, 5.6vw, 80px);
  --t-heading: clamp(28px, 3vw, 44px);
  --t-lead: clamp(20px, 2.2vw, 30px);
  --t-body: clamp(16px, 1.3vw, 19px);
  --t-small: 14px;

  --gutter: clamp(16px, 4vw, 56px);
  --space: clamp(88px, 11vw, 168px);
  --display: 'Baloo 2', system-ui, sans-serif;
  --text: 'Nunito Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { margin: 0; background: var(--ground); overflow-x: hidden; }
/* Components set their own display, which would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }
a { color: inherit; }
input, textarea, button, select { font: inherit; }
button { border: none; background: none; color: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.vs-root { container-type: inline-size; width: 100%; overflow-x: clip; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--t-body); line-height: 1.55; }
.vs-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :where(a, button, input, textarea):focus-visible, .vs-footer :where(a, button):focus-visible { outline-color: var(--on-dark); }
.on-dark :where(.vs-btn, .vs-btn-ink) { outline-offset: 3px; }

.vs-display { font-family: var(--display); font-weight: 800; font-size: var(--t-display); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.vs-heading { font-family: var(--display); font-weight: 800; font-size: var(--t-heading); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }

/* ---- Controls ---- */
.vs-btn, .vs-btn-ink { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: var(--pill); background: var(--action); color: var(--on-dark); font: 700 var(--t-body)/1 var(--text); text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.vs-btn:hover { background: #A92E19; }
.vs-btn-ink { background: var(--ink); }
.vs-btn-ink:hover { background: var(--deep); }
.vs-btn:active, .vs-btn-ink:active, .vs-buy:active, .vs-filter-btn:active, .vs-season-list button:active { transform: scale(0.97); }
.vs-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; transition: text-decoration-thickness var(--t-hover) ease; }
.vs-link:hover { text-decoration-thickness: 0.2em; }

/* ---- Nav ---- */
.vs-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px var(--gutter); }
.vs-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: var(--t-heading); line-height: 1; }
.vs-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.vs-nav-links { display: flex; align-items: center; gap: 12px 28px; font-weight: 600; }
.vs-navlink { text-decoration: none; padding: 6px 0; text-decoration-thickness: 0.08em; text-underline-offset: 0.3em; }
.vs-navlink:hover { text-decoration: underline; }
.vs-iglink:hover { text-decoration: underline; }
@media (max-width: 719px) { .vs-nav { row-gap: 8px; } .vs-nav-links { order: 3; flex-basis: 100%; gap: 6px 22px; font-size: 16px; } }

/* ---- Hero: the headline and the photo stay put while the garden loops around them ----
   The garden groups ([data-g] in img/garden.svg) are driven by js/garden.js from a clock. Without
   motion (reduced motion or no JS) there is no scene and no season buttons. */
.vs-hero-frame { position: relative; padding: 12px var(--gutter) 48px; }
.vs-hero-grid { display: grid; gap: 40px var(--gutter); align-items: center; }
.vs-hero-text > * + * { margin-top: 20px; }
.vs-hero-text p { max-width: 30em; text-wrap: pretty; }
.vs-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px !important; }
.vs-hero-photo { width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.vs-hero-circle-wrap { width: 100%; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.vs-hero-circle-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-hero-deco, .vs-season-list { display: none; }
.vs-season-list button { padding: 8px 18px; border-radius: var(--pill); background: var(--paper); color: var(--ink); font: 700 var(--t-small)/1.2 var(--display); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.vs-season-list button:hover { background: #F2E4C8; }
.vs-season-list button.is-active { background: var(--ink); color: var(--on-dark); }
.vs-motion .vs-season-list { display: flex; flex-wrap: wrap; gap: 6px; visibility: hidden; }
.vs-season-list.is-ready { visibility: visible !important; }
.vs-season-list .vs-garden-pause { display: inline-flex; align-items: center; padding: 8px 12px; }
.vs-garden-pause svg { display: block; fill: currentColor; }
.vs-garden-pause .i-play, .vs-garden-pause.is-paused .i-pause { display: none; }
.vs-garden-pause.is-paused .i-play { display: block; }
@media (max-width: 399px) { .vs-season-list button { padding-inline: 13px; } .vs-season-list .vs-garden-pause { padding-inline: 10px; } }
/* Phone order: text, seasons, garden, photo. The box matches the phone viewBox in js/garden.js. */
.vs-motion .vs-hero-deco { display: block; position: relative; overflow: hidden; aspect-ratio: 1060 / 770; margin-inline: calc(-1 * var(--gutter)); pointer-events: none; }
@media (max-width: 899px) {
  .vs-hero-text { padding-top: 24px; }
  .vs-motion .vs-season-list, .vs-motion .vs-hero-deco { margin-top: -24px; }
}

@media (min-width: 900px) {
  /* A minimum, not a height: on a short screen the hero grows so the ground stays below the buttons. */
  #hero { min-height: max(calc(100svh - 92px), 640px); overflow: hidden; }
  .vs-hero-frame { min-height: inherit; padding: max(12vh, 84px) var(--gutter) 64px; }
  .vs-hero-grid { grid-template-columns: 7fr 5fr; align-items: start; }
  .vs-hero-text, .vs-hero-photo { position: relative; z-index: 1; }
  .vs-hero-photo { max-width: min(520px, 38svh); margin-right: 0; }
  /* The garden sits behind the text and photo and spills past its box: the ground runs the whole width. */
  /* Past 2200px the right inset grows, so an ultra-wide screen keeps the art near the middle. */
  .vs-motion .vs-hero-deco { position: absolute; inset: 28% max(0px, calc(50vw - 1100px)) 0 0; overflow: visible; aspect-ratio: auto; margin: 0; }
  .vs-motion .vs-season-list { position: absolute; top: clamp(20px, 3vw, 40px); left: var(--gutter); z-index: 6; }
}

/* ---- Garden scene (img/garden.svg) ---- */
.vs-garden-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vs-garden-svg [data-g] { visibility: hidden; transform-box: fill-box; transform-origin: 50% 100%; will-change: transform; }
.vs-garden-svg .g-sway, .vs-garden-svg .g-flap, .vs-garden-svg .g-flap-fast, .vs-garden-svg .g-flutter,
.vs-garden-svg .g-drift, .vs-garden-svg .g-buzz, .vs-garden-svg .g-bob, .vs-garden-svg .g-blink,
.vs-garden-svg .g-spin, .vs-garden-svg .g-wag, .vs-garden-svg .g-head-tilt, .vs-garden-svg .g-leg-a,
.vs-garden-svg .g-leg-b, .vs-garden-svg .g-leaves use, .vs-garden-svg .g-snow use { transform-box: fill-box; animation-delay: var(--d, 0s); }
.vs-garden-svg .g-sway { transform-origin: 50% 100%; animation: gSway 4.6s ease-in-out infinite var(--d, 0s); }
.vs-garden-svg .g-flap { transform-origin: 15% 95%; animation: gFlap .45s ease-in-out infinite alternate var(--d, 0s); }
.vs-garden-svg .g-flap-fast { transform-origin: 50% 100%; animation: gFlap .09s linear infinite alternate; }
.vs-garden-svg .g-flutter { transform-origin: 50% 50%; animation: gFlutter .32s ease-in-out infinite alternate var(--d, 0s); }
.vs-garden-svg .g-drift { transform-origin: 50% 50%; animation: gDrift 5s ease-in-out infinite var(--d, 0s); }
.vs-garden-svg .g-buzz { transform-origin: 50% 50%; animation: gBuzz 1.8s ease-in-out infinite var(--d, 0s); }
.vs-garden-svg .g-bob { transform-origin: 50% 100%; animation: gBob 1.9s ease-in-out infinite alternate var(--d, 0s); }
.vs-garden-svg .g-blink { transform-origin: 50% 50%; animation: gBlink 4.2s ease-in-out infinite var(--d, 0s); }
.vs-garden-svg .g-spin { transform-origin: 50% 50%; animation: gSpin 30s linear infinite; }
.vs-garden-svg .g-wag { transform-origin: 95% 90%; animation: gWag 2.4s ease-in-out infinite alternate; }
.vs-garden-svg .g-head-tilt { transform-origin: 20% 90%; animation: gTilt 3.2s ease-in-out infinite alternate; }
.vs-garden-svg .g-leg-a, .vs-garden-svg .g-leg-b { transform-origin: 50% 0%; }
.vs-garden-svg .is-walking .g-leg-a { animation: gStep .32s ease-in-out infinite alternate; }
.vs-garden-svg .is-walking .g-leg-b { animation: gStep .32s ease-in-out infinite alternate-reverse; }
.vs-garden-svg .is-walking .g-raccoon { animation: gBob .16s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.vs-garden-svg .g-leaves use { transform-origin: 50% 50%; animation: gFall 6.5s linear infinite var(--d, 0s); }
.vs-garden-svg .g-snow use { transform-origin: 50% 50%; animation: gSnow 9s linear infinite var(--d, 0s); }
.vs-hero-deco.is-paused .vs-garden-svg * { animation-play-state: paused !important; }

@keyframes gSway { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
@keyframes gFlap { from { transform: scaleY(1); } to { transform: scaleY(.3); } }
@keyframes gFlutter { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
@keyframes gDrift { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 25% { transform: translate(16px, -12px) rotate(4deg); } 50% { transform: translate(2px, -24px) rotate(8deg); } 75% { transform: translate(-16px, -10px) rotate(-2deg); } }
@keyframes gBuzz { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(10px, -6px); } 50% { transform: translate(0, -12px); } 75% { transform: translate(-10px, -5px); } }
@keyframes gBob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes gBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes gSpin { to { transform: rotate(360deg); } }
@keyframes gWag { from { transform: rotate(-6deg); } to { transform: rotate(10deg); } }
@keyframes gTilt { from { transform: rotate(-3deg); } to { transform: rotate(4deg); } }
@keyframes gStep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@keyframes gFall { 0% { transform: translate(var(--x), 260px) rotate(0deg); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(calc(var(--x) + 60px), 520px) rotate(200deg); } 92% { opacity: 1; } 100% { transform: translate(calc(var(--x) + 10px), 800px) rotate(420deg); opacity: 0; } }
@keyframes gSnow { 0% { transform: translate(var(--x), var(--y0, -30px)); opacity: 0; } 6% { opacity: 1; } 50% { transform: translate(calc(var(--x) + 26px), var(--ym, 400px)); } 94% { opacity: 1; } 100% { transform: translate(calc(var(--x) - 20px), 820px); opacity: 0; } }

/* ---- Garden thread: section critters + guide butterfly (js/garden.js) ----
   Final (resting) state is the default, so without JS or with reduced motion they sit still.
   Under .vs-motion the entrance state applies until .is-seen; loops run only while .is-in. */
.vs-critter { pointer-events: none; }
.vs-critter svg { display: block; width: 100%; height: auto; overflow: visible; }
footer { position: relative; }

.vs-perch { position: relative; display: inline-block; }
.vs-shop-bird { position: absolute; right: -0.95em; top: -0.62em; width: 0.9em; }
.vs-motion .vs-shop-bird { opacity: 0; transform: translate(3em, -2.4em) rotate(-18deg); }
.vs-motion .vs-shop-bird.is-seen { animation: cLand 1.3s cubic-bezier(.3,.7,.3,1) forwards; }
.vs-motion .vs-shop-bird.is-seen .c-wing { transform-box: fill-box; transform-origin: 15% 95%; animation: cFlap .14s linear 9 alternate; }
.vs-motion .vs-shop-bird.is-in.is-seen svg { animation: cHop 3.4s ease-in-out 1.4s infinite; }

.vs-footer-flowers { position: absolute; left: 32px; right: 32px; bottom: calc(100% + 14px); display: flex; justify-content: space-between; align-items: flex-end; }
.vs-footer-flowers .c-grow { display: block; width: clamp(28px, 3.6vw, 46px); transform-origin: 50% 100%; }
.vs-footer-flowers .c-grow:nth-child(even) { width: clamp(22px, 2.8vw, 36px); }
.vs-motion .vs-footer-flowers .c-grow { transform: scaleY(0); transition: transform .7s cubic-bezier(.3,1.5,.5,1) calc(var(--i) * .09s); }
.vs-motion .vs-footer-flowers.is-seen .c-grow { transform: scaleY(1); }
.vs-motion .vs-footer-flowers.is-in .c-grow svg { transform-origin: 50% 100%; animation: gSway 4.6s ease-in-out infinite calc(var(--i) * -.6s); }

/* Guide butterfly: follows the page scroll after the hero; never takes clicks. */
.vs-guide { display: none; }

.vs-motion .vs-guide { display: block; position: fixed; left: 0; top: 0; z-index: 40; width: clamp(68px, 6.8vw, 96px); pointer-events: none; opacity: 0; will-change: transform, opacity; transition: opacity .15s ease; }
.vs-guide-tilt { transition: transform .25s ease-out; }
.vs-guide svg { display: block; width: 100%; height: auto; overflow: visible; }
.vs-guide .c-flutter { transform-box: fill-box; transform-origin: 50% 50%; animation: gFlutter .3s ease-in-out infinite alternate; }

@keyframes cLand { 0% { opacity: 0; transform: translate(3em, -2.4em) rotate(-18deg); } 20% { opacity: 1; } 70% { transform: translate(0.1em, -0.5em) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes cFlap { from { transform: scaleY(1); } to { transform: scaleY(.3); } }
@keyframes cHop { 0%, 70%, 100% { transform: none; } 76% { transform: translateY(-0.12em) rotate(-6deg); } 82% { transform: none; } 88% { transform: translateY(-0.08em) rotate(4deg); } 94% { transform: none; } }

/* ---- Entrances: the hidden state only applies once the head script has set .vs-motion ---- */
@media (prefers-reduced-motion: no-preference) {
  .vs-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .vs-motion [data-reveal="pic"] { transform: scale(0.97); transition: opacity 800ms var(--ease-out), transform 1100ms var(--ease-soft); }
  .vs-motion [data-reveal].vs-revealed { opacity: 1; transform: none; }
}

/* ---- Intro statement ---- */
#about-strip { padding: 12vh var(--gutter); }
.vs-statement { max-width: 60%; margin-inline: auto; text-align: center; font-family: var(--display); font-weight: 700; font-size: var(--t-lead); line-height: 1.35; letter-spacing: -0.01em; text-wrap: pretty; }
.vs-thumb { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.22em; border-radius: 50%; overflow: hidden; background: var(--sky); }
.vs-thumb:empty { display: none; }
.vs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 719px) {
  .vs-statement { max-width: none; text-align: left; font-size: 24px; padding-block: 0; }
  .vs-thumb:nth-of-type(n+4) { display: none; }
}

/* ---- Seasons: oversized visual, small cluster ---- */
#collections { padding: 0; }
.vs-season { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; align-items: end; margin-top: 140px; }
.vs-season:first-child { margin-top: 0; }
.vs-season-visual { grid-column: 1 / 8; height: var(--h, 80svh); overflow: hidden; border-radius: 0 var(--radius) var(--radius) 0; background: var(--c); }
.vs-season-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.vs-season-aside { grid-column: 9 / 13; padding-right: var(--gutter); display: grid; gap: 28px; }
.vs-season-thumb { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--c); }
.vs-season-thumb img, .vs-season-thumb video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.vs-season-copy { display: grid; gap: 12px; justify-items: start; }
.vs-season-copy p { max-width: 30em; }
.vs-season-count { font-size: var(--t-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.vs-season-more { padding: 140px var(--gutter) 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .vs-season-visual img { animation: vsZoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    @keyframes vsZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
  }
}
@media (max-width: 719px) {
  .vs-season { display: block; margin-top: 88px; }
  .vs-season:first-child { margin-top: 0; }
  .vs-season-visual { width: calc(110% - var(--gutter)); margin-left: -10%; height: auto; aspect-ratio: 4 / 5; }
  .vs-season-aside { padding: 28px var(--gutter) 0; }
  .vs-season-copy { order: -1; }
  .vs-season-thumb { width: 70%; margin-left: auto; }
  .vs-season-more { padding-top: 88px; }
}

/* ---- Shop: specimens with a hanging tag ---- */
#shop { padding: var(--space) var(--gutter); }
.vs-shop-head { display: grid; gap: 16px; margin-bottom: 32px; }
.vs-shop-head p { max-width: 36em; }
.vs-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.vs-filter-btn { padding: 12px 22px; border-radius: var(--pill); background: var(--paper); color: var(--ink); font-weight: 700; font-size: var(--t-body); line-height: 1; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.vs-filter-btn:hover { background: #F2E4C8; }
.vs-filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.vs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; align-items: start; }
@media (min-width: 720px) { .vs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vs-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vs-shop-foot { margin-top: 40px; display: flex; justify-content: flex-start; }
.vs-empty { margin-top: 32px; }

.vs-piece-card { display: flex; flex-direction: column; }
@media (max-width: 559px) {
  .vs-tag { padding: 14px; }
  .vs-tag-row { display: grid; gap: 2px; }
  .vs-card-name, .vs-card-meta { text-wrap: balance; }
  .vs-card-detail { display: none; }
  .vs-meta-sep { display: none; }
  .vs-meta-x { display: block; }
  .vs-card-actions { display: grid; justify-items: center; gap: 10px; }
  .vs-card-actions .vs-buy { width: 100%; }
  .vs-ask { font-size: var(--t-small); }
}
.vs-tile { display: grid; place-items: center; aspect-ratio: 1; background: var(--c); border-radius: var(--radius) var(--radius) 0 0; text-decoration: none; }
.vs-disc { display: block; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--paper); transition: transform 320ms var(--ease-out); }
.vs-disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) and (pointer: fine) {
  .vs-tile:hover .vs-disc { transform: rotate(4deg) scale(1.03); }
}
.vs-tag { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 18px 20px 20px; border-radius: 0 0 var(--radius) var(--radius); background: var(--paper); color: var(--ink); }
.vs-piece-card.is-dark .vs-tag { background: var(--ink); color: var(--on-dark); }
.vs-tag-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.vs-tag-row .vs-card-name { overflow-wrap: anywhere; }
.vs-card-name { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.vs-card-title { text-decoration: none; }
.vs-card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.vs-price { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 20px; line-height: 1.15; }
.vs-card-meta { font-size: var(--t-small); }
.vs-card-detail { font-size: 16px; line-height: 1.45; }
.vs-card-actions { display: flex; align-items: center; gap: 12px 20px; margin-top: 8px; flex-wrap: wrap; }
.vs-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: var(--pill); background: var(--action); color: var(--on-dark); font-weight: 700; font-size: 16px; text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.vs-buy:hover { background: #A92E19; }
.vs-piece-card.is-dark .vs-buy:hover { background: #E24A30; }
.vs-ask { font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 0.22em; }
.vs-piece-card.is-dark :where(a, button):focus-visible { outline-color: var(--on-dark); }

/* ---- Process: tiles that grow ---- */
#process { background: var(--deep); color: var(--on-dark); padding: var(--space) var(--gutter); }
.vs-stages { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 10px; align-items: end; }
.vs-stages { min-height: calc(60svh + 260px); }
.vs-stages > h2 { grid-column: 1 / 8; grid-row: 1; align-self: start; font-size: var(--t-display); line-height: 1; letter-spacing: -0.025em; }
.vs-stage { grid-row: 1; display: grid; gap: 16px; }
.vs-stage:nth-of-type(1) { grid-column: 1 / 4; }
.vs-stage:nth-of-type(2) { grid-column: 4 / 8; }
.vs-stage:nth-of-type(3) { grid-column: 8 / 13; }
.vs-stage-tile { display: grid; place-items: center; height: var(--h); background: var(--c); border-radius: var(--radius); overflow: hidden; }
.vs-stage-tile svg { height: 74%; width: auto; aspect-ratio: 1; max-width: 86%; }
.vs-stage h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.vs-stage p { margin-top: 8px; max-width: 26em; }
.vs-process-time { display: flex; align-items: baseline; gap: 16px; margin-top: 72px; max-width: 40em; }
.vs-process-time span:last-child { max-width: 30ch; }
.vs-process-days { font-family: var(--display); font-weight: 800; font-size: var(--t-display); line-height: 1; }
@media (max-width: 719px) {
  .vs-stages { display: grid; grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .vs-stages > h2 { grid-row: auto; grid-column: 1; }
  .vs-stage { grid-row: auto; grid-column: 1 !important; }
  .vs-stage-tile { height: var(--hm); }
  .vs-process-time { margin-top: 56px; }
}

/* ---- Custom order: a coupon to cut out ---- */
#custom { padding: var(--space) var(--gutter); }
.vs-coupon-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; }
.vs-coupon { grid-column: 2 / 12; display: grid; grid-template-columns: 46fr 28px 54fr; background: var(--teal); color: var(--on-dark); border-radius: var(--radius); }
.vs-coupon-text { padding: 48px 24px 48px 48px; display: grid; align-content: space-between; gap: 32px; }
.vs-coupon-text ul { display: grid; gap: 8px; margin-top: 24px; }
.vs-coupon-text p + p { margin-top: 12px; }
.vs-coupon-form { padding: 48px 48px 48px 24px; display: grid; align-content: center; }
.vs-perf { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 22px 0; }
.vs-perf::before, .vs-perf::after { content: ""; position: absolute; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); }
.vs-perf::before { top: -14px; }
.vs-perf::after { bottom: -14px; }
.vs-perf i { width: 6px; height: 6px; border-radius: 50%; background: var(--ground); flex: none; }
.vs-coupon form, #custom-success { display: grid; gap: 12px; }
.vs-coupon .vs-field input, .vs-coupon .vs-field textarea { background: #0E7C85; color: var(--on-dark); }
.vs-coupon .vs-field ::placeholder { color: var(--on-dark); opacity: 1; }
.vs-coupon .vs-err { color: #FBD98A; }
.vs-coupon .vs-submit { background: var(--ink); color: var(--on-dark); }
.vs-coupon .vs-submit:hover { background: var(--deep); }
.vs-coupon :where(a, button, input, textarea):focus-visible { outline-color: var(--on-dark); }
#custom-success dl { display: grid; gap: 16px; margin: 4px 0 8px; }
#custom-success dt { font-size: var(--t-small); font-weight: 700; }
#custom-success dd { word-break: break-word; }
.vs-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 719px) {
  #custom { padding-inline: 12px; }
  .vs-coupon-wrap { display: block; }
  .vs-coupon { grid-template-columns: 1fr; }
  .vs-coupon-text { padding: 32px 24px 32px; }
  .vs-coupon-form { padding: 24px 24px 32px; }
  .vs-perf { flex-direction: row; padding: 0 22px; height: 28px; }
  .vs-perf::before, .vs-perf::after { top: 0; bottom: auto; }
  .vs-perf::before { left: -14px; }
  .vs-perf::after { left: auto; right: -14px; }
}

/* ---- Forms (custom order + cart) ---- */
.vs-field { display: grid; gap: 6px; font-size: var(--t-small); font-weight: 700; }
.vs-field input, .vs-field textarea { font-size: 16px; font-weight: 400; color: var(--ink); background: var(--ground); border: 0; border-radius: 16px; padding: 0 18px; min-height: 52px; width: 100%; font-family: inherit; }
.vs-field textarea { padding-top: 14px; min-height: 112px; resize: vertical; }
.vs-field input::placeholder, .vs-field textarea::placeholder { color: #5E6661; opacity: 1; }
.vs-err { font-size: var(--t-small); font-weight: 600; color: #B7301A; }
.vs-submit { min-height: 56px; border-radius: var(--pill); background: var(--action); color: var(--on-dark); font-weight: 700; font-size: var(--t-body); padding: 0 24px; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.vs-submit:hover { background: #A92E19; }
.vs-submit:active { transform: scale(0.97); }
.vs-link-btn { padding: 0; font: inherit; font-size: var(--t-small); text-decoration: underline; text-underline-offset: 0.22em; justify-self: start; }

/* ---- Artist: wide photo, colour tile, facts ---- */
#artist { background: var(--paper); padding: var(--space) var(--gutter); }
.vs-artist-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; }
.vs-artist-head > * { grid-column: 1 / 7; }
.vs-artist-head h2 { grid-column: 1 / 13; }
.vs-lead { margin-top: 24px; font-size: 22px; line-height: 1.4; font-family: var(--display); font-weight: 700; }
.vs-bio { margin-top: 48px; column-count: 2; column-gap: 48px; max-width: 64em; }
.vs-bio p { break-inside: avoid; }
.vs-bio p + p { margin-top: 16px; }
.vs-artist-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 72px; align-items: start; }
.vs-artist-photo { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.vs-artist-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-photo-note { position: absolute; top: 20px; right: 20px; width: 320px; max-width: calc(100% - 40px); padding: 20px; border-radius: var(--radius); background: var(--paper); display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.vs-photo-note.no-thumb { grid-template-columns: 1fr; }
.vs-photo-note .vs-thumb { width: 64px; height: 64px; vertical-align: baseline; }
.vs-photo-note p { font-size: var(--t-small); line-height: 1.45; }
.vs-artist-side { grid-column: 9 / 13; display: grid; gap: 20px; }
.vs-portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--teal); }
.vs-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; font-size: var(--t-small); }
.vs-facts dt { font-weight: 400; }
.vs-facts dd { font-weight: 700; }
.vs-artist-cta { margin-top: 56px; }
@media (max-width: 899px) {
  .vs-artist-head > *, .vs-artist-head h2 { grid-column: 1 / 13; }
  .vs-bio { column-count: 1; }
}
@media (max-width: 719px) {
  #artist h2 { font-size: 9vw; }
  .vs-lead { font-size: 18px; }
  .vs-artist-tiles { display: block; margin-top: 48px; }
  .vs-artist-photo { aspect-ratio: 4 / 3; }
  .vs-photo-note { position: static; width: auto; max-width: none; padding: 16px 0 0; background: none; }
  .vs-artist-side { margin-top: 16px; }
}

/* ---- Footer: the back of the card ---- */
.vs-footer { background: var(--deep); color: var(--on-dark); padding: 96px var(--gutter) 40px; }
.vs-card-back { position: relative; max-width: 1200px; margin-inline: auto; background: var(--paper); color: var(--ink); border-radius: 0 0 var(--radius) var(--radius); padding: 40px clamp(24px, 4vw, 56px) 28px; min-height: 420px; display: grid; gap: 28px; }
.vs-scallop { position: absolute; left: 0; bottom: 100%; width: 100%; height: 22px; display: block; fill: var(--paper); }
.vs-scallop--phone { display: none; }
.vs-card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(24px, 5vw, 72px); align-items: start; }
.vs-farewell { display: grid; gap: 16px; align-content: start; }
.vs-farewell p { max-width: 34em; }
.vs-address { display: grid; gap: 12px; justify-items: start; font-size: var(--t-body); font-weight: 700; padding-right: 112px; position: relative; }
.vs-address a { text-underline-offset: 0.22em; }
.vs-stamp { position: absolute; top: 0; right: 0; width: 88px; aspect-ratio: 3 / 4; padding: 6px; background: var(--ground); }
.vs-stamp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-sections { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: var(--t-small); font-weight: 600; }
.vs-imprint { display: grid; gap: 6px; text-align: center; font-size: var(--t-small); align-self: end; }
.vs-imprint-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.vs-credits a { text-underline-offset: 0.22em; }
@media (max-width: 719px) {
  .vs-footer { padding-top: 72px; }
  .vs-scallop--wide { display: none; }
  .vs-scallop--phone { display: block; }
  .vs-card-body { grid-template-columns: 1fr; }
  .vs-address { padding-right: 0; position: static; }
  .vs-stamp { top: 32px; right: 24px; }
  .vs-farewell h2 { padding-right: 104px; min-height: 124px; }
}
.footer-link { color: #FBD98A; }

/* Legal pages and the 404 keep their older inline-styled chrome. */
.vs-back { display: inline-block; font-weight: 700; text-decoration: none; }
.vs-back:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Cart: floating button + native <dialog> panel. Both live outside .vs-root, so they set the font themselves. ---- */
.vs-cart, .vs-cart-fab { font-family: var(--text); }
.vs-cart button { font-family: inherit; }
.vs-cart-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--on-dark); font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: var(--pill); box-shadow: 0 16px 34px -14px rgba(16, 69, 59, 0.7); /* taste-skill-ignore */ transition: transform var(--t-press) var(--ease-out); }
.vs-cart-fab:active { transform: scale(0.97); }
.vs-cart-fab:focus-visible { outline-color: var(--on-dark); }
.vs-cart-fab[hidden] { display: none; }
.vs-cart-count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: var(--pill); background: var(--amber); color: var(--ink); font-size: var(--t-small); }
.vs-cart { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto 12px auto auto; padding: 0; border: none; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(4, 40, 44, 0.6); /* taste-skill-ignore */ }
.vs-cart::backdrop { background: rgba(16, 48, 42, 0.45); }
.vs-cart-inner { padding: 24px; display: grid; gap: 18px; }
.vs-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vs-cart-head h2 { font-family: var(--display); font-weight: 800; font-size: var(--t-heading); }
.vs-cart-lines { display: grid; gap: 8px; }
.vs-cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: var(--ground); }
.vs-cart-line img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.vs-cart-line small { display: block; font-size: var(--t-small); }
.vs-cart-summary { display: grid; gap: 6px; }
.vs-cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: var(--t-body); }
.vs-cart form { display: grid; gap: 14px; }
.vs-qty { display: inline-flex; align-items: center; gap: 6px; }
.vs-qty-n { min-width: 18px; text-align: center; font-weight: 700; }
.vs-qty button, .vs-cart-x { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.vs-cart-x { background: var(--ground); }
.vs-qty button:hover, .vs-cart-x:hover { background: var(--amber); }
.vs-qty button:active, .vs-cart-x:active { transform: scale(0.97); }
.vs-cart-note { font-size: var(--t-small); line-height: 1.5; }
.vs-cart-sent { font-size: var(--t-small); line-height: 1.5; font-weight: 700; padding: 12px 16px; border-radius: 16px; background: var(--ground); }
/* Honeypot: off-screen, not display:none, so bots still fill it. */
.vs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vs-send-err { font-size: var(--t-small); line-height: 1.5; font-weight: 600; color: #B7301A; }
.vs-send-err a { text-decoration: underline; text-underline-offset: 0.22em; }
.vs-coupon .vs-send-err { color: #FBD98A; }

/* ---- Shop and product pages ---- */
.vs-page { padding: clamp(24px, 4vw, 56px) var(--gutter) 0; }
.vs-page-head { display: grid; gap: 16px; margin-bottom: 32px; }
.vs-product { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@container (min-width: 760px) {
  .vs-product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .vs-gallery { grid-row: 1 / span 2; }
  .vs-more { grid-column: 2; }
}
.vs-gallery-main { display: grid; place-items: center; padding: 12px; border-radius: var(--radius); background: var(--c); }
.vs-gallery-main img, .vs-gallery-main video { display: block; width: auto; height: auto; max-width: 100%; max-height: 80svh; border-radius: 12px; }
.vs-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.vs-gallery-thumbs button { padding: 0; width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: var(--paper); transition: transform var(--t-press) var(--ease-out); }
.vs-gallery-thumbs button:active { transform: scale(0.97); }
.vs-gallery-thumbs button[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.vs-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-gallery-thumbs .vs-thumb-video { position: relative; }
/* Play badge on the video thumbnail */
.vs-thumb-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(22, 48, 42, 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='%23FFF7EE'/%3E%3C/svg%3E") center / 16px no-repeat; }
.vs-product-info { display: grid; gap: 16px; align-content: start; }
.vs-product-title { font-family: var(--display); font-weight: 800; font-size: var(--t-display); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.vs-product-price { font-weight: 800; font-size: var(--t-lead); font-variant-numeric: tabular-nums; }
.vs-product-detail { max-width: 32em; }
.vs-product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.vs-product-notes { display: grid; gap: 8px; margin-top: 8px; }
.vs-buy-lg { min-height: 52px; padding: 0 28px; font-size: var(--t-body); }
.vs-design-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-design-picker button { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: var(--pill); background: var(--paper); color: var(--ink); font-weight: 700; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.vs-design-picker button:hover { background: #F2E4C8; }
.vs-design-picker button:active { transform: scale(0.97); }
.vs-design-picker button[aria-checked="true"] { background: var(--ink); color: var(--on-dark); }
.vs-design-picker img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.vs-more h2 { font-family: var(--display); font-weight: 800; font-size: var(--t-heading); line-height: 1.05; margin-bottom: 16px; }
.vs-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.vs-more-tile { display: grid; gap: 8px; text-decoration: none; }
.vs-more-tile .vs-tile { border-radius: var(--radius); }
.vs-more-name { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.vs-more-price { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .vs-more-tile:hover .vs-disc { transform: rotate(4deg) scale(1.03); } }
