/* dt060 Glass month (INV-03 Satin Glass · Luxe, stage 1 still; W1 A1983, W2 A1994, plan docs/plans/plan_inv03_satin_glass_w2.md).
   The main day's month etched on one glass pane: "Save the date", the month and year in Gilda caps, the weekday
   initials in Montserrat, the days in Gilda, and a hand-drawn copper ring round the wedding day. When the events run
   over more days in the month (dt012's multi-day marks), each of those days gets its own, lighter ring. Below: the
   skin's heart rule, the long date, the time in words and Add to calendar. Desktop: a wide pane in two columns (the
   words left, the month page right), never a phone column (D-030). Glass = the skin's pane recipe.
   W2 (A1994): the pane is see-through (the skin's .k-sgl-mist as its first child, so the satin's folds run on under it);
   the month x .8; Gilda 400 for the display words; the weekday initials and the days carry the skin's text grain.
   W3 A2001 (plan docs/plans/plan_inv03_satin_glass_w3.md): Lato (the skin); the month, the days (22 px on tablet and
   desktop) and the long date x .8 again; Lato 300 for the big words (the month and year, the days, the long date, the
   time), 400 for the rest; the long date wraps "pretty". */
.dt060 {
  --dt060-w: 560px; --dt060-cell: clamp(36px, 10.6vw, 46px);
  position: relative; padding: var(--k-section-pad) var(--k-gutter); background: var(--k-dark, transparent); color: var(--k-on-dark);
  text-align: center;
}
@media (min-width: 700px) and (max-aspect-ratio: 1/1) { .dt060 { --dt060-w: 76vw; --dt060-cell: 62px; } }
@media (min-aspect-ratio: 1/1) { .dt060 { --dt060-w: min(90vw, 1240px); --dt060-cell: clamp(50px, 4.2vw, 60px); } }

/* ---- the glass pane, see-through (the skin's .k-sgl-mist under the etch) ---- */
.dt060 .dt060__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);
  width: min(100%, var(--dt060-w)); margin: 0 auto; padding: clamp(40px, 11vw, 56px) clamp(16px, 5vw, 40px) clamp(42px, 11vw, 56px); }
.dt060 .dt060__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); }
.dt060 .dt060__pane > :not(.k-sgl-mist) { position: relative; z-index: 1; }

/* ---- the words ---- */
.dt060 .dt060__kicker { margin: 0; padding-left: .26em; font-size: clamp(11px, 2.8vw, 12.5px); letter-spacing: .26em; } /* W3: floor 11px */
.dt060 .dt060__month { margin: clamp(10px, 2.6vw, 16px) 0 0; padding-left: .1em; font: 300 clamp(19.2px, 5.52vw, 29.44px)/1.1 var(--k-font-display); /* W2: x .8; W3: x .8, 300 */
  letter-spacing: .1em; text-transform: uppercase; }
.dt060 .dt060__year { display: block; font-weight: 300; color: var(--k-on-dark-soft); }
@media (min-width: 700px) and (max-aspect-ratio: 1/1) { .dt060 .dt060__year { display: inline; } }

/* ---- the month page: weekday initials, then the days ---- */
.dt060 .dt060__page { width: calc(var(--dt060-cell) * 7); max-width: 100%; margin: clamp(22px, 6vw, 32px) auto 0; }
.dt060 .dt060__wd, .dt060 .dt060__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dt060 .dt060__wd { padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / .36); }
.dt060 .dt060__wd li { padding-left: .2em; font: 400 clamp(11px, 2.7vw, 12px)/1.6 var(--k-font-body); letter-spacing: .2em; color: var(--k-on-dark-soft); /* W3: floor 11px */
  -webkit-mask: var(--sgl-text-tex); mask: var(--sgl-text-tex); } /* W2: the text grain (an li is not on the skin's list) */
.dt060 .dt060__grid { row-gap: clamp(2px, .8vw, 6px); }
.dt060 .dt060__d { position: relative; display: grid; place-items: center; height: calc(var(--dt060-cell) * .86); }
.dt060 .dt060__n { position: relative; z-index: 1; font: 300 clamp(12.8px, 3.52vw, 15.2px)/1 var(--k-font-display); /* W3: x .8, 300 */ letter-spacing: .02em; font-variant-numeric: lining-nums;
  -webkit-mask: var(--sgl-text-tex); mask: var(--sgl-text-tex); } /* W2: the text grain (a span in an li) */
.dt060 .dt060__d--main .dt060__n { font-weight: 300; font-size: 1.16em; color: var(--k-on-dark); }
.dt060 .dt060__d--main { font-size: clamp(12.8px, 3.52vw, 15.2px); } /* W3: x .8 */
/* the ring, drawn by hand: a little wider than the day, overshooting its start (copper from the skin's sprite gradient) */
.dt060 .dt060__ring { position: absolute; left: -10%; top: -6%; width: 120%; max-width: none; height: 112%; overflow: visible; pointer-events: none; }
.dt060 .dt060__ring path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dt060 .dt060__glow { stroke: var(--c-secondary); stroke-width: 4; opacity: .16; }
.dt060 .dt060__loop { stroke: var(--c-primary-light, var(--c-primary)); stroke: url(#sgl-copper) var(--c-primary-light, var(--c-primary)); stroke-width: 2; }
.dt060 .dt060__ring--ev { left: -4%; width: 108%; top: -2%; height: 104%; }
.dt060 .dt060__ring--ev .dt060__loop { stroke-width: 1.4; opacity: .9; }
.dt060 .dt060__ring--ev .dt060__glow { stroke-width: 3; opacity: .1; }

/* ---- the long date, the time and the calendar ---- */
.dt060 .dt060__rule { width: clamp(150px, 42vw, 200px); height: auto; margin: clamp(22px, 6vw, 30px) auto 0; color: var(--c-secondary); opacity: .9; }
.dt060 .dt060__long { margin-top: clamp(14px, 3.6vw, 20px); padding-left: .1em; font: 300 clamp(14.4px, 4vw, 19.2px)/1.35 var(--k-font-display); /* W3: x .8, 300 */
  letter-spacing: .1em; text-transform: uppercase; text-wrap: pretty; }
.dt060 .dt060__time { margin-top: 6px; font: 300 clamp(16px, 4.3vw, 19px)/1.6 var(--k-font-display); color: var(--k-on-dark-soft); }
.dt060 .dt060__cal { margin-top: clamp(20px, 5vw, 28px); }
.dt060 .kjy-cal { display: inline-block; max-width: 100%; text-shadow: none; }
.dt060 .kjy-cal__toggle { list-style: none; padding-left: calc(var(--k-s-5) + .22em); }
.dt060 .kjy-cal__toggle::-webkit-details-marker { display: none; }
.dt060 .kjy-cal__menu { display: grid; margin-top: 8px; border-radius: 4px; background: rgb(42 30 22 / .4); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); }
.dt060 .kjy-cal__opt { padding: 13px 18px; font: 400 .95rem/1.3 var(--k-font-body); color: var(--k-on-dark); text-decoration: none; }
.dt060 .kjy-cal__opt + .kjy-cal__opt { border-top: 1px solid rgb(255 255 255 / .22); }

/* tablet: more air */
@media (min-width: 700px) {
  .dt060 .dt060__pane { padding: 64px 7% 68px; }
  .dt060 .dt060__n, .dt060 .dt060__d--main { font-size: 17.6px; } /* W3: x .8 */
  .dt060 .dt060__wd li { font-size: 12.5px; }
}
/* desktop: two columns inside the wide pane, the words left and the month page right, a hairline between */
@media (min-aspect-ratio: 1/1) {
  .dt060 .dt060__pane { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head page" "foot page";
    align-content: center; column-gap: 0; padding: clamp(56px, 6vw, 80px) clamp(40px, 5.6vw, 80px); }
  .dt060 .dt060__head { grid-area: head; align-self: end; }
  .dt060 .dt060__foot { grid-area: foot; align-self: start; }
  .dt060 .dt060__head, .dt060 .dt060__foot { padding-right: clamp(32px, 4.4vw, 64px); }
  .dt060 .dt060__page { grid-area: page; align-self: center; margin: 0; padding-left: clamp(36px, 5vw, 72px); width: auto;
    border-left: 1px solid rgb(255 255 255 / .3); }
  .dt060 .dt060__wd, .dt060 .dt060__grid { grid-template-columns: repeat(7, var(--dt060-cell)); }
  .dt060 .dt060__month { font-size: clamp(25.6px, 2.4vw, 37.12px); } /* W2: x .8; W3: x .8 */
  .dt060 .dt060__long { font-size: clamp(16px, 1.44vw, 20.8px); } /* W3: x .8 */
}
/* ---- W5 (A2018, plan docs/plans/plan_inv03_satin_glass_w5.md; D-178): the calendar is the invitation card's tear-off stub
   (iv060 runs straight on into it): no top padding, square top corners, no top edge; an etched perforation along the
   seam. Both are new glass, so their fixed mists run on unbroken ---- */
.dt060 { padding-top: 0; }
.dt060 .dt060__pane { border-top-left-radius: 0; border-top-right-radius: 0; }
.dt060 .dt060__pane > .k-sgl-mist { clip-path: inset(0 round 0 0 var(--sgl-glass-radius, 8px) var(--sgl-glass-radius, 8px)); }
.dt060 .dt060__pane > .k-sgl-mist::after { box-shadow: inset 0 -1px 0 rgb(255 255 255 / .5), inset 1px 0 0 rgb(255 255 255 / .5), inset -1px 0 0 rgb(255 255 255 / .5),
  inset 2px 0 0 rgb(255 255 255 / .32), inset 0 -2px 0 rgb(20 12 8 / .22), inset -2px 0 0 rgb(20 12 8 / .16); }
.dt060 .dt060__pane > .dt060__perf { position: absolute; z-index: 2; top: -2px; left: 12px; right: 12px; height: 4px; pointer-events: none;
  background: radial-gradient(circle, rgb(255 255 255 / .82) 0 1.3px, transparent 1.8px) 0 50% / 9px 4px repeat-x; } /* (the pane's
  "> :not(.k-sgl-mist)" rule would make it relative: same specificity, later) */
/* W4 flowers, W5 moved to the stub's two bottom corners: the rose (from the card) left, the honesty right */
.dt060 .dt060__rose { left: calc(50% - min(100% - 2 * var(--k-gutter), var(--dt060-w)) / 2 - 16px); bottom: calc(var(--k-section-pad) - 30px);
  width: clamp(92px, 25vw, 150px); transform: rotate(-24deg); }
.dt060 .dt060__bloom { right: calc(50% - min(100% - 2 * var(--k-gutter), var(--dt060-w)) / 2 - 20px); bottom: calc(var(--k-section-pad) - 52px);
  width: clamp(84px, 22vw, 140px); transform: rotate(-24deg); }
