/* With love · the tied bow (core/closing/018) — INV-05 v2.2 · Luxe. W2a.1 (A1800; owner 2026-10-23: "make the final
   section way smaller, get rid of this big picture, it should be simple, plain"): the golden-hour room, its sun, the
   dust in the beams and the gypsophila are gone (assets in evidence_inv05_luxe_plus_w2a1/bak/cl018_removed/), and so
   is the live layer. What stays is a short, plain ending on the page's own paper: the small sage bow the gold thread
   ties into, "With love", the names and the heart rule. Its height is the bow, the words and a bottom margin (about
   330 px on a phone), not a screen.
   Before W2a.1 it was cl005's golden-hour room, full screen (A1754, D-113), with the thread tied into the bow (W2a,
   A1771). Folder and key unchanged (the key is the id; the name is for people). */
.cl018 {
  position: relative; overflow: hidden; touch-action: pan-y; padding-bottom: 64px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--k-light-ground); color: var(--k-ink);
  /* the longest name fits one line (--cl018-len from name_len, as he004); past the floor it wraps */
  --cl018-avail: min(calc(100vw - 2 * var(--k-gutter)), calc(var(--k-measure) - 2 * var(--k-gutter)));
  --cl018-fit: calc(var(--cl018-avail) / (var(--cl018-len, 8) * .82));
}
/* the words sit under the bow: 18 px + the bow's height (its width x 496/560) + 18 px */
.cl018__inner { position: relative; z-index: 4; width: 100%; max-width: var(--k-measure); padding: 121px var(--k-gutter) 0; }
.cl018__line { font: 400 clamp(2.2rem, 9.5vw, 2.9rem)/1.15 var(--k-font-script); color: var(--c-primary); overflow-wrap: anywhere; }
.cl018-names {
  margin-top: 10px; font: 400 max(1.05rem, min(clamp(1.45rem, 6.4vw, 2.1rem), var(--cl018-fit)))/1.25 var(--k-font-display);
  letter-spacing: .08em; text-transform: uppercase; color: var(--k-ink); overflow-wrap: anywhere;
}
.cl018-amp { display: inline-block; margin: 0 .1em; font-size: .9em; vertical-align: .02em; }
.cl018__rule { width: 170px; margin: 16px auto 0; color: var(--c-secondary); }

/* ---- the gold thread ties into the bow (W2a, A1771) ----
   pa010's champagne-gold thread comes in at the closing's top edge (at --pa010-x) and section.js draws its tail down into
   the knot of the opener's own sage satin bow (the same photos), by the thread's own rule (its end at 70 % of the
   screen); then the bow is tied (.is-tied). Both sit under the words (.cl018__inner is z-index 4). */
.cl018__thread { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 3; pointer-events: none; }
.cl018__bow { position: absolute; left: 50%; top: 18px; z-index: 3; width: 96px; pointer-events: none; transform: translateX(-50%);
  transition: opacity .4s ease; }
.cl018__bow img { display: block; width: 100%; height: auto; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.cl018__bow .cl018__bow-sh { position: absolute; left: 8%; top: 12%; width: 92%; opacity: .55; }
.cl018__bow .cl018__bow-img { position: relative; }
/* before the tail reaches the knot the bow waits; only when the scripts set up cleanly (kjy-fx), so a page without them,
   and reduced motion (no section scripts), show it tied */
html.kjy-fx:not(.motion-reduce) .cl018__bow:not(.is-tied) { opacity: 0; }

@media (min-width: 768px) {
  .cl018 { padding-bottom: 88px; }
  .cl018__bow { width: 116px; }
  .cl018__inner { padding-top: 139px; }
  .cl018__line { font-size: 3.2rem; }
  .cl018-names { font-size: max(1.05rem, min(2.2rem, var(--cl018-fit))); }
}
@media (min-width: 1200px) {
  .cl018 { padding-bottom: 96px; }
  .cl018__bow { width: 132px; }
  .cl018__inner { padding-top: 153px; }
}
