/* The gift stack (core/events/120), INV-16 Little Us stage 1, from core/events/090's timeline (owner 2026-10-31: "more creative", "if there
   is another day, it should easily be trackable"): one pencil line 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.
   Phone and tablet: the line runs down the page. Laptop: a day runs across as one whole line (owner 2026-10-30: a day is never split).
   The couple never ride the line: that is INV-12's. */
.ev121 .ev121__draw .k-lu-acc { -webkit-mask-image: url("assets/boxes-strip-acc.webp"); mask-image: url("assets/boxes-strip-acc.webp"); }
.ev121 { position: relative; padding: var(--k-section-pad) var(--k-gutter); text-align: center; color: var(--k-ink); background: var(--k-light-ground); --ev121-drop: 64px; }
.ev121 .ev121__draw { width: calc(min(60vw, 280px) * 1.0344); } /* the strip's padding: the rest frame stays the size it was */
.ev121__deck { max-width: 1040px; margin: 0 auto; }

/* The strip of dates: pinned at the top of the screen, the day being read filled in the couple's colour */
.ev121-strip { position: sticky; top: 0; z-index: 3; display: flex; justify-content: center; gap: 4px; margin: 26px calc(var(--k-gutter) * -1) 26px; padding: 10px var(--k-gutter);
  background: var(--k-paper) var(--k-lu-tile) 0 0 / 512px 512px repeat; box-shadow: 0 1px 0 rgba(107, 100, 86, .35); }
.ev121-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: 400 .75rem/1 var(--k-font-body); letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s ease, color .3s ease; }
.ev121-tab b { font: 400 1.625rem/1 var(--k-font-display); letter-spacing: 0; }
.ev121-tab.is-on { background: var(--c-primary); color: #FFF; }

/* A day opens with its big date: the weekday in the brush, the number in the serif */
.ev121-day__kick { margin-bottom: 4px; }
.ev121-day__big { display: grid; justify-items: center; }
.ev121-day__wd { font-size: calc(clamp(58px, 16vw, 88px) * var(--k-lu-z)); }
.ev121-day__n { margin-top: 2px; font: 400 calc(clamp(56px, 16vw, 96px) * var(--k-lu-z))/1 var(--k-font-display); font-variant-numeric: lining-nums; }
.ev121-day__mon { margin-top: 2px; }

/* Between two days: a hand-drawn line, screen edge to screen edge, and how far apart they are */
.ev121-rule { display: block; position: relative; left: 50%; width: 100vw; height: 1px; margin: 44px 0 0 -50vw; background: var(--k-pencil); opacity: .6; }
.ev121-rule__w { display: block; margin: 14px 0 22px; font: italic 400 1.1875rem/1.2 var(--k-font-body); color: var(--k-ink-soft); }

/* The line and its stops */
.ev121-ev { position: relative; padding-top: calc(var(--ev121-drop) + 30px); }
.ev121-ev__line { position: absolute; left: 50%; top: 0; width: 1.4px; height: var(--ev121-drop); background: repeating-linear-gradient(var(--ev121-run, 180deg), var(--k-pencil) 0 19px, transparent 19px 20px, var(--k-pencil) 20px 33px, color-mix(in srgb, var(--k-pencil) 60%, transparent) 33px 37px); transform-origin: 50% 0; }
.ev121-ev__dot { position: absolute; left: 50%; top: var(--ev121-drop); width: 13px; height: 13px; margin-left: -6px; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; background: var(--c-primary); background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .2) 0 1px, transparent 1px 3px); }
.ev121-gap { position: absolute; left: calc(50% + 12px); top: 18px; font: italic 400 1rem/1 var(--k-font-body); white-space: nowrap; color: var(--k-ink-soft); }
.ev121-ev__day { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--k-ink-soft); }
.ev121.is-dealt .ev121-ev__day { display: none; }
.ev121-ev__time { font: 400 2.75rem/1 var(--k-font-display); font-variant-numeric: lining-nums; }
.ev121-ev__what { margin-top: 8px; }
.ev121-ev__name { font: 400 1.125rem/1.25 var(--k-font-body); letter-spacing: .14em; text-transform: uppercase; text-wrap: balance; }
.ev121-nb { white-space: nowrap; }
.ev121-ev__fact { font-size: 1rem; line-height: 1.4; color: var(--k-ink-soft); text-wrap: balance; }
.ev121-ev__where { margin-top: 6px; color: var(--k-ink); }
.ev121-ev__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ev121 .ev121-ev__links .k-btn, .ev121 .kjy-cal__toggle { min-height: 44px; padding: 0 14px; font-size: .9375rem; }
.ev121 .k-ico { width: 15px; height: 15px; }

@media (min-width: 980px) {
  .ev121-strip { margin-bottom: 40px; }
  .ev121-tab { flex-basis: 66px; }
  .ev121-card__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 24px; margin-top: 46px; }
  .ev121-ev { padding-top: 56px; }
  /* across the page: each stop's piece of line runs back to the stop before it, dot centre to dot centre, so nothing shows past the last one */
  .ev121-ev__line { --ev121-run: 90deg; left: calc(-50% - 24px); top: 6px; width: calc(100% + 24px); height: 1.4px; transform-origin: 0 50%; }
  .ev121-ev:first-child > .ev121-ev__line { display: none; }
  .ev121-ev:only-child > .ev121-ev__line { --ev121-run: 180deg; display: block; left: 50%; top: -34px; width: 1.4px; height: 34px; transform-origin: 50% 0; } /* a day with one stop keeps the line */
  .ev121-ev__dot { top: 0; }
  .ev121-gap { left: -12px; top: -24px; translate: -50% 0; }
  .ev121-ev__links { flex-direction: column; align-items: center; }
  /* several days: each day's date sits beside its own line, so a long wedding stays short and a day stays one whole line */
  .ev121.is-dealt .ev121-card { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr); align-items: center; column-gap: 36px; }
  .ev121.is-dealt .ev121-card__head { display: contents; }
  .ev121.is-dealt :is(.ev121-rule, .ev121-rule__w) { grid-column: 1 / -1; }
  .ev121.is-dealt .ev121-card__list { margin-top: 26px; }
  .ev121.is-dealt .ev121-rule { margin-top: 26px; }
  .ev121.is-dealt .ev121-rule__w { margin: 12px 0 6px; }
}
/* the stack wobbles back and forward, then steadies */
.ev121 .ev121__draw.is-in .k-lu-strip__s { animation: ev121-wobble 533ms step-end; }
@keyframes ev121-wobble {
  0%, 50% { transform: translateX(-33.3333%); }
  25%, 75% { transform: translateX(-66.6667%); }
  100% { transform: translateX(0); }
}
