/* ==========================================================================
   Studio d'Arte Vio over OS: what the original draws that OS's theme cannot
   say, through the hooks OS's components document and, where they name none,
   by a rule on their class. Colours are OS's tokens or the studio's own
   (src/styles/theme.css, served as vio-tema.css). Every number is the
   original's, read off its stylesheet and measured on its page at 1440 on
   2 November 2026 (BRIEF.md); the faces and the colours are il teatro's
   since the client chose it on 5 November 2026 (the last section), the
   faces OS's own, which OS loads.
   ========================================================================== */

/* The original's one curve for everything that moves (`--ease`). */
:root {
  --vio-curva: cubic-bezier(0.2, 0.7, 0.1, 1);
  /* The original's room above and under a band, 80 on a phone to 144 from
     1310 wide (`.section`). */
  --vio-banda: clamp(5rem, 11vw, 9rem);
}

/* ── The words ────────────────────────────────────────────────────────────
   Inter at 300 on a line of 1.75 is what the original sets every word in
   unless a rule says otherwise (`body`), and every italic word carries the
   bright gold (`em`). */
.ds-site {
  font-weight: var(--ds-weight-delicate);
}

.ds-site em {
  font-style: italic;
  color: var(--vio-oro-2);
}

/* Titles and paragraphs break where the box ends, as every line of the
   original does: no balancing, so each line holds the words it held there. */
.ds-site :is(h1, h2, h3, h4, p, blockquote) {
  text-wrap: wrap;
}

::selection {
  background-color: var(--ds-brand);
  color: var(--ds-on-brand);
}

/* The stone's grain over the whole page, at the original's five hundredths
   (`body::before`). OS draws it as a box of its own from 0.327.6, so a
   phone's Safari can see the bar through it. */
.ds-site__grain {
  opacity: 0.05;
}

/* The page's words stand over the gold glow that follows the mouse, as the
   original's `main` does; the footer does not, as the original's does not. */
.ds-site__main {
  position: relative;
  z-index: 1;
}

:focus-visible {
  outline-color: var(--ds-brand);
}

/* The kicker over a title: gold capitals spaced wide behind a short gold
   line (`.eyebrow`). Over the opening's title and the invitation's it
   stands in a line of the page's own words, 17px on 1.75, sitting on that
   line's baseline, as the original's inline kicker does: the line is the
   room between it and the title. */
.vio-apertura .ds-hero__eyebrow,
.vio-invito .ds-hero__eyebrow {
  display: block;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.vio-occhiello {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-family: var(--ds-typeface-body);
  font-size: 0.72rem;
  font-weight: var(--ds-weight-robust);
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ds-brand);
}

.vio-occhiello::before {
  content: "";
  inline-size: 2.4rem;
  block-size: 1px;
  background-color: currentColor;
}

/* ── The bar ──────────────────────────────────────────────────────────────
   Clear over the opening; glass with a hairline once the page has moved
   40px under it (`.site-header.scrolled`, which moto.js writes as
   `data-vio-mosso`). */
.vio-barra {
  border-block-end: 1px solid transparent;
  transition: background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}

/* The places and the languages are one group at the bar's end, 2.2rem
   apart like the places between them (`.menu`). */
.vio-barra .ds-header__bar {
  column-gap: 2.2rem;
  padding-block: 1.4rem;
  transition: padding-block 0.5s var(--vio-curva);
}

.vio-barra .ds-header__actions {
  margin-inline-start: 0;
}

/* The menu's mark in the original's 44px square, its two bars drawn in a
   hairline as the original's are (`.burger`). */
.vio-barra .ds-header__mark--menu {
  --ds-header-mark-ink: var(--ds-ink-1);
  inline-size: 44px;
  block-size: 44px;
  background: none;
}

.vio-barra .ds-header__mark--menu svg {
  inline-size: 24px;
  block-size: 24px;
  stroke-width: 1;
}

/* ── The menu on a phone ──────────────────────────────────────────────────
   The original's overlay: the night at 97 hundredths over the whole screen
   and blurred behind, the six places centred in Cormorant at 2rem a 1.6rem
   step apart, the page's place in the stone with its gold line, IT and EN
   in their pill under them; of the bar only the cross stays (`.menu` under
   960px). Over the page's words and under the bar, whose ground and mark
   step aside while it is open. */
.ds-site > .ds-drawer {
  z-index: 2;
  background-color: color-mix(in srgb, var(--ds-surface-0) 97%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ds-site > .ds-drawer .ds-drawer__head {
  display: none;
}

.ds-site > .ds-drawer .ds-drawer__body {
  display: flex;
  block-size: 100%;
  padding: 0;
}

.ds-site > .ds-drawer .ds-site-menu {
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 0;
}

.ds-site > .ds-drawer .ds-site-menu__places {
  align-items: center;
  gap: 1.6rem;
  inline-size: auto;
}

.ds-site > .ds-drawer .ds-site-menu__place {
  --ds-site-menu-place-face: var(--ds-typeface-display);
  --ds-site-menu-place-size: 2rem;
  --ds-site-menu-place-weight: var(--ds-weight-standard);
  --ds-site-menu-place-leading: 1.0875;
  --ds-site-menu-place-tracking: 0;
  --ds-site-menu-place-ink: var(--vio-pietra-2);
  position: relative;
  inline-size: auto;
  padding: 0;
}

.ds-site > .ds-drawer .ds-site-menu__place[aria-current="page"] {
  --ds-site-menu-place-ink: var(--ds-ink-1);
}

.ds-site > .ds-drawer .ds-site-menu__place::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -0.5rem;
  inline-size: 100%;
  block-size: 1px;
  background-color: var(--ds-brand);
  transform: scaleX(0);
  transition: transform 0.5s var(--vio-curva);
}

.ds-site > .ds-drawer .ds-site-menu__place[aria-current="page"]::after {
  transform: scaleX(1);
}

.ds-site > .ds-drawer .ds-site-menu__foot,
.ds-site > .ds-drawer .ds-site-menu__extra {
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
}

.ds-site > .ds-drawer .vio-lingue .ds-lang__item {
  --ds-lang-item-size: 0.8rem;
  --ds-lang-item-weight: var(--ds-weight-standard);
  --ds-lang-item-leading: 1;
}

.ds-site > .ds-drawer .vio-lingue .ds-lang__code {
  --ds-lang-code-tracking: 0;
}

.ds-site:has(.ds-header__mark--menu[aria-expanded="true"]) .vio-barra {
  background-color: transparent;
  border-block-end-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ds-site:has(.ds-header__mark--menu[aria-expanded="true"]) .vio-barra .ds-header__brand,
body:has(.ds-header__mark--menu[aria-expanded="true"]) .vio-whatsapp {
  visibility: hidden;
}

/* And while the cookie banner asks: the round button stands over the
   band's end (z-index 40 to the banner's 20), where it hid the cross and
   half of «Accetta tutti» at 1440 (measured 23 November 2026). It is back
   the moment the reader answers. */
body:has(.ds-cookie-banner:not([hidden])) .vio-whatsapp {
  visibility: hidden;
}

.vio-barra[data-vio-mosso] {
  background-color: var(--vio-vetro);
  border-block-end-color: var(--vio-filo);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.vio-barra[data-vio-mosso] .ds-header__bar {
  padding-block: 0.8rem;
}

/* The mark and the name, the city under it in spaced gold capitals. */
.vio-barra .ds-header__brand {
  --ds-header-brand-weight: var(--ds-weight-standard);
  --ds-header-brand-size: 1.35rem;
  --ds-header-brand-tracking: 0.02em;
  --ds-header-brand-ink: var(--ds-ink-1);
  gap: 0.9rem;
}

.vio-marchio {
  display: block;
  font-family: var(--ds-typeface-display);
  line-height: 1;
}

.vio-marchio__luogo {
  display: block;
  margin-block-start: 0.25rem;
  font-family: var(--ds-typeface-body);
  font-size: 0.6rem;
  font-weight: var(--ds-weight-standard);
  line-height: 1.6;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ds-brand);
}

/* The places: small spaced capitals in the second stone, the stone itself
   under the hand and where the reader stands, with a gold line drawn under
   them from the start. */
.vio-barra .ds-header__nav {
  gap: 2.2rem;
}

/* Each place is as tall as its letters and its two 0.4rem, the original's
   inline link, so the gold line under it falls where the original's does. */
.vio-barra .ds-header__item {
  --ds-header-item-size: 0.78rem;
  --ds-header-item-case: uppercase;
  --ds-header-item-tracking: 0.18em;
  --ds-header-item-ink: var(--vio-pietra-2);
  position: relative;
  min-block-size: 0;
  padding: 0.4rem 0;
  border-radius: 0;
  background-color: transparent;
  font-weight: var(--ds-weight-delicate);
  line-height: normal;
  transition: color 0.3s;
}

.vio-barra .ds-header__item::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  inline-size: 100%;
  block-size: 1px;
  background-color: var(--ds-brand);
  transform: scaleX(0);
  transition: transform 0.5s var(--vio-curva);
}

.vio-barra .ds-header__item:hover,
.vio-barra .ds-header__item[aria-current="page"] {
  --ds-header-item-ink: var(--ds-ink-1);
}

.vio-barra .ds-header__item:hover::after,
.vio-barra .ds-header__item[aria-current="page"]::after {
  transform: scaleX(1);
}

/* IT and EN in a pill, the page's own language filled with gold. */
.vio-lingue {
  display: flex;
  gap: 0.3rem;
  padding: 0.25rem;
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-full);
}

.vio-lingue .ds-lang__item {
  --ds-lang-item-face: var(--ds-typeface-body);
  --ds-lang-item-size: 0.68rem;
  --ds-lang-item-weight: var(--ds-weight-delicate);
  --ds-lang-item-leading: 1.75;
  --ds-lang-item-tracking: 0.14em;
  --ds-lang-item-ink: var(--vio-grigio);
  padding: 0.35rem 0.7rem;
  border-radius: var(--ds-radius-full);
  text-transform: uppercase;
}

/* Full capitals, as the original writes IT and EN, where OS sets the code
   in small ones. */
.vio-lingue .ds-lang__code {
  --ds-lang-code-tracking: 0.14em;
  font-variant-caps: normal;
}

.vio-lingue .ds-lang__item[aria-current="page"] {
  --ds-lang-item-ink: var(--ds-surface-0);
  background-color: var(--ds-brand);
}

/* On a phone the places and the languages fold into the menu, as the
   original's do under 960px, and the menu's mark goes to the bar's end. */
@container (width <= 60rem) {
  .ds-site .vio-barra .vio-lingue {
    display: none;
  }

  .ds-site .vio-barra .ds-header__actions {
    margin-inline-start: auto;
  }
}

/* ── A band ───────────────────────────────────────────────────────────────
   The original's room above and under every band, and its second ground
   for the raised one. */
/* Weighed as one class, so a band that says otherwise (below) is heard. */
.ds-site__main > .ds-site__section:where(:not(:has(> .ds-site__band > .ds-hero))) {
  padding-block: var(--vio-banda);
}

.ds-site__main > .ds-site__section--raised {
  background-color: var(--vio-notte-2);
}

/* ── The opening ──────────────────────────────────────────────────────────
   The workshop's photo across the window at 62 hundredths, under the
   night's fall from the top and from the bottom and the lagoon's light at
   the bottom left; the words at the start, on the page's box, at the foot
   of 72% of the window (`.hero.page-hero`). */
.vio-apertura {
  justify-items: start;
  align-content: end;
  text-align: start;
  overflow: hidden;
  padding-block: 0 clamp(4rem, 9vh, 7rem);
  /* The words on the page's box, min(1240px, 92vw), while the photo runs
     to the window's edges. */
  padding-inline: max(var(--ds-site-gutter), (100% - 77.5rem) / 2);
}

.vio-apertura .ds-hero__text {
  align-items: flex-start;
  gap: 0;
  inline-size: 100%;
  max-inline-size: none;
}

.vio-apertura .ds-hero__media {
  z-index: -2;
}

.vio-apertura .ds-hero__media img {
  inline-size: 100%;
  block-size: 115%;
  object-fit: cover;
  opacity: 0.62;
}

.vio-apertura::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--ds-surface-0) 55%, transparent) 0%,
      color-mix(in srgb, var(--ds-surface-0) 10%, transparent) 35%,
      color-mix(in srgb, var(--ds-surface-0) 85%, transparent) 82%,
      var(--ds-surface-0) 100%),
    radial-gradient(ellipse at 20% 80%, color-mix(in srgb, var(--vio-laguna) 50%, transparent), transparent 60%);
}

.vio-apertura .ds-hero__title {
  --ds-hero-title-size: clamp(2.8rem, 7vw, 6.4rem);
  --ds-hero-title-weight: var(--ds-weight-robust);
  --ds-hero-title-leading: 1.08;
  --ds-hero-title-tracking: -0.01em;
  --ds-hero-title-ink: var(--ds-ink-1);
  /* As wide as its measure allows, as the original's block title is, and
     not as wide as its longest line. */
  inline-size: 100%;
  max-inline-size: 18ch;
  margin: 0;
  /* Broken where the box ends, as the original's titles are. */
  text-wrap: wrap;
}

.vio-apertura .ds-hero__description,
.vio-invito .ds-hero__description {
  --ds-hero-description-face: var(--ds-typeface-body);
  --ds-hero-description-size: clamp(1.1rem, 1.5vw, 1.3rem);
  --ds-hero-description-weight: var(--ds-weight-delicate);
  --ds-hero-description-leading: 1.75;
  --ds-hero-description-tracking: 0;
  --ds-hero-description-ink: var(--vio-pietra-2);
  max-inline-size: 60ch;
}

.vio-apertura .ds-hero__description {
  margin-block: 1.8rem 2.6rem;
}

/* ── The three points ─────────────────────────────────────────────────────
   Three cells on the page's ground, ruled by the hairline showing between
   them and boxed by it, each with its number drawn in gold outline, its
   title and its words (`.services`). */
.vio-punti .ds-features__room {
  overflow: visible;
}

/* As many 280px cells abreast as fit, as the original counts them: three
   points take three, six take four and two. */
.vio-punti .ds-features__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-inline-size: none;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-2);
  background-color: var(--vio-filo);
}

.vio-punti .ds-features__item {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 0;
  background-color: var(--ds-surface-0);
  transition: background-color 0.6s;
}

.vio-punti .ds-features__item:hover {
  background-color: var(--vio-notte-2);
}

/* The gold line drawn across the cell's top under the hand. */
.vio-punti .ds-features__item::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  inline-size: 100%;
  block-size: 2px;
  background-color: var(--ds-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--vio-curva);
}

.vio-punti .ds-features__item:hover::after {
  transform: scaleX(1);
}

.vio-punti .ds-features__copy {
  gap: 1rem;
}

/* The number stands where OS puts a feature's mark, as a line of its own
   54.4px high and not a tile the height of the title's line. */
.vio-punti .ds-features__mark,
.vio-punti .ds-emblem {
  --ds-features-mark-ground: transparent;
  --ds-features-mark-edge: transparent;
  display: block;
  inline-size: auto;
  block-size: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: normal;
}

.vio-numero {
  display: block;
  font-family: var(--ds-typeface-display);
  font-size: 3.4rem;
  font-style: italic;
  font-weight: var(--ds-weight-standard);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ds-brand);
  opacity: 0.7;
}

.vio-punti .ds-features__title,
.vio-mestieri .ds-features__title {
  --ds-features-title-face: var(--ds-typeface-display);
  --ds-features-title-size: clamp(1.4rem, 2vw, 1.9rem);
  --ds-features-title-weight: var(--ds-weight-robust);
  --ds-features-title-leading: 1.08;
  --ds-features-title-tracking: -0.01em;
}

.vio-punti .ds-features__description {
  --ds-features-description-face: var(--ds-typeface-body);
  --ds-features-description-size: 0.96rem;
  --ds-features-description-weight: var(--ds-weight-delicate);
  --ds-features-description-leading: 1.75;
  --ds-features-description-tracking: 0;
  --ds-features-description-ink: var(--vio-pietra-2);
}

/* ── The signed line ──────────────────────────────────────────────────────
   80px under the points, centred in 900: italic Cormorant under a large
   gold quote mark, the studio's name in spaced gold capitals (`.quote`). */
.vio-studio-punti {
  gap: 5rem;
}

/* As wide as the band up to 900, centred: an auto margin alone would size
   it to its words, inside the stack's flex column. */
.vio-motto {
  inline-size: 100%;
  max-inline-size: 900px;
  margin-inline: auto;
  text-align: center;
}

.vio-motto .ds-testimonial__quote,
.vio-motto .ds-testimonial__body {
  display: block;
}

.vio-motto .ds-testimonial__words {
  --ds-testimonial-words-face: var(--ds-typeface-display);
  --ds-testimonial-words-size: clamp(1.7rem, 3.4vw, 2.9rem);
  --ds-testimonial-words-weight: var(--ds-weight-standard);
  --ds-testimonial-words-leading: 1.3;
  --ds-testimonial-words-tracking: 0;
  --ds-testimonial-words-ink: var(--ds-ink-1);
  max-inline-size: none;
  margin: 0;
  font-style: italic;
}

/* One opening mark, large and gold over the words, and no closing one:
   the original's, where OS hangs the language's two marks on the line. */
.vio-motto .ds-testimonial__words::before {
  content: "“";
  position: static;
  display: block;
  margin-block-end: 1rem;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--ds-brand);
}

.vio-motto .ds-testimonial__words::after {
  content: none;
}

.vio-motto .ds-testimonial__by {
  display: block;
  margin-block-start: 1.6rem;
}

.vio-motto .ds-testimonial__name {
  --ds-testimonial-name-face: var(--ds-typeface-body);
  --ds-testimonial-name-size: 0.72rem;
  --ds-testimonial-name-weight: var(--ds-weight-robust);
  --ds-testimonial-name-leading: normal;
  --ds-testimonial-name-ink: var(--ds-brand);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ── Inside the workshop ──────────────────────────────────────────────────
   The kicker over the title, 760 wide at most and 64 above the photos
   (`.section-head`); six square photos three abreast, a step apart, that
   open over the page (`.gallery`); three titles in the bright gold with
   their line, 64 under the photos (`.services` of the trio). */
.vio-bottega {
  gap: 0;
}

.vio-testata {
  gap: 1.2rem;
  max-inline-size: 760px;
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}

.vio-testata .ds-section-head__title {
  --ds-section-head-title-face: var(--ds-typeface-display);
  --ds-section-head-title-size: clamp(2.1rem, 4.4vw, 3.8rem);
  --ds-section-head-title-weight: var(--ds-weight-robust);
  --ds-section-head-title-leading: 1.08;
  --ds-section-head-title-tracking: -0.01em;
}

.vio-galleria {
  --ds-gallery-gap: var(--ds-space-4);
  --ds-gallery-radius: var(--ds-radius-2);
}

/* Every view over the page as the original's lightbox: the night at 94
   hundredths with the page blurred behind it, the name in italic
   Cormorant under the photo, round buttons in a hairline that fill with
   gold under the hand; the count is said, not shown, as the original
   shows none (`.lightbox`). */
/* The night is the backdrop's alone, as the original lays it: OS paints
   the view's box with the same ground, and the two at 94 hundredths each
   read black. */
.ds-site .ds-gallery__viewer {
  --ds-gallery-viewer-ground: var(--vio-velo);
  background: transparent;
}

.ds-site .ds-gallery__viewer::backdrop {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ds-site .ds-gallery__slide-caption {
  --ds-gallery-slide-caption-face: var(--ds-typeface-display);
  --ds-gallery-slide-caption-size: 1.3rem;
  --ds-gallery-slide-caption-weight: var(--ds-weight-standard);
  --ds-gallery-slide-caption-leading: normal;
  --ds-gallery-slide-caption-tracking: 0;
  font-style: italic;
  color: var(--vio-pietra-2);
}

/* The photo and its name, a rem apart, centred in the whole window, the
   photo at most 92% of its width and 80% of its height, its corners the
   site's (`.lightbox figure`, `.lightbox img`); the way out at its corner,
   1.5rem in (`.lb-close`), where OS gives it a bar of its own. */
.ds-site .ds-gallery__viewer[open] {
  grid-template-rows: minmax(0, 1fr);
}

.ds-site .ds-gallery__bar {
  position: fixed;
  inset-block-start: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 1;
  justify-content: flex-end;
  padding: 0;
}

.ds-site .ds-gallery__slide {
  gap: 1rem;
  padding: 0;
}

.ds-site .ds-gallery__full {
  max-inline-size: 92vw;
  max-block-size: 80vh;
  border-radius: var(--ds-radius-2);
}

.ds-site .ds-gallery__count {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ds-site .ds-gallery__viewer .ds-button {
  inline-size: 52px;
  block-size: 52px;
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-full);
  background-color: var(--vio-tasto);
  color: var(--ds-ink-1);
  transition: border-color 0.3s, background-color 0.3s;
}

.ds-site .ds-gallery__viewer .ds-button:hover {
  border-color: var(--ds-brand);
  background-color: var(--ds-brand);
  color: var(--ds-surface-0);
}

/* Its arrows at the window's middle, 1.5rem in from its sides (`.lb-prev`,
   `.lb-next`): OS stands them on the picture's row, nearer the edge. */
.ds-site .ds-gallery__go {
  position: fixed;
}

.ds-site .ds-gallery__go--previous {
  inset-inline-start: 1.5rem;
}

.ds-site .ds-gallery__go--next {
  inset-inline-end: 1.5rem;
}

/* The name under each photo is said in the view over the page, as the
   original says it, and not under the photo. */
.vio-galleria .ds-gallery__caption {
  display: none;
}

.vio-galleria .ds-gallery__image {
  filter: saturate(0.85);
  transition: transform 1s var(--vio-curva), filter 0.6s;
}

.vio-galleria .ds-gallery__open:hover .ds-gallery__image {
  transform: scale(1.07);
  filter: saturate(1.05);
}

.vio-mestieri {
  margin-block-start: 4rem;
}

.vio-mestieri .ds-features__grid {
  gap: 2.5rem;
}

.vio-mestieri .ds-features__copy {
  gap: 0.6rem;
}

.vio-mestieri .ds-features__title {
  --ds-features-title-ink: var(--vio-oro-2);
}

.vio-mestieri .ds-features__description {
  --ds-features-description-face: var(--ds-typeface-body);
  --ds-features-description-size: 1.0625rem;
  --ds-features-description-weight: var(--ds-weight-delicate);
  --ds-features-description-leading: 1.75;
  --ds-features-description-tracking: 0;
  --ds-features-description-ink: var(--vio-pietra-2);
}

/* ── The invitation ───────────────────────────────────────────────────────
   A box on the page's box with a hairline, the corner's photo at 35
   hundredths under the night drawn in from its edges, the words centred
   in it (`.cta`). Its band takes no room above it, the original's
   `padding-top: 0`. */
.ds-site__main > .ds-site__section.vio-invito-banda:has(> .ds-site__band > .ds-hero) {
  padding-block: 0 var(--vio-banda);
}

.vio-invito {
  --ds-hero-height: auto;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-2);
}

/* The words take the box's whole width and no more: on a phone the title
   breaks in two and the address's button is cut to the box, as the
   original's are. */
.vio-invito .ds-hero__text {
  gap: 0;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: none;
}

.vio-invito .ds-hero__media {
  z-index: -2;
}

.vio-invito .ds-hero__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.vio-invito::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--ds-surface-0) 55%, transparent),
    color-mix(in srgb, var(--ds-surface-0) 95%, transparent));
}

.vio-invito .ds-hero__title {
  --ds-hero-title-face: var(--ds-typeface-display);
  --ds-hero-title-size: clamp(2.1rem, 4.4vw, 3.8rem);
  --ds-hero-title-weight: var(--ds-weight-robust);
  --ds-hero-title-leading: 1.08;
  --ds-hero-title-tracking: -0.01em;
  --ds-hero-title-ink: var(--ds-ink-1);
  inline-size: 100%;
  max-inline-size: 18ch;
  margin-block: 1.2rem;
}

.vio-invito .ds-hero__actions {
  gap: 1rem;
  margin-block-start: 2.2rem;
  padding-block-start: 0;
}

/* The two doors' row is the box's width, as the original's block of them
   is, so a door wider than the box is cut to it rather than spilling. */
.vio-invito .ds-hero__actions,
.vio-invito .ds-hero__actions > .ds-row {
  inline-size: 100%;
  min-inline-size: 0;
}

/* Two doors on one row are as tall as each other, as the original's are. */
.vio-invito .ds-hero__actions > .ds-row {
  align-items: stretch;
}

/* ── A door ───────────────────────────────────────────────────────────────
   Every button of the page is the original's: spaced capitals on gold or
   in a gold line, the gold sweeping in from the right under the hand, the
   arrow stepping forward (`.btn`). */
.ds-site__main .ds-button--brand {
  --ds-button-face: var(--ds-typeface-body);
  --ds-button-size: 0.78rem;
  --ds-button-weight: var(--ds-weight-robust);
  --ds-button-leading: 1;
  --ds-button-tracking: 0.2em;
  --ds-button-case: uppercase;
  --ds-button-gap: 0.7rem;
  --ds-button-edge-width: 1px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-inline-size: 0;
  min-block-size: 0;
  padding: 1rem 1.9rem;
  border-radius: var(--ds-radius-2);
  transition: color 0.5s var(--vio-curva);
}

.ds-site__main .ds-button--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--ds-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--vio-curva);
}

.ds-site__main .ds-button--brand:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.ds-site__main .ds-button--brand.ds-button--fill-solid {
  --ds-button-solid: var(--ds-brand);
  --ds-button-solid-hover: var(--ds-brand);
  --ds-button-on-solid: var(--ds-surface-0);
}

.ds-site__main .ds-button--brand.ds-button--fill-solid::before {
  background-color: var(--ds-ink-1);
}

.ds-site__main .ds-button--brand.ds-button--fill-outline {
  --ds-button-edge: var(--ds-brand);
  --ds-button-ink: var(--vio-oro-2);
  --ds-button-tint-hover: transparent;
}

.ds-site__main .ds-button--brand.ds-button--fill-outline:hover {
  --ds-button-ink: var(--ds-surface-0);
}

/* The envelope at the original's 16px; an arrow 16px wide and 10px high,
   the original's flat arrow, so a door with an arrow is as tall as the
   original's (46.5) and the one with the envelope 50. */
.ds-site__main .ds-button--brand .ds-button__icon,
.ds-site__main .ds-button--brand .ds-button__icon svg {
  inline-size: 16px;
  block-size: 16px;
}

.ds-site__main .ds-button--brand .ds-button__label + .ds-button__icon {
  block-size: 10px;
  transition: transform 0.5s var(--vio-curva);
}

.ds-site__main .ds-button--brand .ds-button__label + .ds-button__icon svg {
  margin-block: -3px;
}

.ds-site__main .ds-button--brand:hover .ds-button__label + .ds-button__icon {
  transform: translateX(4px);
}

/* ── The foot ─────────────────────────────────────────────────────────────
   On the second ground under a hairline, 64 under the last band: the logo
   and its italic line, three columns of links under spaced gold capitals,
   the last line in the quiet ink (`.site-footer`). */
/* Each part reads the hooks it declares itself, so each is set on the part. */
.vio-piede {
  margin-block-start: 4rem;
  border-block-start: 1px solid var(--vio-filo);
  background-color: var(--vio-notte-2);
}

.vio-piede .ds-footer__inner {
  gap: 0;
  padding-block: 5rem 2rem;
}

.vio-piede .ds-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.vio-piede .ds-footer__brand {
  gap: 0;
  max-inline-size: none;
}

.vio-piede .ds-footer__heading {
  --ds-footer-heading-face: var(--ds-typeface-body);
  --ds-footer-heading-size: 0.7rem;
  --ds-footer-heading-leading: 1;
  --ds-footer-heading-tracking: 0.26em;
  --ds-footer-heading-ink: var(--ds-brand);
}

/* A link is its line, 0.92rem on 1.75, with nothing round it. */
.vio-piede .ds-footer__link {
  padding-block: 0;
  --ds-footer-link-face: var(--ds-typeface-body);
  --ds-footer-link-size: 0.92rem;
  --ds-footer-link-weight: var(--ds-weight-delicate);
  --ds-footer-link-leading: 1.75;
  --ds-footer-link-tracking: 0;
  --ds-footer-link-ink: var(--vio-pietra-2);
}

.vio-piede .ds-footer__tagline {
  --ds-footer-tagline-face: var(--ds-typeface-display);
  --ds-footer-tagline-size: 1.3rem;
  --ds-footer-tagline-weight: var(--ds-weight-standard);
  --ds-footer-tagline-leading: 1.4;
  --ds-footer-tagline-tracking: 0;
  --ds-footer-tagline-ink: var(--vio-pietra-2);
}

.vio-piede .ds-footer__bottom {
  --ds-footer-bottom-face: var(--ds-typeface-body);
  --ds-footer-bottom-size: 0.76rem;
  --ds-footer-bottom-weight: var(--ds-weight-delicate);
  --ds-footer-bottom-leading: 1.75;
  --ds-footer-bottom-tracking: 0.04em;
  --ds-footer-bottom-ink: var(--vio-grigio);
}

.vio-piede .ds-footer__groups {
  display: contents;
}

.vio-piede .ds-footer__group {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.vio-piede .ds-footer__heading {
  margin-block-end: calc(1.4rem - 0.7rem);
  font-weight: var(--ds-weight-robust);
  text-transform: uppercase;
}

.vio-piede .ds-footer__link {
  transition: color 0.3s;
}

.vio-piede .ds-footer__link:hover {
  --ds-footer-link-ink: var(--vio-oro-2);
}

/* The logo as the original draws it: its light letters through an
   inverted, sepia, screened filter, in a box 220 wide and 120 high. */
.vio-piede__logo {
  display: block;
  inline-size: 220px;
  block-size: 120px;
  margin-block-end: 1.4rem;
}

.vio-piede__logo .ds-logo__image {
  inline-size: 220px;
  block-size: 120px;
  max-inline-size: none;
  /* Drawn into the box as the original draws it, filling it: its 480 by
     120 squeezed to 220 wide (DA-CHIEDERE.md asks whether it should keep
     its own shape). */
  object-fit: fill;
  filter: invert(1) brightness(1.4) sepia(0.35);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.vio-piede .ds-footer__tagline {
  max-inline-size: 30ch;
  font-style: italic;
}

.vio-piede .ds-footer__bottom {
  margin-block-start: 4rem;
  padding-block-start: 1.6rem;
  border-block-start: 1px solid var(--vio-filo);
}

.vio-piede .ds-footer__legal .ds-footer__link {
  --ds-footer-link-size: 0.76rem;
  --ds-footer-link-leading: 1.75;
  --ds-footer-link-tracking: 0.04em;
  --ds-footer-link-ink: var(--vio-grigio);
}

/* "Privacy · Cookie", one space each side of the dot, as the original's
   line reads. */
.vio-piede .ds-footer__legal {
  gap: 0;
}

.vio-piede .ds-footer__legal .ds-footer__link + .ds-footer__link::before {
  content: "\a0·\a0";
}

/* «Preferenze cookie», where the site measures: OS's link in the footer's
   aside, the line's third, after the same dot and in the legal links'
   letters, which it inherits from here (it stood glued to «Cookie» with
   the line's gap at 0: "CookiePreferenze cookie", 23 November 2026). */
.vio-piede .ds-footer__aside {
  gap: 0;
  font-family: var(--ds-typeface-body);
  font-size: 0.76rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--vio-grigio);
}

.vio-piede .ds-footer__aside::before {
  content: "\a0·\a0";
}

.vio-piede .ds-footer__aside .ds-link {
  transition: color 0.3s;
}

.vio-piede .ds-footer__aside .ds-link:hover {
  color: var(--vio-oro-2);
}

@container (width <= 56.25rem) {
  .vio-piede .ds-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@container (width <= 32.5rem) {
  .vio-piede .ds-footer__top {
    grid-template-columns: 1fr;
  }
}

/* ── WhatsApp ─────────────────────────────────────────────────────────────
   The round gold button at the window's corner (`.fab`). */
.vio-whatsapp {
  position: fixed;
  inset-inline-end: 1.4rem;
  inset-block-end: 1.4rem;
  z-index: 40;
  inline-size: 56px;
  block-size: 56px;
  min-block-size: 0;
  padding: 0;
  border: 0;
  border-radius: var(--ds-radius-full);
  background-color: var(--ds-brand);
  color: var(--ds-surface-0);
  box-shadow: 0 15px 35px -10px var(--vio-ombra);
  transition: transform 0.4s var(--vio-curva);
}

.vio-whatsapp:hover {
  transform: scale(1.08) rotate(-6deg);
  background-color: var(--ds-brand);
}

.vio-whatsapp .ds-button__icon,
.vio-whatsapp svg {
  inline-size: 26px;
  block-size: 26px;
}

/* ── Motion ───────────────────────────────────────────────────────────────
   What the original reveals rises 40px into place over 1.1s as it comes
   into view, each of a set a tenth after the one before (`.reveal`); and a
   gold glow follows a mouse (`.glow`). Only once moto.js has asked for it
   (`data-moto`), so nothing is hidden without the script. */
[data-moto] .vio-rivela {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--vio-curva), transform 1.1s var(--vio-curva);
  transition-delay: var(--vio-ritardo, 0s);
}

[data-moto] .vio-rivela.vio-dentro {
  opacity: 1;
  transform: none;
}

[data-moto] .vio-rivela-foto {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--vio-curva), transform 1.4s var(--vio-curva);
}

[data-moto] .vio-rivela-foto.vio-dentro {
  opacity: 1;
  transform: none;
}

/* The opening's line fades up into place once the page is open
   (`.hero .lead`). */
[data-moto] .vio-apertura .ds-hero__description {
  opacity: 0;
  animation: vio-affiora 1.4s 0.7s var(--vio-curva) forwards;
}

@keyframes vio-affiora {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.vio-bagliore {
  position: fixed;
  inset-inline-start: -999px;
  inset-block-start: -999px;
  z-index: 0;
  inline-size: 420px;
  block-size: 420px;
  border-radius: var(--ds-radius-full);
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--ds-brand) 9%, transparent), transparent 65%);
  translate: -50% -50%;
}

.vio-riga {
  display: block;
  overflow: hidden;
}

.vio-riga > span {
  display: block;
}

[data-moto] .vio-riga > span {
  transform: translateY(105%);
  animation: vio-sale 1.4s var(--vio-curva) forwards;
}

[data-moto] .vio-riga:nth-child(2) > span {
  animation-delay: 0.15s;
}

[data-moto] .vio-riga:nth-child(3) > span {
  animation-delay: 0.3s;
}

@keyframes vio-sale {
  to {
    transform: none;
  }
}

@keyframes vio-scorri {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  50% {
    transform-origin: top;
    transform: scaleY(1);
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/* A band that takes no room above it, where the original writes
   `padding-top: 0`. */
.ds-site__main > .ds-site__section.vio-banda-seguita {
  padding-block-start: 0;
}

/* A line of the page's words, 17px on 1.75, holding a kicker on its
   baseline as the original's inline kicker stands. */
.vio-linea {
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* The line under a title (`.lead`), and a paragraph after another 1.1em
   below it. */
.vio-lead {
  max-inline-size: 60ch;
  margin: 0;
  font-family: var(--ds-typeface-body);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  color: var(--vio-pietra-2);
}

.vio-lead + .vio-lead {
  margin-block-start: 1.1em;
}

/* A smaller title inside a band's words, 2.4rem under what precedes it
   (`h3`), and the plain words under it in the second stone. */
.vio-sottotitolo {
  margin: 2.4rem 0 0.8rem;
  font-family: var(--ds-typeface-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: var(--ds-weight-robust);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ds-ink-1);
}

.vio-testo {
  margin: 0;
  font-family: var(--ds-typeface-body);
  font-size: 1.0625rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  color: var(--vio-pietra-2);
}

/* A door under the words, 2rem below them; centred under the mosaic
   2.5rem below it. */
.vio-porta {
  margin: 2rem 0 0;
}

/* A picture beside the words, the two halves 1.05 to 1, centred on each
   other, one under the other below 860px; reversed, the words first
   (`.split`). */
.vio-diviso {
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.vio-diviso--rovescio > :first-child {
  order: 2;
}

.vio-diviso__testo {
  display: block;
}

.vio-diviso__testo .ds-section-head {
  margin: 1.2rem 0 1.6rem;
}

.vio-diviso__testo .ds-section-head__title,
.vio-testata .ds-section-head__title {
  --ds-section-head-title-face: var(--ds-typeface-display);
  --ds-section-head-title-size: clamp(2.1rem, 4.4vw, 3.8rem);
  --ds-section-head-title-weight: var(--ds-weight-robust);
  --ds-section-head-title-leading: 1.08;
  --ds-section-head-title-tracking: -0.01em;
}

@container (width <= 53.75rem) {
  .vio-diviso {
    grid-template-columns: 1fr;
  }

  .vio-diviso--rovescio > :first-child {
    order: 0;
  }
}

/* The picture in a gold hairline 14px off it, the badge on gold over its
   corner (`.frame`). */
.vio-cornice {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 600px;
  justify-self: center;
  margin: 0;
  padding: 14px;
}

.vio-cornice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid var(--ds-brand);
  border-radius: calc(var(--ds-radius-2) + 4px);
  opacity: 0.45;
  pointer-events: none;
}

.vio-cornice img {
  position: relative;
  z-index: 1;
  display: block;
  inline-size: 100%;
  block-size: auto;
  object-fit: cover;
  border-radius: var(--ds-radius-2);
  filter: saturate(0.9) contrast(1.05);
}

.vio-cornice .ds-image__caption {
  position: absolute;
  inset-inline-end: -1rem;
  inset-block-end: -1.2rem;
  z-index: 2;
  margin: 0;
  padding: 1.3rem 1.5rem;
  border-radius: var(--ds-radius-2);
  background-color: var(--ds-brand);
  box-shadow: 0 20px 50px -10px var(--vio-ombra-2);
  font-family: var(--ds-typeface-display);
  font-size: 1.0625rem;
  line-height: 1;
  color: var(--ds-surface-0);
}

.vio-cornice .ds-image__caption strong {
  display: block;
  font-size: 2.6rem;
  font-weight: var(--ds-weight-robust);
}

.vio-cornice .ds-image__caption small {
  font-family: var(--ds-typeface-body);
  font-size: 0.62rem;
  font-weight: var(--ds-weight-robust);
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@container (width <= 53.75rem) {
  .vio-cornice .ds-image__caption {
    inset-inline-end: 1rem;
  }
}

/* The band's head over the collections and the works: 760 wide at most,
   its parts 1.2rem apart, 64 above what it heads; the band itself keeps no
   gap of its own between them. */
.vio-testata .vio-lead {
  max-inline-size: 60ch;
}

.vio-opere-banda {
  gap: 0;
}

/* A work's card on the second ground in a hairline, lifting and taking a
   gold edge under the hand; its picture whole on the night's glow, its
   category in gold capitals, its name, its price in gold Cormorant, its two
   ways on under a hairline (`.card`). */
.vio-scheda {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-2);
  background-color: var(--vio-notte-2);
  box-shadow: none;
  transition: border-color 0.5s, transform 0.6s var(--vio-curva), box-shadow 0.6s;
}

.vio-scheda:hover {
  border-color: color-mix(in srgb, var(--ds-brand) 50%, transparent);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px var(--vio-ombra-3);
}

/* The work stands on the original's glow (`.card-media`), laid on OS's
   tile, the ground the picture's button paints. */
.vio-scheda__foto {
  --ds-gallery-gap: 0;
  --ds-gallery-radius: 0;
  --ds-gallery-tile: radial-gradient(circle at 50% 40%, var(--vio-notte-4), var(--vio-notte-2));
}

.vio-scheda__foto .ds-gallery__items {
  grid-template-columns: 1fr;
}

.vio-scheda__foto .ds-gallery__caption {
  display: none;
}

.vio-scheda__foto .ds-gallery__open {
  cursor: zoom-in;
}

.vio-scheda__foto .ds-gallery__image {
  box-sizing: border-box;
  object-fit: contain;
  padding: 1.2rem;
  transition: transform 1s var(--vio-curva);
}

.vio-scheda:hover .vio-scheda__foto .ds-gallery__image {
  transform: scale(1.06);
}

.vio-scheda .ds-card__head {
  padding: 1.3rem 1.4rem 0;
}

.vio-scheda .ds-card__heading {
  gap: 0.5rem;
}

/* An article's category over its title wears a work's category (src/blog.php). */
.vio-scheda .ds-card__eyebrow,
.vio-blog .ds-card__eyebrow {
  margin: 0;
  font-family: var(--ds-typeface-body);
  font-size: 0.66rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-brand);
}

.vio-scheda .ds-card__title {
  font-family: var(--ds-typeface-display);
  font-size: 1.35rem;
  font-weight: var(--ds-weight-robust);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ds-ink-1);
}

.vio-scheda .ds-card__body {
  flex-grow: 0;
  padding: 0.5rem 1.4rem;
}

.vio-prezzo {
  display: block;
  font-family: var(--ds-typeface-body);
  font-size: 0.85rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  color: var(--vio-pietra-2);
}

.vio-prezzo strong {
  font-family: var(--ds-typeface-display);
  font-size: 1.25rem;
  font-weight: var(--ds-weight-robust);
  line-height: normal;
  color: var(--vio-oro-2);
}

/* Right under the price, as the original packs its card's words at the top
   and leaves the room a taller neighbour gives under them. */
.vio-scheda .ds-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 1.4rem 1.5rem;
  padding: 0.9rem 0 0;
  border-block-start: 1px solid var(--vio-filo);
}

.vio-scheda .ds-card__footer .ds-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ds-typeface-body);
  font-size: 0.72rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vio-oro-2);
}

.vio-scheda .ds-card__footer .ds-link:hover {
  color: var(--ds-ink-1);
}

.vio-scheda .ds-card__footer .ds-link__icon,
.vio-scheda .ds-card__footer .vio-segno {
  inline-size: 14px;
  block-size: 14px;
}

/* The drawings a page keeps once for its marks to use (`bustaModello()`). */
.vio-modello {
  display: none;
}

/* A card the collection's filter leaves out (`.grid .card[hidden]`). */
.vio-scheda[hidden] {
  display: none;
}

/* ── The collection ───────────────────────────────────────────────────────
   The address to write to in the opening's line, in the bright gold, its
   line drawn in under the hand (`.link-u`). */
.vio-sottolinea {
  display: inline;
  color: var(--vio-oro-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--vio-curva);
}

.vio-sottolinea:hover {
  background-size: 100% 1px;
}

/* The band of the works starts 3rem under the opening, as the original
   writes it on the section. */
.ds-site__main > .ds-site__section.vio-catalogo-banda {
  padding-block-start: 3rem;
}

/* The search: a pill on the second ground, 380px at most, its words in
   the stone, no mark in it (`.search`). */
.vio-cerca {
  max-inline-size: 380px;
  margin-block-end: 1rem;
}

.vio-cerca .ds-field__frame {
  min-block-size: 0;
  padding: 0;
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-full);
  background-color: var(--vio-notte-2);
}

.vio-cerca .ds-field__icon {
  display: none;
}

.vio-cerca .ds-field__control {
  padding: 0.8rem 1.1rem;
  font-family: var(--ds-typeface-body);
  font-size: 0.9rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  color: var(--ds-ink-1);
}

/* The twenty categories, wrapped, held under the bar as the page moves on
   the night fading out at its foot; each a pill in a hairline, the chosen
   one on gold, its count raised and quieter (`.filters`, `.chip`). */
.vio-filtri {
  position: sticky;
  inset-block-start: 72px;
  z-index: 5;
  gap: 0.5rem;
  margin-block-end: 2.5rem;
  padding-block: 1rem;
  background: linear-gradient(var(--ds-surface-0) 75%, transparent);
}

.vio-filtri .ds-filter-bar__chip {
  --ds-filter-bar-chip-face: var(--ds-typeface-body);
  --ds-filter-bar-chip-size: 0.74rem;
  --ds-filter-bar-chip-weight: var(--ds-weight-standard);
  --ds-filter-bar-chip-leading: 1;
  --ds-filter-bar-chip-tracking: 0.08em;
  --ds-filter-bar-chip-ink: var(--vio-pietra-2);
  display: inline-block;
  min-block-size: 0;
  padding: 0.55rem 1rem;
  border-color: var(--vio-filo);
  transition: all 0.3s;
}

.vio-filtri .ds-filter-bar__chip:hover {
  --ds-filter-bar-chip-ink: var(--ds-ink-1);
  border-color: var(--ds-brand);
  background-color: transparent;
}

.vio-filtri .ds-filter-bar__chip[aria-checked="true"] {
  --ds-filter-bar-chip-ink: var(--ds-surface-0);
  border-color: var(--ds-brand);
  background-color: var(--ds-brand);
}

.vio-filtri .ds-filter-bar__chip .ds-filter-bar__count {
  --ds-filter-bar-count-ink: currentColor;
  margin-inline-start: 0.2rem;
  font-size: smaller;
  vertical-align: super;
  opacity: 0.6;
}

/* The works, as many abreast as 250px allows (`.grid`). The width is the
   original's box written as it writes it, `min(1240px, 92vw)`: the shell's
   box minus its gutters comes out a 64th of a pixel wider on a phone, and
   209 cards stacked one under the other carry it five pixels down. */
.vio-catalogo {
  inline-size: min(77.5rem, 92vw);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.4rem;
}

/* ── A work's page ────────────────────────────────────────────────────────
   The band opens clamp(7rem, 14vw, 9rem) under the top, as the original
   writes it on the section, with the way back up over the work. */
.ds-site__main > .ds-site__section.vio-opera-banda {
  padding-block-start: clamp(7rem, 14vw, 9rem);
}

/* The way back up in the grey's small capitals, a slash after each place
   and the work's name wrapping where the line ends (`.breadcrumb`). */
.vio-briciole {
  --ds-breadcrumb-face: var(--ds-typeface-body);
  --ds-breadcrumb-size: 0.72rem;
  --ds-breadcrumb-weight: var(--ds-weight-delicate);
  --ds-breadcrumb-leading: 1.75;
  --ds-breadcrumb-tracking: 0.14em;
  gap: 0.6rem;
  color: var(--vio-grigio);
  text-transform: uppercase;
}

.vio-briciole .ds-breadcrumb__crumb {
  gap: 0.6rem;
}

.vio-briciole .ds-breadcrumb__crumb + .ds-breadcrumb__crumb::before {
  content: none;
}

.vio-briciole .ds-breadcrumb__crumb:not(:last-child)::after {
  content: "/";
}

.vio-briciole .ds-breadcrumb__link {
  --ds-breadcrumb-link-ink: var(--vio-grigio);
}

.vio-briciole .ds-breadcrumb__link:hover {
  --ds-breadcrumb-link-ink: var(--ds-brand);
}

.vio-briciole .ds-breadcrumb__here {
  --ds-breadcrumb-here-ink: var(--vio-grigio);
  white-space: normal;
}

/* The work and its words, 1.2 to 1, a step apart that grows with the
   window, 2rem under the way back up; one under the other below 860px
   (`.work`). */
.vio-opera {
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-block-start: 2rem;
}

/* The work's picture in its square on the glow, a hairline round it, at
   its own size (the size OS writes on its item, as the original's `width`
   and `height`) and never past the square, drawn 2rem inside that box,
   held 100px under
   the top as the page moves (`.work-gallery .main`); its pictures under it
   as 76px thumbnails, a little lit, the one shown whole and edged in gold
   (`.thumbs`). */
.vio-opera__foto {
  --ds-gallery-radius: var(--ds-radius-2);
  --ds-gallery-tile: radial-gradient(circle at 50% 40%, var(--vio-notte-4), var(--vio-notte-2));
  --ds-gallery-thumb-size: 76px;
  --ds-gallery-thumb-ring: transparent;
  position: sticky;
  inset-block-start: 100px;
  gap: 1rem;
}

.vio-opera__foto .ds-gallery__items {
  border: 1px solid var(--vio-filo);
}

.vio-opera__foto .ds-gallery__open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vio-opera__foto .ds-gallery__image {
  box-sizing: border-box;
  inline-size: calc(var(--ds-gallery-w) * 1px);
  block-size: calc(var(--ds-gallery-h) * 1px);
  max-inline-size: 100%;
  max-block-size: 100%;
  padding: 2rem;
  object-fit: contain;
  transition: transform 0.8s var(--vio-curva);
}

.vio-opera__foto .ds-gallery__open:hover .ds-gallery__image {
  transform: scale(1.04);
}

.vio-opera__foto .ds-gallery__thumbs {
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
}

.vio-opera__foto .ds-gallery__thumb {
  padding: 4px;
  border: 1px solid var(--vio-filo);
  background: var(--vio-notte-2);
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
}

.vio-opera__foto .ds-gallery__thumb[aria-current="true"],
.vio-opera__foto .ds-gallery__thumb:hover {
  border-color: var(--ds-brand);
  opacity: 1;
}

.vio-opera__foto .ds-gallery__thumb-image {
  object-fit: contain;
}

/* The words beside the work, each at the original's margins
   (`.work-info`): the category on the line the text runs on, the name
   1rem under it and 1.5rem over its words, in the second stone, kept as
   the studio broke them. */
.vio-opera__dati,
.vio-opera__testa > .ds-stack {
  gap: 0;
}

.vio-opera__testa .ds-page-head__eyebrow {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.vio-opera__testa .ds-page-head__title {
  --ds-page-head-title-face: var(--ds-typeface-display);
  --ds-page-head-title-size: clamp(2.2rem, 4.4vw, 3.8rem);
  --ds-page-head-title-weight: var(--ds-weight-robust);
  --ds-page-head-title-leading: 1.08;
  --ds-page-head-title-tracking: -0.01em;
  margin: 1rem 0 1.5rem;
  text-wrap: wrap;
}

.vio-opera__testa .ds-page-head__lede {
  --ds-page-head-lede-face: var(--ds-typeface-body);
  --ds-page-head-lede-size: 1.0625rem;
  --ds-page-head-lede-weight: var(--ds-weight-delicate);
  --ds-page-head-lede-leading: 1.75;
  --ds-page-head-lede-tracking: normal;
  --ds-page-head-lede-ink: var(--vio-pietra-2);
  max-inline-size: none;
  margin-block-start: 0;
  white-space: pre-line;
  text-wrap: wrap;
}

/* The price and the two ways to ask, in a box edged in gold on the left
   with the gold's light fading across it (`.price-box`); the price large,
   the ways .8rem apart, a long one wrapping inside its button. */
.vio-offerta {
  display: grid;
  gap: 1rem;
  margin-block: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--vio-filo);
  border-inline-start: 2px solid var(--ds-brand);
  border-radius: var(--ds-radius-2);
  background: linear-gradient(90deg, color-mix(in srgb, var(--ds-brand) 8%, transparent), transparent);
}

.vio-offerta .vio-prezzo strong {
  font-size: 2rem;
}

.vio-offerta__vie {
  gap: 0.8rem;
}

.vio-offerta__vie .ds-button,
.vio-offerta__vie .ds-button__label {
  white-space: normal;
}

.vio-offerta__vie .ds-button__label {
  text-align: start;
}

/* The particulars, a row each between hairlines, the name in the grey's
   small capitals and the value at the far end (`.specs`). */
.vio-dettagli {
  --ds-description-list-face: var(--ds-typeface-body);
  --ds-description-list-size: 0.9rem;
  --ds-description-list-weight: var(--ds-weight-delicate);
  --ds-description-list-leading: 1.75;
  --ds-description-list-tracking: normal;
  row-gap: 0.1rem;
  margin: 0;
}

.vio-dettagli .ds-description-list__name {
  --ds-description-list-name-size: 0.72rem;
  --ds-description-list-name-tracking: 0.1em;
  --ds-description-list-name-ink: var(--vio-grigio);
  padding-inline-end: 1rem;
  text-transform: uppercase;
}

.vio-dettagli .ds-description-list__value {
  text-align: end;
}

.vio-dettagli > :is(.ds-description-list__name, .ds-description-list__value) {
  padding-block: 0.8rem;
  border-block-end: 1px solid var(--vio-filo);
}

/* The way back to the collection, 2rem under the particulars. */
.vio-ritorno {
  margin: 2rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

@container (width <= 53.75rem) {
  .vio-opera {
    grid-template-columns: 1fr;
  }

  .vio-opera__foto {
    position: static;
  }
}

/* ── Contatti ─────────────────────────────────────────────────────────────
   The band opens clamp(8rem, 16vw, 11rem) under the top, as the original
   writes it on the section. */
.ds-site__main > .ds-site__section.vio-contatti-banda {
  padding-block-start: clamp(8rem, 16vw, 11rem);
}

/* The ways to reach the studio beside the form, 1 to 1.3, a step apart
   that grows with the window, the two as tall as the taller
   (`.contact-grid`). */
.vio-contatti {
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
}

/* The kicker on the line the text runs on, the title 1.2rem under it and
   1.4rem over the line on how the studio sells, in the lead's words. */
.vio-contatti__vie,
.vio-contatti__testa > .ds-stack {
  gap: 0;
}

.vio-contatti__testa .ds-page-head__eyebrow {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.vio-contatti__testa .ds-page-head__title {
  --ds-page-head-title-face: var(--ds-typeface-display);
  --ds-page-head-title-size: clamp(2.6rem, 5vw, 4.4rem);
  --ds-page-head-title-weight: var(--ds-weight-robust);
  --ds-page-head-title-leading: 1.08;
  --ds-page-head-title-tracking: -0.01em;
  margin: 1.2rem 0 1.4rem;
  text-wrap: wrap;
}

.vio-contatti__testa .ds-page-head__lede {
  --ds-page-head-lede-face: var(--ds-typeface-body);
  --ds-page-head-lede-size: clamp(1.1rem, 1.5vw, 1.3rem);
  --ds-page-head-lede-weight: var(--ds-weight-delicate);
  --ds-page-head-lede-leading: 1.75;
  --ds-page-head-lede-tracking: normal;
  --ds-page-head-lede-ink: var(--vio-pietra-2);
  max-inline-size: 60ch;
  margin-block-start: 0;
  text-wrap: wrap;
}

/* The three ways in their boxes, 1.2rem apart and 2rem under the line:
   the mark in gold, what it is for in the grey's small capitals over
   where; the edge gold and the ground raised under a mouse
   (`.contact-list`). */
.vio-vie {
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.vio-via {
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-2);
  background-color: transparent;
  box-shadow: none;
  color: var(--ds-text-primary-neutral);
  font-family: var(--ds-typeface-body);
  font-size: 1.0625rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  text-decoration: none;
  transition: border-color 0.4s, background-color 0.4s;
}

.vio-via:hover {
  border-color: var(--ds-brand);
  background-color: var(--vio-notte-2);
}

.vio-via svg {
  flex: none;
  inline-size: 22px;
  block-size: 22px;
  color: var(--ds-brand);
}

.vio-via small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vio-grigio);
}

/* The form on the second ground in a hairline frame, its parts 1.3rem
   apart in the page's type (`.form`), two fields abreast where the
   original pairs them (`.form .row`). */
.vio-modulo {
  display: grid;
  gap: 1.3rem;
  margin: 0;
  font-family: var(--ds-typeface-body);
  font-size: 1.0625rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  padding: clamp(1.6rem, 3.5vw, 3rem);
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-2);
  background-color: var(--vio-notte-2);
}

.vio-modulo__coppia {
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

/* A field is its line: what is written on it in the stone, its name inside
   it until something is written, then small and gold over it, the line
   gold while it is being written in and terracotta once what is in it will
   not do (`.field`). The subject's name stands over it from the start.
   The original's message box stands on its form's 17px line, which leaves
   9.75px under it (measured): written here, under OS's box. */
.vio-campo {
  position: relative;
  display: block;
}

.vio-campo.ds-textarea {
  padding-block-end: 9.75px;
}

.vio-campo .ds-field__frame {
  min-block-size: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  outline: none;
}

.vio-campo .ds-field__control {
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 0;
  margin: 0;
  padding: 1.4rem 0 0.6rem;
  border: 0;
  border-block-end: 1px solid var(--vio-filo);
  border-radius: 0;
  background-color: transparent;
  color: var(--ds-text-primary-neutral);
  font: var(--ds-weight-delicate) 1rem var(--ds-typeface-body);
  outline: none;
  transition: border-color 0.4s;
}

.vio-campo textarea.ds-field__control {
  min-block-size: 140px;
  resize: vertical;
}

.vio-campo .ds-field__label {
  position: absolute;
  inset-block-start: 1.3rem;
  inset-inline-start: 0;
  margin: 0;
  color: var(--vio-grigio);
  font-family: var(--ds-typeface-body);
  font-size: 0.95rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
  letter-spacing: normal;
  text-transform: none;
  pointer-events: none;
  transition: all 0.3s var(--vio-curva);
}

.vio-campo .ds-field__control:focus {
  border-color: var(--ds-brand);
}

.vio-campo .ds-field__control:user-invalid {
  border-color: var(--vio-terracotta);
}

.vio-campo:has(.ds-field__control:focus, .ds-field__control:not(:placeholder-shown)) .ds-field__label,
.vio-campo--scelta .ds-field__label {
  inset-block-start: 0;
  color: var(--ds-brand);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* The subject's list as the browser's own draws its box: a pixel more
   over and under the words, the words 4px in, and its arrow 8px wide,
   centred in the whole box and 3px in from its end. */
.vio-campo--scelta .ds-select__control {
  position: relative;
  justify-content: space-between;
  padding: calc(1.4rem + 1px) 0 calc(0.6rem + 1px) 4px;
}

.vio-campo--scelta .ds-select__arrow {
  position: absolute;
  inset-block: 0;
  inset-inline-end: -1.5px;
  inline-size: 1rem;
  block-size: 1rem;
  margin-block: auto;
}

.vio-campo--scelta .ds-select__arrow svg {
  inline-size: 100%;
  block-size: 100%;
}

/* A required field's star in the grey of its name, as the original
   writes it into the name. */
.vio-campo .ds-field__required {
  color: inherit;
}

/* The consent: the box in gold once ticked, .8rem before words in the
   second stone, the notice's link underlined in the bright gold
   (`.check`). */
.vio-consenso {
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--vio-pietra-2);
  font-family: var(--ds-typeface-body);
  font-size: 0.85rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
}

.vio-consenso .ds-choice__mark {
  margin-block-start: 0.2rem;
}

.vio-consenso .ds-choice__input:not(:checked) + .ds-checkbox__box {
  border-color: var(--vio-casella-filo);
  background-color: var(--vio-casella);
}

.vio-consenso a {
  color: var(--vio-oro-2);
  text-decoration: underline;
}

/* What became of the message, on the sage or the terracotta, in its own
   words and no mark (`.form-status`). */
.vio-esito {
  padding: 1rem 1.2rem;
  border-radius: var(--ds-radius-2);
  font-size: 0.92rem;
}

.vio-esito[hidden] {
  display: none;
}

.vio-esito .ds-alert__mark {
  display: none;
}

.vio-esito.ds-alert--success {
  border: 1px solid color-mix(in srgb, var(--vio-salvia) 50%, transparent);
  background-color: color-mix(in srgb, var(--vio-salvia) 15%, transparent);
}

.vio-esito.ds-alert--danger {
  border: 1px solid color-mix(in srgb, var(--vio-terracotta) 60%, transparent);
  background-color: color-mix(in srgb, var(--vio-terracotta) 15%, transparent);
}

@container (width <= 53.75rem) {
  .vio-contatti,
  .vio-modulo__coppia {
    grid-template-columns: 1fr;
  }
}

/* ── Where the bottega is (Contatti, `#dove`) ─────────────────────────────
   The owner's ask of 23 November 2026: the map large on Contatti, under the
   ways and the form. Its head is a band's, centred (`.vio-testata`); the
   map stands at the page's width in a gold hairline, as the framed photos
   do, and the way there in Google Maps is centred under it. */
.vio-dove-banda {
  padding-block: 0 var(--vio-banda);
}

/* The band's one step, OS's block gap, between its head, the map and the
   way there: the head's own margin would add a second. */
.vio-dove > .vio-testata {
  align-self: center;
  margin-block-end: 0;
}

.vio-dove__mappa {
  container-type: inline-size;
  border: 1px solid color-mix(in srgb, var(--ds-brand) 40%, transparent);
  background-color: var(--vio-laguna);
}

/* On a phone the page's 16:9 is a strip 200px tall, half of it OSM's
   credit: the map stands square there, read whole. */
@container (width < 40rem) {
  .vio-dove__mappa > iframe {
    --ds-image-ratio: 1 / 1;
  }
}

/* The street stays whole on its line, never "2/c" alone under it. */
.vio-dove .ds-section-head__title em {
  white-space: nowrap;
}

.vio-dove__via {
  display: flex;
  justify-content: center;
}

/* ── The legal pages ──────────────────────────────────────────────────────
   The band opens clamp(8rem, 16vw, 11rem) under the top; the studio's name
   as the kicker on the line the text runs on, the title in the contacts'
   size 1.2rem under it and 2rem over the text. */
.ds-site__main > .ds-site__section.vio-legale-banda {
  padding-block-start: clamp(8rem, 16vw, 11rem);
}

.vio-legale__testa > .ds-stack {
  gap: 0;
}

.vio-legale__testa .ds-page-head__eyebrow {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.vio-legale__testa .ds-page-head__title {
  --ds-page-head-title-face: var(--ds-typeface-display);
  --ds-page-head-title-size: clamp(2.6rem, 5vw, 4.4rem);
  --ds-page-head-title-weight: var(--ds-weight-robust);
  --ds-page-head-title-leading: 1.08;
  --ds-page-head-title-tracking: -0.01em;
  margin: 1.2rem 0 2rem;
  text-wrap: wrap;
}

/* The studio's text, 780px at most, in the second stone at the body's
   size; a paragraph 1.1em after the one before, a heading in gold 3rem
   over and 1rem under it, the lists' points .4rem apart, the links
   underlined in the bright gold (`.prose`). */
.vio-legale {
  --ds-prose-face: var(--ds-typeface-body);
  --ds-prose-size: 1.0625rem;
  --ds-prose-weight: var(--ds-weight-delicate);
  --ds-prose-leading: 1.75;
  --ds-prose-tracking: normal;
  max-inline-size: 780px;
  color: var(--vio-pietra-2);
  font-family: var(--ds-typeface-body);
  font-size: 1.0625rem;
  font-weight: var(--ds-weight-delicate);
  line-height: 1.75;
}

.vio-legale > *,
.vio-legale li {
  margin: 0;
}

/* Its lines broken where they fill, as the original's are, not evened. */
.vio-legale :is(p, li) {
  text-wrap: wrap;
}

.vio-legale p + p {
  margin-block-start: 1.1em;
}

.vio-legale h2 {
  margin: 3rem 0 1rem;
  color: var(--vio-oro-2);
  font-family: var(--ds-typeface-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: var(--ds-weight-robust);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.vio-legale ul {
  margin: 1rem 0;
  padding-inline-start: 1.2rem;
  list-style: disc;
}

.vio-legale li + li {
  margin-block-start: 0.4rem;
}

.vio-legale a {
  color: var(--vio-oro-2);
  text-decoration: underline;
}

/* The words the text stresses, a step over its light weight as the
   browser's own bold takes it from 300. */
.vio-legale strong {
  font-weight: var(--ds-weight-standard);
}

/* ── The blog ─────────────────────────────────────────────────────────────
   The original has none (src/blog.php), so its pages wear what the site's
   own already wear. The list and an article open clamp(8rem, 16vw, 11rem)
   under the top, as the pages that open on a head do. */
.ds-site__main > .ds-site__section.vio-blog,
.ds-site__main > .ds-site__section.vio-articolo {
  padding-block-start: clamp(8rem, 16vw, 11rem);
}

/* An article's card as a work's: the second ground in a hairline, lifting
   and taking a gold edge under the hand, its title in Cormorant. */
.vio-blog .ds-blog-card {
  border: 1px solid var(--vio-filo);
  border-radius: var(--ds-radius-2);
  background-color: var(--vio-notte-2);
  box-shadow: none;
  transition: border-color 0.5s, transform 0.6s var(--vio-curva), box-shadow 0.6s;
}

.vio-blog .ds-blog-card:hover {
  border-color: color-mix(in srgb, var(--ds-brand) 50%, transparent);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px var(--vio-ombra-3);
}

.vio-blog .ds-card__title {
  font-family: var(--ds-typeface-display);
  font-size: 1.35rem;
  font-weight: var(--ds-weight-robust);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ds-ink-1);
}

@media (prefers-reduced-motion: reduce) {
  .vio-barra,
.vio-barra .ds-header__bar,
.vio-galleria .ds-gallery__image,
.ds-site__main .ds-button--brand,
.ds-site__main .ds-button--brand::before,
.vio-scheda,
.vio-blog .ds-blog-card,
.vio-opera__foto .ds-gallery__image,
.vio-opera__foto .ds-gallery__thumb,
.vio-via,
.vio-campo .ds-field__control,
.vio-campo .ds-field__label,
.vio-whatsapp {
    transition: none;
  }
}

/* ==========================================================================
   Il teatro: the look the client chose on 5 November 2026 out of three
   proposals for the home (src/casa.php). The red of Venice's theatres,
   Melodrama and General Sans are the theme's (src/site.php, the palette in
   src/styles/theme.css); here are the home's own bands and the arches the
   theatre puts on every page: a framed photo, a work's picture on its card,
   a work's photo on its own page. The rules before this section are the
   site's as it was rebuilt from the original, and its pages keep them.
   ========================================================================== */

/* ── Arches, on every page ─────────────────────────────────────────────── */

/* A framed photo stands in an arch, its gold line round it. */
.vio-cornice,
.vio-cornice::before,
.vio-cornice img {
  border-radius: 999px 999px 0 0;
}

.vio-cornice img {
  aspect-ratio: 3 / 4;
}

/* A work's picture on its card, under an arch, its words centred under it,
   as the boxes of a theatre. */
.vio-scheda {
  text-align: center;
}

.vio-scheda .vio-scheda__foto {
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}

.vio-scheda .ds-card__head {
  align-items: center;
}

.vio-scheda .ds-card__footer {
  justify-content: center;
  gap: 1.5rem;
}

/* A work's photo on its own page, in the same arch. */
.vio-opera__foto .ds-gallery__items {
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}

/* A band's head centred, as a stage's. */
.vio-testata {
  align-items: center;
  text-align: center;
}

.vio-testata .vio-lead {
  margin-inline: auto;
}

/* ── The home ─────────────────────────────────────────────────────────── */

.ds-site__main > .ds-site__section.vio-casa-apertura-banda {
  padding-block: 0;
}

/* The opening: OS's wall of the works behind the title, let down to the
   red where the words stand and at the top under the bar. */
.vio-casa-apertura {
  --ds-hero-title-size: clamp(3.9rem, 9.4vw, 9.6rem);
  --ds-hero-title-leading: 0.9;
  --ds-hero-description-size: 1.1rem;
  --ds-hero-description-leading: 1.65;
  --ds-hero-description-ink: var(--vio-pietra-2);
  padding-block: clamp(7rem, 12vw, 9rem) clamp(3rem, 6vw, 5rem);
}

.vio-casa-apertura .ds-hero__wall {
  opacity: 0.42;
}

.vio-casa-apertura .ds-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 46% 52% at 50% 54%,
      color-mix(in srgb, var(--ds-surface-0) 92%, transparent) 0%,
      color-mix(in srgb, var(--ds-surface-0) 72%, transparent) 48%,
      transparent 100%
    ),
    linear-gradient(to bottom, color-mix(in srgb, var(--ds-surface-0) 90%, transparent) 0, transparent 9rem);
}

.vio-casa-apertura .ds-hero__title em {
  color: var(--vio-oro-2);
}

.vio-casa-apertura .ds-hero__description {
  max-inline-size: 44ch;
}

.vio-casa-apertura .ds-hero__actions .ds-row {
  justify-content: center;
}

/* The bottega's address over the kicker, in the theatre's face and the
   stone, as the title's words stand (the client, 23 November 2026: "con
   caratteri come da sito"); it leads to the map on Contatti, and a pointer
   over it turns it gold. */
/* The opening's kicker stands in OS's eyebrow, a row: with the address
   over it, the row turns a centred column. */
.vio-casa-apertura .ds-hero__eyebrow {
  flex-direction: column;
  align-items: center;
}

.vio-sede {
  display: block;
  margin-block-end: clamp(1rem, 2vw, 1.5rem);
  font-family: var(--ds-typeface-display);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: var(--ds-weight-robust);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ds-ink-1);
  text-decoration: none;
  transition: color 0.3s var(--vio-curva);
}

.vio-sede:hover,
.vio-sede:focus-visible {
  color: var(--vio-oro-2);
}

/* The bands' titles large in the theatre's face, the italics in gold. */
.vio-casa-opere-banda .ds-section-head__title,
.vio-casa-collezioni-banda .ds-section-head__title,
.vio-casa-studio .ds-section-head__title,
.vio-casa-restauri .ds-section-head__title {
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.95;
}

.vio-casa-opere-banda .ds-section-head__title em,
.vio-casa-collezioni-banda .ds-section-head__title em,
.vio-casa-studio .ds-section-head__title em,
.vio-casa-restauri .ds-section-head__title em {
  color: var(--vio-oro-2);
}

.vio-casa-studio__testa {
  align-items: center;
  text-align: center;
}

.vio-casa-opere-banda .vio-porta,
.vio-casa-collezioni-banda .vio-porta {
  text-align: center;
}

/* The running words large, in gold italics, between two lines. */
.ds-site__main > .ds-site__section.vio-casa-nastro-banda {
  padding-block: clamp(1.2rem, 2.4vw, 2rem);
  border-block: 1px solid var(--vio-filo);
}

.vio-casa-nastro {
  --ds-ticker-gap: 3.4rem;
  --ds-ticker-duration: 50s;
}

.vio-casa-nastro .ds-ticker__word {
  --ds-ticker-word-face: var(--ds-typeface-display);
  --ds-ticker-word-size: clamp(2.2rem, 5vw, 4.6rem);
  --ds-ticker-word-weight: var(--ds-weight-standard);
  --ds-ticker-word-leading: 1;
  --ds-ticker-word-ink: var(--vio-oro-2);
  font-style: italic;
}

.vio-casa-nastro .ds-ticker__mark {
  --ds-ticker-mark-ink: var(--vio-pietra-2);
  font-size: 1rem;
}

/* Opere di pregio, the twelve four abreast. */
.vio-palchi {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

/* The six collections in arches. */
.vio-archi {
  --ds-features-ratio: 3 / 4;
}

.vio-archi .ds-features__media {
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}

.vio-archi .ds-features__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.vio-archi .ds-features__copy {
  align-items: center;
  text-align: center;
}

.vio-archi .ds-features__title,
.vio-archi .ds-features__link {
  font-family: var(--ds-typeface-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: var(--ds-weight-standard);
}

/* Lo Studio centred: the workshop's photo in its arch beside the two
   paragraphs, the three numbers large in gold. */
.vio-casa-studio__corpo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.vio-casa-numeri {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block-start: clamp(1.5rem, 3vw, 2.5rem);
  border-block-start: 1px solid var(--vio-filo);
  text-align: center;
}

.vio-casa-numeri .ds-stat {
  align-items: center;
}

.vio-casa-numeri .ds-stat__value {
  font-family: var(--ds-typeface-display);
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: var(--ds-weight-standard);
  line-height: 1;
  color: var(--vio-oro-2);
}

/* The restorations beside their arch. */
.vio-casa-restauri {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

@media (max-width: 56rem) {
  .vio-palchi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vio-casa-studio__corpo,
  .vio-casa-restauri {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 34rem) {
  .vio-casa-numeri {
    grid-template-columns: minmax(0, 1fr);
  }

  .vio-scheda .ds-card__title {
    font-size: 1.05rem;
  }
}
