/* dc061 Glass tags (INV-03 Satin Glass · Luxe, stage 1 still; W1 A1983, plan docs/plans/plan_inv03_satin_glass_w1.md).
   A small glass plaque with the title, then one glass tag for each event that has a dress code: a copper eyelet at the
   top with a thin copper string loop rising from it, the event's name in Montserrat caps, a champagne hairline and the
   dress code in display caps. No colour swatches. Phone: two tags a row; tablet: three; desktop: up to six in one wide
   centred row. No event with a dress code: the section hides. Glass = the skin's --sgl-* pane recipe.
   W2 (A1994, plan docs/plans/plan_inv03_satin_glass_w2.md): the plaque and every tag are see-through glass (an
   .k-sgl-mist first child, registered with the satin like the hero); the dress code in Gilda 400; INV-14's copper hanger
   in pen at the top of each string (the string loops over its bar); and an outfit sketch (dc002's pen art, from the
   skin) above the event's name. The sketch's kind comes from the dress code's words in CSS (no script, so it shows
   with Reduce motion too): formal by default, then smart, cocktail, shoes, traditional (a later match wins).
   W3 (A2001, plan docs/plans/plan_inv03_satin_glass_w3.md): Lato 400 for every word (no size here reaches 22 px);
   the plaque -> hangers gap and the row -> row gap are the skin's --sgl-gap-in; the event label is at least 11 px.
   A2047 (owner: "you have used the same icon on all three cards. Can we use different icons"): "Formal" and "Black tie
   optional" both fell to the formal sketch. The event's name is now a second hint (data-ev), read before the dress code's
   own kinds, so a dress code that names a kind still wins: drinks / cocktail / reception -> cocktail; dancing / party /
   disco / ceilidh -> shoes; brunch / garden / BBQ / picnic -> smart; mehndi / sangeet / haldi -> traditional. */
.dc061 {
  --dc061-gap: clamp(14px, 3.6vw, 24px); --dc061-per: 2;
  --dc061-hg: 44px; /* the hanger's width (its height is half) */
  --dc061-sk-h: 64px; /* the outfit sketch's height */
  position: relative; padding: var(--k-section-pad) var(--k-gutter);
  background: var(--k-dark, transparent); color: var(--k-on-dark); text-align: center;
}
.dc061:not(:has(.dc061-tag)) { display: none; }
@media (min-width: 700px) { .dc061 { --dc061-per: 3; --dc061-hg: 50px; --dc061-sk-h: 72px; } }
/* desktop and landscape: one wide centred row (D-030, the desktop rule) */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) { .dc061 { --dc061-per: 6; --dc061-hg: 56px; --dc061-sk-h: 80px; } }

/* ---- the glass (the pane recipe: the plaque and every tag) ---- */
/* see-through: the mist child shows the satin; no transform, filter, contain or container-type on a pane or above it */
.dc061 .dc061__pane, .dc061 .dc061-tag__pane {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--sgl-glass-radius, 8px);
  background: transparent; box-shadow: var(--sgl-glass-shadow, 0 30px 60px -20px rgb(30 20 14 / .45));
  color: var(--k-on-dark); text-shadow: var(--sgl-text-shadow, none);
}
.dc061 .dc061__pane::before, .dc061 .dc061-tag__pane::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: var(--sgl-glass-etch, none); -webkit-mask-image: var(--sgl-glass-etch-mask, none); mask-image: var(--sgl-glass-etch-mask, none);
  opacity: var(--sgl-glass-etch-o, .85);
}
/* :where keeps the old weight, so the eyelet's own place (absolute, z 2) still wins */
.dc061 .dc061__pane > :where(:not(.k-sgl-mist)), .dc061 .dc061-tag__pane > :where(:not(.k-sgl-mist)) { position: relative; z-index: 1; }

/* ---- the plaque ---- */
.dc061 .dc061__head { width: fit-content; max-width: 100%; margin: 0 auto; padding: clamp(20px, 5vw, 28px) clamp(40px, 12vw, 72px) clamp(18px, 4.4vw, 26px); }
.dc061 .dc061__kicker { padding-left: .26em; }
.dc061 .dc061__title { margin: 2px 0 0; padding: 0 .1em; }

/* ---- the tags ---- */
.dc061 .dc061__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.dc061 .dc061__tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sgl-gap-in, 20px) var(--dc061-gap); /* W3: the skin's inner gap */
  width: min(100%, 560px); margin: var(--sgl-gap-in, 20px) auto 0; padding: 0; list-style: none;
}
@media (min-width: 700px) { .dc061 .dc061__tags { width: min(100%, 720px); } }
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) { .dc061 .dc061__tags { width: min(90vw, 1240px); } }
/* a tag: the hanger on top, then the glass tag; the string runs from the hanger's bar to the eyelet */
.dc061 .dc061-tag { position: relative; display: flex; flex-direction: column; flex: 0 0 calc((100% - (var(--dc061-per) - 1) * var(--dc061-gap)) / var(--dc061-per)); max-width: 220px; }
.dc061 .dc061-tag__pane {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: clamp(150px, 40vw, 176px); padding: 34px clamp(10px, 3vw, 16px) 24px;
  margin-top: calc(22.4px - var(--dc061-hg) * .0292); /* the eyelet sits where the string's loop ends */
  border-radius: 22px 22px var(--sgl-glass-radius, 8px) var(--sgl-glass-radius, 8px); /* a tag's rounded shoulders */
}
.dc061 .dc061-tag__pane > .k-sgl-mist { clip-path: inset(0 round 22px 22px var(--sgl-glass-radius, 8px) var(--sgl-glass-radius, 8px)); }
/* the hanger: INV-14's pen hanger (dc001), a 2 px copper line */
.dc061 .dc061-tag__hg { display: block; flex: none; width: var(--dc061-hg); height: calc(var(--dc061-hg) / 2); max-width: none; margin: 0 auto;
  overflow: visible; pointer-events: none; filter: drop-shadow(0 1px 1px rgb(20 10 5 / .4)); }
.dc061 .dc061-tag__hg path { fill: none; stroke: var(--sgl-copper-light, #D99A6C); stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round; }
/* the eyelet: a copper ring with the satin seen through the hole */
.dc061 .dc061-tag__eye {
  position: absolute; z-index: 2; left: 50%; top: 10px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: radial-gradient(circle, var(--sgl-satin-base, #5A4436) 0 3.4px, rgb(30 18 10 / .6) 3.9px, transparent 4.3px),
    linear-gradient(135deg, var(--sgl-champ, #F4E7CF), var(--sgl-copper-light, #D99A6C) 30%, var(--sgl-copper, #A85E36) 62%, var(--sgl-copper-deep, #6E3A1F));
  box-shadow: 0 1px 2px rgb(20 10 5 / .45);
}
/* the string loop: from the eyelet up over the hanger's bar (the bar's line is at 47 % of the hanger's width) */
.dc061 .dc061-tag__str {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--dc061-hg) * .4708 - 4.66px); width: 26px; height: 46.4px; margin-left: -13px; max-width: none; overflow: visible;
  pointer-events: none; filter: drop-shadow(0 1px 1px rgb(20 10 5 / .4));
}
.dc061 .dc061-tag__str path { fill: none; stroke: url(#dc061-cu); stroke-width: 1.6; stroke-linecap: round; }
/* the outfit sketch: champagne through the pen art's shape; the box takes the art's width / height */
.dc061 .dc061-tag__sk { --dc061-sk: var(--sgl-art-attire-formal); --dc061-skr: .8372;
  display: block; flex: none; width: min(100%, calc(var(--dc061-sk-h) * var(--dc061-skr))); aspect-ratio: var(--dc061-skr); margin: 0 auto 14px;
  background: var(--c-secondary); -webkit-mask: var(--dc061-sk) center / contain no-repeat; mask: var(--dc061-sk) center / contain no-repeat; }
/* A2047: the event's name, a second hint (before the dress code's kinds below, which win) */
.dc061 .dc061-tag__sk:is([data-ev*="brunch" i], [data-ev*="garden" i], [data-ev*="bbq" i], [data-ev*="barbecue" i], [data-ev*="picnic" i]) {
  --dc061-sk: var(--sgl-art-attire-smart); --dc061-skr: 1.0701; }
.dc061 .dc061-tag__sk:is([data-ev*="drink" i], [data-ev*="cocktail" i], [data-ev*="reception" i]) {
  --dc061-sk: var(--sgl-art-attire-cocktail); --dc061-skr: .7984; }
.dc061 .dc061-tag__sk:is([data-ev*="danc" i], [data-ev*="party" i], [data-ev*="disco" i], [data-ev*="ceilidh" i]) {
  --dc061-sk: var(--sgl-art-attire-shoes); --dc061-skr: 2.6567; }
.dc061 .dc061-tag__sk:is([data-ev*="mehndi" i], [data-ev*="mehendi" i], [data-ev*="sangeet" i], [data-ev*="haldi" i]) {
  --dc061-sk: var(--sgl-art-attire-traditional); --dc061-skr: .9844; }
.dc061 .dc061-tag__sk:is([data-dc*="casual" i], [data-dc*="garden" i], [data-dc*="summer" i], [data-dc*="relaxed" i]) {
  --dc061-sk: var(--sgl-art-attire-smart); --dc061-skr: 1.0701; }
.dc061 .dc061-tag__sk:is([data-dc*="cocktail" i], [data-dc*="semi-formal" i], [data-dc*="lounge" i]) {
  --dc061-sk: var(--sgl-art-attire-cocktail); --dc061-skr: .7984; }
.dc061 .dc061-tag__sk:is([data-dc*="danc" i], [data-dc*="shoe" i], [data-dc*="heel" i]) {
  --dc061-sk: var(--sgl-art-attire-shoes); --dc061-skr: 2.6567; } /* wide: the box caps at the tag's inner width */
.dc061 .dc061-tag__sk:is([data-dc*="traditional" i], [data-dc*="shalwar" i], [data-dc*="kameez" i], [data-dc*="sherwani" i], [data-dc*="saree" i],
  [data-dc*="sari" i], [data-dc*="lehenga" i], [data-dc*="desi" i], [data-dc*="eastern" i], [data-dc*="cultural" i]) {
  --dc061-sk: var(--sgl-art-attire-traditional); --dc061-skr: .9844; }
.dc061 .dc061-tag__ev { margin: 0; font: 400 11px/1.5 var(--k-font-body); letter-spacing: .24em; padding-left: .24em; /* W3: the 11 px floor */
  text-transform: uppercase; color: var(--k-on-dark-soft); text-wrap: balance; }
.dc061 .dc061-tag__rule { display: block; flex: none; width: 30px; height: 1px; margin: 12px auto 11px; opacity: .85;
  background: linear-gradient(90deg, rgb(244 231 207 / 0), var(--c-secondary) 30% 70%, rgb(244 231 207 / 0)); }
.dc061 .dc061-tag__dc { margin: 0; font: 400 clamp(14px, 3.8vw, 17px)/1.32 var(--k-font-display); letter-spacing: .08em; padding-left: .08em;
  text-transform: uppercase; color: var(--k-on-dark); text-wrap: pretty; overflow-wrap: anywhere; } /* W3: pretty, no lonely word */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) {
  .dc061 .dc061-tag__pane { min-height: 184px; }
}
/* A2058 (owner's pick: "wider dress-code tags on desktop, like the venues"): the tags fill the 1240 band as the venue
   cards do (vn060's :has pattern). Three or more: three a row, about 397 px each (a last short row stays centred at the
   same width). One or two: up to 606 px each, laid across: the sketch in a left column, the words beside it. Bigger
   hanger, sketch and words to suit. Phone and tablet are unchanged */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) {
  .dc061 { --dc061-per: 3; --dc061-hg: 64px; --dc061-sk-h: 104px; }
  .dc061 .dc061-tag { max-width: none; }
  .dc061 .dc061-tag__pane { min-height: 240px; padding: 44px 24px 30px; }
  .dc061 .dc061-tag__ev { font-size: 12px; }
  .dc061 .dc061-tag__dc { font-size: clamp(18px, 1.5vw, 22px); }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) { --dc061-per: 2; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) > .dc061-tag { flex: 0 1 606px; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) .dc061-tag__pane {
    display: grid; grid-template-columns: 38% 1fr; grid-template-rows: 1fr auto auto auto 1fr; align-items: center; column-gap: 24px; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) .dc061-tag__sk { grid-column: 1; grid-row: 1 / -1; margin: 0 auto; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) :is(.dc061-tag__ev, .dc061-tag__rule, .dc061-tag__dc) { grid-column: 2; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) .dc061-tag__ev { grid-row: 2; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) .dc061-tag__rule { grid-row: 3; }
  .dc061 .dc061__tags:not(:has(> .dc061-tag:nth-child(3))) .dc061-tag__dc { grid-row: 4; }
}
/* W4 (A2014, owner: "sprinkle around more accessories, like similar/related flowers"): dried flowers on the satin at the
   pane's edge (the skin's .k-sgl-bloom gives the art, ratio and shadow). Measured from the edge of the centred pane
   column; a negative offset sits out past the pane */
.dc061 .dc061__bloom { right: calc(50% - min(100% - 2 * var(--k-gutter), 560px) / 2 + 0px); top: calc(var(--k-section-pad) - 40px); width: clamp(80px, 22vw, 130px); }
/* A2058: on desktop the bloom follows the 1240 band's edge (was the 560 column), like vn060's */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) { .dc061 .dc061__bloom { right: calc(50% - min(100% - 2 * var(--k-gutter), 1240px, 90vw) / 2); } }
/* W2.1 (A2238) */
.dc061 .dc061__drift { left: 6vw; bottom: 8px; width: clamp(170px, 46vw, 300px); }
