/* Timeline (core/events/090), INV-02 Love Letters, forked for INV-23 Cut Through (A2759; INV-02's owner 2026-10-31: "more creative", "if there is another day, it should
   easily be trackable"): one ink thread through the whole celebration. Each event is a stop on it, the time between stops is
   written along it, and each day opens with its big date, with a strip of dates pinned while the guest reads. The paper tears
   between days and shows the couple's colour, the opener's own device (owner 2026-10-31, option A: "fits much better"). Phone and
   tablet: the thread runs down the page. Laptop: a day runs across as one whole line (owner 2026-10-30: a day is never split). */
.ev220 { position: relative; padding: var(--k-ct-air) var(--k-gutter) 0; text-align: center; color: var(--k-ink); background: var(--k-light-ground); --ev220-drop: 64px; }
.ev220 .ev220__hd { font-size: min(var(--k-ct-hd), calc(86vw / 1.72)); margin-bottom: calc(var(--k-ct-hd) * .56); }
.ev220__head .ev220__title:not(.k-ct-sr) { margin-bottom: .56em; }
.ev220__deck { max-width: 1040px; margin: 0 auto; }
.ev220-card__date { margin-bottom: 0; }

/* The strip of dates: pinned at the top of the screen, the day being read filled in like the room bar's drop */
.ev220-strip { position: sticky; top: 0; z-index: 3; display: flex; justify-content: center; gap: 4px; margin: 0 calc(var(--k-gutter) * -1) 26px; padding: 10px var(--k-gutter);
  background: var(--k-paper) var(--k-ct-tile) 0 0 / 300px auto repeat; box-shadow: 0 1px 0 rgb(22 20 18 / .12); }
.ev220-tab { flex: 0 1 58px; min-width: 0; min-height: 58px; display: grid; align-content: center; justify-items: center; gap: 3px; padding: 6px 2px; border: 0; border-radius: 16px; background: none; color: var(--k-ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 300 .75rem/1 var(--k-font-body); letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s ease, color .3s ease; }
.ev220-tab b { font: 300 1.75rem/1 var(--k-font-display); letter-spacing: 0; }
.ev220-tab.is-on { background: var(--k-dark); color: var(--k-on-dark); }

/* A day opens with its big date, in the design's own title device */
.ev220-day__kick { margin-bottom: 8px; }
.ev220-day__big { margin: 0 0 .52em; font-size: calc(clamp(84px, 24vw, 150px) * var(--k-ct-z)); }
.ev220-day__big .k-ct-ttl__s { bottom: -.42em; font-size: .46em; }

/* Between two days: the knife cut (the design's divider), then how far apart the days are */
.ev220-rip { margin-top: 14px; }
.ev220-rip__w { display: block; margin: -20px 0 26px; font-size: 2.1rem; }

/* The thread and its stops */
.ev220-ev { position: relative; padding-top: calc(var(--ev220-drop) + 30px); }
.ev220-ev__line { position: absolute; left: 50%; top: 0; width: 1px; height: var(--ev220-drop); background: var(--k-ink); transform-origin: 50% 0; }
.ev220-ev__dot { position: absolute; left: 50%; top: var(--ev220-drop); width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 3px var(--k-paper), 0 0 0 4px var(--k-ink); }
.ev220-gap { position: absolute; left: calc(50% + 12px); top: 16px; font-size: 1.5rem; line-height: 1; white-space: nowrap; rotate: -2deg; }
.ev220-ev__day { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--k-ink-soft); }
.ev220.is-dealt .ev220-ev__day { display: none; }
.ev220-ev__time { font: 300 3rem/1 var(--k-font-display); font-variant-numeric: lining-nums; }
.ev220-ev__what { margin-top: 8px; }
.ev220-ev__name { font: 400 1.1875rem/1.25 var(--k-font-body); letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; }
.ev220-nb { white-space: nowrap; }
.ev220-ev__fact { font-size: .96875rem; line-height: 1.4; color: var(--k-ink-soft); text-wrap: balance; }
.ev220-ev__where { margin-top: 6px; color: var(--k-ink); }
.ev220-ev__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ev220 .ev220-ev__links .k-btn, .ev220 .kjy-cal__toggle { min-height: 38px; padding: 0 14px; font-size: .75rem; letter-spacing: .12em; }
.ev220 .k-ico { width: 15px; height: 15px; }

@media (min-width: 980px) {
  .ev220-strip { margin-bottom: 40px; }
  .ev220-tab { flex-basis: 66px; }
  .ev220-card__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 24px; margin-top: 46px; }
  .ev220-ev { padding-top: 56px; }
  /* across the page: each stop's piece of thread runs back to the stop before it */
  .ev220-ev__line { left: calc(-50% - 12px); top: 6px; width: calc(100% + 24px); height: 1px; transform-origin: 0 50%; }
  .ev220-ev:first-child > .ev220-ev__line { display: none; }
  .ev220-ev:only-child > .ev220-ev__line { display: block; left: 50%; top: -34px; width: 1px; height: 34px; transform-origin: 50% 0; } /* a day with one stop keeps the thread */
  .ev220-ev__dot { top: 0; }
  .ev220-gap { left: -12px; top: -24px; translate: -50% 0; }
  .ev220-ev__links { flex-direction: column; align-items: center; }
}
