/* Volantina — motion layer ("plus").
   Adds the scroll scenes, the ticket tear and the project sheet on top of the
   approved figma layout. Nothing here changes a resting layout: every scene
   starts from, or lands on, the page exactly as designed. */

/* hero: the camera push stays inside the hero frame */
.vmp .volantina-video-hero { overflow: clip; }
.vmp .volantina-hero-video { transform-origin: 50% 42%; will-change: transform; }

/* words that light up while you read */
.vmp-w { display: inline; }

/* ---------- metodo: the folding sheet ----------
   Same grid as the four method columns: the phase copy sits in column one, the sheet
   spans columns two to four. On phones the sheet is above and the copy below. */
:root.vmp-fold body.figma-v2-home #pw_long.method-container {
  display: grid !important; grid-template-rows: auto minmax(0, 1fr);
  height: calc(100svh - var(--vmp-nav, 76px)) !important; min-height: 0 !important; max-height: none !important;
  /* space under the menu, measured by volantina-plus.js so it matches the space below the scene */
  padding-top: var(--vmp-fold-top, 0px) !important;
}
:root.vmp-fold body.figma-v2-home #pw_long .method-heading { margin-bottom: calc(40 * var(--fv)) !important; }
:root.vmp-fold #pw_long .method-grid, :root.vmp-fold #pw_long .method-carousel { display: none !important; }
.vmp-fold-scene {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: calc(112 * var(--fv));
  min-height: 0; height: 100%; padding-bottom: calc(24 * var(--fv));
  /* the soft shadow fades out well past the sheet: on a phone it reached past the screen's right
     edge and let the page scroll sideways. Clipped on the sides only (clip, not hidden: no
     scroll box, and the shadow still falls below the scene) */
  overflow-x: clip;
}
.vmp-fold-copy {
  grid-column: 1; display: flex; flex-direction: column; justify-content: center; gap: calc(40 * var(--fv));
  min-height: 0; color: var(--v-ink, #2e2440);
}
.vmp-fold-count { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.vmp-fold-n {
  display: inline-block; font: italic 400 calc(64 * var(--fv)) / 1 var(--v-serif, 'Instrument Serif', serif);
  letter-spacing: 0;
}
.vmp-fold-of { font: 400 var(--v-type-detail, 14px) / 1 var(--v-sans, 'Vazirmatn Local', sans-serif); letter-spacing: 0; }
.vmp-fold-phases { display: grid; }
:root body.figma-v2-home .vmp-fold-phases > .vmp-phase {
  grid-area: 1 / 1; width: auto !important; max-width: none !important; min-width: 0; margin: 0 !important; padding: 0;
  display: flex; flex-direction: column; gap: 0 !important;
}
.vmp-phase:not(.is-on) { pointer-events: none; }
:root body.figma-v2-home .vmp-phase .method-step-title { text-align: left !important; white-space: normal !important; min-height: 0 !important; }
:root body.figma-v2-home .vmp-phase .paragraph { margin-top: calc(28 * var(--fv)) !important; }
.vmp-phase .volantina-word, .vmp-phase .vmp-w { display: inline-block; }
.vmp-fold-dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vmp-fold-dots button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  opacity: 0.32; transition: opacity 240ms ease, transform 240ms var(--v-ease, ease);
}
.vmp-fold-dots button img { width: 28px; height: auto; }
.vmp-fold-dots button[aria-current] { opacity: 1; transform: translateY(-3px); }
.vmp-fold-dots button:active { transform: scale(0.94); }
.vmp-fold-dots button:focus-visible { outline: 2px solid var(--v-ink, #2e2440); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .vmp-fold-dots button:hover { opacity: 0.8; } }

.vmp-foldstage {
  --pw: 150px;
  grid-column: 2 / -1; position: relative; min-height: 0; overflow: visible;
  perspective: 1700px; perspective-origin: 50% 42%;
}
.vmp-fold-ghost {
  /* centred and drifted by volantina-plus.js in percentages (xPercent -50, yPercent -42 to -62),
     sized on the sheet's panel so its digits stay between the title and the sheet's shadow */
  position: absolute; left: 50%; top: 50%; z-index: 0; pointer-events: none; user-select: none;
  font: italic 400 calc(var(--pw, 150px) * 2.6) / 1 var(--v-serif, 'Instrument Serif', serif); letter-spacing: 0;
  color: var(--v-soft, #f2f2ef); white-space: nowrap;
}
/* the camera: GSAP writes its rotation and lift. Inside it, the zoom (--zoom, tweened by
   volantina-plus.js) is a uniform 3D scale, so the box keeps its proportions (width, height and
   depth alike). It sits on its own element: GSAP resets the CSS scale property of what it moves. */
.vf-cam { position: absolute; left: 50%; top: 50%; z-index: 1; transform-style: preserve-3d; }
.vf-zoom { --zoom: 1; position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: scale3d(var(--zoom), var(--zoom), var(--zoom)); }
.vf-sheet {
  --ph: calc(var(--pw) * 1.42);
  position: absolute; left: 0; top: calc(var(--ph) / -2); transform-style: preserve-3d;
}
.vf-pn { position: absolute; top: 0; width: var(--pw); height: var(--ph); transform-style: preserve-3d; transform-origin: 0 50%; }
.vf-p1 { left: 0; }
.vf-pn .vf-pn { left: 100%; }
.vf-face {
  position: absolute; inset: 0; display: block; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
/* outside of the sheet, from the pack2 dieline: one photograph across the four panels, a purple
   band with a wave edge at the top and bottom of every panel (vector), each face showing its
   quarter (--k = 0…3). Sized on the panel in pixels, so a face that bleeds 1px (below) still
   shows exactly its own quarter and the waves run on across the folds. */
.vf-front {
  background-color: #a9bab7;
  background-image: url('/assets/method-pack2-bands.svg?v=6'), url('/assets/method-pack2-photo-1200.webp');
  background-image: url('/assets/method-pack2-bands.svg?v=6'), image-set(url('/assets/method-pack2-photo-1200.webp') 1x, url('/assets/method-pack2-photo-2400.webp') 2x);
  background-size: calc(var(--pw) * 4) 100%; background-repeat: no-repeat;
  background-position: calc(var(--k, 0) * var(--pw) * -1) 0;
  box-shadow: inset 0 0 0 1px rgb(46 36 64 / 0.1);
}
/* inside of the sheet and of the flaps: one plain teal, no print */
.vf-back { transform: rotateY(180deg); background: var(--v-teal, #7ebdb7); }
/* the lime lockup (wordmark and «design»), printed across the corner where the last panel meets
   the first, placed as in pack2: 169% of a panel wide, its top at 31.4% of the panel's height,
   85% of it on the first panel's left and the rest on the last panel. It sits above the light
   layer and takes only a fifth of the face's shade (--lsh, from volantina-plus.js), so the lime
   stays bright. */
.vf-skin { position: absolute; inset: 0; }
.vf-skin-art {
  position: absolute; top: 31.4%; width: 169%;
  color: var(--v-lime, #c9f24c);
  color: color-mix(in srgb, var(--v-lime, #c9f24c), rgb(24 18 36) calc(var(--lsh, 0) * 100%));
}
.vf-p1 > .vf-front .vf-skin-art { left: -85%; }
.vf-p4 > .vf-front .vf-skin-art { left: 15%; }
.vf-skin-art svg { display: block; width: 100%; height: auto; }
/* the crease: a hairline on the printed side's hinge edge (on the inside the light layer shows the fold;
   a line there would flicker through the printed side when the sheet is folded flat) */
/* each printed face bleeds 1px under its neighbour, so no light seam opens along the fold */
.vf-pn .vf-pn > .vf-front { left: -1px; background-position: calc(1px - var(--k, 0) * var(--pw)) 0; }
.vf-pn .vf-pn > .vf-front::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 1px 0 0 rgb(46 36 64 / 0.16);
}
.vf-flap { position: absolute; left: 0; width: var(--pw); height: var(--pw); transform-style: preserve-3d; opacity: 0; }
.vf-lid { bottom: 100%; transform-origin: 50% 100%; }
.vf-bot { top: 100%; transform-origin: 50% 0; }
/* flaps: the pack2 lid outside (purple, the submark in teal with its lime ring), the same plain teal inside */
.vf-flap .vf-front { background: var(--v-ink, #2e2440) url('/assets/method-pack2-lid.svg') 50% 50% / 100% 100% no-repeat; box-shadow: none; }
.vf-flap .vf-back { background: var(--v-teal, #7ebdb7); box-shadow: none; }
/* light, written by volantina-plus.js for each face: shade (--sh) from the key light, a soft
   sheen (--sp at --sx/--sy), shade in a valley fold (--al/--ar) and a thin light on a ridge
   (--rl/--rr) at the left and right edges, the floor's shade at the bottom (--fl); flaps use their
   hinge edge (--ah/--rh) */
.vf-lit {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 95% 70% at calc(50% + var(--sx, 0) * 100%) calc(40% + var(--sy, 0) * 100%), rgb(255 255 255 / var(--sp, 0)), rgb(255 255 255 / 0) 72%),
    linear-gradient(to right, rgb(255 255 255 / var(--rl, 0)), rgb(255 255 255 / 0) 3%),
    linear-gradient(to left, rgb(255 255 255 / var(--rr, 0)), rgb(255 255 255 / 0) 3%),
    linear-gradient(to right, rgb(24 18 36 / var(--al, 0)), rgb(24 18 36 / calc(var(--al, 0) * 0.35)) 16%, rgb(24 18 36 / 0) 46%),
    linear-gradient(to left, rgb(24 18 36 / var(--ar, 0)), rgb(24 18 36 / calc(var(--ar, 0) * 0.35)) 16%, rgb(24 18 36 / 0) 46%),
    linear-gradient(to bottom, rgb(24 18 36 / 0) 52%, rgb(24 18 36 / calc(var(--fl, 0) * 0.4)) 80%, rgb(24 18 36 / var(--fl, 0))),
    rgb(24 18 36 / var(--sh, 0));
}
.vf-lid .vf-lit, .vf-bot .vf-lit {
  --edge: to top;
  background:
    radial-gradient(ellipse 95% 70% at calc(50% + var(--sx, 0) * 100%) calc(40% + var(--sy, 0) * 100%), rgb(255 255 255 / var(--sp, 0)), rgb(255 255 255 / 0) 72%),
    linear-gradient(var(--edge), rgb(255 255 255 / var(--rh, 0)), rgb(255 255 255 / 0) 3%),
    linear-gradient(var(--edge), rgb(24 18 36 / var(--ah, 0)), rgb(24 18 36 / calc(var(--ah, 0) * 0.35)) 16%, rgb(24 18 36 / 0) 46%),
    rgb(24 18 36 / var(--sh, 0));
}
.vf-bot .vf-lit { --edge: to bottom; }
/* the shadow on the page: this box is the floor line (it also sets the scene's lowest mark for
   the spacing); its two soft layers are moved and sized by volantina-plus.js from the sheet's
   footprint. Gradients only, no blur filter: a filtered element is re-rasterised on every frame */
.vf-shadow {
  position: absolute; left: 50%; top: calc(50% + var(--pw) * 1.02); width: calc(var(--pw) * 3.4); max-width: 92%; height: 36px; translate: -50% 0; z-index: 0;
  pointer-events: none;
}
.vf-shadow i {
  position: absolute; left: 50%; top: 50%; width: 200px; height: 100px; margin: -50px 0 0 -100px;
  transform-origin: 50% 50%; opacity: 0; will-change: transform, opacity;
}
.vf-sh-soft { background: radial-gradient(closest-side, rgb(46 36 64 / 0.5), rgb(46 36 64 / 0.24) 45%, rgb(46 36 64 / 0.07) 78%, rgb(46 36 64 / 0)); }
.vf-sh-core { background: radial-gradient(closest-side, rgb(30 22 44 / 0.8), rgb(30 22 44 / 0.42) 50%, rgb(30 22 44 / 0.1) 82%, rgb(30 22 44 / 0)); }
@media (max-width: 899px) {
  .vmp-fold-scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; row-gap: 12px; padding-bottom: 12px; }
  .vmp-foldstage { grid-column: 1; grid-row: 1; }
  .vmp-fold-copy { grid-column: 1; grid-row: 2; gap: 14px; justify-content: flex-start; }
  .vmp-fold-count { display: none; }
  .vmp-fold-ghost { font-size: 52vw; }
  :root body.figma-v2-home .vmp-phase .method-step-title { font-size: 24px !important; margin-bottom: 0 !important; }
  :root body.figma-v2-home .vmp-phase .paragraph { margin-top: 10px !important; font-size: 17px !important; line-height: 1.4 !important; max-width: none; }
  :root.vmp-fold body.figma-v2-home #pw_long .method-heading { margin-bottom: 16px !important; gap: 10px !important; }
  :root.vmp-fold body.figma-v2-home #pw_long .method-heading > .paragraph { font-size: 16px !important; line-height: 1.35 !important; }
}

/* ---------- altri lavori: a season of ticket cards (from the first version) ----------
   Tickets with scalloped long sides, a stamp-edged plate, a perforation above the stub.
   Wide screens with motion: the row is pinned and travels sideways, tickets set at
   different depths, a ghost title drifting slower behind. Phones: native side scroll
   with snap. Reduced motion or no script: a plain grid. */
.vmp-tk-sec { position: relative; background: var(--v-paper, #fff); color: var(--v-ink, #2e2440); }
.vmp-tk-pin { position: relative; overflow: hidden; padding: calc(130 * var(--fv)) 0 calc(143 * var(--fv)); }
.vmp-tk-ghost {
  position: absolute; left: 0; bottom: -0.14em; z-index: 0; margin: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font: italic 400 clamp(140px, 21vw, 440px) / 0.8 var(--v-serif, 'Instrument Serif', serif); letter-spacing: 0;
  color: var(--v-soft, #f2f2ef);
}
.vmp-tk-track { position: relative; z-index: 1; padding-inline: var(--v-gutter); }
.vmp-tk-intro { max-width: calc(632 * var(--fv)); margin-bottom: calc(72 * var(--fv)); }
.vmp-tk-intro .h1 { margin: 0; }
.vmp-tk-intro .paragraph { margin: calc(40 * var(--fv)) 0 0; max-width: 34ch; }
.vmp-tk-hint { display: none; align-items: center; gap: 8px; margin: calc(32 * var(--fv)) 0 0; font: 400 var(--v-type-detail, 14px) / 1 var(--v-sans, 'Vazirmatn Local', sans-serif); }
.vmp-tk-hint svg { width: 16px; height: 16px; rotate: 45deg; }
.vmp-tk-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: calc(40 * var(--fv));
}
.vmp-tk { --stock: #2e2440; --ink-on: #fff; --accent: #c9f24c; position: relative; min-width: 0; }
.vmp-tk:has(.vmp-tk-btn:focus-visible) { outline: 2px solid var(--v-ink, #2e2440); outline-offset: 6px; border-radius: 10px; }
/* The two halves are drawn with the site's own ticket contour (ticket-contours.json, the
   same scalloped top and bottom edges and round perforation as the Servizi tickets);
   volantina.js draws a .ticket-surface behind every [data-ticket-part]. */
.vmp-tk-btn {
  --ticket-fill: var(--stock);
  width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; text-align: left; text-decoration: none;
  color: var(--ink-on); outline: none;
  transition: transform 300ms var(--v-ease, cubic-bezier(.23, 1, .32, 1)), opacity 300ms ease, filter 300ms ease;
}
.vmp-tk-face { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; min-height: 0; padding: 32px 20px 30px; }
.vmp-tk-face > .ticket-surface, .vmp-tk-stub > .ticket-surface { fill: var(--stock); }
/* the plate takes the site's wave on all four sides (VolantinaWaves.rectangle, set by
   volantina-plus.js); a straight rectangle is the fallback */
.vmp-tk-plate {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.3;
  background: rgb(46 36 64 / 0.25);
}
.vmp-tk-plate img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--v-ease, cubic-bezier(.23, 1, .32, 1)); }
.vmp-tk-body { display: grid; align-content: start; gap: 8px; padding: 18px 4px 0; }
.vmp-tk-title {
  font: italic 400 max(28px, calc(39.972 * var(--fv))) / 1.05 var(--v-serif, 'Instrument Serif', serif); letter-spacing: 0;
  color: var(--accent);
}
.vmp-tk-what { font: 400 max(15px, calc(16.194 * var(--fv))) / 1.35 var(--v-sans, 'Vazirmatn Local', sans-serif); }
.vmp-tk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vmp-tk-tags span {
  font: 400 12.5px / 1 var(--v-sans, 'Vazirmatn Local', sans-serif); letter-spacing: 0;
  padding: 6px 10px 5px; border: 1px solid currentColor; border-radius: 999px;
}
.vmp-tk-stub {
  position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 92px; padding: 18px 24px 22px; white-space: nowrap;
  font: 400 13px / 1.2 var(--v-sans, 'Vazirmatn Local', sans-serif); letter-spacing: 0;
}
.vmp-tk-stub b { font-weight: 400; }
.vmp-tk-open { display: inline-flex; align-items: center; gap: 6px; }
.vmp-tk-open svg { width: 15px; height: 15px; transition: transform 260ms var(--v-ease, ease); }
.vmp-tk-btn:active { transform: scale(0.985); }
.vmp-tk { z-index: 0; }
.vmp-tk:hover, .vmp-tk:focus-within { z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .vmp-tk-btn:hover { transform: translateY(-4px); }
  .vmp-tk-btn:hover .vmp-tk-plate img { scale: 1.035; }
  .vmp-tk-btn:hover .vmp-tk-open svg { transform: translate(3px, -3px); }
  .vmp-tk-list:has(.vmp-tk-btn:hover) .vmp-tk-btn:not(:hover) { opacity: 0.5; filter: saturate(0.6); }
  /* with the motion layer the ticket follows the mouse in 3D (volantina-plus.js, tiltTickets):
     GSAP owns the transforms of the ticket and its photo (rise, tilt, zoom, press);
     CSS keeps the arrow and the dimming of the others */
  .vmp-tk-live .vmp-tk-btn { transition: opacity 300ms ease, filter 300ms ease; }
}
.vmp-tk-list:has(.vmp-tk-btn:focus-visible) .vmp-tk-btn:not(:focus-visible) { opacity: 0.55; filter: saturate(0.6); }

/* motion, wide screens: the pinned horizontal season (built in volantina-plus.js) */
@media (min-width: 900px) {
  .vmp .vmp-tk-pin {
    height: calc(100svh - var(--vmp-nav, 76px)); padding: 0; display: flex; align-items: center;
    perspective: 1500px; perspective-origin: 50% 46%;
  }
  .vmp .vmp-tk-track { display: flex; align-items: center; gap: clamp(32px, 4vw, 72px); width: max-content; transform-style: preserve-3d; will-change: transform; }
  .vmp .vmp-tk-intro { flex: 0 0 clamp(300px, 28vw, 460px); margin: 0; }
  .vmp .vmp-tk-hint { display: inline-flex; }
  .vmp .vmp-tk-list { display: flex; gap: clamp(28px, 3.2vw, 56px); transform-style: preserve-3d; }
  /* all tickets on one plane: equal gaps at rest (depth comes from the ghost title) */
  .vmp .vmp-tk { flex: 0 0 clamp(290px, 23vw, 360px); height: min(600px, calc(100svh - var(--vmp-nav, 76px) - 110px)); }
  .vmp .vmp-tk:nth-child(even) { margin-top: 48px; }
  .vmp .vmp-tk:nth-child(odd) { margin-bottom: 48px; }
  .vmp .vmp-tk-btn { grid-template-rows: minmax(0, 1fr) auto; }
  .vmp .vmp-tk-face { grid-template-rows: minmax(0, 1fr) auto; }
  .vmp .vmp-tk-plate { height: auto; min-height: 0; aspect-ratio: auto; }
  .vmp .vmp-tk-body { overflow: hidden; }
  /* 3D containers must not swallow clicks meant for tickets set back in depth */
  .vmp .vmp-tk-track, .vmp .vmp-tk-list { pointer-events: none; }
  .vmp .vmp-tk, .vmp .vmp-tk-intro { pointer-events: auto; }
}
/* phones and tablets: a row to swipe through */
@media (max-width: 899px) {
  .vmp-tk-ghost { display: none; }
  .vmp-tk-pin { padding: 72px 0 80px; }
  .vmp-tk-intro { max-width: none; margin-bottom: 28px; }
  .vmp-tk-intro .paragraph { margin-top: 18px; max-width: 40ch; }
  .vmp-tk-hint { margin-top: 18px; }
  .vmp-tk-hint { display: inline-flex; }
  .vmp-tk-list {
    display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--v-gutter)); padding: 8px var(--v-gutter) 16px; scroll-padding-inline: var(--v-gutter);
    scrollbar-width: none;
  }
  .vmp-tk-list::-webkit-scrollbar { display: none; }
  .vmp-tk { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; }
}
/* a mouse on a narrow window: room inside the scrolling row for the rising ticket
   (the margin gives the extra padding back, so the layout does not move) */
@media (max-width: 899px) and (hover: hover) and (pointer: fine) {
  .vmp-tk-list { padding-top: 48px; margin-top: -40px; }
}
@media (prefers-reduced-motion: reduce) {
  .vmp-tk-btn, .vmp-tk-plate img, .vmp-tk-open svg { transition: none; }
  .vmp-tk-btn:hover { transform: none; }
}

/* ---------- project sheet (portfolio) ---------- */
.vmp-sheet {
  padding: 0; border: 0; margin: auto; background: transparent; color: var(--v-ink, #2e2440);
  width: min(1180px, calc(100vw - 24px)); max-width: none; max-height: none; overflow: visible;
}
.vmp-sheet::backdrop { background: rgb(46 36 64 / 0.72); }
.vmp-sheet[open] { animation: vmp-sheet-in 320ms var(--v-ease, cubic-bezier(.23,1,.32,1)); }
.vmp-sheet[open]::backdrop { animation: vmp-fade-in 260ms ease; }
.vmp-sheet.is-closing { animation: vmp-sheet-out 180ms ease-in forwards; }
.vmp-sheet.is-closing::backdrop { animation: vmp-fade-out 180ms ease forwards; }
@keyframes vmp-sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes vmp-sheet-out { to { opacity: 0; transform: translateY(8px) scale(0.99); } }
@keyframes vmp-fade-in { from { opacity: 0; } }
@keyframes vmp-fade-out { to { opacity: 0; } }
.vmp-sheet-in {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  background: var(--v-paper, #fff); border-radius: 4px; overflow: hidden;
  max-height: calc(100svh - 24px);
}
.vmp-sheet-media { margin: 0; background: var(--v-soft, #f2f2ef); min-height: 0; display: grid; }
.vmp-sheet-media img { width: 100%; height: 100%; max-height: calc(100svh - 24px); object-fit: cover; display: block; }
.vmp-sheet-info {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 48px);
  font-family: var(--v-sans, 'Vazirmatn Local', sans-serif); overflow: auto;
}
.vmp-sheet-num { margin: 0; font-size: var(--v-type-detail, 14px); letter-spacing: 0; }
.vmp-sheet-title {
  margin: 0; font-family: var(--v-serif, 'Instrument Serif', serif); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 5vw, 96px); line-height: 0.95; letter-spacing: 0;
}
.vmp-sheet-tags { margin: 0; font-size: var(--v-type-body, 18px); line-height: 1.4; }
.vmp-sheet-desc { margin: 0; max-width: 42ch; font-size: var(--v-type-body, 18px); line-height: 1.5; color: rgb(46 36 64 / 0.78); text-wrap: pretty; }
.vmp-sheet-tags { color: var(--v-ink, #2e2440); }
.vmp-sheet-cta {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px; background: var(--v-lime, #c9f24c); color: var(--v-ink, #2e2440);
  font: 16px/1.3 var(--v-sans, 'Vazirmatn Local', sans-serif); text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--v-ease, ease);
}
.vmp-sheet-cta:active { transform: scale(0.97); }
.vmp-sheet-bar { display: flex; gap: 8px; justify-content: flex-end; }
.vmp-sheet-bar button {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--v-ease, ease);
}
.vmp-sheet-bar button:active { transform: scale(0.95); }
.vmp-sheet-bar svg { width: 20px; height: 20px; }
.vmp-sheet :focus-visible { outline: 2px solid var(--v-ink, #2e2440); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .vmp-sheet-cta:hover { background: var(--v-ink, #2e2440); color: var(--v-lime, #c9f24c); }
  .vmp-sheet-bar button:hover { background: var(--v-ink, #2e2440); color: var(--v-lime, #c9f24c); border-color: var(--v-ink, #2e2440); }
}
@media (max-width: 760px) {
  .vmp-sheet-in { grid-template-columns: 1fr; overflow: auto; }
  .vmp-sheet-media img { max-height: 58svh; }
  .vmp-sheet-title { font-size: clamp(44px, 12vw, 64px); }
  .vmp-sheet-info { overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .vmp-sheet[open], .vmp-sheet.is-closing, .vmp-sheet[open]::backdrop { animation: vmp-fade-in 160ms ease; }
}
.vmp-sheet-cta svg { width: 16px; height: 16px; flex: none; }
