/* ═════════════════════ Canva originals: Forever (WW01) and We Do (WW02) ═════════════════════
   The shop's two Canva website templates rebuilt as designs — markup in js/originals.js.
   Canva drew them on pages of 360×720; here every size is Canva's ×3 on the 1080 canvas
   (one Canva page = 2160u), so the numbers can be checked against the Canva file. */

/* ───────── shared ───────── */
/* Sections lie edge to edge like Canva's pages; the dividers straddle the seams, so the
   sections must not clip them (their photos are clipped by .cv-bgbox instead). */
.decor-forever > .sec, .decor-wedo > .sec { overflow: visible; }
.cv-bgbox { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cv-bgbox > .ph { position: absolute; inset: 0; }

/* The divider: a hairline with the little ornament in the middle (assets/decor/forever/divider.svg). */
.cv-div,
.decor-forever > .sec:not(:last-child)::after,
.decor-wedo > .sec-music::after,
.decor-wedo > .v-wdrow:not(:has(+ .v-wdrow))::after {
  --orn: url("../assets/decor/forever/divider.svg");
  display: block;
  height: calc(28 * var(--u));
  background: var(--c-line, var(--c-accent));
  -webkit-mask: var(--orn) center / calc(108 * var(--u)) 100% no-repeat,
    linear-gradient(#000 0 0) left center / calc(50% - 53.5 * var(--u)) calc(3 * var(--u)) no-repeat,
    linear-gradient(#000 0 0) right center / calc(50% - 53.5 * var(--u)) calc(3 * var(--u)) no-repeat;
  mask: var(--orn) center / calc(108 * var(--u)) 100% no-repeat,
    linear-gradient(#000 0 0) left center / calc(50% - 53.5 * var(--u)) calc(3 * var(--u)) no-repeat,
    linear-gradient(#000 0 0) right center / calc(50% - 53.5 * var(--u)) calc(3 * var(--u)) no-repeat;
}
.decor-forever > .sec:not(:last-child)::after,
.decor-wedo > .sec-music::after,
.decor-wedo > .v-wdrow:not(:has(+ .v-wdrow))::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: calc(-14 * var(--u));
  pointer-events: none;
}

/* Canva's countdown widget: big figures, colons between, the seconds in a light colour. */
.cv-count {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  font-family: "Open Sans", system-ui, sans-serif;
  color: #111;
}
.cv-count .cd { display: flex; flex-direction: column; align-items: center; min-width: var(--cdw); }
.cv-count strong, .cv-count > i { font-weight: 400; font-style: normal; font-size: var(--cdf); line-height: 1.12; }
.cv-count > i { display: flex; justify-content: center; padding: 0 calc(14 * var(--u)); translate: 0 -.06em; }
.cv-count small { margin-top: var(--cdg); font-size: var(--cdl); line-height: 1.2; text-transform: uppercase; color: #222; }
.cv-count .cd:last-child strong { color: var(--cds); }

/* ═════════════ Forever ═════════════ */
.decor-forever, .decor-wedo { --eye: .8; } /* WindSong stands in for Canva's Eyesome Script; it runs larger, so its sizes are scaled */
.decor-forever { --fv-gold: var(--c-tan, #BCA57D); }
.fv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.fv-photo.ph { filter: none; }
.decor-forever .fv-title,
.decor-forever .fv-please,
.decor-forever .fv-by,
.decor-forever .fv-thanks .script {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: WindSong, var(--f-script);
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-ink);
}

/* cover: the photo, darkening from a quarter of the way down */
.sec-cover.v-forever { min-height: calc(2160 * var(--u)); padding: 0; background: #000; color: #fff; }
.fv-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25.8%, rgb(0 0 0 / .15) 41.7%, rgb(0 0 0 / .46) 69.4%, rgb(0 0 0 / .8) 88%, rgb(0 0 0 / .96));
}
.v-forever .fv-forever {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: calc(814.7 * var(--u));
  margin: 0;
  font-family: WindSong, var(--f-script);
  font-size: calc(280 * var(--u) * var(--eye));
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
}
.fv-heart { position: absolute; z-index: 1; left: calc(427 * var(--u)); top: calc(1130 * var(--u)); width: calc(213 * var(--u)); color: var(--c-glow, #D8CAB1); }
.fv-heart svg { display: block; width: 100%; height: auto; }
.fv-info { position: relative; z-index: 1; padding: calc(1389.6 * var(--u)) 0 calc(24 * var(--u)); }
.fv-cap { margin: 0; padding: calc(3.2 * var(--u)) calc(40 * var(--u)); font-family: Cardo, var(--f-serif); font-size: calc(32 * var(--u)); line-height: calc(32 * var(--u)); text-transform: uppercase; color: #fff; }
.fv-names {
  margin: calc(18.6 * var(--u)) 0;
  padding: calc(19.6 * var(--u)) calc(20 * var(--u));
  font-family: Allura, var(--f-script);
  font-weight: 400;
  font-size: calc(196 * var(--u));
  line-height: calc(196 * var(--u));
  white-space: nowrap;
  color: var(--c-glow, #D8CAB1);
  text-shadow: 0 0 calc(14 * var(--u)) rgb(255 214 150 / .55), 0 0 calc(36 * var(--u)) rgb(255 196 120 / .32);
}
.fv-when { display: grid; grid-template-columns: 1fr calc(180 * var(--u)) 1fr; align-items: center; margin-top: calc(30 * var(--u)); font-family: Cardo, var(--f-serif); text-transform: uppercase; color: #fff; }
.fv-side { font-size: calc(48 * var(--u)); line-height: 1.2; white-space: nowrap; }
.fv-when > .fv-side:first-child { padding-right: calc(18.6 * var(--u)); text-align: right; }
.fv-when > .fv-side:last-child { padding-left: calc(18.6 * var(--u)); text-align: left; }
.fv-day { display: flex; flex-direction: column; align-items: center; height: calc(240.5 * var(--u)); padding-top: calc(11.8 * var(--u)); border-inline: calc(4 * var(--u)) solid #fff; }
.fv-day small { font-size: calc(48 * var(--u)); line-height: calc(54.6 * var(--u)); }
.fv-day b { margin-top: calc(-11.4 * var(--u)); font-weight: 400; font-size: calc(100 * var(--u)); line-height: calc(119 * var(--u)); }
.fv-addr { margin-top: calc(30 * var(--u)); }

/* music: piano keys (or the couple's photo), "play the music", the soundwave button */
.sec-music.v-piano { min-height: calc(730 * var(--u)); padding: 0; background: #111; }
.fv-piano { position: absolute; inset: 0; background: url("../assets/decor/forever/piano.jpg") 50% 80% / cover; }
.decor-forever .fv-play { position: relative; z-index: 1; margin: 0; padding-top: calc(57 * var(--u)); font-family: Italianno, var(--f-script); font-weight: 400; font-size: calc(158 * var(--u)); line-height: 1.2; color: #fff; }
.fv-player { position: relative; z-index: 1; display: flex; justify-content: center; height: calc(163.7 * var(--u)); margin: calc(6.8 * var(--u)) auto 0; }
.fv-player .play.fv-wave { display: flex; align-items: center; gap: calc(34 * var(--u)); width: auto; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fv-pp { display: grid; place-items: center; flex: none; width: calc(104 * var(--u)); height: calc(104 * var(--u)); border: calc(3 * var(--u)) solid currentColor; border-radius: 50%; }
.fv-pp svg { width: calc(46 * var(--u)); height: calc(46 * var(--u)); fill: currentColor; }
.fv-player .i-pause, .fv-player.playing .i-play { display: none; }
.fv-player.playing .i-pause { display: block; }
.fv-bars { display: flex; align-items: center; justify-content: space-between; width: calc(312 * var(--u)); height: 100%; }
.fv-bars i { width: calc(6 * var(--u)); height: var(--h); border-radius: 99px; background: currentColor; }
.fv-player.playing .fv-bars i { animation: fv-bar .9s ease-in-out var(--d) infinite alternate; }
@keyframes fv-bar { to { transform: scaleY(.42); } }

/* date: the portrait, the torn kraft strip, "Until we say “I do”" and the countdown */
.sec-date.v-kraft { min-height: calc(1430 * var(--u)); padding: 0; }
.fv-portrait { position: absolute; left: 0; top: 0; width: 100%; height: calc(1350.5 * var(--u)); object-fit: cover; filter: grayscale(1); }
.fv-portrait.ph { filter: none; }
.fv-kraft {
  position: absolute;
  left: calc(-69.4 * var(--u));
  top: calc(841.7 * var(--u));
  width: calc(1173.1 * var(--u));
  height: calc(715.5 * var(--u));
  background: url("../assets/decor/forever/kraft.svg") center / 100% 100% no-repeat;
  rotate: 4deg;
  filter: drop-shadow(0 calc(-3 * var(--u)) calc(6 * var(--u)) rgb(0 0 0 / .18));
}
.fv-kraft-text { position: relative; z-index: 1; padding: calc(1106 * var(--u)) 0 calc(36 * var(--u)); }
.fv-cdt { margin: 0; white-space: nowrap; }
.fv-cdt .t1 { font-family: "Anonymous Pro", var(--f-mono); font-weight: 400; font-size: calc(65.5 * var(--u)); line-height: 1.2; color: #0C0C0C; }
/* Canva set "I do" in Allison, but Google's Allison draws the I like a 9; Allura's I matches */
.fv-cdt .t2 { font-family: Allura, var(--f-script); font-weight: 400; font-size: calc(86 * var(--u)); line-height: 1; color: #000; }
.fv-count { --cdw: calc(150 * var(--u)); --cdf: calc(104 * var(--u)); --cdl: calc(25 * var(--u)); --cdg: calc(6 * var(--u)); --cds: #E4D8C2; margin-top: calc(28 * var(--u)); }
.fv-cdn { margin: calc(20 * var(--u)) 0 0; font-family: "Anonymous Pro", var(--f-mono); font-size: calc(34 * var(--u)); color: #0C0C0C; }

/* venue: faded photo, "The Venue", the name on a gold ribbon, photo, pin, address */
.sec-venue.v-ribbon { min-height: calc(2160 * var(--u)); padding: calc(119.8 * var(--u)) 0 calc(90 * var(--u)); background: var(--c-bg); }
.fv-fade .fv-photo { opacity: .16; }
.fv-fade.more .fv-photo { opacity: .21; }
.decor-forever .fv-title { font-size: calc(144 * var(--u) * var(--eye)); }
.fv-ribbon { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; width: calc(864 * var(--u)); min-height: calc(108.7 * var(--u)); margin: calc(36 * var(--u)) auto 0; padding: 0 calc(90 * var(--u)); font-family: Cardo, var(--f-serif); font-size: calc(60 * var(--u)); line-height: 1.2; color: #000; }
.fv-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 63 * var(--u)) 50%, 100% 100%, 0 100%, calc(63 * var(--u)) 50%);
  background: linear-gradient(90deg, #B8A384, #BFAA88 14%, #D4C4A6 34%, #E2D7C5 50%, #D9CAAE 66%, #CDB896 86%, #C8B190);
}
.fv-spaced { position: relative; max-width: calc(880 * var(--u)); margin: calc(21 * var(--u)) auto 0; padding-left: .1em; font-family: Cardo, var(--f-serif); font-size: calc(33.2 * var(--u)); line-height: calc(37.9 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: #000; }
.fv-venue-img { position: relative; display: block; width: calc(912.8 * var(--u)); height: calc(913.9 * var(--u)); margin: calc(21 * var(--u)) auto 0; border-radius: calc(46 * var(--u)); object-fit: cover; }
.fv-loc { position: relative; margin: calc(67 * var(--u)) 0 0; font-family: Cardo, var(--f-serif); font-size: calc(48 * var(--u)); line-height: 1.14; text-transform: uppercase; color: #56472C; }
.fv-pin { position: relative; display: block; width: calc(193.2 * var(--u)); margin: calc(21.4 * var(--u)) auto 0; color: var(--fv-gold); }
.fv-pin svg { display: block; width: 100%; height: auto; }
.v-ribbon .fv-addr { max-width: calc(1000 * var(--u)); margin-top: calc(36.9 * var(--u)); font-size: calc(40.9 * var(--u)); line-height: calc(46.6 * var(--u)); }

/* schedule: "The Day", a gold line with dots, doodles left, small-caps times and titles right */
.sec-schedule.v-doodle { min-height: calc(2160 * var(--u)); padding: calc(178 * var(--u)) 0 calc(110 * var(--u)); }
.decor-forever .fv-day-title { font-size: calc(142 * var(--u) * var(--eye)); color: var(--c-muted); }
.fv-tl { position: relative; margin: calc(131.6 * var(--u)) 0 0; padding: 0; list-style: none; }
.fv-tl::before { content: ""; position: absolute; left: calc(358 * var(--u)); top: calc(31.3 * var(--u)); bottom: calc(31.3 * var(--u)); width: calc(4 * var(--u)); background: var(--c-accent); }
.fv-tl li { position: relative; display: grid; grid-template-columns: calc(392 * var(--u)) 1fr; align-items: center; min-height: calc(294 * var(--u)); text-align: left; }
.fv-tl li::before { content: ""; position: absolute; left: calc(349 * var(--u)); top: 50%; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border: calc(3.4 * var(--u)) solid var(--c-accent); border-radius: 50%; background: var(--c-bg); translate: 0 -50%; }
.fv-ic { width: calc(150 * var(--u)); margin-left: calc(121 * var(--u)); color: var(--c-accent); }
.fv-ic svg { display: block; width: 100%; height: auto; }
.fv-tl li > div { padding-left: calc(52.5 * var(--u)); color: var(--c-muted); opacity: .85; }
.fv-tl time { display: block; font-family: "Alegreya Sans SC", var(--f-sans); font-size: calc(65.9 * var(--u)); line-height: calc(58.8 * var(--u)); text-transform: lowercase; }
.fv-tl b { display: block; font-family: "Alegreya SC", var(--f-serif); font-weight: 400; font-size: calc(65.9 * var(--u)); line-height: calc(76 * var(--u)); text-transform: lowercase; }
.fv-note { margin: calc(40 * var(--u)) calc(110 * var(--u)) 0; font-family: Cardo, var(--f-serif); font-size: calc(44 * var(--u)); color: var(--c-muted); }

/* details: faded photo, "The Details", blocks divided by a line with a little ring */
.sec-details.v-forever { min-height: calc(2160 * var(--u)); padding: calc(108 * var(--u)) 0 calc(108 * var(--u)); }
.fv-block { position: relative; z-index: 1; padding: 0 calc(40 * var(--u)); }
.fv-title + .fv-block { margin-top: calc(74.8 * var(--u)); }
.fv-block h3 { margin: 0; font-family: Cardo, var(--f-serif); font-weight: 400; font-size: calc(72 * var(--u)); line-height: 1.16; text-transform: uppercase; color: #000; }
.fv-title + .fv-block h3 { font-size: calc(68 * var(--u)); }
.fv-block p { max-width: calc(1000 * var(--u)); margin: calc(12 * var(--u)) auto 0; padding-block: calc(4.8 * var(--u)); font-family: Cardo, var(--f-serif); font-size: calc(48 * var(--u)); line-height: calc(48 * var(--u)); color: #000; }
.fv-title + .fv-block p { font-size: calc(44 * var(--u)); line-height: calc(44 * var(--u)); }
.fv-sep { position: relative; z-index: 1; display: block; width: calc(20 * var(--u)); height: calc(175.6 * var(--u)); margin: calc(22 * var(--u)) auto calc(12 * var(--u)); background: linear-gradient(#0C0C0C 0 0) top / calc(2 * var(--u)) calc(50% - 8 * var(--u)) no-repeat, linear-gradient(#0C0C0C 0 0) bottom / calc(2 * var(--u)) calc(50% - 8 * var(--u)) no-repeat; }
.fv-sep::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(16 * var(--u)); height: calc(16 * var(--u)); border: calc(2 * var(--u)) solid #0C0C0C; border-radius: 50%; translate: -50% -50%; }

/* the gold pill buttons (registry, RSVP, send) with a link in a white disc */
.fv-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: calc(432 * var(--u));
  height: calc(103.7 * var(--u));
  margin-top: calc(33.5 * var(--u));
  padding: 0 calc(24 * var(--u)) 0 calc(16 * var(--u));
  border: 0;
  border-radius: 999px;
  background: var(--fv-gold);
  color: #fff;
  font-family: Cardo, var(--f-serif);
  font-size: calc(54.9 * var(--u));
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.fv-link { display: grid; place-items: center; flex: none; width: calc(80 * var(--u)); height: calc(80 * var(--u)); margin-right: calc(-80 * var(--u)); border-radius: 50%; background: #fff; color: var(--fv-gold); }
.fv-link svg { width: calc(50 * var(--u)); height: calc(50 * var(--u)); }
.fv-pill > .fv-link + * , .fv-pill { text-align: center; }
.fv-pill { justify-content: center; }

/* rsvp: "Please", the gold floral RSVP letters, "by march", the reply and the thank-you */
.sec-rsvp.v-please { padding: 0; }
.fv-page { position: relative; min-height: calc(2160 * var(--u)); padding: calc(147.4 * var(--u)) 0 calc(56 * var(--u)); }
.decor-forever .fv-please { font-size: calc(161.8 * var(--u) * var(--eye)); }
.fv-letters { width: calc(899.8 * var(--u)); height: calc(899.8 * var(--u)); margin: calc(28.5 * var(--u)) auto 0; background: url("../assets/decor/forever/rsvp-letters.jpg") center / contain no-repeat; opacity: .85; mix-blend-mode: multiply; }
.decor-forever .fv-by { margin-top: calc(-58.9 * var(--u)); font-size: calc(131.1 * var(--u) * var(--eye)); }
.fv-big { max-width: calc(900 * var(--u)); margin: calc(167.9 * var(--u)) auto 0; padding-block: calc(7.6 * var(--u)); font-family: Cardo, var(--f-serif); font-size: calc(75.9 * var(--u)); line-height: calc(85 * var(--u)); text-transform: uppercase; color: #000; text-wrap: balance; }
.fv-ask { margin: calc(28.2 * var(--u)) calc(60 * var(--u)) 0; padding-block: calc(6.3 * var(--u)); font-family: Cardo, var(--f-serif); font-size: calc(62.7 * var(--u)); line-height: calc(62.7 * var(--u)); color: #000; }
.fv-page > .fv-pill { margin-top: calc(64.7 * var(--u)); font-size: calc(70.9 * var(--u)); }
.fv-formbox { padding: calc(40 * var(--u)) calc(130 * var(--u)) calc(120 * var(--u)); }
.rsvp-form.fv-form { max-width: none; gap: calc(44 * var(--u)); margin: 0; text-align: left; }
.fv-f { display: block; }
.fv-f > span { display: block; margin-bottom: calc(8 * var(--u)); font-family: Cardo, var(--f-serif); font-size: calc(32 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.rsvp-form.fv-form input:not([type="radio"]), .rsvp-form.fv-form select {
  padding: calc(14 * var(--u)) 0;
  border: 0;
  border-bottom: calc(2.5 * var(--u)) solid var(--c-line);
  border-radius: 0;
  background-color: transparent;
  color: #000;
  font-family: Cardo, var(--f-serif);
  font-size: max(16px, calc(46 * var(--u)));
  text-align: left;
  text-align-last: left;
}
.rsvp-form.fv-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23B08E52' stroke-width='1.4'/%3E%3C/svg%3E"); background-position: right center; padding-left: 0; }
.fv-choice { display: flex; gap: calc(24 * var(--u)); margin: 0; padding: 0; border: 0; }
.fv-choice label { flex: 1; cursor: pointer; }
.rsvp-form .fv-choice input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.fv-choice span { display: block; padding: calc(22 * var(--u)) calc(10 * var(--u)); border: calc(2.5 * var(--u)) solid var(--fv-gold); border-radius: 999px; font-family: Cardo, var(--f-serif); font-size: calc(38 * var(--u)); text-align: center; color: #000; }
.fv-choice input:checked + span { background: var(--fv-gold); color: #fff; }
.fv-choice input:focus-visible + span { outline: calc(3 * var(--u)) solid var(--c-accent); outline-offset: 3px; }
.fv-form .fv-pill { justify-self: center; margin-top: calc(10 * var(--u)); }
.fv-form .rsvp-done, .fv-form .rsvp-error, .fv-form .rsvp-privacy { text-align: center; color: var(--c-muted); }
.fv-form .rsvp-done { font-family: WindSong, var(--f-script); font-size: calc(96 * var(--u)); color: var(--c-ink); }
.fv-thanks { position: relative; height: calc(375 * var(--u)); }
.fv-thanks > .cv-div { position: absolute; left: 0; right: 0; top: 0; }
.fv-thanks > .cv-div:last-child { top: calc(347.9 * var(--u)); }
.fv-thanks::before { content: ""; position: absolute; left: calc(108 * var(--u)); top: calc(65.6 * var(--u)); width: calc(864 * var(--u)); height: calc(243.7 * var(--u)); background: url("../assets/decor/forever/brush.jpg") center / 100% 100% no-repeat; opacity: .62; mix-blend-mode: multiply; }
.decor-forever .fv-thanks .script { position: absolute; left: 0; right: 0; top: calc(97.6 * var(--u)); font-size: calc(129.2 * var(--u) * var(--eye)); }

/* the sections a couple can switch on that the Canva original did not have */
.decor-forever .sec:is(.sec-story, .sec-reminder) { padding-block: calc(160 * var(--u)); }
.decor-forever :is(.sec-story, .sec-reminder) .script { font-family: WindSong, var(--f-script); font-size: calc(144 * var(--u) * var(--eye)); }
.decor-forever :is(.sec-story, .sec-reminder) .lede { font-family: Cardo, var(--f-serif); font-style: normal; }

/* ═════════════ We Do ═════════════ */
.decor-wedo { --wd-tan: var(--c-tan, #B9A284); }
.wd-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wd-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 80%, var(--c-bg)); }
.decor-wedo .wd-wedo, .decor-wedo .wd-song, .decor-wedo .wd-cdt .t2 { font-family: WindSong, cursive; font-weight: 400; }
.wd-h2 { position: relative; z-index: 1; margin: 0; font-family: "Pinyon Script", var(--f-script); font-weight: 400; font-size: calc(166.2 * var(--u)); line-height: 1.2; color: var(--c-ink); }
.wd-sub { position: relative; z-index: 1; margin: calc(-31 * var(--u)) 0 0; font-family: Montserrat, var(--f-sans); font-size: calc(38.2 * var(--u)); line-height: 1.09; text-transform: uppercase; color: var(--c-accent); }
.wd-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(408.2 * var(--u));
  height: calc(80 * var(--u));
  margin-top: calc(21 * var(--u));
  border: 0;
  border-radius: calc(36 * var(--u));
  background: var(--wd-tan);
  box-shadow: calc(5 * var(--u)) calc(8 * var(--u)) calc(9 * var(--u)) rgb(0 0 0 / .25);
  color: #fff;
  font-family: "Cormorant Garamond", var(--f-serif);
  font-size: calc(40 * var(--u));
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

/* cover: photo fading into white, "We Do", the names shading from black to gold */
.sec-cover.v-wedo { min-height: calc(2160 * var(--u)); padding: 0; }
.sec-cover.v-wedo .cv-bgbox { bottom: auto; height: calc(1760 * var(--u)); }
.sec-cover.v-wedo .wd-fade { background: linear-gradient(to bottom, transparent 81%, var(--c-bg) 99%); }
.v-wedo .wd-wedo { position: absolute; z-index: 1; left: 0; right: 0; top: calc(1080 * var(--u)); margin: 0; font-size: calc(280 * var(--u) * var(--eye)); line-height: 1.2; white-space: nowrap; color: #fff; text-shadow: 0 0 calc(8 * var(--u)) rgb(80 60 40 / .28); }
.wd-info { position: relative; z-index: 1; }
.sec-cover .wd-info { padding: calc(1550.7 * var(--u)) 0 calc(110 * var(--u)); }
.wd-names { margin: 0; padding: 0 calc(30 * var(--u)); font-family: "Pinyon Script", var(--f-script); font-weight: 400; font-size: calc(188 * var(--u)); line-height: 1.2; white-space: nowrap; }
.wd-names span {
  background: linear-gradient(90deg, #120D06 8%, #3B2C14 34%, #8A6A2C 58%, #C29A4C 80%, #A37B30);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 calc(5 * var(--u)) calc(7 * var(--u)) rgb(60 40 20 / .22));
}
.wd-cap { margin: calc(-36 * var(--u)) 0 0; padding-left: .4em; font-family: Montserrat, var(--f-sans); font-size: calc(32 * var(--u)); line-height: 1.2; letter-spacing: .4em; text-transform: uppercase; color: var(--wd-tan); }
.wd-date { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: calc(54 * var(--u)); align-items: baseline; margin: calc(34.4 * var(--u)) 0 0; font-family: Montserrat, var(--f-sans); text-transform: uppercase; color: var(--c-ink); }
.wd-date span { font-size: calc(80 * var(--u)); line-height: 1.2; }
.wd-date span:first-child { text-align: right; }
.wd-date span:last-child { text-align: left; }
.wd-date b { font-weight: 400; font-size: calc(140 * var(--u)); line-height: 1.2; }
.wd-cap.wd-venue { margin-top: calc(-2 * var(--u)); font-family: Cardo, var(--f-serif); }

/* date: a photo fading into white, "Countdown to forever", the countdown */
.sec-date.v-wedo { min-height: calc(2160 * var(--u)); padding: 0; }
.sec-date.v-wedo .cv-bgbox { bottom: auto; height: calc(1700 * var(--u)); }
.sec-date.v-wedo .wd-fade { background: linear-gradient(to bottom, transparent 74%, var(--c-bg) 97%); }
.sec-date .wd-info { padding: calc(1663.8 * var(--u)) 0 calc(90 * var(--u)); }
.wd-cdt { margin: 0; white-space: nowrap; }
.wd-cdt .t1 { font-family: Montserrat, var(--f-sans); font-weight: 400; font-size: calc(66.6 * var(--u)); line-height: 1.2; color: var(--wd-tan); }
.wd-cdt .t2 { font-size: calc(129.3 * var(--u) * var(--eye)); line-height: 1.2; color: #000; }
.wd-count { --cdw: calc(150 * var(--u)); --cdf: calc(104 * var(--u)); --cdl: calc(25 * var(--u)); --cdg: calc(8 * var(--u)); --cds: var(--wd-tan); margin-top: calc(17 * var(--u)); }
.wd-cdn { margin: calc(24 * var(--u)) 0 0; font-family: Montserrat, var(--f-sans); font-size: calc(34 * var(--u)); color: var(--c-muted); }

/* music: the photo, a frosted panel with "Our Song", the title and a slim player */
.sec-music.v-wedo { min-height: calc(2160 * var(--u)); padding: 0; }
.wd-fade.low { background: linear-gradient(to bottom, transparent 88%, var(--c-bg)); }
.wd-panel { position: absolute; z-index: 1; left: calc(134.4 * var(--u)); top: calc(1643.3 * var(--u)); width: calc(811.1 * var(--u)); min-height: calc(474.1 * var(--u)); padding: calc(27.7 * var(--u)) 0 calc(34 * var(--u)); background: rgb(255 255 255 / .78); }
.decor-wedo .wd-song { margin: 0; font-size: calc(158.2 * var(--u) * var(--eye)); line-height: 1.2; color: var(--c-ink); }
.wd-title { margin: calc(30 * var(--u)) 0 0; font-family: "Cormorant Garamond", var(--f-serif); font-style: italic; font-size: calc(54.2 * var(--u)); line-height: 1.2; color: var(--c-ink); }
.wd-player { display: flex; align-items: center; gap: calc(22 * var(--u)); margin: calc(44 * var(--u)) calc(70 * var(--u)) 0; color: var(--c-ink); }
.wd-player .play { display: grid; place-items: center; flex: none; width: calc(76 * var(--u)); height: calc(76 * var(--u)); padding: 0; border: calc(2.5 * var(--u)) solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.wd-player .play svg { width: calc(34 * var(--u)); height: calc(34 * var(--u)); fill: currentColor; }
.wd-player .i-pause, .wd-player.playing .i-play { display: none; }
.wd-player.playing .i-pause { display: block; }
.wd-player .bar { position: relative; flex: 1; height: calc(5 * var(--u)); border-radius: 9px; background: rgb(86 71 44 / .2); cursor: pointer; }
.wd-player .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: currentColor; }
.wd-player .knob { position: absolute; left: 0; top: 50%; width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; background: currentColor; translate: none; }
.wd-player .times { font-family: Montserrat, var(--f-sans); font-size: calc(24 * var(--u)); white-space: nowrap; }

/* "The Details": date & time, location, registry, dress code — rows with an icon on the left */
.sec.v-wdrow { padding: 0 0 calc(81 * var(--u)); }
.sec-details.v-wdrow { padding-bottom: calc(213 * var(--u)); }
.wd-head { padding-top: calc(79.2 * var(--u)); }
.v-wdrow + .v-wdrow .wd-head { display: none; }
.wd-head + .wd-row { margin-top: calc(63.9 * var(--u)); }
.wd-row { display: grid; grid-template-columns: calc(331.6 * var(--u)) minmax(0, calc(690 * var(--u))); text-align: left; }
.wd-row + .wd-row { margin-top: calc(75.3 * var(--u)); }
.wd-ic { align-self: start; justify-self: center; translate: calc(27 * var(--u)) 0; width: var(--icw); margin-top: var(--icy); color: var(--c-muted); }
.wd-ic svg { display: block; width: 100%; height: auto; }
.r-date .wd-ic { --icw: calc(104.6 * var(--u)); --icy: calc(84.2 * var(--u)); }
.r-loc .wd-ic { --icw: calc(93.6 * var(--u)); --icy: calc(105.6 * var(--u)); }
.r-gift .wd-ic, .r-info .wd-ic { --icw: calc(115.7 * var(--u)); --icy: calc(86.4 * var(--u)); }
.r-dress .wd-ic { --icw: calc(93.6 * var(--u)); --icy: calc(41.7 * var(--u)); }
.wd-rt h3 { margin: 0; font-family: "Cormorant Garamond", var(--f-serif); font-weight: 700; font-size: calc(64 * var(--u)); line-height: 1.2; color: var(--c-ink); }
.wd-rt p { margin: calc(15 * var(--u)) 0 0; padding-block: calc(3 * var(--u)); font-family: "Cormorant Garamond", var(--f-serif); font-size: calc(60 * var(--u)); line-height: calc(66 * var(--u)); font-variant-numeric: oldstyle-nums; color: var(--c-ink); }

/* rsvp: "RSVP", the reply form, then the thank-you page */
.sec-rsvp.v-wedo { padding: 0; }
.wd-rsvp { position: relative; padding: calc(59.2 * var(--u)) 0 calc(200 * var(--u)); }
.wd-rsvp-h { font-family: "Cormorant Garamond", var(--f-serif); }
.wd-rsvp .wd-sub { margin-top: calc(-23 * var(--u)); color: var(--wd-tan); }
.wd-rsvp .wd-sub span { text-transform: none; color: var(--c-accent); }
.wd-rsvp > .wd-btn { margin-top: calc(37 * var(--u)); }
/* the site's standard reply form (sections.js rsvpForm) in We Do's look: white, tan hairlines */
.wd-rsvp .rsvp-form { max-width: none; gap: calc(26 * var(--u)); margin: calc(60 * var(--u)) calc(130 * var(--u)) 0; }
.wd-rsvp .rsvp-form :is(input, select, textarea) {
  border: calc(2.5 * var(--u)) solid var(--wd-tan);
  background-color: #fff;
  color: var(--c-ink);
  font-family: "Cormorant Garamond", var(--f-serif);
  font-size: max(16px, calc(44 * var(--u)));
}
.wd-rsvp .rsvp-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23AC8F5D' stroke-width='1.4'/%3E%3C/svg%3E"); }
.wd-rsvp .rsvp-form ::placeholder { color: var(--c-muted); }
.wd-rsvp .rsvp-form .wd-btn { justify-self: center; width: calc(480 * var(--u)); margin-top: calc(14 * var(--u)); }
.wd-rsvp .rsvp-done { font-family: "Pinyon Script", var(--f-script); font-size: calc(80 * var(--u)); color: var(--c-ink); }
.wd-rsvp :is(.rsvp-error, .rsvp-privacy) { color: var(--c-muted); }
.wd-thanks { position: relative; min-height: calc(2160 * var(--u)); padding-top: calc(84.9 * var(--u)); }
.wd-thanks > .cv-div { position: absolute; z-index: 3; left: 0; right: 0; top: calc(-14 * var(--u)); }
.wd-thanks .cv-bgbox::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(255 255 255 / .35), transparent 28%); }
.wd-thanks .wd-h2 { font-size: calc(162.2 * var(--u)); }
.wd-for { position: relative; z-index: 1; margin: calc(-31.8 * var(--u)) 0 0; font-family: Montserrat, var(--f-sans); font-size: calc(46.2 * var(--u)); line-height: 1.2; color: var(--c-ink); }
.wd-sign { position: relative; z-index: 1; margin: calc(18.3 * var(--u)) 0 0; font-family: "Pinyon Script", var(--f-script); font-size: calc(78.2 * var(--u)); line-height: 1.2; color: var(--c-gold, #B18E50); }

/* ═════════════ the printed envelope (render.js, envelopes.js "printed") ═════════════
   One photo of the sealed envelope on a 1:2 stage (a Canva page); the names are printed on
   it like the Canva originals' first page; the tap slides it away like turning the page. */
.gate.printed .gate-stage { --w: min(100vw, 50svh); aspect-ratio: 1 / 2; -webkit-mask: none; mask: none; }
@media (max-aspect-ratio: 3/5) { .gate.printed .gate-stage { --w: max(100vw, 50svh); } }
.gate-print { position: absolute; inset: 0; pointer-events: none; color: #82705D; transition: opacity .4s; }
.gate-print small, .gate-print b { position: absolute; left: 0; right: 0; text-align: center; }
.gate-print small { top: var(--gp-head, 30.5%); font-family: var(--gp-head-font, var(--f-sans)); font-size: calc(var(--w) * .048); line-height: 1.2; text-transform: uppercase; }
.gate-print b {
  top: var(--gp-names, 37%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--gp-names-font, var(--f-script));
  font-weight: 400;
  font-size: calc(var(--w) * var(--gp-size, .148) * var(--nl));
  line-height: var(--gp-lh, 1.06);
}
.gate-print b span {
  padding: 0 .15em;
  background: linear-gradient(105deg, #24190A 22%, #6E4F1C 46%, #C29A42 70%, #A57A28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gate.printed .gate-hint { top: var(--gp-hint, 86.3%); opacity: .85; font-family: Montserrat, var(--f-sans); font-weight: 400; font-size: calc(var(--w) * .0556); letter-spacing: 0; text-transform: none; color: #82705D; }
.gate.design-forever { --gp-head-font: "Libre Baskerville", serif; --gp-names-font: Italianno, cursive; }
.gate.design-we-do { --gp-head: 31.8%; --gp-head-font: Montserrat, sans-serif; --gp-names: 36.1%; --gp-names-font: "Pinyon Script", cursive; --gp-size: .163; --gp-lh: .91; --gp-hint: 91.7%; }
.gate.printed.open { background: transparent; }
.gate.printed.open .gate-blur { opacity: 0; }
.gate.printed.open .gate-stage { transform: translate(-50%, -160%); transition: transform .95s cubic-bezier(.6, 0, .3, 1); }
@media (prefers-reduced-motion: reduce) { .gate.printed.open .gate-stage { transition: none; } }

/* fixes after the first side-by-side check (shared .player / .countdown styles leaked in) */
.player.fv-player, .player.wd-player { max-width: none; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.player.wd-player { margin: calc(44 * var(--u)) calc(70 * var(--u)) 0; }
.cv-count .cd { min-width: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.cv-count .cd::before, .cv-count .cd::after { content: none; }
.cv-count strong, .cv-count small, .cv-count > i { font-family: "Open Sans", system-ui, sans-serif; letter-spacing: 0; }
.decor-forever .fv-pin { color: var(--fv-gold); }
/* Allura runs wider than Canva's Benedict: smaller, and brighter so the glow reads like neon */
.fv-names { font-size: calc(150 * var(--u)); color: #EADBC0; text-shadow: 0 0 calc(6 * var(--u)) #FFE3A8, 0 0 calc(20 * var(--u)) rgb(255 200 110 / .75), 0 0 calc(44 * var(--u)) rgb(255 180 80 / .45); }
/* pills: white text (beats `.sec a`), the disc on the left, the word centred in what is left */
.decor-forever .fv-pill { justify-content: space-between; color: #fff; }
.decor-forever .fv-pill::after { content: ""; flex: none; width: 0; }
.fv-link { margin-right: 0; }
/* the doodles a little larger, drawn finer, centred on x = 196 like Canva's */
.fv-ic { width: calc(186 * var(--u)); margin-left: calc(103 * var(--u)); }
.fv-ic svg { stroke-width: 2.2; }
/* the watercolour stroke greyer, like Canva's at 49% */
.fv-thanks::before { opacity: .7; filter: saturate(.55); }
.fv-f.rp-guests > span { font-style: normal; }
/* WindSong set to the width of Canva's Eyesome words, one by one (measured side by side) */
.v-forever .fv-forever { --eye: .94; }
.sec-details.v-forever .fv-title { --eye: .73; }
.decor-forever .fv-please { --eye: .72; }
.decor-forever .fv-by { --eye: .9; }
.v-wedo .wd-wedo { --eye: .8; }
.wd-cdt .t2 { --eye: .94; }
/* "The Details" rows: only the first section carries the heading, so only its first row keeps
   the gap under it (the hidden heading of the next sections must not add it again) */
.v-wdrow + .v-wdrow .wd-head + .wd-row { margin-top: 0; }
/* the countdown photo covers the whole page, as in Canva, fading into white at the bottom */
.sec-date.v-wedo .cv-bgbox { height: auto; bottom: 0; }
.sec-date.v-wedo .wd-fade { background: linear-gradient(to bottom, transparent 66%, var(--c-bg) 80%); }
/* the printed names: the ampersand in the names' own script (not the page's serif .amp) */
.gate-print .amp { display: block; margin: 0; font-family: inherit; font-style: normal; font-size: inherit; line-height: inherit; color: inherit; }
.gate.design-forever { --gp-size: .2; --gp-lh: .84; --gp-names: 36%; }
.decor-wedo .wd-btn { color: #fff; } /* beats .sec a { color: inherit } */
/* the gold is painted only inside each name's box: give swashes and descenders room */
.gate-print b span { padding: .12em .2em .3em; margin: -.12em 0 -.3em; }
.gate-print b .amp { margin: -.12em 0 -.3em; background-image: linear-gradient(105deg, #6A4C18 20%, #B08A3A 60%, #C9A24C); }

/* owner's review, 2026-11-19 */
/* Forever: the RSVP pill is a heading over the form (no link, no chain); "Send reply" on one line */
.decor-forever .fv-pill.fv-tag, .decor-forever .fv-pill.fv-send { justify-content: center; padding: 0 calc(30 * var(--u)); }
.decor-forever .fv-pill:is(.fv-tag, .fv-send)::after { content: none; }
.fv-tag { cursor: default; letter-spacing: .06em; }
.fv-page > .fv-tag { font-size: calc(64 * var(--u)); }
.fv-form .fv-send { width: calc(470 * var(--u)); font-size: calc(46 * var(--u)); letter-spacing: .08em; white-space: nowrap; }
.rsvp-form.fv-form textarea { min-height: 0; padding: calc(14 * var(--u)) 0; border: 0; border-bottom: calc(2.5 * var(--u)) solid var(--c-line); border-radius: 0; background: transparent; color: #000; font-family: Cardo, var(--f-serif); font-size: max(16px, calc(44 * var(--u))); text-align: left; }
.fv-f > span i { font-style: normal; text-transform: none; letter-spacing: 0; }
/* We Do: two calendar buttons, iPhone and Android, side by side in the Date & Time row */
.wd-cal { display: flex; flex-wrap: wrap; gap: calc(22 * var(--u)); margin-top: calc(21 * var(--u)); }
.wd-cal .wd-btn { width: calc(320 * var(--u)); margin-top: 0; font-size: calc(38 * var(--u)); }
/* the standard form's submit in We Do's button look (not the shared .btn caps) */
.wd-rsvp .rsvp-form .btn.wd-btn { width: calc(480 * var(--u)); height: calc(80 * var(--u)); padding: 0; border: 0; border-radius: calc(36 * var(--u)); background: var(--wd-tan); color: #fff; font-family: "Cormorant Garamond", var(--f-serif); font-size: calc(40 * var(--u)); font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; }
