/* Timeline (core/events/090), INV-02 Love Letters (A2332; 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). */
.ev090 { position: relative; padding: var(--k-section-pad) var(--k-gutter); text-align: center; color: var(--k-ink); background: var(--k-light-ground); --ev090-drop: 64px; }
.ev090__head .k-ll-ttl { margin-bottom: .56em; }
.ev090__deck { max-width: 1040px; margin: 0 auto; }
.ev090-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 */
.ev090-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-ll-tile) 0 0 / calc(var(--k-ll-strip) * .1616) auto repeat; box-shadow: 0 1px 0 rgb(22 20 18 / .12); }
.ev090-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; }
.ev090-tab b { font: 300 1.75rem/1 var(--k-font-display); letter-spacing: 0; }
.ev090-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 */
.ev090-day__kick { margin-bottom: 8px; }
.ev090-day__big { margin: 0 0 .52em; font-size: calc(clamp(84px, 24vw, 150px) * var(--k-ll-z)); }
.ev090-day__big .k-ll-ttl__s { bottom: -.42em; font-size: .46em; }

/* The tear between two days, screen edge to screen edge: one piece, never a repeat, whose joins would show. It keeps one height on
   every screen, so a wide laptop gets a longer tear, not a taller gap. It reuses the page's torn strips, so it adds no weight.
   Most of its height is solid paper, which is the air between the days. */
.ev090-rip { position: relative; left: 50%; width: 100vw; height: 232px; margin: 14px 0 0 -50vw; }
.ev090-rip__slit { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(var(--c-primary) 0 0) 0 40px / 100% calc(100% - 80px) no-repeat; } /* the colour stops short of the box, behind solid paper, so no edge can show a line */
.ev090-rip .k-ll-tear { height: 146px; background-size: max(1000px, 100%) 146px; }
.ev090-rip .k-ll-tear--dn { top: -5px; }
.ev090-rip .k-ll-tear--up { bottom: -5px; }
.ev090-rip__w { display: block; margin: -20px 0 26px; font-size: 2.1rem; }

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

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