/* Vinyle — sillons, médaillons, pochettes. */
.theme-vinyle {
  --ground: var(--lime);
  --surface: var(--wash);
  --action-radius: .18rem 2.3rem 2.3rem .18rem;
  --card-radius: 2.15rem .15rem .15rem 2.15rem;
  --badge-radius: 2rem;
}
.vinyle-hero {
  display: grid;
  align-items: center;
  padding: clamp(.9rem, 2.3cqw, 1.8rem);
  color: var(--lime);
  background: var(--wine);
  --action-fill: var(--lime);
  --action-ink: var(--wine);
  --focus: var(--pink);
}
.vinyle-hero .hero-copy { padding: clamp(.25rem, 2.4cqw, 2.2rem); }
.vinyle-hero h1 { max-width: 9ch; }
.vinyle-hero .eyebrow { color: var(--pink); }
.disc {
  width: min(100%, 49cqw, 31rem);
  min-width: min(67%, 13rem);
  aspect-ratio: 1;
  margin: .5rem auto;
  display: grid;
  place-items: center;
  background:
    conic-gradient(from -68deg, transparent, #f190bb58 15deg, transparent 46deg 172deg, #f190bb4a 197deg, transparent 238deg),
    repeating-radial-gradient(circle at center, #631721 0 3px, #7b2a34 3.5px 4px, #4d111a 4.5px 8px);
  border: 1px solid var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 0 .32rem var(--wine), 0 0 0 .38rem var(--pink);
}
.disc .carnation {
  width: 44%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  padding: 8%;
  border: 1px solid var(--pink);
  border-radius: 50%;
  background: var(--wine);
}
.theme-vinyle .button { padding: .33rem .34rem .33rem .85rem; }
.theme-vinyle .button .arrow {
  display: grid;
  place-items: center;
  border: 1px solid;
  border-radius: 50%;
  width: 1.9rem;
  height: 1.9rem;
}
.theme-vinyle .text-link .arrow { border: 1px solid; border-radius: 50%; width: 1.6rem; text-align: center; }
.theme-vinyle .drink summary { padding-inline-start: 1.28rem; }
.theme-vinyle .drink-price {
  display: grid;
  place-items: center;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: .21rem;
  border: 1px solid var(--wine);
  border-radius: 50%;
  background: var(--pink);
}
.theme-vinyle .drink-details { padding-inline-start: 1.28rem; }
.theme-vinyle .event-row { padding-inline-start: .75rem; }
.theme-vinyle .date-stamp { border: 1px solid var(--wine); min-height: 3.25rem; align-content: center; }
.theme-vinyle .page-head { border-radius: 0 5rem 5rem 0; border-right-width: .6rem; }
.theme-vinyle .story-photo { border-radius: 2.15rem 0 0 0; }
.theme-vinyle .menu-category h2 { border-bottom: 1px solid; padding-block: .35rem; }

/* Herbier — feuilles et étiquettes de jardin. */
.theme-herbier {
  --ground: var(--lime);
  --surface: var(--paper);
  --line: var(--olive);
  --tint: var(--wash);
  --action-fill: var(--olive);
  --action-radius: .08rem 1.45rem .08rem 1.45rem;
  --card-radius: .1rem 2.7rem .1rem 2.7rem;
  --badge-radius: .12rem .82rem .12rem .82rem;
  --footer-fill: var(--olive);
}
.herbier-hero { display: grid; gap: .9rem; align-items: stretch; }
.herbier-hero .hero-copy { align-content: center; border-block: 1px solid var(--olive); }
.herbier-hero h1 { max-width: 10ch; }
.herbier-portrait {
  display: grid;
  background: var(--olive);
  color: var(--lime);
  padding: clamp(.35rem, 1cqw, .75rem);
  border-radius: .18rem 24% .18rem 18%;
  overflow: clip;
  --focus: var(--lime);
}
.herbier-portrait img {
  width: 100%;
  height: clamp(12rem, 32cqw, 29rem);
  object-fit: cover;
  border-radius: .15rem 25% .15rem 0;
}
.herbier-portrait figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .15rem .55rem .1rem clamp(1.1rem, 6cqw, 4rem);
  font-weight: 700;
}
.herbier-portrait figcaption > span { font: 400 1.35rem/1.1 var(--display); }
.theme-herbier .site-nav a[aria-current] { border-block-end: 2px solid var(--olive); }
.theme-herbier .text-link > span:first-child { text-decoration-style: dotted; text-underline-offset: .3em; }
.theme-herbier .text-link .arrow { border-inline-start: 1px solid currentColor; padding-inline-start: .46rem; }
.theme-herbier .drink :is(summary, .drink-details) { padding-inline: 1.3rem; }
.theme-herbier .drink-price { border-bottom: 2px solid var(--olive); }
.theme-herbier .date-stamp { background: var(--lime); border: 1px dotted var(--olive); }
.theme-herbier .page-head { border-radius: 0 4.2rem 0 0; border-inline-start-width: .4rem; }
.theme-herbier .story { padding: .52rem; }
.theme-herbier .story-photo { border-radius: .1rem 2.43rem .1rem 1.2rem; }
.theme-herbier .menu-category h2 { padding: .35rem 0; border-bottom: 1px dotted var(--olive); }

/* Coulisses — miroir, navigation latérale et passementerie. */
.theme-coulisses {
  --ground: var(--wash);
  --surface: var(--blush);
  --tint: var(--pink);
  --action-radius: 2.2rem 2.2rem .2rem .2rem;
  --card-radius: 1.5rem 1.5rem .2rem .2rem;
  --badge-radius: .85rem .85rem .18rem .18rem;
}
.coulisses-hero {
  display: grid;
  align-items: center;
  gap: .85rem;
  position: relative;
  background: var(--wine);
  border: .22rem double var(--pink);
  color: var(--lime);
  padding: .5rem;
  --action-fill: var(--pink);
  --action-ink: var(--wine);
  --action-hover: var(--lime);
  --focus: var(--pink);
}
.coulisses-hero .eyebrow { color: var(--pink); }
.coulisses-hero h1 { max-width: 10ch; }
.mirror {
  overflow: clip;
  min-width: 0;
  width: min(87%, 25rem);
  aspect-ratio: 4 / 3.7;
  justify-self: center;
  margin: 0 0 .65rem;
  border: .29rem double var(--pink);
  border-radius: 49% 49% 47% 47%;
  padding: .38rem;
}
.mirror img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.theme-coulisses .button {
  padding-inline: 1rem;
  box-shadow: inset 0 0 0 2px var(--action-ink), inset 0 0 0 3px currentColor;
}
.theme-coulisses .button.secondary { box-shadow: inset 0 0 0 2px var(--ground), inset 0 0 0 3px currentColor; }
.coulisses-hero .button.secondary { box-shadow: inset 0 0 0 2px var(--wine), inset 0 0 0 3px var(--pink); }
.theme-coulisses .text-link > span:first-child { text-decoration-style: double; }
.theme-coulisses :is(.panel, .drink, .event-row, .story, .event-sheet) { border-width: .22rem; border-style: double; }
.theme-coulisses .drink-price { padding: .25rem .5rem; background: var(--wine); color: var(--lime); border-radius: var(--badge-radius); }
.theme-coulisses .page-head { background: var(--wine); color: var(--lime); border: .24rem double var(--pink); }
.theme-coulisses .date-stamp { border: 1px solid var(--wine); }

/* Guichet — billets, talons et encoches. */
.theme-guichet { --ground: var(--lime); --surface: var(--paper); --tint: var(--pink); --card-radius: .35rem; }
.guichet-hero { display: grid; gap: 1rem; align-items: center; }
.guichet-hero .hero-copy { border-block: 1px dashed var(--wine); padding-inline: .1rem; }
.guichet-hero h1 { max-width: 12ch; }
.ticket-links { display: grid; gap: .48rem; padding: clamp(.5rem, 1.5cqw, 1rem); background: var(--wine); --focus: var(--pink); }
.admission {
  --stub: var(--pink);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: var(--wine);
  min-height: clamp(4.1rem, 8cqw, 6.2rem);
  padding: .38rem 1.28rem;
  font: 700 clamp(1.2rem, 2.4cqw, 1.9rem)/1.09 var(--body);
  text-decoration: none;
}
.admission:nth-child(2) { --stub: var(--lime); }
.admission:nth-child(3) { --stub: var(--paper); }
.admission::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: .4rem;
  background: var(--stub);
  mask: radial-gradient(circle at left center, transparent .61rem, black .67rem) left / 50.1% 100% no-repeat,
    radial-gradient(circle at right center, transparent .61rem, black .67rem) right / 50.1% 100% no-repeat;
}
.admission .arrow { align-self: stretch; display: grid; place-items: center; border-inline-start: 1px dashed var(--wine); margin-inline-start: .5rem; padding-inline-start: .75rem; }
.admission:hover > span:first-child { text-decoration: underline; }
.admission:focus-visible { outline-offset: -2px; }
.theme-guichet .button { padding: .31rem .85rem; border-color: transparent; background: transparent; }
.theme-guichet .button::before, .theme-guichet .button.secondary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: .23rem;
  background: var(--wine);
  mask: radial-gradient(circle at left center, transparent .28rem, black .32rem) left / 50.1% 100% no-repeat,
    radial-gradient(circle at right center, transparent .28rem, black .32rem) right / 50.1% 100% no-repeat;
}
.theme-guichet .button.secondary::after { inset: 2px; background: var(--lime); }
.theme-guichet .button.primary:hover::before, .theme-guichet .button.secondary:hover::after { background: var(--pink); }
.theme-guichet .button:hover { background: transparent; border-color: transparent; }
.theme-guichet .button .arrow { border-inline-start: 1px dashed; padding-inline-start: .63rem; min-height: 1.95rem; align-content: center; }
.theme-guichet .text-link > span:first-child { text-decoration-style: dashed; text-underline-offset: .28em; }
.theme-guichet .event-row, .theme-guichet .drink { position: relative; padding-inline: .8rem; border-block-style: dashed; }
.theme-guichet :is(.event-row, .drink)::before, .theme-guichet :is(.event-row, .drink)::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 1.65rem;
  width: .62rem;
  height: 1.24rem;
  background: var(--ground);
  border: 1px solid var(--wine);
}
.theme-guichet :is(.event-row, .drink)::before { left: -1px; border-left: 0; border-radius: 0 1rem 1rem 0; }
.theme-guichet :is(.event-row, .drink)::after { right: -1px; border-right: 0; border-radius: 1rem 0 0 1rem; }
.theme-guichet .drink-price { border-inline-start: 1px dashed; padding-inline-start: .7rem; }
.theme-guichet .drink summary { padding-inline: .15rem; }
.theme-guichet .date-stamp { border: 1px dashed; }
.theme-guichet .page-head { background: var(--pink); border-block-width: 2px; border-block-style: dashed; }
.theme-guichet .story { border-bottom: 3px double var(--wine); }

/* Biseaux — deux plans coupés et flèches. */
.theme-biseaux {
  --ground: var(--lime);
  --surface: var(--wash);
  --heading: var(--body);
  --corner: 1.1rem;
  --badge-radius: 0;
}
.biseaux-hero {
  display: grid;
  background: var(--olive);
  position: relative;
  overflow: clip;
}
.biseaux-hero .hero-copy {
  position: relative;
  z-index: 1;
  background: var(--lime);
  border: 1px solid var(--wine);
  border-inline-start-width: .32rem;
}
.biseaux-hero h1 { max-width: 11ch; font-size: clamp(2.9rem, 8.8cqw, 7rem); line-height: .87; }
.biseaux-mark {
  min-height: clamp(6rem, 18cqw, 15rem);
  display: grid;
  place-items: center;
  padding: .75rem;
  background: linear-gradient(125deg, var(--wine) 0 25%, var(--pink) 25% 35%, var(--olive) 35% 47%, var(--wine) 47% 100%);
}
.biseaux-mark img { width: clamp(4.35rem, 15cqw, 13rem); height: auto; background: var(--wine); padding: .42rem; }
.theme-biseaux .button {
  padding-inline: .83rem 1.25rem;
  background: transparent;
  border-color: transparent;
}
.theme-biseaux .button::before, .theme-biseaux .button.secondary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  clip-path: polygon(0 0, calc(100% - .73rem) 0, 100% 50%, calc(100% - .73rem) 100%, 0 100%, .22rem 50%);
  background: var(--action-fill);
}
.theme-biseaux .button.primary:hover { background: transparent; border-color: transparent; }
.theme-biseaux .button.primary:hover::before, .theme-biseaux .button:hover::before { background: var(--action-hover); }
.theme-biseaux .button.secondary { background: transparent; border-color: transparent; }
.theme-biseaux .button.secondary::before { background: var(--wine); }
.theme-biseaux .button.secondary::after { background: var(--lime); inset: 2px; }
.theme-biseaux .button.secondary:hover::after { background: var(--pink); }
.theme-biseaux .text-link .arrow { padding-inline-start: .47rem; }
.theme-biseaux .text-link .arrow::before { content: ""; display: inline-block; height: .75em; border-inline-start: 1px solid; transform: skew(-21deg); margin-inline-end: .5rem; }
.theme-biseaux :is(.drink, .story, .event-row, .panel, .event-sheet, .page-head) {
  clip-path: polygon(0 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% 100%, var(--corner) 100%, 0 calc(100% - var(--corner)));
  border-width: 0;
  border-inline-start: .25rem solid var(--wine);
  box-shadow: inset 0 0 0 1px var(--wine);
}
.theme-biseaux :is(.story, .event-row, .panel):focus-within { clip-path: none; }
.theme-biseaux .page-head { background: var(--wine); color: var(--lime); }
.theme-biseaux .date-stamp { background: var(--wine); color: var(--lime); }
.theme-biseaux .drink-price { background: var(--pink); padding: .3rem .45rem; }
.theme-biseaux .filters a { border-left-width: .22rem; }

/* Bulles — groupes d’ovales et volumes souples. */
.theme-bulles {
  --ground: var(--wash);
  --surface: var(--blush);
  --action-fill: var(--pink);
  --action-ink: var(--wine);
  --action-hover: var(--lime);
  --action-radius: 52% 48% 44% 56% / 58% 60% 40% 42%;
  --card-radius: 1.8rem 3rem 2rem 2.6rem;
  --badge-radius: 2rem;
}
.theme-bulles :is(.button.primary, .filters a[aria-current], .admin-nav a[aria-current]) { border-color: var(--wine); }
.bulles-hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: 1rem;
  padding: clamp(.85rem, 2.5cqw, 2.1rem);
  background: var(--pink);
  border: 1px solid var(--wine);
  border-radius: 8% 14% 9% 12% / 6% 14% 8% 10%;
}
.bulles-hero .hero-copy { padding: .3rem clamp(.25rem, 2cqw, 1.3rem); }
.bulles-hero h1 { font-size: clamp(2.9rem, 10.1cqw, 8.2rem); }
.bubble-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  align-items: center;
}
.bubble {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: .05rem .36rem;
  min-height: 4.7rem;
  padding: .55rem .85rem;
  background: var(--lime);
  color: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 47% 53% 51% 49% / 61% 58% 42% 39%;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}
.bubble-1 { grid-column: 1 / -1; width: min(100%, 19rem); justify-self: center; background: var(--wine); color: var(--lime); min-height: 4.75rem; font-size: clamp(1.18rem, 2.6cqw, 2rem); }
.bubble-2 { border-radius: 45% 55% 44% 56% / 55% 44% 56% 45%; }
.bubble-3 { background: var(--blush); border-radius: 57% 43% 58% 42% / 54% 45% 55% 46%; }
.bubble:hover > span:first-child { text-decoration: underline; }
.bubble-photo {
  width: min(81%, 24rem);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  justify-self: center;
  border: 1px solid var(--wine);
  border-radius: 46% 54% 48% 52%;
}
.theme-bulles .button { padding-inline: 1.12rem; }
.theme-bulles .text-link .arrow {
  border: 1px solid;
  border-radius: 45% 55% 52% 48%;
  padding-inline: .3rem;
}
.theme-bulles .drink-price { background: var(--lime); border-radius: 50%; padding: .46rem; }
.theme-bulles .drink summary { padding-inline: 1.05rem; }
.theme-bulles .drink-details { padding-inline: 1.1rem; }
.theme-bulles .page-head { background: var(--pink); border-radius: 3.65rem 1.25rem 2.8rem 1.2rem; padding-inline: clamp(1.3rem, 4cqw, 3.5rem); }
.theme-bulles .date-stamp { border: 1px solid var(--wine); background: var(--pink); }
.theme-bulles .story { padding: .6rem; }
.theme-bulles .story-photo { border-radius: 1.55rem 2.5rem 1.25rem 2.3rem; }

/* Dépliant — plis verticaux et coins retournés. */
.theme-depliant {
  --ground: var(--lime);
  --surface: var(--paper);
  --action-radius: 0;
  --badge-radius: .45rem .45rem 0 0;
}
.depliant-hero { overflow: clip; border: 1px solid var(--wine); }
.depliant-hero .hero-copy { background: var(--wash); border-bottom: 1px solid var(--wine); }
.depliant-hero h1 { max-width: 11ch; }
.folded-entries { display: grid; }
.folded-entries > section {
  min-width: 0;
  display: grid;
  justify-items: start;
  grid-template-rows: auto auto 1fr;
  padding: clamp(.72rem, 1.7cqw, 1.7rem);
  background: linear-gradient(90deg, #63172118, transparent 1.25rem), var(--paper);
  border-bottom: 1px solid var(--wine);
}
.folded-entries > section:nth-child(2) { background-color: var(--lime); }
.folded-entries > section:last-child { border-bottom: 0; background-color: var(--pink); }
.folded-entries h2 { font-size: clamp(1.5rem, 2.5cqw, 2.3rem); margin-bottom: .35rem; }
.folded-entries p { margin-bottom: .5rem; }
.folded-entries a { align-self: end; }
.theme-depliant .button { border-top-right-radius: .68rem; padding-inline-end: 1rem; }
.theme-depliant .button::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: .74rem;
  height: .74rem;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  background: var(--pink);
}
.theme-depliant .button.primary:hover::before { background: var(--wine); }
.theme-depliant .text-link { border-block-end: 1px solid currentColor; }
.theme-depliant .text-link > span:first-child { text-decoration: none; }
.theme-depliant .text-link:hover > span:first-child { text-decoration: underline; }
.theme-depliant .drink { border-left: .35rem double var(--wine); box-shadow: .2rem .2rem 0 var(--wine); }
.theme-depliant .drink-price { border-bottom: 1px solid; padding-inline: .18rem; }
.theme-depliant .date-stamp { background: var(--pink); border: 1px solid; }
.theme-depliant .event-row:nth-child(2n) { background-color: var(--wash); }
.theme-depliant .page-head { border-inline-width: 0; border-top: .32rem double var(--wine); }
.theme-depliant .story { border-radius: 0 .95rem 0 0; box-shadow: .22rem .22rem 0 var(--wine); }
.theme-depliant .menu-category h2 { background: var(--pink); padding: .55rem .7rem; border: 1px solid; border-bottom: 0; margin-bottom: 0; }

/* Mosaïque — aplats imbriqués et demi-arches. */
.theme-mosaique {
  --ground: var(--lime);
  --surface: var(--wash);
  --action-fill: var(--olive);
  --heading: var(--body);
  --action-radius: 1.22rem .12rem .12rem .12rem;
  --card-radius: 1.9rem 0 .12rem 0;
  --badge-radius: .72rem 0 .05rem 0;
  --footer-fill: var(--olive);
}
.mosaique-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--wine);
  background: var(--wine);
}
.mosaique-hero .hero-copy {
  grid-column: 1 / -1;
  background: var(--wash);
  align-content: center;
}
.mosaique-hero h1 { font-size: clamp(2.75rem, 6.9cqw, 6rem); }
.tile {
  display: flex;
  min-height: 5.3rem;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  gap: .32rem .58rem;
  padding: clamp(.55rem, 2cqw, 1.95rem);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}
.tile:focus-visible { outline-offset: -5px; }
.tile:hover > span:first-child, .tile-menu:hover strong { text-decoration: underline; }
.tile-menu {
  grid-column: 1 / -1;
  position: relative;
  background: var(--wine);
  color: var(--lime);
  --focus: var(--lime);
}
.tile-menu strong { font-size: clamp(1.32rem, 3.1cqw, 2.25rem); }
.tile-menu img { width: clamp(2.35rem, 9cqw, 6.5rem); height: auto; }
.tile-contact { background: var(--pink); border-radius: 23% 0 0 0; }
.tile-program { background: var(--olive); color: var(--lime); --focus: var(--lime); }
.theme-mosaique .button .arrow { border-inline-start: 1px solid; padding-inline-start: .55rem; }
.theme-mosaique .text-link { border-block-end: 1px solid; }
.theme-mosaique .text-link .arrow { display: inline-grid; place-items: center; min-width: 1.72rem; min-height: 1.72rem; color: var(--wine); background: var(--pink); border-radius: .55rem 0 0 0; }
.theme-mosaique .text-link > span:first-child { text-decoration: none; }
.theme-mosaique .text-link:hover > span:first-child { text-decoration: underline; }
.theme-mosaique .drink summary { padding-inline-start: 1rem; }
.theme-mosaique .drink-price { border-block: 1px solid; padding: .3rem .15rem; }
.theme-mosaique .event-list, .theme-mosaique .drink-stack { gap: 1px; padding: 1px; background: var(--wine); }
.theme-mosaique :is(.drink, .event-row) { border: 0; }
.theme-mosaique :is(.drink, .event-row):nth-child(even) { background: var(--pink); }
.theme-mosaique .date-stamp { background: var(--olive); color: var(--lime); }
.theme-mosaique .page-head { border-radius: 2.5rem 0 0 0; background: var(--olive); color: var(--lime); }

/* Ruban — plis, pointes et ourlets. */
.theme-ruban {
  --ground: var(--wash);
  --surface: var(--paper);
  --tint: var(--pink);
  --card-radius: .12rem 1.6rem .12rem 1.6rem;
  --badge-radius: .75rem .12rem .75rem .12rem;
}
.ruban-home { padding-top: 0; }
.ruban-hero {
  background:
    linear-gradient(155deg, transparent 0 87%, #63172133 87% 90%, transparent 90%),
    linear-gradient(25deg, var(--wine) 0 4%, var(--pink) 4% 8%, var(--lime) 8% 89%, var(--pink) 89% 93%, var(--wine) 93%);
  padding-bottom: clamp(1.2rem, 4cqw, 3rem);
  border-bottom: 1px solid var(--wine);
}
.ruban-hero .hero-copy { padding-block: clamp(2.2rem, 7cqw, 6rem) clamp(1.05rem, 3cqw, 2.5rem); text-align: center; }
.ruban-hero h1 { font-size: clamp(2.65rem, 8cqw, 7rem); }
.ruban-hero .lead { margin-inline: auto; }
.ribbon-entries {
  display: grid;
  gap: .34rem;
  width: min(calc(100% - 2rem), 66rem);
  margin-inline: auto;
}
.ribbon-entry, .theme-ruban .button {
  --band-color: var(--wine);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  color: var(--lime);
  gap: .4rem;
  min-height: 3rem;
  padding: .55rem 1.05rem;
  line-height: 1.18;
  font-weight: 700;
  text-decoration: none;
}
.ribbon-entry:nth-child(2) { --band-color: var(--pink); color: var(--wine); }
.ribbon-entry:nth-child(3) { --band-color: var(--olive); }
.ribbon-entry::before, .theme-ruban .button::before, .theme-ruban .button.secondary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - .62rem) 50%, 100% 100%, 0 100%, .62rem 50%);
  background: var(--band-color);
}
.ribbon-entry:hover > span:first-child { text-decoration: underline; }
.theme-ruban .button.secondary { color: var(--wine); }
.theme-ruban .button.secondary::after { inset: 2px; --band-color: var(--wash); }
.theme-ruban .button.primary:hover, .theme-ruban .button.secondary:hover { background: transparent; color: var(--wine); }
.theme-ruban .button.primary:hover::before, .theme-ruban .button.secondary:hover::after { background: var(--pink); }
.theme-ruban .text-link > span:first-child { text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.theme-ruban .drink, .theme-ruban .event-row { border-radius: .1rem 1.4rem .1rem 1.4rem; border-left-width: .4rem; }
.theme-ruban .drink-price { background: var(--wine); color: var(--lime); padding: .33rem .58rem; border-radius: var(--badge-radius); }
.theme-ruban .date-stamp { border-block: 1px solid; }
.theme-ruban .menu-category h2 { padding: .35rem .7rem; background: var(--wine); color: var(--lime); border-radius: .15rem 1.3rem .15rem 0; }
.theme-ruban .page-head { background: var(--pink); border-radius: .12rem 3rem .12rem 3rem; border-left-width: .35rem; }
.theme-ruban .story { border-block-width: 3px; }

/* Broderie — coutures visibles et écussons. */
.theme-broderie {
  --ground: var(--lime);
  --surface: var(--paper);
  --action-radius: 1rem 1rem 1.65rem 1.65rem / .9rem .9rem 1.3rem 1.3rem;
  --card-radius: .24rem .24rem 2.05rem 2.05rem;
  --badge-radius: .15rem .15rem .64rem .64rem;
}
.broderie-hero { display: grid; text-align: center; border: .22rem double var(--olive); background: var(--paper); padding: .42rem; }
.broderie-hero .hero-copy { padding-block: clamp(.8rem, 2.7cqw, 2.5rem); }
.broderie-hero .lead { margin-inline: auto; }
.broderie-hero .actions { justify-content: center; }
.embroidered-frame {
  padding: .48rem;
  margin: .25rem auto clamp(.45rem, 1.7cqw, 1.3rem);
  border: 2px dashed var(--wine);
  border-radius: .4rem 3rem .4rem 3rem;
  background: var(--blush);
  width: min(96%, 56rem);
}
.embroidered-frame img { width: 100%; height: clamp(10rem, 27cqw, 20rem); object-fit: cover; border-radius: .24rem 2.45rem .24rem 2.45rem; }
.theme-broderie .button { outline: 1px dashed currentColor; outline-offset: -5px; padding-inline: 1rem; }
.theme-broderie .button:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
.theme-broderie .text-link > span:first-child { text-decoration-style: dashed; text-underline-offset: .4em; }
.theme-broderie .text-link .arrow { border-block-end: 1px dashed; }
.theme-broderie :is(.drink, .event-row, .story, .panel, .event-sheet) {
  border-style: dashed;
  border-width: 2px;
}
.theme-broderie .drink-price { border: 1px dashed; border-radius: var(--badge-radius); padding: .36rem; }
.theme-broderie .date-stamp { border: 1px dashed; }
.theme-broderie .page-head { border: .28rem double var(--wine); text-align: center; background: var(--pink); }
.theme-broderie .page-head .lead { margin-inline: auto; }
.theme-broderie .story { padding: .5rem; }
.theme-broderie .story-photo { border-radius: .18rem .18rem 1.35rem 1.35rem; }

/* Les seuils suivent la largeur réelle de la maquette, y compris l’aperçu téléphone. */
@container contenu (width >= 44rem) {
  .vinyle-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .disc { width: min(91%, 31rem); }
  .herbier-hero { grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: stretch; }
  .herbier-hero .hero-copy { grid-column: 2; grid-row: 1; }
  .herbier-portrait { grid-column: 1; grid-row: 1; align-content: center; }
  .coulisses-hero { grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); }
  .mirror { margin: .8rem; }
  .guichet-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .biseaux-hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .biseaux-hero .hero-copy { clip-path: polygon(0 0, 98% 0, 82% 100%, 0 100%); padding-inline-end: 15%; margin-inline-end: -13%; }
  .biseaux-hero .hero-copy:focus-within { clip-path: none; }
  .biseaux-mark { justify-items: end; padding-inline-end: clamp(1rem, 6cqw, 5rem); }
  .bulles-hero { grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr); }
  .bubble-photo { grid-area: 1 / 2 / span 2; }
  .depliant-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .depliant-hero .hero-copy { border-bottom: 0; }
  .folded-entries { border-inline-start: 1px solid var(--wine); }
  .mosaique-hero { grid-template-columns: minmax(0, 1.52fr) minmax(0, .85fr) minmax(0, .65fr); }
  .mosaique-hero .hero-copy { grid-column: 1; grid-row: 1 / span 2; }
  .tile-menu { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; justify-content: space-between; align-items: start; padding-block: 1.25rem; }
  .tile-menu img { width: min(80%, 8.5rem); }
  .tile-contact { grid-column: 3; grid-row: 1; }
  .tile-program { grid-column: 3; grid-row: 2; }
  .ribbon-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :is(.theme-herbier, .theme-coulisses, .theme-bulles, .theme-mosaique, .theme-broderie) .menu-groups:has(.menu-category:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-vinyle .menu-category { display: grid; grid-template-columns: minmax(8rem, .44fr) minmax(0, 1fr); gap: 1rem; }
  .theme-vinyle .menu-category h2 { align-self: start; }
  .theme-coulisses .program-page .event-list, .theme-bulles .program-page .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.theme-coulisses, .theme-bulles) .program-page .event-row { grid-template-columns: auto minmax(0, 1fr); }
  :is(.theme-coulisses, .theme-bulles) .program-page :is(.event-availability, .event-details) { grid-column: 2; }
  .theme-coulisses .program-page .event-row { padding: 1rem; }
  .theme-bulles .news-board { align-items: start; }
  .theme-bulles .story:nth-child(even) { margin-top: 2.2rem; }
  .theme-depliant .menu-groups:has(.menu-category:nth-child(2)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; align-items: stretch; }
  .theme-depliant .menu-category { padding: .65rem; background: linear-gradient(90deg, #63172113, transparent 1rem), var(--wash); border: 1px solid var(--wine); }
  .theme-depliant .menu-category:nth-child(even) { background-color: var(--lime); }
  .theme-ruban .news-board { display: block; }
  .theme-ruban .story { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); margin-bottom: .8rem; align-items: center; }
  .theme-ruban .story-photo { height: 100%; }
  .theme-broderie .contact-board { grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); }
  .theme-mosaique .program-page .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-mosaique .program-page .event-row { grid-template-columns: auto minmax(0, 1fr); }
  .theme-mosaique .program-page .event-availability, .theme-mosaique .program-page .event-details { grid-column: 2; }
}

@container contenu (width >= 65rem) {
  .depliant-hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .folded-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .folded-entries > section { border-bottom: 0; border-inline-end: 1px solid var(--wine); }
  .folded-entries > section:last-child { border-inline-end: 0; }
  :is(.theme-herbier, .theme-bulles, .theme-mosaique) .menu-groups:has(.menu-category:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container vue (width >= 66rem) {
  .theme-coulisses { display: grid; grid-template-columns: 12.7rem minmax(0, 1fr); }
  .theme-coulisses .site-header { grid-row: 1 / 3; border-right: 1px solid var(--wine); border-bottom: 0; }
  .theme-coulisses .site-header-inner { grid-template-columns: minmax(0, 1fr); padding-inline: .5rem; position: sticky; top: 0; }
  .theme-coulisses .site-header .brand-link { grid-column: 1; grid-row: 1; justify-self: center; }
  .theme-coulisses .site-header .languages { grid-column: 1; grid-row: 3; justify-content: center; }
  .theme-coulisses .site-nav { grid-column: 1; grid-row: 2; display: grid; padding-block: 1.1rem; border-block: 1px solid var(--lime); justify-content: stretch; }
  .theme-coulisses .site-nav a { padding-inline: .7rem; }
  .theme-coulisses .site-nav a[aria-current] { background: var(--lime); color: var(--wine); --focus: var(--wine); }
  .theme-coulisses .site-footer { grid-column: 2; }
}

@container vue (width < 26rem) {
  .site-header .languages { padding-right: .18rem; }
  .site-header .languages a { min-width: 2.15rem; }
}
