/* Gilded ring calendar · Luxe (core/date/016). Printed straight onto the one ivory sheet (.k-card is the skin's invisible
   column) under a small gilded arch: "Save the date", the month in script, the gold ornament, the Monday-first month with
   the day ringed in gold foil and ending in a small heart, the date and time in caps, Add to calendar, other event days
   dotted in gold. The words arrive through the arch (the skin's Luxe entrance). Before-states only under html.kjy-fx, so
   no JavaScript, lite and reduced motion show everything drawn. */
.dt016 { padding: calc(var(--k-ga-gap) / 2) 0; color: var(--k-ink); text-align: center; }
.dt016 .dt016__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.dt016 .dt016__kicker { margin: 0 0 clamp(6px, 2cqw, 12px); }
.dt016 .dt016__title { margin: 0; font: 400 clamp(32px, 9.4cqw, 50px)/1.15 var(--k-font-script); font-variant-numeric: lining-nums; color: var(--k-gold-ink); }
.dt016 .dt016-rule { display: block; width: clamp(110px, 34cqw, 190px); height: auto; margin: clamp(8px, 2.4cqw, 14px) auto clamp(18px, 5.4cqw, 30px);
  color: var(--k-line); overflow: visible; transform-origin: 50% 50%; }

/* the month: Monday first (format.js monthGrid) */
.dt016 .dt016__page { max-width: 30em; margin: 0 auto; font-size: clamp(15px, 4.4cqw, 21px); }
.dt016 .dt016__wd, .dt016 .dt016__grid { display: grid; grid-template-columns: repeat(7, 1fr); margin: 0; padding: 0; list-style: none; }
.dt016 .dt016__wd li { padding-bottom: .7em; font: 600 clamp(10px, 2.8cqw, 13px)/1 var(--k-font-display); font-variant-numeric: lining-nums; letter-spacing: .18em; text-transform: uppercase; color: var(--k-ink-soft); }
.dt016 .dt016__grid { row-gap: .25em; }
.dt016 .dt016__d { position: relative; display: grid; place-items: center; min-height: 2.5em;
  font: 500 1em/1 var(--k-font-display); font-variant-numeric: lining-nums tabular-nums; color: var(--k-ink); }
.dt016 .dt016__d--blank .dt016__n { visibility: hidden; }
.dt016 .dt016__d--ev::after { content: ""; position: absolute; left: 50%; bottom: .3em; width: 3px; height: 3px; margin-left: -1.5px;
  border-radius: 50%; background: var(--k-gold-ink); }
.dt016 .dt016__d--main::after { content: none; }
.dt016 .dt016__d--main .dt016__n { position: relative; font-weight: 600; }
/* the ring (dt006's loop): the drawing keeps its 6:5 shape at every cell size; 2.4 units is about 1.4 px */
.dt016 .dt016__ring { position: absolute; left: 50%; top: 50%; height: 140%; width: auto; max-width: none; aspect-ratio: 6 / 5;
  transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.dt016 .dt016__loop { fill: none; stroke: url(#dt016-foil); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; }
.dt016 .dt016__heart { fill: var(--k-gold-ink); }

/* under the month */
.dt016 .dt016__long { margin: clamp(20px, 6cqw, 32px) 0 0; font: 600 clamp(11px, 3.2cqw, 15px)/1.6 var(--k-font-display); font-variant-numeric: lining-nums;
  letter-spacing: .18em; text-transform: uppercase; color: var(--k-ink); }
.dt016 .dt016__time { max-inline-size: 18em; margin: .25em auto 0; text-wrap: balance; font: 600 clamp(10px, 2.9cqw, 13.5px)/1.6 var(--k-font-display); font-variant-numeric: lining-nums;
  letter-spacing: .18em; text-transform: uppercase; color: var(--k-ink-soft); }
.dt016 .dt016__cal { margin-top: clamp(18px, 5.4cqw, 28px); }
.dt016 .kjy-cal { display: inline-block; width: min(100%, 260px); }
.dt016 .kjy-cal__toggle { width: 100%; list-style: none; }
.dt016 .kjy-cal__toggle::-webkit-details-marker { display: none; }
.dt016 .kjy-cal__toggle::after { content: ""; width: 6px; height: 6px; margin-left: .7em;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dt016 .kjy-cal[open] .kjy-cal__toggle::after { transform: translateY(2px) rotate(225deg); }
.dt016 .kjy-cal__menu { margin-top: 8px; padding: 4px 0; background: var(--k-paper); border: 1px solid var(--k-line); }
.dt016 .kjy-cal__opt { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  font: 600 13px/1.2 var(--k-font-display); font-variant-numeric: lining-nums; letter-spacing: .18em; text-transform: uppercase; color: var(--k-gold-ink); text-decoration: none; }
.dt016 .kjy-cal__opt + .kjy-cal__opt { border-top: 1px solid var(--k-line); }
.dt016 .dt016__key { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em 1.4em; margin: clamp(16px, 4.4cqw, 24px) 0 0; padding: 0;
  list-style: none; font: 600 clamp(9.5px, 2.8cqw, 13px)/1.5 var(--k-font-display); font-variant-numeric: lining-nums; letter-spacing: .16em; text-transform: uppercase; color: var(--k-ink-soft); }
.dt016 .dt016__dot { display: inline-block; width: 3px; height: 3px; margin-right: .6em; border-radius: 50%; background: var(--k-gold-ink); vertical-align: middle; }

/* the gilded arch above (the skin draws it; a width of its own for other skins). Under the hero on a phone or tablet the
   air is measured from the hero card's edge, which has no padding of ours below it */
.dt016 .k-aj { width: var(--k-aj-w, min(210px, 58%)); }
@media not all and (min-aspect-ratio: 1/1) and (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .dt016 > .k-aj { margin-top: calc(var(--k-aj-air, 64px) - var(--k-ga-gap) / 2); }
}
/* the month prints in a diagonal wave (--dt016-w = its row plus its column, set by section.js); then the day's own small
   arched doors open toward the guest (section.js), and the ring is drawn round it */
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .dt016.k-wait :is(.dt016__wd, .dt016__grid) > li { opacity: 0; translate: 0 .35em; }
.dt016.k-in :is(.dt016__wd, .dt016__grid) > li { transition: opacity 520ms var(--k-print-ease) calc(600ms + var(--dt016-w, 0) * 55ms), translate 520ms var(--k-print-ease) calc(600ms + var(--dt016-w, 0) * 55ms); }
.dt016 .dt016__doors { position: absolute; z-index: 2; inset: -6% 4%; perspective: 260px; pointer-events: none; filter: drop-shadow(0 1px 1.5px rgb(66 46 18 / .25)); }
.dt016 .dt016__leaf { position: absolute; top: 0; bottom: 0; width: 50%; background: #FBF8F1 var(--k-grain, none); box-shadow: inset 0 0 0 .7px #B89A62; }
.dt016 .dt016__leaf--l { left: 0; transform-origin: 0 50%; border-radius: 999px 0 0 0 / 46% 0 0 0; }
.dt016 .dt016__leaf--r { right: 0; transform-origin: 100% 50%; border-radius: 0 999px 0 0 / 0 46% 0 0; }
/* the ring round the day draws once, after the month has printed (section.js); the words are the skin's Luxe entrance */
html.kjy-fx:not(.kjy-lite) .dt016 .dt016__loop { stroke-dashoffset: 1; }
html.kjy-fx:not(.kjy-lite) .dt016 .dt016__heart { opacity: 0; }
