/* pink-clouds: a friendly script for the name and the headings, pillowy cards, no paper grain.
   The <html> carries .tpl-pink-clouds. */
.tpl-pink-clouds {
  --eyebrow: var(--accent);
  --radius: 24px; --radius-sm: 15px;
  --font-mono-latin: var(--font-display);   /* countdown digits in the rounded display face */
  font-synthesis: none;                      /* the scripts have one weight: no faux bold or italics */
  /* A cloud silhouette for the heading plaques: gen_art.plaque_d(15, 18, 185, 82, 32, 14). */
  --pc-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M114.7,18 A14.7,14.7 0 0,1 144.2,18 A14.4,14.4 0 0,1 172.3,24.5 A14.2,14.2 0 0,1 185,50 A14.2,14.2 0 0,1 172.3,75.5 A14.4,14.4 0 0,1 144.2,82 A14.7,14.7 0 0,1 114.7,82 A14.7,14.7 0 0,1 85.3,82 A14.7,14.7 0 0,1 55.8,82 A14.4,14.4 0 0,1 27.7,75.5 A14.2,14.2 0 0,1 15,50 A14.2,14.2 0 0,1 27.7,24.5 A14.4,14.4 0 0,1 55.8,18 A14.7,14.7 0 0,1 85.3,18 A14.7,14.7 0 0,1 114.7,18Z'/%3E%3C/svg%3E");
}
.tpl-pink-clouds .grain { display: none; }

/* The name in the script; the age line a step smaller in the rounded face. */
.tpl-pink-clouds .hero__name { font-style: normal; font-weight: 600; text-shadow: none; }
.tpl-pink-clouds .hero__names > .hero__name:first-child { font-family: var(--font-script); font-weight: 400; line-height: 1.3; color: var(--accent); }
.tpl-pink-clouds .hero__names > .hero__name:last-child { font-size: clamp(1.9rem, 9vw, 2.6rem); }
.tpl-pink-clouds[lang="ar"] .hero__names > .hero__name:first-child { font-weight: 600; line-height: 1.5; }
.tpl-pink-clouds[lang="ar"] .hero__names > .hero__name:last-child { font-size: clamp(1.6rem, 7.5vw, 2.1rem); }
.tpl-pink-clouds .hero__joiner { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.3; margin-block: .1em .15em; }

/* Headings stay in the script, a size down so a long one fits a phone. */
.tpl-pink-clouds .sec__title { font-size: var(--step-4); line-height: 1.3; }
.tpl-pink-clouds[lang="ar"] .sec__title { font-size: var(--step-3); font-weight: 600; line-height: 1.6; }
.tpl-pink-clouds :is(.cover__names, .dress__title, .countdown__today) { font-size: var(--step-4); line-height: 1.3; }
.tpl-pink-clouds[lang="ar"] :is(.cover__names, .dress__title, .countdown__today) { font-size: var(--step-3); font-weight: 600; line-height: 1.6; }
.tpl-pink-clouds :is(.timeline__note, .venue__city, .dress__note, .countdown__label, .footer__names, .rsvp__thanks-title) { font-style: normal; }
.tpl-pink-clouds :is(.countdown__num, .venue__name, .timeline__title, .transport__mode) { font-weight: 600; }

/* Each heading sits on a cloud plaque, as on the board. The cloud is a mask, so it takes the
   palette: white on top, the palette's own colour as the shade beneath it. */
.tpl-pink-clouds .sec__head { position: relative; isolation: isolate; padding: 1.7rem 2.2rem 1.5rem; }
.tpl-pink-clouds .sec__head::before, .tpl-pink-clouds .sec__head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--pc-cloud) center / 100% 100% no-repeat; mask: var(--pc-cloud) center / 100% 100% no-repeat;
}
.tpl-pink-clouds .sec__head::before { z-index: -2; background: var(--art-petal); transform: translateY(5px); }
.tpl-pink-clouds .sec__head::after { z-index: -1; background: var(--art-white); }
.tpl-pink-clouds .sec__head .rule { width: 110px; }

/* Cards: rounded and pillowy, a soft tinted shadow. */
.tpl-pink-clouds .card {
  border: 1.5px solid color-mix(in srgb, var(--art-petal) 75%, var(--line));
  box-shadow: 0 5px 0 var(--art-petal-2), 0 18px 36px -16px color-mix(in srgb, var(--art-bloom-2) 45%, transparent);
}
.tpl-pink-clouds .btn { font-weight: 700; }

/* The monogram pressed into the gold wax: dark enough to read on it. */
.tpl-pink-clouds .envelope__seal > span { font-style: normal; font-weight: 600; font-size: .95rem; color: color-mix(in srgb, var(--art-leaf-dk2) 45%, var(--ink)); }

/* Gift box cover: room for the bow's loops, which stand taller than the box's own margin. */
.tpl-pink-clouds .cover--giftbox .gift { margin-top: calc(var(--sp-8) + 1.6rem); }
