/* eighties-love-story: the pages are cream paper, but the cover and the names sit on a
   night scene (drawn with the dark art tokens), so the words there are lit like neon.
   The <html> carries .tpl-eighties-love-story. */
.tpl-eighties-love-story {
  --neon: 0 0 .08em var(--art-bloom), 0 0 .4em var(--art-bloom), 0 0 1em color-mix(in srgb, var(--art-bloom-2) 70%, transparent);
  font-synthesis: none;                        /* the script has one weight and no italic */
}

/* --- cover: night behind, light words, the names a neon sign --------------------------- */
/* Not on the gates cover: there the words sit on the shared paper panel and stay dark. */
.tpl-eighties-love-story .cover { background: var(--art-leaf-dk2); }
.tpl-eighties-love-story .cover:not(.cover--gates) .cover__names { color: var(--art-petal-2); text-shadow: var(--neon); }
.tpl-eighties-love-story .cover:not(.cover--gates) .cover__hint { color: var(--art-paper-3); }
.tpl-eighties-love-story .cover:not(.cover--gates) .cover__emblem :is(.e-line, .e-fine, .e-dots) { stroke: var(--art-line); }
.tpl-eighties-love-story .cover:not(.cover--gates) .cover__emblem .e-init { fill: var(--art-line-hi); }
/* The lantern cover hangs its own mirror balls, so the one in the picture steps out. */
.tpl-eighties-love-story .cover--lantern .cover__bg .ball { display: none; }
/* The envelope is lined with the four stripes; the monogram reads dark on the gold seal. */
.tpl-eighties-love-story .envelope__back {
  background: repeating-linear-gradient(-45deg, var(--art-leaf-dk) 0 11px, var(--art-bloom-2) 11px 22px,
    var(--art-leaf) 22px 33px, var(--art-leaf-lt) 33px 44px);
  box-shadow: 0 30px 70px rgb(0 0 0 / .45), 0 0 60px var(--glow);
}
.tpl-eighties-love-story .envelope__seal > span { color: var(--art-deep); font-weight: 600; }

/* --- hero: the names in the script, glowing inside the neon arch ------------------------ */
/* The torn paper in front is the way out of the night, so the usual fade to the page goes. */
.tpl-eighties-love-story .sec--hero::after { display: none; }
.tpl-eighties-love-story .hero__side { display: none; }      /* one sign, one cassette */
/* The frame stands just above the torn edge, which is an eighth of the screen high. */
.tpl-eighties-love-story .hero__content { padding-bottom: 13svh; }
/* The words sit in the opening of the arch; the cassette has the bottom third. */
.tpl-eighties-love-story .hero__text { padding: 2% 11% 38%; gap: .4rem; }
.tpl-eighties-love-story .hero__eyebrow { max-width: 13em; color: var(--art-line-hi); text-wrap: balance; }
.tpl-eighties-love-story[lang="ar"] .hero__eyebrow { font-size: var(--step-0); }
.tpl-eighties-love-story .hero__name {
  font-family: var(--font-script); font-style: normal; font-weight: 400; line-height: 1.12;
  font-size: clamp(2.2rem, 11.4vw, 3.3rem); color: var(--art-petal-2); text-shadow: var(--neon);
}
.tpl-eighties-love-story[lang="ar"] .hero__name { font-size: clamp(2rem, 10.4vw, 3rem); line-height: 1.3; }
.tpl-eighties-love-story .hero__joiner { font-size: var(--step-2); color: var(--art-leaf-lt); }
.tpl-eighties-love-story .hero__date { color: var(--art-paper-2); }
.tpl-eighties-love-story .hero__rule :is(path, circle) { stroke: var(--art-line); }
.tpl-eighties-love-story .hero__rule .rule__d { fill: var(--art-line); }
@media (min-width: 960px) {
  /* On a wide screen the frame hangs from the section's top padding: keep its foot above
     the torn edge on short windows, and the ball clear of the top of the arch. */
  .tpl-eighties-love-story .hero__frame { width: min(470px, calc((85.6svh - 126px) * 300 / 468)); }
  .tpl-eighties-love-story .hero__chandelier { width: 140px; }
}

/* --- pages: headings on a torn paper label, sturdier type ------------------------------- */
.tpl-eighties-love-story .sec__title {
  padding: .2em .8em .32em; line-height: 1.25; font-size: clamp(2rem, 9.4vw, 2.9rem);
  background: var(--art-paper-3); rotate: -2deg;
  clip-path: polygon(1.6% 7%, 97.8% 0, 100% 21%, 98.4% 41%, 99.7% 63%, 98% 81%, 99.4% 100%, 2.2% 95%, .3% 77%, 1.9% 57%, 0 39%, 1.5% 20%);
}
.tpl-eighties-love-story[lang="ar"] .sec__title { font-size: clamp(1.7rem, 8vw, 2.4rem); line-height: 1.7; }
.tpl-eighties-love-story :is(.venue__name, .timeline__title, .transport__mode, .countdown__label, .countdown__num) { font-weight: 600; }
.tpl-eighties-love-story :is(.rsvp__q, .footer__names) { font-family: var(--font-script); }
.tpl-eighties-love-story .footer__closing { opacity: .9; }
