/* ============================================================
   Hardik & Nandini — Layered Invitation
   Cloned from templates/shruti-utkarsh (itself a clone of
   ashish-priyanshi). Scene artwork comes from those PSDs, positioned
   at their original coordinates as % of each 1080 px-wide canvas;
   every readable string is live HTML from template-texts.js.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Type follows ashish-priyanshi: a copperplate script for names and titles,
   a Garamond for everything else. Both OFL (see assets/fonts/OFL-*.txt). */
@font-face {
  font-family: "HN Pinyon";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/pinyon-script-latin-400.woff2") format("woff2");
}

/* Pinyon's own "&" barely reads as one; borrow EB Garamond italic's. */
@font-face {
  font-family: "HN Pinyon";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/eb-garamond-latin-italic-var.woff2") format("woff2");
  unicode-range: U+0026;
}

@font-face {
  font-family: "HN Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/eb-garamond-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: "HN Garamond";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/eb-garamond-latin-italic-var.woff2") format("woff2");
}

@font-face {
  font-family: "HN Tiro Devanagari";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* OFL (assets/fonts/OFL-tiro-devanagari-sanskrit.txt), subset to the
     cover's shloka + blessing lines. Re-subset if that Devanagari copy changes. */
  src: url("assets/fonts/tiro-devanagari-sanskrit-hn.woff2") format("woff2");
}

:root {
  --hn-script: "HN Pinyon", "Snell Roundhand", cursive;
  --hn-serif: "HN Garamond", Garamond, Georgia, "Times New Roman", serif;
  --hn-deva: "HN Tiro Devanagari", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: #d2e6ed;
  color: #1f3f48;
}

@supports (height: 100svh) {
  body {
    min-height: 100svh;
  }
}

.invite {
  --viewport-height: 100vh;
  --stage-width: min(100vw, calc(var(--viewport-height) * 1080 / 1920), 540px);
  --motion-fast: 180ms;
  --motion-medium: 480ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  min-height: var(--viewport-height);
}

@supports (height: 100svh) {
  .invite {
    --viewport-height: 100svh;
  }
}

.slide {
  display: flex;
  justify-content: center;
}

.stage {
  position: relative;
  width: var(--stage-width);
  overflow: hidden;
  background: #d2e6ed;
  isolation: isolate;
  contain: layout paint style;
}

.stage--cover {
  aspect-ratio: 1080 / 3840;
}

.stage--bhaat,
.stage--sangeet,
.stage--haldi,
.stage--wedding,
.stage--rsvp {
  aspect-ratio: 1080 / 1920;
}

.stage--scratch {
  aspect-ratio: 1080 / 1920;
}

.stage--last {
  aspect-ratio: 1080 / 1920;
}

.ly {
  position: absolute;
  display: block;
  /* left / top / width / height set inline per layer from PSD bbox */
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.template-text {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color, #24431d);
  font-family: var(--text-font, var(--hn-serif));
  font-size: var(--text-size, calc(var(--stage-width) * 0.038));
  font-weight: var(--text-weight, 500);
  font-style: var(--text-style, normal);
  letter-spacing: var(--text-letter-spacing, 0);
  line-height: var(--text-line-height, 1.08);
  text-align: center;
  overflow: visible;
  white-space: pre-line;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.template-text--script {
  --text-font: var(--hn-script);
  --text-weight: 400;
  --text-line-height: 0.92;
}

.template-text--serif {
  --text-font: var(--hn-serif);
  --text-weight: 500;
}

.template-text--scratch-label {
  --text-color: #c1446c;
  --text-size: calc(var(--stage-width) * 0.023);
  --text-weight: 400;
}

.template-text-block {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.scratch-date-card {
  position: absolute;
  left: 19.8148%;
  top: 32.2396%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60.3704%;
  height: 7.3958%;
  border-radius: calc(var(--stage-width) * 0.024);
  background: #fff;
  color: #c1446c;
  font-family: var(--hn-serif);
  font-size: clamp(1.35rem, calc(var(--stage-width) * 0.052), 2rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.live-countdown {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.countdown-value {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c1446c;
  font-family: var(--hn-serif);
  font-size: clamp(0.85rem, calc(var(--stage-width) * 0.043), 1.45rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.countdown-value--days {
  font-size: clamp(0.85rem, calc(var(--stage-width) * 0.044), 1.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scratch-canvas {
  position: absolute;
  z-index: 2;
  display: block;
  cursor: grab;
  touch-action: none;
  transition:
    opacity var(--motion-medium) var(--ease-standard),
    transform var(--motion-fast) var(--ease-standard);
  user-select: none;
  will-change: transform, opacity;
}

.scratch-canvas:active,
.scratch-canvas.is-scratching {
  cursor: grabbing;
  transform: scale(0.992);
}

.scratch-canvas:focus-visible {
  outline: 4px solid rgba(176, 70, 108, 0.9);
  outline-offset: 6px;
}

.stage--scratch.is-scratch-complete .scratch-canvas {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scratch-canvas {
    transition: none;
  }
}

/* ============================================================
   Send your blessings — a tap-to-bless "altar" slide.
   Static layout & appearance live here; motion is in animations.css.
   ============================================================ */
.stage--blessings {
  aspect-ratio: 1080 / 1920;
  background: radial-gradient(
    120% 80% at 50% 26%,
    #fdf7ec 0%,
    #fbefdd 42%,
    #f7e0c9 74%,
    #f3d2c2 100%
  );
}

/* Positioning context so the controls overlay sits exactly on the stage. */
.bless-frame {
  position: relative;
  width: var(--stage-width);
}

/* Soft halo behind the monogram (the blessing "target"). */
.bless-halo {
  position: absolute;
  left: 50%;
  top: 17.75%;
  width: 54%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 224, 158, 0.55) 0%,
    rgba(255, 214, 150, 0.22) 42%,
    rgba(255, 214, 150, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.bless-monogram {
  z-index: 1;
}

.bless-garland {
  z-index: 0;
}

/* Overlay holds the accessible controls; only the controls catch input,
   so vertical scrolling still passes through everywhere else. */
.bless-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.bless-panel {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  width: min(90%, 384px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: calc(var(--stage-width) * 0.032);
}

.bless-title {
  margin: 0;
  font-family: "AP Playfair", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  font-size: clamp(1.5rem, calc(var(--stage-width) * 0.076), 2.3rem);
  color: #9c2f53;
}

.bless-hint {
  margin: 0;
  margin-top: calc(var(--stage-width) * -0.014);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(0.72rem, calc(var(--stage-width) * 0.03), 0.92rem);
  color: #7a5a48;
}

.bless-tray {
  display: flex;
  align-items: flex-start;
  gap: 1.6%;
  width: 100%;
  margin-top: calc(var(--stage-width) * 0.004);
}

.bless-token {
  pointer-events: auto;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Cream double-ring frame around each token illustration. */
.bless-token__disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: clamp(48px, calc(var(--stage-width) * 0.168), 86px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fffdf8 0%, #fdf4e3 68%, #f5e6cf 100%);
  border: 1px solid rgba(196, 158, 96, 0.55);
  box-shadow:
    0 5px 14px rgba(150, 95, 60, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.bless-token__disc::after {
  content: "";
  position: absolute;
  inset: 7.5%;
  border-radius: 50%;
  border: 1px solid rgba(196, 158, 96, 0.4);
  pointer-events: none;
}

.bless-token__art {
  display: block;
  width: 68%;
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(120, 70, 40, 0.16));
}

.bless-token__label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.55rem, calc(var(--stage-width) * 0.0265), 0.74rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #7a4b39;
  text-align: center;
}

.bless-token:focus-visible {
  outline: none;
}

.bless-token:focus-visible .bless-token__disc {
  outline: 3px solid rgba(193, 68, 108, 0.85);
  outline-offset: 3px;
}

.bless-send {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--stage-width) * 0.018);
  width: 100%;
  margin-top: calc(var(--stage-width) * 0.024);
}

/* Wish field: a feather quill marks "write a note". */
.bless-wishbox {
  display: flex;
  align-items: center;
  gap: 0.55em;
  width: 100%;
  padding: 0.12em 0.95em;
  border: 1px solid rgba(196, 158, 96, 0.55);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: inset 0 1px 2px rgba(150, 110, 70, 0.08);
}

.bless-wishbox:focus-within {
  border-color: rgba(193, 68, 108, 0.7);
  box-shadow: 0 0 0 2px rgba(193, 68, 108, 0.16);
}

.bless-wishbox__icon {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  color: #b98a3e;
}

.bless-wish {
  pointer-events: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.62em 0;
  border: 0;
  background: transparent;
  color: #5a3c2c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.84rem, calc(var(--stage-width) * 0.036), 1.05rem);
  text-align: left;
}

.bless-wish::placeholder {
  color: #7d5c46;
}

.bless-wish:focus {
  outline: none;
}

/* Share is the SECONDARY action — a quiet outline button, so the
   token row stays the hero. Only the WhatsApp glyph carries colour. */
.bless-share {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.6em 1em;
  border: 1px solid rgba(150, 112, 66, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #6b4a3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.82rem, calc(var(--stage-width) * 0.038), 1.02rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  touch-action: manipulation;
}

.bless-share__icon {
  flex: none;
  width: 1.3em;
  height: 1.3em;
}

.bless-share__label {
  white-space: nowrap;
}

.bless-share:focus-visible {
  outline: 2px solid rgba(193, 68, 108, 0.9);
  outline-offset: 3px;
}

.bless-thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.74rem, calc(var(--stage-width) * 0.032), 0.95rem);
  color: #7a4b39;
}

.bless-thanks[hidden] {
  display: none;
}

.bless-thanks__icon {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  color: #d98a86;
}

.bless-thanks__n {
  color: #e0645a;
  font-weight: 700;
}

/* ============================================================
   Hardik & Nandini — live text
   One type system for every slide, modelled on ashish-priyanshi:
   Pinyon (script) for names + ceremony titles, EB Garamond for
   everything else. Sizes are fractions of the stage width (--u), so
   type scales with the 1080 px design canvas. Each text block sits in
   a column measured clear of the side florals.
   ============================================================ */

.invite {
  --u: calc(var(--stage-width) / 100);
  --hn-rose: #c4476e;
  --hn-leaf: #2d4a1f;
  --hn-olive: #5b6932;
}

/* Zero-specificity reset, so each component's own margins always win. */
:where(h1.template-text, .event-copy h2, .event-copy p, .rsvp-copy h2, .rsvp-copy p,
  .last-copy h2, .last-copy h3, .last-copy p, .cover-ceremony-copy p) {
  margin: 0;
}

.template-text--devanagari {
  --text-font: var(--hn-deva);
  --text-weight: 400;
}

/* ---- Cover hero ---- */
.template-text--cover-shloka {
  --text-color: var(--hn-leaf);
  --text-size: calc(var(--u) * 3.5);
  --text-line-height: 1.5;
}

.template-text--cover-logo-names {
  flex-direction: column;
  gap: calc(var(--u) * 0.6);
  color: var(--hn-rose);
  font-family: var(--hn-serif);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.hero-names__name {
  color: var(--hn-rose);
  font-size: calc(var(--u) * 9);
  letter-spacing: 0.14em;
  margin-right: -0.14em; /* optical centring: cancel the trailing letter-space */
  text-transform: uppercase;
}

.hero-names__joiner {
  color: var(--hn-olive);
  font-size: calc(var(--u) * 7.5);
  font-style: italic;
  line-height: 1;
}

.template-text--cover-hashtag {
  --text-color: var(--hn-leaf);
  --text-size: calc(var(--u) * 5.4);
  --text-weight: 500;
}

.template-text--cover-date {
  --text-color: var(--hn-leaf);
  --text-size: calc(var(--u) * 3.3);
  --text-weight: 500;
  --text-line-height: 1.6;
  --text-letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- Cover invitation ---- */
.cover-ceremony-copy {
  justify-content: flex-start;
  color: var(--hn-leaf);
  font-family: var(--hn-serif);
  font-size: calc(var(--u) * 3.6);
  font-weight: 400;
  line-height: 1.3;
}

.cover-ceremony-copy > span {
  display: block;
  max-width: 100%;
  text-wrap: balance;
  white-space: pre-line;
}

.cover-ceremony-copy__mantra,
.cover-ceremony-copy__blessing {
  font-family: var(--hn-deva);
  line-height: 1.5;
}

.cover-ceremony-copy__mantra {
  font-size: calc(var(--u) * 3.1);
  margin-bottom: calc(var(--u) * 1.6);
}

.cover-ceremony-copy__blessing {
  font-size: calc(var(--u) * 3.5);
  margin-bottom: calc(var(--u) * 3.6);
}

.cover-ceremony-copy__host {
  color: var(--hn-rose);
  font-size: calc(var(--u) * 4.2);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: calc(var(--u) * 1.4);
}

.cover-ceremony-copy__invite {
  margin-bottom: calc(var(--u) * 2.4);
}

.cover-ceremony-copy__name {
  color: var(--hn-rose);
  font-family: var(--hn-script);
  font-size: calc(var(--u) * 11.5);
  line-height: 1.15;
}

.cover-ceremony-copy__family {
  font-size: calc(var(--u) * 3.1);
  font-style: italic;
  line-height: 1.35;
}

.cover-ceremony-copy__connector {
  margin: calc(var(--u) * 2.6) 0 0;
  font-size: calc(var(--u) * 3.6);
  font-style: italic;
}

/* ---- Scratch slide ---- */
.template-text--scratch-tagline,
.template-text--scratch-countdown {
  --text-color: var(--hn-olive);
  --text-weight: 500;
  --text-letter-spacing: 0.24em;
  --text-line-height: 1.45;
  text-transform: uppercase;
}

.template-text--scratch-tagline {
  --text-size: calc(var(--u) * 3.1);
}

.template-text--scratch-countdown {
  --text-size: calc(var(--u) * 3.3);
}

.template-text--scratch-names {
  --text-color: var(--hn-olive);
  --text-size: calc(var(--u) * 9);
  white-space: nowrap;
  --text-line-height: 1.2;
}

/* ---- Event slides ----
   Four groups — date, title, time, venue — each separated by clear space,
   lines inside a group kept close. --s scales a whole block, so slides with
   less clear sky (Haldi, Baraat) shrink the type, never the spacing. */
.event-copy {
  --s: 1; /* type scale */
  --g: 4.4; /* space between groups, in stage units */
  --e: calc(var(--u) * var(--s));
  --gap: calc(var(--u) * var(--g));
  --ev-title: var(--hn-rose);
  --ev-ink: var(--hn-leaf);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ev-ink);
  font-family: var(--hn-serif);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.event-copy--lagan {
  --s: 1.06;
  --g: 5;
}

.event-copy--haldi {
  --s: 0.95;
  --g: 3;
}

.event-copy--sangeet {
  --s: 0.92;
  --g: 3.2;
}

.event-copy--wedding {
  --s: 0.9;
  --g: 2.8;
}

.event-copy--sangeet,
.event-copy--wedding {
  --ev-title: #fffaf0;
  --ev-ink: #fffaf0;
  text-shadow: 0 1px calc(var(--u) * 1.2) rgba(0, 0, 0, 0.3);
}

.event-copy--wedding {
  --ev-title: #f6e3b4;
}

.event-copy__weekday {
  font-size: calc(var(--e) * 2.9);
  font-weight: 500;
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  text-transform: uppercase;
}

.event-copy__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--e) * 2.6);
  margin-top: calc(var(--u) * 1);
}

.event-copy__rule {
  width: calc(var(--e) * 8);
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.event-copy__day {
  font-size: calc(var(--e) * 9);
  font-weight: 500;
  line-height: 1;
}

.event-copy__day sup {
  margin-left: 0.04em;
  font-size: 0.32em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 1.3em;
  line-height: 0;
}

.event-copy__month {
  margin-top: calc(var(--u) * 1);
  font-size: calc(var(--e) * 3.1);
  font-weight: 600;
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  text-transform: uppercase;
}

.event-copy__title {
  margin-top: var(--gap);
  color: var(--ev-title);
  font-family: var(--hn-script);
  font-size: calc(var(--e) * 10);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.event-copy__time {
  margin-top: var(--gap);
  font-size: calc(var(--e) * 4.4);
  font-weight: 500;
}

.event-copy__note {
  margin-top: calc(var(--u) * 0.6);
  font-size: calc(var(--e) * 3.5);
  font-style: italic;
}

.event-copy__venue,
.event-copy__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 0.6);
  margin-top: var(--gap);
  text-wrap: balance;
}

.event-copy__venue-name {
  font-size: calc(var(--e) * 4.6);
  font-weight: 500;
  line-height: 1.2;
}

.event-copy__venue-address {
  font-size: calc(var(--e) * 3.5);
}

.event-copy__item + .event-copy__item {
  margin-top: calc(var(--gap) * 0.55);
}

.event-copy__item-head {
  font-size: calc(var(--e) * 4.4);
  font-weight: 500;
}

.event-copy__item-label {
  color: var(--ev-title);
}

.event-copy__item-venue {
  font-size: calc(var(--e) * 3.5);
  font-style: italic;
}

/* ---- RSVP + family slides ---- */
.rsvp-copy {
  justify-content: center;
  gap: calc(var(--u) * 1.4);
  color: var(--hn-leaf);
  font-family: var(--hn-serif);
  font-size: calc(var(--u) * 4.4);
  font-weight: 500;
  line-height: 1.35;
}

.rsvp-copy__script {
  color: var(--hn-rose);
  font-family: var(--hn-script);
  font-size: calc(var(--u) * 7.8);
  font-weight: 400;
  line-height: 1.15;
  white-space: pre-line;
  text-wrap: balance;
}

/* Acronyms never go in script: RSVP is set as spaced caps. */
.rsvp-copy__script--caps {
  font-family: var(--hn-serif);
  font-size: calc(var(--u) * 5.4);
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  line-height: 1.4;
}

.rsvp-copy__lines {
  margin-bottom: calc(var(--u) * 3) !important;
  white-space: pre-line;
  text-wrap: balance;
}

.rsvp-copy__lines:last-child {
  margin-bottom: 0 !important;
}

.rsvp-copy__closing {
  margin-top: calc(var(--u) * 2) !important;
}

/* ---- Blessings: names stand in for the monogram until the logo arrives ---- */
.bless-monogram--names {
  --text-color: var(--hn-olive);
  --text-size: calc(var(--u) * 10);
  --text-line-height: 1.2;
  white-space: nowrap;
}

/* ---- Closing slide ---- */
.last-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: calc(var(--u) * 2.4);
  color: var(--hn-leaf);
  font-family: var(--hn-serif);
  font-size: calc(var(--u) * 4);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.last-copy__card {
  width: 100%;
  padding: calc(var(--u) * 4.4) calc(var(--u) * 3.4);
  border: 2px solid #fff;
  border-radius: calc(var(--u) * 3);
  background: #d8728e;
  box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 3) rgba(120, 40, 60, 0.18);
  color: #fff;
}

.last-copy__card-title {
  font-family: var(--hn-script);
  font-size: calc(var(--u) * 6.8);
  font-weight: 400;
  line-height: 1.1;
  white-space: pre-line;
}

.last-copy__card-body {
  margin-top: calc(var(--u) * 2.4) !important;
  font-size: calc(var(--u) * 3.8);
  white-space: pre-line;
}

.last-copy__regards {
  margin-top: calc(var(--u) * 3) !important;
  font-size: calc(var(--u) * 3.6);
  font-style: italic;
}

.last-copy__heading {
  font-size: calc(var(--u) * 6);
  font-weight: 500;
  line-height: 1.1;
}

.last-copy__heading--venue {
  margin-top: calc(var(--u) * 4) !important;
}

.last-copy__family {
  width: 100%;
  padding: calc(var(--u) * 3);
  border: 1.5px solid #e7a7b8;
  border-radius: calc(var(--u) * 2.2);
  background: rgba(250, 249, 246, 0.92);
  color: var(--hn-rose);
}

.last-copy__family-title {
  font-size: calc(var(--u) * 4.6);
  font-weight: 500;
}

.last-copy__family-names {
  margin-top: calc(var(--u) * 0.8) !important;
  font-size: calc(var(--u) * 3.6);
  white-space: pre-line;
}

.last-copy__venue {
  font-size: calc(var(--u) * 4.4);
}

.last-copy__map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: calc(var(--u) * 2);
  padding: calc(var(--u) * 2.8) calc(var(--u) * 6);
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d8728e;
  color: #fff;
  font-size: calc(var(--u) * 4.2);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  pointer-events: auto;
  user-select: auto;
}

.last-copy__map:focus-visible {
  outline: 3px solid rgba(193, 68, 108, 0.9);
  outline-offset: 4px;
}
