:root {
  --paper: #fff8ef;
  --paper-deep: #ead4bf;
  --ink: #27241f;
  --muted: #6e665e;
  --pine: #263a31;
  --sage: #68795f;
  --sage-soft: #dbe4d2;
  --rose: #b97872;
  --rose-deep: #8f403a;
  --champagne: #d7b66d;
  --white: #ffffff;
  --page-bg: #fffdf9;
  --line: rgba(39, 36, 31, 0.16);
  --shadow: 0 18px 48px rgba(39, 36, 31, 0.14);
  --radius: 8px;
  --content: min(100% - 32px, 980px);
  --phone-width: 430px;
  --display-font: "Forum Local", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --kids-serif-font: "Kids Shablon3", "Playfair Display", Georgia, "Times New Roman", serif;
  --kids-location-serif-font: "Kids Cormorant Local", "Cormorant Garamond", "Times New Roman", serif;
  --script-font: "Marck Script Local", "Segoe Script", "Apple Chancery", cursive;
}

@font-face {
  font-family: "Marck Script Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "Forum Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Playfair Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Cormorant Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Cormorant Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Cormorant Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Bad Script Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Note Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Headline Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "Kids Label Local";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 100;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 200;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: block;
  font-synthesis: none;
}

@font-face {
  font-family: "shablon3";
  src: url("assets/fonts/caveatreg.woff?v=20260725-4") format("woff");
  font-style: normal;
  font-weight: 900;
  font-display: block;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page-bg);
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body.is-locked,
body.is-lotus-locked {
  overflow: hidden;
}

body.is-lotus-locked {
  overscroll-behavior: none;
  touch-action: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 4px;
}

.envelope {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 1);
  transition:
    background-color 3.6s cubic-bezier(0.34, 0.02, 0.18, 1),
    opacity 0.44s ease,
    visibility 0.45s ease;
  will-change: background-color, opacity;
  contain: paint;
}

.envelope::before {
  content: none;
}

.envelope-flaps {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flap {
  transition: transform 4.1s cubic-bezier(0.34, 0.02, 0.18, 1);
  transform-box: fill-box;
  backface-visibility: hidden;
  will-change: transform;
}

.flap-top {
  fill: url("#paperTop");
  transform-origin: 50% 100%;
}

.flap-bottom {
  fill: url("#paperBottom");
  transform-origin: 50% 0%;
}

.seal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(180px, 50vw, 218px);
  height: clamp(180px, 50vw, 218px);
  border: 0;
  border-radius: 50%;
  color: #4a3428;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.24s ease;
  will-change: transform, opacity;
}

.seal::before {
  content: none;
}

.seal:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.seal:active {
  transform: translate(-50%, calc(-50% + 1px)) scale(0.98);
}

.seal__image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(224px, 62vw, 270px);
  max-width: none;
  height: clamp(224px, 62vw, 270px);
  object-fit: contain;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 14px 18px rgba(61, 43, 30, 0.22))
    drop-shadow(0 2px 2px rgba(255, 255, 255, 0.46));
  pointer-events: none;
}

.seal__label {
  position: absolute;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 24px));
  z-index: 2;
  width: min(100% - 48px, 260px);
  min-height: 44px;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(74, 52, 40, 0.86);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(255, 248, 239, 0.86);
  cursor: pointer;
  transform: translateX(-50%);
  transition: opacity 0.24s ease, transform 0.24s ease;
  will-change: opacity, transform;
}

.envelope.opening .flap-top {
  transform: translateY(-112vh) rotateX(5deg);
}

.envelope.opening .flap-bottom {
  transform: translateY(112vh) rotateX(-5deg);
}

.envelope.opening {
  background-color: rgba(255, 255, 255, 0);
}

.envelope.opening .seal {
  transform: translate(-50%, -50%) scale(0.74) rotate(-18deg);
  opacity: 0;
}

.envelope.opening .seal__label {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.envelope.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.lotus-section {
  position: relative;
  margin-top: -2px;
  min-height: clamp(620px, 82svh, 780px);
  min-height: clamp(620px, 82dvh, 780px);
  height: clamp(620px, 82svh, 780px);
  height: clamp(620px, 82dvh, 780px);
  overflow: hidden;
  border-radius: 0 0 clamp(64px, 18vw, 132px) clamp(64px, 18vw, 132px);
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.94), rgba(255, 248, 239, 0.68) 46%, transparent 70%),
    linear-gradient(180deg, #fffdf9 0%, #f6ecdd 100%);
  isolation: isolate;
}

.lotus-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(215, 182, 109, 0.16), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), transparent 32%);
  pointer-events: none;
}

.lotus-stage {
  --lotus-axis-x: 50%;
  --lotus-axis-y: 78%;
  --lotus-stage-size: clamp(280px, 68vmin, 500px);
  position: absolute;
  top: 45%;
  left: 50%;
  width: var(--lotus-stage-size);
  aspect-ratio: 1 / 1.08;
  font-size: var(--lotus-stage-size);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lotus-section .lotus-section__stage {
  --lotus-stage-size: clamp(280px, 68vmin, 500px);
  top: 45%;
}

.lotus-section__copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: var(--content);
  max-width: 720px;
  opacity: 0;
  text-align: center;
  transform: translate(-50%, calc(-50% + 18px));
  transition:
    opacity 1.15s ease,
    transform 1.15s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

.lotus-section__copy h2 {
  margin: 0 auto 16px;
  max-width: 720px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 8.2vw, 2.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.lotus-section__copy p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  line-height: 1.62;
}

.lotus-section.is-copy-visible .lotus-section__copy {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.lotus-section__cue {
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  color: rgba(39, 36, 31, 0.58);
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    visibility 0s linear 0.9s;
}

.lotus-section.is-copy-visible .lotus-section__cue {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0.45s, 0.45s, 0s;
}

.lotus-stage::before {
  content: "";
  position: absolute;
  inset: 10% 8% 4%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(255, 253, 244, 0.86), rgba(255, 253, 244, 0.36) 42%, transparent 70%),
    radial-gradient(ellipse at 50% 82%, rgba(214, 189, 111, 0.24), transparent 56%);
  filter: blur(16px);
  opacity: 0.76;
  transition: opacity 1.2s ease, transform 1.6s ease;
}

.lotus-bud,
.lotus-part {
  position: absolute;
  left: calc(var(--lotus-axis-x) + var(--petal-x, 0px));
  top: var(--lotus-axis-y);
  display: block;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 20px rgba(54, 40, 25, 0.18))
    drop-shadow(0 2px 8px rgba(255, 255, 255, 0.48));
  pointer-events: none;
}

.lotus-bud {
  z-index: 20;
  width: 56%;
  transform: translate(-50%, -100%) scale(1);
  transform-origin: 50% 100%;
  opacity: 1;
  transition: opacity 0.54s ease 0.16s, transform 0.92s cubic-bezier(0.76, 0, 0.24, 1), filter 0.9s ease;
}

.lotus-part {
  z-index: var(--z, 1);
  width: var(--part-width, 34%);
  opacity: 0;
  transform: translate(-50%, calc(-100% - var(--petal-lift, 0px))) rotate(var(--closed-rotate, 0deg));
  transform-origin: 50% 100%;
  transition:
    transform var(--open-duration, 1.75s) cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.82s ease,
    filter 1.5s ease;
  will-change: transform, opacity, filter;
}

.lotus-part--back-left {
  --z: 12;
  --part-width: 33%;
  --petal-x: 0.0113em;
  --petal-lift: -0.0323em;
  --closed-rotate: -2deg;
  --open-rotate: -24deg;
  --open-duration: 1.76s;
  --delay: 0.06s;
  --scatter-x: -0.5em;
  --scatter-y: -0.34em;
  --scatter-rotate: -58deg;
  --scatter-scale: 0.7;
  --scatter-delay: 0.16s;
}

.lotus-part--back-center {
  --z: 11;
  --part-width: 34%;
  --petal-x: -0.0194em;
  --petal-lift: -0.0065em;
  --closed-rotate: 35deg;
  --open-rotate: -6deg;
  --open-duration: 1.9s;
  --delay: 0.08s;
  --scatter-x: -0.04em;
  --scatter-y: -0.56em;
  --scatter-rotate: 24deg;
  --scatter-scale: 0.7;
  --scatter-delay: 0.12s;
}

.lotus-part--back-right {
  --z: 10;
  --part-width: 32%;
  --petal-x: -0.0145em;
  --closed-rotate: 2deg;
  --open-rotate: 30deg;
  --open-duration: 1.72s;
  --delay: 0.06s;
  --scatter-x: 0.5em;
  --scatter-y: -0.34em;
  --scatter-rotate: 58deg;
  --scatter-scale: 0.7;
  --scatter-delay: 0.16s;
}

.lotus-part--mid-left {
  --z: 9;
  --part-width: 35%;
  --petal-lift: -0.0129em;
  --closed-rotate: -3deg;
  --open-rotate: -42deg;
  --open-duration: 0.96s;
  --delay: 0.02s;
  --scatter-x: -0.66em;
  --scatter-y: -0.08em;
  --scatter-rotate: -82deg;
  --scatter-scale: 0.66;
  --scatter-delay: 0.02s;
}

.lotus-part--mid-center {
  --z: 8;
  --part-width: 38%;
  --open-rotate: 0deg;
  --open-duration: 0.82s;
  --delay: 0s;
  --scatter-x: 0.08em;
  --scatter-y: -0.44em;
  --scatter-rotate: 30deg;
  --scatter-scale: 0.64;
  --scatter-delay: 0s;
}

.lotus-part--mid-right {
  --z: 7;
  --part-width: 34%;
  --petal-x: -0.021em;
  --petal-lift: 0.0097em;
  --closed-rotate: 3deg;
  --open-rotate: 42deg;
  --open-duration: 1s;
  --delay: 0.02s;
  --scatter-x: 0.66em;
  --scatter-y: -0.08em;
  --scatter-rotate: 82deg;
  --scatter-scale: 0.66;
  --scatter-delay: 0.02s;
}

.lotus-part--side-left {
  --z: 6;
  --part-width: 32%;
  --petal-lift: 0.1016em;
  --closed-rotate: -4deg;
  --open-rotate: -89deg;
  --open-duration: 1.62s;
  --delay: 0.1s;
  --scatter-x: -0.78em;
  --scatter-y: 0.18em;
  --scatter-rotate: -112deg;
  --scatter-scale: 0.62;
  --scatter-delay: 0.08s;
}

.lotus-part--side-right {
  --z: 5;
  --part-width: 32%;
  --petal-x: -0.0468em;
  --petal-lift: 0.0032em;
  --closed-rotate: 4deg;
  --open-rotate: 70deg;
  --open-duration: 1.58s;
  --delay: 0.1s;
  --scatter-x: 0.78em;
  --scatter-y: 0.18em;
  --scatter-rotate: 112deg;
  --scatter-scale: 0.62;
  --scatter-delay: 0.08s;
}

.lotus-part--front-left {
  --z: 4;
  --part-width: 52%;
  --petal-lift: 0.0274em;
  --closed-rotate: -5deg;
  --open-rotate: -8deg;
  --open-duration: 1.16s;
  --delay: 0.04s;
  --scatter-x: -0.42em;
  --scatter-y: 0.42em;
  --scatter-rotate: -48deg;
  --scatter-scale: 0.66;
  --scatter-delay: 0.04s;
}

.lotus-part--front-center {
  --z: 3;
  --part-width: 50%;
  --open-rotate: 0deg;
  --open-duration: 0.92s;
  --delay: 0.03s;
  --scatter-x: 0em;
  --scatter-y: 0.56em;
  --scatter-rotate: 0deg;
  --scatter-scale: 0.62;
  --scatter-delay: 0.02s;
}

.lotus-part--front-right {
  --z: 2;
  --part-width: 49%;
  --closed-rotate: 5deg;
  --open-rotate: 8deg;
  --open-duration: 1.18s;
  --delay: 0.04s;
  --scatter-x: 0.42em;
  --scatter-y: 0.42em;
  --scatter-rotate: 48deg;
  --scatter-scale: 0.66;
  --scatter-delay: 0.04s;
}

.lotus-part--core {
  --z: 1;
  --part-width: 20%;
  --open-rotate: 0deg;
  --open-duration: 0.86s;
  --delay: 0.05s;
  --scatter-x: 0em;
  --scatter-y: 0.34em;
  --scatter-rotate: 24deg;
  --scatter-scale: 0.5;
  --scatter-delay: 0.08s;
}

.lotus-section.is-visible .lotus-stage::before {
  transform: scale(1.08);
  opacity: 0.62;
}

.lotus-section.is-visible .lotus-bud {
  transform: translate(-50%, -100%) scale(0.7, 0.78);
  opacity: 0;
  filter:
    blur(4px)
    drop-shadow(0 10px 16px rgba(54, 40, 25, 0.08));
}

.lotus-section.is-visible .lotus-part {
  opacity: var(--open-opacity, 0.96);
  transform: translate(-50%, calc(-100% - var(--petal-lift, 0px))) rotate(var(--open-rotate, 0deg));
  transition-delay: var(--delay, 0s);
}

.lotus-section.is-dispersing .lotus-stage::before {
  transform: scale(0.9);
  opacity: 0;
}

.lotus-section.is-dispersing .lotus-part {
  opacity: 0;
  transform:
    translate(
      calc(-50% + var(--scatter-x, 0px)),
      calc(-100% - var(--petal-lift, 0px) + var(--scatter-y, 0px))
    )
    rotate(calc(var(--open-rotate, 0deg) + var(--scatter-rotate, 0deg)))
    scale(var(--scatter-scale, 0.72));
  filter:
    blur(7px)
    drop-shadow(0 8px 12px rgba(54, 40, 25, 0.04));
  transition:
    transform var(--scatter-duration, 1.72s) cubic-bezier(0.2, 0.82, 0.18, 1),
    opacity var(--scatter-duration, 1.72s) ease,
    filter var(--scatter-duration, 1.72s) ease;
  transition-delay: var(--scatter-delay, 0s);
}

.lotus-section.is-dispersing .lotus-bud {
  opacity: 0;
}

.falling-lotus-petal {
  position: fixed;
  top: -120px;
  left: min(74vw, 620px);
  z-index: 24;
  width: clamp(72px, 21vw, 118px);
  max-width: none;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 92%;
  filter:
    drop-shadow(0 20px 22px rgba(54, 40, 25, 0.14))
    drop-shadow(0 2px 6px rgba(255, 255, 255, 0.4));
  animation: falling-lotus-petal 7.8s cubic-bezier(0.34, 0, 0.18, 1) forwards;
  will-change: transform, opacity;
}

@keyframes falling-lotus-petal {
  0% {
    opacity: 0;
    transform: translate3d(0, -9vh, 0) rotate(-10deg) scale(0.86);
  }

  10% {
    opacity: 0.84;
    transform: translate3d(-2vw, 3vh, 0) rotate(-4deg) scale(0.94);
  }

  24% {
    transform: translate3d(-10vw, 22vh, 0) rotate(9deg) scale(0.98);
  }

  40% {
    transform: translate3d(4vw, 42vh, 0) rotate(-7deg) scale(0.96);
  }

  58% {
    transform: translate3d(-9vw, 64vh, 0) rotate(12deg) scale(0.92);
  }

  76% {
    opacity: 0.76;
    transform: translate3d(3vw, 88vh, 0) rotate(-5deg) scale(0.88);
  }

  90% {
    opacity: 0.42;
    transform: translate3d(-5vw, 106vh, 0) rotate(11deg) scale(0.82);
  }

  100% {
    opacity: 0;
    transform: translate3d(-8vw, 122vh, 0) rotate(18deg) scale(0.78);
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 0;
  height: clamp(100px, 16svh, 178px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 253, 249, 0.62), rgba(255, 253, 249, 0.22) 43%, transparent 72%),
    radial-gradient(ellipse at 18% 100%, rgba(255, 248, 239, 0.42), transparent 58%);
  filter: blur(14px);
  opacity: 0.82;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 25, 18, 0.18) 0%, rgba(22, 25, 18, 0.44) 48%, rgba(22, 25, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(22, 25, 18, 0.64), transparent 72%);
}

.hero__media,
.hero__photo,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -2;
  overflow: hidden;
  background: #151512;
}

.hero__photo,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.06);
}

.hero__photo {
  z-index: 0;
  opacity: 0;
  transition: opacity 1.15s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__video {
  z-index: 1;
  inset: auto 0 0 0;
  opacity: var(--hero-video-opacity, 1);
  visibility: visible;
  object-position: 50% 55%;
  transform-origin: center bottom;
  transform: scale(1.16);
  transition:
    opacity 1.05s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 1.16s;
}

.hero.is-video-fallback .hero__photo,
.hero.is-video-finishing .hero__photo,
.hero.is-video-finished .hero__photo {
  opacity: 1;
}

.hero.is-video-fallback .hero__video,
.hero.is-video-finished .hero__video {
  opacity: 0;
  visibility: hidden;
}

.hero__veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -72px;
  z-index: 0;
  height: clamp(148px, 22svh, 220px);
  pointer-events: none;
}

.hero__veil svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__veil-mist {
  fill: rgba(255, 253, 249, 0.48);
  filter: blur(7px);
}

.hero__veil-sheet {
  fill: var(--page-bg);
}

.hero__veil-edge,
.hero__veil-thread {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.hero__veil-edge {
  stroke: rgba(215, 182, 109, 0.54);
  stroke-width: 0.9;
}

.hero__veil-thread {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 0.75;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 clamp(30px, 8vw, 76px) clamp(118px, 16svh, 156px);
}

.eyebrow,
.section__kicker {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--rose-deep);
}

.hero .eyebrow {
  color: #ffe6d3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero__names {
  width: 100%;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: clamp(4px, 0.7svh, 8px);
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(3.18rem, 12.8vw, 4.28rem);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 0.92;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.46),
    0 0 1px rgba(0, 0, 0, 0.22);
}

.hero__name {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.hero__amp {
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(2rem, 7.2vw, 2.7rem);
  font-style: normal;
  line-height: 1;
  margin: -0.12em 0 -0.1em;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.42),
    0 0 1px rgba(0, 0, 0, 0.18);
}

.swipe-cue {
  position: absolute;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 2;
  width: 48px;
  height: 58px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  color: rgba(39, 36, 31, 0.72);
  text-decoration: none;
  transform: translateX(-50%);
}

.swipe-cue__chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: swipe-cue 1.7s ease-in-out infinite;
}

@keyframes swipe-cue {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(5px) rotate(45deg);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button--primary,
.button--submit {
  background: var(--champagne);
  color: #221b13;
}

.button--primary:hover,
.button--submit:hover {
  background: #e7c77c;
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button--dark {
  background: var(--pine);
  color: var(--white);
}

.button--dark:hover {
  background: #31483d;
}

.button--quiet {
  background: transparent;
  color: var(--pine);
  border-color: rgba(38, 58, 49, 0.32);
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 58px 0 0;
}

.section h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.08;
}

.section p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.wedding-calendar h2,
.timeline h2,
.dress h2,
.rsvp h2,
.countdown h2,
.contacts h2 {
  max-width: 720px;
}

.wedding-calendar {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px max(16px, calc((100% - 980px) / 2)) 34px;
  background: var(--white);
  text-align: center;
}

.wedding-calendar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff8ef 84%);
  pointer-events: none;
}

.wedding-calendar h2,
.timeline h2,
.dress h2,
.rsvp h2,
.countdown h2,
.contacts h2 {
  margin-right: auto;
  margin-left: auto;
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.wedding-calendar__art {
  width: min(100%, 358px);
  margin: 26px auto 0;
  display: block;
  border-radius: 2px;
  cursor: pointer;
}

.wedding-calendar__art img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 46px max(16px, calc((100% - 980px) / 2)) 76px;
  background:
    linear-gradient(180deg, #fff8ef 0%, var(--page-bg) 128px, var(--white) 100%);
}

.timeline__list {
  display: grid;
  gap: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(104, 121, 95, 0.22);
  border-radius: var(--radius);
  background: #f3f7ef;
}

.timeline-item__time {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(69, 82, 62, 0.66);
  color: var(--white);
  font-size: clamp(1.18rem, 5vw, 1.55rem);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 4.8vw, 1.52rem);
  font-weight: 500;
  line-height: 1.12;
  text-transform: none;
}

.timeline-item p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.timeline-item--event {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.timeline-item__media {
  position: relative;
  aspect-ratio: 16 / 6.7;
  overflow: hidden;
  border-radius: 18px;
  background: #f5efe5;
}

.timeline-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: inherit;
}

.timeline-item:first-child .timeline-item__image {
  object-position: center 58%;
}

.timeline-item__content {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 2px;
  text-align: center;
}

.dress {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 54px max(16px, calc((100% - 980px) / 2)) 0;
  background: var(--white);
}

.dress p {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.dress__swatches {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
  gap: 10px;
  margin: 26px auto 0;
}

.dress__swatches[hidden],
.dress__palette[hidden] {
  display: none;
}

.dress__swatch {
  min-height: 74px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 8px;
  color: var(--ink);
  background: #fff8fb;
  background: color-mix(in srgb, var(--swatch-color) 28%, #ffffff);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.dress__swatch::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: inset 0 0 0 1px rgba(90, 58, 74, 0.12);
}

.dress__palette {
  width: min(100%, 680px);
  margin: 24px auto 0;
}

.dress__palette img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.dress-marquee {
  width: 100vw;
  margin: 30px calc(50% - 50vw) 0;
}

.dress-marquee__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 max(16px, calc((100vw - 980px) / 2));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.dress-marquee__viewport::-webkit-scrollbar {
  display: none;
}

.dress-marquee__viewport:focus-visible {
  outline-offset: -6px;
}

.dress-marquee__track,
.dress-marquee__group {
  display: flex;
  gap: 12px;
}

.dress-marquee__track {
  width: max-content;
}

.dress-marquee__slide {
  flex: 0 0 auto;
  width: clamp(178px, 42vw, 258px);
  height: clamp(276px, 62vw, 392px);
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f5efe8;
  cursor: zoom-in;
}

.dress-marquee__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
}

.dress-marquee__slide:focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 4px;
}

.dress-lightbox[hidden] {
  display: none;
}

.dress-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
}

.dress-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 18, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dress-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: calc(100dvh - 36px);
  display: grid;
  gap: 10px;
}

.dress-lightbox__image {
  width: 100%;
  max-height: calc(100dvh - 36px);
  object-fit: contain;
  border-radius: 18px;
  background: #f5efe8;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

body.is-lightbox-open {
  overflow: hidden;
}

.orientation-lock {
  display: none;
}

.orientation-lock__panel {
  width: min(100%, 360px);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.orientation-lock__icon {
  width: 46px;
  height: 70px;
  border: 1.5px solid rgba(39, 36, 31, 0.32);
  border-radius: 16px;
  display: block;
  position: relative;
  transform: rotate(90deg);
}

.orientation-lock__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(39, 36, 31, 0.34);
  transform: translateX(-50%);
}

.orientation-lock p {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 7vw, 2.1rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.orientation-lock small {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.rsvp {
  padding-bottom: 72px;
}

.rsvp-form {
  margin-top: 24px;
  padding: 18px;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(39, 36, 31, 0.1);
  font-weight: 300;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field--compact {
  max-width: 220px;
}

label,
legend {
  font-weight: 800;
}

.rsvp-form label,
.rsvp-form legend {
  color: rgba(39, 36, 31, 0.78);
  font-weight: 400;
  letter-spacing: 0.01em;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(39, 36, 31, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf9;
}

.rsvp-form input,
.rsvp-form textarea {
  border-color: rgba(39, 36, 31, 0.12);
  border-radius: 18px;
  font-weight: 300;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

#guest-name {
  border-radius: 24px;
  padding-right: 18px;
  padding-left: 18px;
}

input:invalid:user-invalid,
textarea:invalid:user-invalid {
  border-color: var(--rose-deep);
}

.fieldset {
  border: 0;
  padding: 0;
}

.attendance-list {
  display: grid;
  gap: 12px;
}

.attendance-list label {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
}

.attendance-list input,
.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-list span {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 300;
  line-height: 1.35;
}

.attendance-list span::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(39, 36, 31, 0.34);
  border-radius: 50%;
  background: #fffdf9;
}

.attendance-list input:checked + span::before {
  border-color: var(--pine);
  background:
    radial-gradient(circle at 50% 50%, var(--pine) 0 42%, transparent 45%),
    #fffdf9;
}

.attendance-list input:focus-visible + span::before {
  outline: 3px solid var(--champagne);
  outline-offset: 3px;
}

.drinks-field[hidden] {
  display: none;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
}

.choice-grid span {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 300;
  line-height: 1.25;
}

.choice-grid span::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(39, 36, 31, 0.34);
  border-radius: 5px;
  background: #fffdf9;
}

.choice-grid span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 8px;
  height: 12px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  opacity: 0;
  transform: translateY(-62%) rotate(45deg);
}

.choice-grid input:checked + span::before {
  border-color: var(--pine);
  background: var(--pine);
}

.choice-grid input:checked + span::after {
  opacity: 1;
}

.choice-grid input:focus-visible + span::before {
  outline: 3px solid var(--champagne);
  outline-offset: 3px;
}

.field__error {
  min-height: 20px;
  margin: 0;
  color: var(--rose-deep);
  font-size: 0.9rem;
  line-height: 1.35;
}

.button--submit {
  width: 100%;
  border: 1px solid rgba(39, 36, 31, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  font-size: 1rem;
}

.button--submit:hover {
  border-color: rgba(39, 36, 31, 0.34);
  background: #fffaf2;
  color: var(--ink);
}

.button--submit:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.button--submit:disabled:hover {
  border-color: rgba(39, 36, 31, 0.22);
  background: var(--white);
}

.form-status {
  margin: 14px 0 0;
  min-height: 24px;
  color: var(--pine);
  font-weight: 400;
}

.countdown[hidden] {
  display: none;
}

.countdown {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(560px, 72svh, 720px);
  min-height: clamp(560px, 72dvh, 720px);
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 86px 20px 76px;
  border-radius: 0 0 clamp(64px, 18vw, 132px) clamp(64px, 18vw, 132px);
  color: var(--white);
  background: #20271f;
  text-align: center;
  isolation: isolate;
}

.countdown::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: clamp(84px, 15svh, 150px);
  background: linear-gradient(180deg, var(--page-bg) 0%, rgba(255, 253, 249, 0.72) 26%, rgba(255, 253, 249, 0) 100%);
  pointer-events: none;
}

.countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 18, 15, 0.28), rgba(20, 18, 15, 0.62)),
    radial-gradient(circle at 50% 46%, rgba(255, 248, 239, 0.26), rgba(255, 248, 239, 0) 48%);
  pointer-events: none;
}

.countdown__poster,
.countdown__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: grayscale(1);
}

.countdown__poster {
  opacity: 1;
  transform: scale(1.01);
}

.countdown__video {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.countdown.is-video-ready .countdown__video {
  opacity: 1;
}

.countdown__content {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
}

.countdown h2 {
  margin-bottom: clamp(28px, 5svh, 48px);
  color: var(--white);
  font-size: clamp(2.8rem, 12vw, 6.4rem);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.countdown__timer {
  width: min(100%, 640px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.countdown__unit {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
}

.countdown__unit strong {
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 11vw, 4.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.countdown__unit span {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.2;
}

.contacts {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 92px max(20px, calc((100% - 720px) / 2)) 82px;
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--white) 118px);
  text-align: center;
}

.contacts__lead {
  max-width: 560px;
  margin: 0 auto;
}

.contacts__person {
  width: min(100%, 520px);
  margin: 30px auto 0;
  padding: 24px 0 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  border-top: 1px solid rgba(39, 36, 31, 0.13);
  border-bottom: 1px solid rgba(39, 36, 31, 0.13);
}

.contacts__role {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.contacts__name {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(2.1rem, 10vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.contacts__links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.contacts__phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 36, 31, 0.28);
}

.contacts__vk {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #2d73d9;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contacts__vk:hover {
  transform: translateY(-1px);
  background: #245fb7;
}

.contacts__vk svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.contacts__closing {
  margin: 34px auto 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(1.9rem, 7.8vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
}

@media (min-width: 700px) {
  body {
    padding-bottom: 0;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero__content {
    padding-bottom: clamp(158px, 18svh, 214px);
  }

  .hero__names {
    width: 100%;
    font-size: clamp(4.6rem, 5.5vw, 5.9rem);
  }

  .section {
    padding-top: 76px;
  }

  .wedding-calendar {
    padding-top: 76px;
    padding-bottom: 40px;
  }

  .timeline {
    padding-top: 52px;
    padding-bottom: 86px;
  }

  .section h2 {
    font-size: 2.65rem;
  }

  .timeline__list {
    gap: 34px;
    grid-template-columns: repeat(2, 1fr);
  }

  .rsvp-form {
    padding: 28px;
    max-width: 660px;
  }

  .countdown {
    min-height: clamp(560px, 68svh, 700px);
    min-height: clamp(560px, 68dvh, 700px);
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .countdown__timer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

}

@media (min-width: 1100px) {
  .hero__photo {
    object-position: center 38%;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(22, 25, 18, 0.72) 0%, rgba(22, 25, 18, 0.36) 48%, rgba(22, 25, 18, 0.06) 100%),
      linear-gradient(180deg, rgba(22, 25, 18, 0.1), rgba(22, 25, 18, 0.5));
  }
}

@media (min-width: 700px) {
  html {
    background: #efe8dd;
  }

  body {
    width: min(100%, var(--phone-width));
    margin: 0 auto;
    background: var(--page-bg);
    box-shadow:
      0 0 0 1px rgba(39, 36, 31, 0.08),
      0 24px 86px rgba(39, 36, 31, 0.18);
  }

  main {
    width: 100%;
    overflow: hidden;
  }

  .envelope,
  .dress-lightbox {
    inset: 0 auto 0 50%;
    width: min(100vw, var(--phone-width));
    transform: translateX(-50%);
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(22, 25, 18, 0.18) 0%, rgba(22, 25, 18, 0.44) 48%, rgba(22, 25, 18, 0.78) 100%),
      linear-gradient(90deg, rgba(22, 25, 18, 0.64), transparent 72%);
  }

  .hero__photo {
    object-position: 50% 42%;
  }

  .hero__content {
    padding: 0 30px clamp(118px, 16svh, 156px);
  }

  .hero__names {
    font-size: clamp(3.18rem, 12.8vw, 4.28rem);
  }

  .section {
    padding-top: 58px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .wedding-calendar {
    padding: 64px 16px 34px;
  }

  .timeline {
    padding: 46px 16px 76px;
  }

  .timeline__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dress {
    padding: 54px 16px 0;
  }

  .dress-marquee {
    width: 100%;
    margin: 30px 0 0;
  }

  .dress-marquee__viewport {
    padding: 0;
  }

  .rsvp-form {
    max-width: none;
    padding: 18px;
  }

  .countdown {
    min-height: clamp(500px, 70svh, 620px);
    min-height: clamp(500px, 70dvh, 620px);
    padding: 76px 20px 72px;
  }

  .falling-lotus-petal {
    left: calc(50% + 112px);
  }
}

@media (orientation: landscape) and (max-width: 940px) and (pointer: coarse) {
  html,
  body {
    overflow: hidden;
  }

  .orientation-lock {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--ink);
    background:
      radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.94), rgba(255, 248, 239, 0.9) 56%, #f6ecdd 100%);
  }
}

.kids-hero__topline,
.kids-hero__finally,
.kids-hero__headline,
.kids-hero__note,
.kids-hero__child,
.kids-hero__date,
.kids-hero__veil-text,
.kids-calendar__stamp,
.kids-calendar__date {
  display: none;
}

body.template-kidswedding {
  --kids-paper: #fbf3e8;
  --kids-paper-deep: #f2e7d7;
  --kids-green: #87914f;
  --kids-green-rgb: 135, 145, 79;
  --kids-accent: var(--kids-green);
  --kids-accent-dark: var(--kids-green);
  --kids-ink: #464943;
  --kids-muted: rgba(70, 73, 67, 0.66);
  --kids-title: var(--kids-green);
  --kids-source-font: "shablon3", Arial, sans-serif;
  --kids-serif-font: var(--kids-source-font);
  --kids-location-serif-font: var(--kids-source-font);
  --kids-headline-font: var(--kids-source-font);
  --kids-label-font: var(--kids-source-font);
  --kids-note-font: var(--kids-source-font);
  --kids-copy-font: var(--kids-source-font);
  --kids-hand-font: var(--kids-source-font);
  --display-font: var(--kids-source-font);
  --script-font: var(--kids-source-font);
  --page-bg: var(--kids-paper);
  --paper: var(--kids-paper);
  --ink: var(--kids-ink);
  --muted: var(--kids-muted);
  --rose-deep: var(--kids-accent-dark);
  --champagne: var(--kids-accent);
  color: var(--kids-ink);
  background: var(--kids-paper);
  font-family: var(--kids-source-font);
}

.template-kidswedding .envelope[hidden] {
  display: none;
}

.template-kidswedding main {
  background:
    radial-gradient(circle at 20% 18%, rgba(var(--kids-green-rgb), 0.08), transparent 32%),
    linear-gradient(180deg, var(--kids-paper) 0%, var(--kids-paper) 100%);
}

.template-kidswedding .hero {
  height: 100svh;
  height: 100dvh;
  min-height: 620px;
  display: block;
  overflow: hidden;
  color: var(--kids-ink);
  background: var(--kids-paper);
}

.template-kidswedding .hero::before {
  content: none;
}

.template-kidswedding .hero::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(251, 243, 232, 0) 0%, rgba(251, 243, 232, 0.2) 42%, rgba(251, 243, 232, 0.74) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(var(--kids-green-rgb), 0.1), transparent 48%);
}

.template-kidswedding .kids-hero__topline {
  position: absolute;
  top: max(14px, calc(env(safe-area-inset-top) + 12px));
  left: 50%;
  z-index: 5;
  width: min(112%, 520px);
  height: clamp(92px, 18svh, 136px);
  display: block;
  transform: translateX(-50%);
  pointer-events: none;
}

.template-kidswedding .kids-hero__topline > svg:not(.kids-hero__heart) {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.template-kidswedding .kids-hero__wave {
  fill: none;
  stroke: rgba(var(--kids-green-rgb), 0.76);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  vector-effect: non-scaling-stroke;
}

.template-kidswedding .hero.is-intro-playing .kids-hero__wave {
  animation: kids-line-draw 1.45s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.template-kidswedding .kids-hero__heart {
  position: absolute;
  left: 50%;
  top: clamp(44px, 7.8svh, 60px);
  width: clamp(32px, 8.6vw, 42px);
  height: clamp(30px, 8vw, 39px);
  display: block;
  overflow: visible;
  opacity: 0;
  fill: var(--kids-accent-dark);
  transform: translate(-50%, -50%) rotate(-5deg) scale(0.62);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.2, 0.78, 0.22, 1.12);
}

.template-kidswedding .hero.is-heart-visible .kids-hero__heart {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-5deg) scale(1);
}

.template-kidswedding .hero__media {
  inset: auto -10% -22px -10%;
  z-index: 1;
  height: clamp(410px, 56svh, 560px);
  overflow: visible;
  background: transparent;
}

.template-kidswedding .hero__photo {
  opacity: 1;
  object-fit: contain;
  object-position: 50% 100%;
  clip-path: none;
  filter:
    saturate(0.96)
    contrast(1.02)
    drop-shadow(0 14px 22px rgba(70, 73, 67, 0.14));
  transform: none;
}

.template-kidswedding .hero__photo--default {
  display: none;
}

.template-kidswedding .kids-hero__child {
  position: absolute;
  bottom: -24px;
  z-index: 1;
  display: block;
  opacity: 0;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: 50% 100%;
  filter:
    saturate(0.98)
    contrast(1.02)
    drop-shadow(0 14px 22px rgba(70, 73, 67, 0.12));
  transform: translateY(42px) scale(0.94);
  transform-origin: center bottom;
}

.template-kidswedding .kids-hero__child--girl {
  left: 5%;
  width: min(51%, 236px);
  transition:
    opacity 0.78s ease,
    transform 0.95s cubic-bezier(0.21, 0.72, 0.24, 1);
}

.template-kidswedding .kids-hero__child--boy {
  right: 0;
  width: min(55%, 250px);
  transition:
    opacity 1.05s ease,
    transform 1.32s cubic-bezier(0.18, 0.72, 0.2, 1);
}

.template-kidswedding .hero.is-left-photo-visible .kids-hero__child--girl,
.template-kidswedding .hero.is-photos-visible .kids-hero__child--girl,
.template-kidswedding .hero.is-right-photo-visible .kids-hero__child--boy,
.template-kidswedding .hero.is-photos-visible .kids-hero__child--boy {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.template-kidswedding .hero__video {
  display: none;
}

.template-kidswedding .hero__veil {
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 4;
  width: 100vw;
  max-width: 100vw;
  height: 30px;
  display: block;
  overflow: hidden;
  opacity: 1;
  padding: 0;
  color: #fff;
  background: var(--kids-accent);
  font-family: var(--kids-headline-font);
  font-size: clamp(9.5px, 2.6vw, 12px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transform: none;
}

.template-kidswedding .hero.is-marquee-visible .hero__veil {
  opacity: 1;
  transform: none;
}

.template-kidswedding .hero__veil svg {
  display: none;
}

.template-kidswedding .hero__veil::before {
  content: none;
  display: none;
  width: 100%;
  text-align: center;
}

.template-kidswedding .kids-hero__veil-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.42s ease,
    transform 0.62s cubic-bezier(0.2, 0.72, 0.22, 1);
  animation: kids-ticker 13s linear infinite;
}

.template-kidswedding .hero.is-marquee-visible .kids-hero__veil-track {
  opacity: 1;
  transform: translateY(0);
}

.template-kidswedding .kids-confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.template-kidswedding .kids-confetti-piece {
  position: absolute;
  top: -18px;
  left: var(--confetti-left, 50%);
  width: var(--confetti-width, 6px);
  height: var(--confetti-height, 12px);
  border-radius: var(--confetti-radius, 2px);
  background: var(--confetti-color, var(--kids-green));
  opacity: 0;
  transform: translate3d(0, -18px, 0) rotate(var(--confetti-rotate, 0deg));
  animation: kids-confetti-fall var(--confetti-duration, 4.2s) cubic-bezier(0.18, 0.62, 0.32, 1) var(--confetti-delay, 0s) forwards;
  will-change: transform, opacity;
}

.template-kidswedding .kids-hero__veil-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 56px 0 0;
}

.template-kidswedding .kids-hero__veil-text {
  display: block;
  position: static;
  width: max-content;
  min-width: 0;
  text-align: center;
  transform: scaleX(0.86);
  transform-origin: center;
}

.template-kidswedding .hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  padding: 0 22px 66px;
  display: block;
  pointer-events: none;
}

.template-kidswedding .kids-hero__finally {
  position: absolute;
  top: clamp(140px, 18svh, 176px);
  left: 50%;
  display: block;
  width: max-content;
  max-width: calc(100% - 44px);
  margin: 0;
  padding-right: 0;
  color: var(--kids-ink);
  font-family: var(--kids-label-font);
  font-weight: 700;
  font-size: clamp(20px, 5.2vw, 26px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition:
    opacity 0.5s ease,
    transform 0.62s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.template-kidswedding .hero.is-title-visible .kids-hero__finally {
  opacity: 1;
  transform: translateX(-50%);
}

.template-kidswedding .kids-hero__headline {
  position: absolute;
  top: clamp(174px, 22.2svh, 220px);
  left: 50%;
  width: min(100% - 4px, 390px);
  display: block;
  margin: 0;
  color: var(--kids-title);
  font-family: var(--kids-headline-font);
  font-size: clamp(42px, 10.8vw, 64px);
  font-weight: 600;
  line-height: 0.88;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 16px) rotate(-1deg);
  transition:
    opacity 0.56s ease 0.18s,
    transform 0.7s cubic-bezier(0.2, 0.72, 0.22, 1) 0.18s;
}

.template-kidswedding .hero.is-title-visible .kids-hero__headline {
  opacity: 1;
  transform: translateX(-50%) rotate(-1deg);
}

.template-kidswedding .kids-hero__note {
  position: absolute;
  top: clamp(274px, 33svh, 324px);
  display: block;
  margin: 0;
  z-index: 6;
  color: rgba(70, 73, 67, 0.86);
  font-family: var(--kids-note-font);
  font-weight: 500;
  font-size: clamp(29px, 7.7vw, 42px);
  line-height: 0.64;
  white-space: normal;
  text-shadow: 0 1px 0 rgba(251, 243, 232, 0.72);
  transition: opacity 0.18s ease;
  opacity: 0;
  visibility: hidden;
}

.template-kidswedding .kids-hero__note.is-waiting {
  opacity: 0;
  visibility: hidden;
}

.template-kidswedding .kids-hero__note.is-typing,
.template-kidswedding .kids-hero__note.is-typed {
  opacity: 1;
  visibility: visible;
}

.template-kidswedding .kids-hero__note--left {
  left: clamp(10px, 5vw, 24px);
  width: min(62vw, 246px);
  transform: rotate(-3deg);
}

.template-kidswedding .kids-hero__note--right {
  left: auto;
  right: 16px;
  width: 126px;
  text-align: center;
  transform: rotate(2deg);
}

.template-kidswedding .hero__names {
  display: none;
}

.template-kidswedding .hero__amp {
  color: var(--kids-accent);
  font-family: var(--script-font);
  font-size: clamp(26px, 8vw, 36px);
  text-shadow: none;
}

.template-kidswedding .hero__name {
  white-space: normal;
  overflow-wrap: anywhere;
}

.template-kidswedding .kids-hero__date {
  display: none;
}

.template-kidswedding .swipe-cue {
  display: none;
}

.template-kidswedding .lotus-section {
  height: auto;
  min-height: 500px;
  margin: 0;
  padding: 88px 22px 76px;
  display: grid;
  align-items: center;
  overflow: visible;
  border-radius: 0;
  background:
    radial-gradient(circle at 68% 10%, rgba(194, 37, 91, 0.08), transparent 22%),
    var(--kids-paper);
}

.template-kidswedding .lotus-section::before {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: auto;
  width: 88px;
  height: 22px;
  border-top: 2px solid rgba(194, 37, 91, 0.82);
  border-radius: 50%;
  background: none;
  transform: rotate(-34deg);
}

.template-kidswedding .lotus-stage,
.template-kidswedding .lotus-section__cue,
.template-kidswedding .falling-lotus-petal {
  display: none;
}

.template-kidswedding .lotus-section__copy {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2;
  width: min(100%, 350px);
  max-width: none;
  justify-self: center;
  margin: 0 auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  text-align: center;
}

.template-kidswedding .lotus-section__copy h2 {
  display: none;
}

.template-kidswedding .lotus-section__copy p {
  color: var(--kids-ink);
  font-family: var(--script-font);
  font-size: clamp(18px, 5.4vw, 22px);
  line-height: 1.22;
}

.template-kidswedding .wedding-calendar {
  padding: 44px 22px 70px;
  background: var(--kids-paper);
  color: var(--kids-ink);
}

.template-kidswedding .wedding-calendar::after {
  display: none;
}

.template-kidswedding .wedding-calendar h2,
.template-kidswedding .timeline h2,
.template-kidswedding .dress h2,
.template-kidswedding .rsvp h2,
.template-kidswedding .gifts h2,
.template-kidswedding .countdown h2,
.template-kidswedding .contacts h2 {
  color: var(--kids-ink);
  font-family: var(--script-font);
  font-size: clamp(28px, 9vw, 42px);
  line-height: 1;
  text-transform: none;
}

.template-kidswedding .kids-calendar__stamp {
  display: block;
  width: max-content;
  max-width: 260px;
  margin: 6px auto -28px;
  color: var(--kids-accent);
  font-size: clamp(30px, 10vw, 48px);
  line-height: 0.82;
  transform: rotate(-18deg);
}

.template-kidswedding .kids-calendar__date {
  display: block;
  margin: 20px auto 0;
  color: var(--kids-accent-dark);
  font-size: 17px;
  line-height: 1.2;
}

.template-kidswedding .wedding-calendar__art {
  width: min(100%, 190px);
  margin-top: 28px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(99, 27, 37, 0.12);
  transform: rotate(-1deg);
}

.template-kidswedding .timeline {
  padding: 60px 22px 80px;
  background: var(--kids-paper);
}

.template-kidswedding .timeline__list {
  gap: 34px;
}

.template-kidswedding .timeline-item__content {
  justify-items: center;
  color: var(--kids-ink);
  font-family: var(--script-font);
}

.template-kidswedding .timeline-item h3 {
  font-family: var(--script-font);
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1;
}

.template-kidswedding .timeline-item p {
  max-width: 260px;
  color: var(--kids-muted);
  font-family: var(--script-font);
  font-size: 17px;
  line-height: 1.15;
}

.template-kidswedding .timeline-item__media {
  aspect-ratio: 1.22 / 1;
  overflow: visible;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 16px 30px rgba(99, 27, 37, 0.13);
  transform: rotate(-1.5deg);
}

.template-kidswedding .timeline-item__media::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -34px;
  z-index: 2;
  width: 68px;
  height: 150px;
  border: 11px solid var(--kids-accent);
  border-right-width: 9px;
  border-radius: 40px;
  transform: rotate(10deg);
  pointer-events: none;
}

.template-kidswedding .timeline-item__image {
  padding: 10px;
  border-radius: 0;
  background: #fff;
}

.template-kidswedding .timeline-item__time {
  left: 50%;
  bottom: -18px;
  min-height: 36px;
  padding: 0 18px;
  color: #fff;
  background: var(--kids-accent);
  font-family: var(--script-font);
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(99, 27, 37, 0.16);
  transform: translateX(-50%) rotate(2deg);
}

.template-kidswedding .dress {
  padding: 70px 22px 78px;
  background: var(--kids-paper);
}

.template-kidswedding .dress p,
.template-kidswedding .gifts p,
.template-kidswedding .contacts__lead {
  color: var(--kids-muted);
  font-family: var(--script-font);
  font-size: 18px;
  line-height: 1.22;
}

.template-kidswedding .dress__swatches {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: 24px;
}

.template-kidswedding .dress__swatch {
  min-height: 82px;
  padding: 8px 4px;
  border-radius: 0;
  background: var(--swatch-color);
  color: transparent;
}

.template-kidswedding .dress__swatch::before {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.template-kidswedding .rsvp {
  width: 100%;
  max-width: none;
  padding: 54px 22px 64px;
  color: #fff;
  background: var(--kids-accent);
}

.template-kidswedding .rsvp h2 {
  color: #fff;
}

.template-kidswedding .rsvp-form {
  box-shadow: none;
  padding: 0;
  color: #fff;
  background: transparent;
}

.template-kidswedding .rsvp-form label,
.template-kidswedding .rsvp-form legend,
.template-kidswedding .kids-field-title,
.template-kidswedding .attendance-list span,
.template-kidswedding .choice-grid span {
  color: #fff;
  font-family: var(--script-font);
  font-size: 18px;
  font-weight: 400;
}

.template-kidswedding .rsvp-form input,
.template-kidswedding .rsvp-form textarea {
  border: 0;
  border-radius: 8px;
  color: var(--kids-ink);
  background: #fff;
}

.template-kidswedding .attendance-list span::before,
.template-kidswedding .choice-grid span::before {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
  border-color: rgba(255, 255, 255, 0.78);
  border-width: 1.2px;
  background: transparent;
}

.template-kidswedding .attendance-list input:checked + span::before {
  border-color: #fff;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 42%, transparent 45%),
    transparent;
}

.template-kidswedding .choice-grid input:checked + span::before {
  border-color: #fff;
  background: #fff;
}

.template-kidswedding .choice-grid span::after {
  border-color: var(--kids-accent);
}

.template-kidswedding .button--submit {
  min-height: 44px;
  color: var(--kids-accent);
  background: #fff;
  font-family: var(--script-font);
  font-size: 18px;
}

.template-kidswedding .gifts {
  background: var(--kids-paper);
}

.template-kidswedding .gift-card {
  border-radius: 0;
  border-color: rgba(194, 37, 91, 0.18);
  box-shadow: 0 14px 28px rgba(99, 27, 37, 0.08);
}

.template-kidswedding .countdown {
  color: #fff;
  background: var(--kids-accent-dark);
}

.template-kidswedding .countdown::before {
  background: linear-gradient(180deg, var(--kids-paper), rgba(253, 249, 226, 0));
}

.template-kidswedding .contacts {
  padding: 64px 22px 74px;
  background: var(--kids-accent);
}

.template-kidswedding .contacts h2,
.template-kidswedding .contacts__lead,
.template-kidswedding .contacts__role,
.template-kidswedding .contacts__name,
.template-kidswedding .contacts__phone,
.template-kidswedding .contacts__closing {
  color: #fff;
}

.template-kidswedding .contacts__person {
  border-color: rgba(255, 255, 255, 0.34);
}

.template-kidswedding .contacts__phone {
  border-bottom-color: rgba(255, 255, 255, 0.62);
}

.template-kidswedding main {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--kids-paper);
  box-shadow: none;
}

.template-kidswedding .hero {
  height: 100svh;
  height: 100dvh;
  min-height: 620px;
}

.template-kidswedding .kids-hero__topline {
  top: 18px;
  width: 112%;
  height: 108px;
}

.template-kidswedding .kids-hero__heart {
  top: 72px;
  width: 42px;
  height: 39px;
}

.template-kidswedding .kids-hero__finally {
  top: 147px;
}

.template-kidswedding .kids-hero__headline {
  top: 178px;
  width: 100%;
  font-size: 44px;
  text-align: center;
  transform: translateX(-50%) rotate(-1deg);
}

.template-kidswedding .kids-hero__note {
  top: clamp(252px, 31.5svh, 292px);
  font-size: 31px;
  line-height: 0.64;
}

.template-kidswedding .hero__media {
  inset: auto -30px 24px;
  height: min(49svh, 430px);
}

.template-kidswedding .hero__photo {
  object-position: 50% 100% !important;
  filter:
    saturate(0.98)
    contrast(1.02);
}

.template-kidswedding .kids-hero__child--girl {
  left: 6%;
  width: min(62%, 300px);
}

.template-kidswedding .kids-hero__child--boy {
  right: -11%;
  width: min(65%, 318px);
}

.template-kidswedding .hero__veil {
  bottom: 0;
  height: 40px;
  font-size: 18px;
  background: var(--kids-green);
}

.template-kidswedding .lotus-section {
  min-height: 210px;
  padding: 76px 28px 30px;
  background: var(--kids-paper);
}

.template-kidswedding .lotus-section::before,
.template-kidswedding .lotus-section__copy {
  display: none;
}

.template-kidswedding .kids-invite-copy {
  display: block;
  margin: 0 auto;
  color: var(--kids-ink);
  font-family: var(--kids-note-font);
  text-align: center;
}

.template-kidswedding .kids-invite-copy p {
  margin: 0;
  font-size: 36px;
  line-height: 0.74;
}

.template-kidswedding .kids-invite-copy time {
  display: block;
  margin-top: 12px;
  color: var(--kids-title);
  font-family: var(--kids-headline-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.template-kidswedding .wedding-calendar {
  padding: 0 38px 64px;
}

.template-kidswedding .wedding-calendar h2,
.template-kidswedding .kids-calendar__stamp,
.template-kidswedding .kids-calendar__date,
.template-kidswedding .wedding-calendar__art {
  display: none;
}

.template-kidswedding .kids-calendar-card {
  position: relative;
  display: block;
  width: min(100%, 314px);
  margin: 0 auto;
  padding: 26px 18px 42px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(70, 73, 67, 0.09);
  color: inherit;
  text-decoration: none;
}

.template-kidswedding .kids-calendar-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  z-index: 2;
  width: 82px;
  height: 25px;
  border-radius: 1px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 22% 78%, rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(90deg, rgba(135, 145, 79, 0.08) 0 1px, transparent 1px 8px),
    rgba(245, 238, 221, 0.78);
  box-shadow:
    0 1px 1px rgba(70, 73, 67, 0.08),
    0 5px 12px rgba(70, 73, 67, 0.08);
  transform: translateX(-50%) rotate(-3deg);
}

.template-kidswedding .kids-calendar-card__month {
  margin: 0 0 18px;
  color: var(--kids-ink);
  font-family: var(--kids-label-font);
  font-size: 29px;
  line-height: 1;
  text-align: center;
}

.template-kidswedding .kids-calendar-card__weekdays,
.template-kidswedding .kids-calendar-card__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.template-kidswedding .kids-calendar-card__weekdays {
  margin-bottom: 15px;
  color: var(--kids-ink);
  font-family: var(--kids-label-font);
  font-size: 20px;
  line-height: 1;
}

.template-kidswedding .kids-calendar-card__days {
  row-gap: 17px;
  color: rgba(70, 73, 67, 0.88);
  font-family: var(--kids-hand-font);
  font-size: 18px;
  font-weight: 600;
}

.template-kidswedding .kids-calendar-card__days span {
  position: relative;
}

.template-kidswedding .kids-calendar-card__days .is-muted {
  color: rgba(226, 185, 190, 0.42);
}

.template-kidswedding .kids-calendar-card__days .is-marked::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 2px solid var(--kids-accent-dark);
  border-radius: 50%;
  transform: translate(-50%, -52%);
}

.template-kidswedding .kids-calendar-card__save {
  position: absolute;
  right: 12px;
  bottom: 8px;
  margin: 0;
  color: var(--kids-accent-dark);
  font-family: var(--kids-note-font);
  font-size: 24px;
  line-height: 0.7;
  text-align: center;
  transform: rotate(-19deg);
}

.template-kidswedding .timeline {
  padding: 0;
  background: var(--kids-paper);
}

.template-kidswedding .timeline h2 {
  position: relative;
  margin: 0;
  padding: 58px 20px 22px;
  color: var(--kids-green);
  background: var(--kids-paper);
  font-family: var(--kids-location-serif-font);
  font-size: 50px;
  font-weight: 500;
  line-height: 0.78;
  text-align: center;
}

.template-kidswedding .timeline h2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23171915' d='M16 0l2.5 13.5L32 16l-13.5 2.5L16 32l-2.5-13.5L0 16l13.5-2.5L16 0z'/%3E%3Cpath fill='%23171915' d='M16 3l1.6 11.4L29 16l-11.4 1.6L16 29l-1.6-11.4L3 16l11.4-1.6L16 3z' transform='rotate(45 16 16)'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateX(-50%);
}

.template-kidswedding .timeline__list {
  display: none;
}

.template-kidswedding .kids-venue {
  position: relative;
  min-height: 540px;
  padding: 0 22px 56px;
  background: var(--kids-paper);
  color: #171915;
}

.template-kidswedding .kids-venue__scene {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  margin: 24px 0 0;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(208, 199, 185, 0.74);
  background: #fff;
  box-shadow: 0 12px 22px rgba(68, 61, 48, 0.1);
}

.template-kidswedding .kids-venue__scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 62%;
  transform: none;
}

.template-kidswedding .kids-venue__card {
  position: absolute;
  left: 16px;
  top: -12px;
  z-index: 2;
  width: min(66%, 248px);
  min-height: 0;
  padding: 30px 16px 18px;
  background: #fffefa;
  box-shadow: 0 18px 34px rgba(58, 47, 35, 0.22), 0 3px 7px rgba(58, 47, 35, 0.12);
  text-align: center;
  transform: rotate(-2.3deg);
  transform-origin: 48% 42%;
}

.template-kidswedding .kids-venue__spark {
  display: block;
  width: 22px;
  height: 22px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23171915' d='M16 0l2.5 13.5L32 16l-13.5 2.5L16 32l-2.5-13.5L0 16l13.5-2.5L16 0z'/%3E%3Cpath fill='%23171915' d='M16 3l1.6 11.4L29 16l-11.4 1.6L16 29l-1.6-11.4L3 16l11.4-1.6L16 3z' transform='rotate(45 16 16)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.template-kidswedding .kids-venue__spark--card {
  position: absolute;
  left: 18px;
  top: 18px;
}

.template-kidswedding .kids-venue__script {
  margin: 0 0 9px;
  color: var(--kids-green);
  font-family: "Marck Script Local", "Segoe Script", "Apple Chancery", cursive;
  font-size: 18px;
  font-weight: 400;
  line-height: 0.9;
}

.template-kidswedding .kids-venue h3 {
  margin: 0;
  color: var(--kids-green);
  font-family: var(--kids-location-serif-font);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.92;
}

.template-kidswedding .kids-venue__address {
  margin: 13px 0 10px;
  color: #171915;
  font-family: "Forum Local", Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.12;
}

.template-kidswedding .kids-venue a {
  display: inline-grid;
  place-items: center;
  width: min(100%, 198px);
  min-width: 0;
  min-height: 35px;
  padding: 0 16px;
  box-sizing: border-box;
  color: #fff;
  background: var(--kids-green);
  font-family: "Forum Local", Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.template-kidswedding .kids-timing {
  position: relative;
  display: block;
  height: 735px;
  background: var(--kids-paper);
}

.template-kidswedding .kids-timing__line {
  position: absolute;
  left: 22px;
  top: -88px;
  width: 340px;
  height: 760px;
  overflow: visible;
  fill: none;
}

.template-kidswedding .kids-timing__line-path {
  stroke: rgba(var(--kids-green-rgb), 0.76);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.template-kidswedding .kids-timing.is-running .kids-timing__line-path {
  animation: kids-timing-line-draw 8.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.template-kidswedding .kids-timing__heart-runner {
  fill: var(--kids-green);
  stroke: none;
  opacity: 0;
  filter: drop-shadow(0 4px 6px rgba(70, 73, 67, 0.14));
  transition: opacity 0.35s ease;
}

.template-kidswedding .kids-timing.is-running .kids-timing__heart-runner {
  opacity: 1;
}

.template-kidswedding .kids-timing__caption {
  position: absolute;
  left: 32px;
  top: 24px;
  margin: 0;
  color: rgba(70, 73, 67, 0.54);
  font-family: var(--kids-note-font);
  font-size: 42px;
  line-height: 0.72;
  opacity: 0;
  transform: rotate(-17deg) translateY(8px);
}

.template-kidswedding .kids-timing.is-running .kids-timing__caption {
  animation: kids-timing-caption-in 0.72s ease forwards;
}

.template-kidswedding .kids-timing__event {
  position: absolute;
  width: 180px;
  color: var(--kids-ink);
  text-align: center;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.template-kidswedding .kids-timing.is-running .kids-timing__event {
  animation: kids-timing-event-in 0.58s cubic-bezier(0.2, 0.72, 0.22, 1) forwards;
  animation-delay: var(--timing-delay, 0s);
}

.template-kidswedding .kids-timing__event time {
  display: block;
  font-family: var(--kids-hand-font);
  font-size: 50px;
  font-weight: 600;
  line-height: 0.86;
}

.template-kidswedding .kids-timing__event span {
  display: block;
  margin-top: 4px;
  font-family: var(--kids-note-font);
  font-size: 31px;
  line-height: 0.8;
}

.template-kidswedding .kids-timing__event--guests {
  top: -58px;
  left: 195px;
  --timing-delay: 0.55s;
}

.template-kidswedding .kids-timing__event--ceremony {
  top: 116px;
  left: 195px;
  --timing-delay: 2.45s;
}

.template-kidswedding .kids-timing__event--banquet {
  top: 306px;
  left: 195px;
  --timing-delay: 5.15s;
}

.template-kidswedding .kids-timing__event--end {
  top: 620px;
  left: 195px;
  --timing-delay: 7.75s;
}

.template-kidswedding .kids-timing__heart {
  position: absolute;
  left: 161px;
  top: 412px;
  width: 34px;
  height: 32px;
  fill: var(--kids-accent-dark);
  transform: rotate(-5deg);
}

.template-kidswedding .dress {
  padding: 42px 24px 54px;
  background: var(--kids-paper);
  color: #25251f;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.template-kidswedding .dress h2 {
  margin-bottom: 23px;
  color: #1f251b;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
}

.template-kidswedding .dress > p,
.template-kidswedding .dress__swatches,
.template-kidswedding .dress__palette {
  display: none;
}

.template-kidswedding .kids-dress {
  display: block;
}

.template-kidswedding .kids-dress__lead {
  max-width: 350px;
  margin: 0 auto 28px;
  color: #111111 !important;
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
}

.template-kidswedding .kids-dress__main {
  margin: 0 0 19px;
  color: #111111 !important;
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  text-transform: uppercase;
}

.template-kidswedding .kids-dress__main span {
  display: block;
  margin-top: 4px;
  color: var(--kids-green) !important;
  font-family: var(--kids-note-font) !important;
  font-size: 43px;
  font-weight: 400;
  line-height: 0.94;
  text-transform: none;
}

.template-kidswedding .kids-dress__palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px 10px;
  margin: 0 auto 22px;
}

.template-kidswedding .kids-dress__palette span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--swatch);
}

.template-kidswedding .kids-dress__note {
  max-width: 350px;
  margin: 0 auto 28px;
  color: #111111 !important;
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.06;
  text-align: center;
}

.template-kidswedding .kids-dress__avoid {
  width: min(100%, 356px);
  margin: 0 auto 42px;
  padding: 26px 32px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 6px 20px rgba(70, 73, 67, 0.06);
}

.template-kidswedding .kids-dress__avoid p,
.template-kidswedding .kids-dress__avoid ul {
  margin: 0;
  color: var(--kids-green);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18.5px;
  line-height: 1.16;
}

.template-kidswedding .kids-dress__avoid p {
  font-weight: 400;
}

.template-kidswedding .kids-dress__avoid ul {
  font-weight: 400;
}

.template-kidswedding .kids-dress__avoid ul {
  margin-top: 14px;
  padding-left: 18px;
}

.template-kidswedding .kids-dress h3 {
  margin: 0 0 24px;
  color: #20251d;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.template-kidswedding .kids-dress__tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.template-kidswedding .kids-dress__tabs span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--kids-green);
  border-radius: 999px;
  color: var(--kids-green);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.template-kidswedding .kids-dress__reference-frame {
  position: relative;
  width: calc(100% + 48px);
  max-width: none;
  margin: 0 -24px -54px;
  overflow: hidden;
  line-height: 0;
}

.template-kidswedding .kids-dress__reference-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(
    to bottom,
    var(--kids-paper) 0%,
    rgba(251, 243, 232, 0.82) 42%,
    rgba(251, 243, 232, 0) 100%
  );
  pointer-events: none;
}

.template-kidswedding .kids-dress__reference {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.template-kidswedding .rsvp {
  padding: 58px 0 28px;
  background: var(--kids-green);
}

.template-kidswedding .rsvp h2 {
  display: none;
}

.template-kidswedding .kids-rsvp__intro {
  display: block;
  margin: 0 0 2px;
  padding: 0;
  text-align: center;
}

.template-kidswedding .kids-rsvp__script {
  display: block;
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--display-font);
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.template-kidswedding .kids-rsvp__lead {
  display: block;
  margin: 0 auto;
  max-width: 344px;
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.14;
  text-align: center;
}

.template-kidswedding .rsvp-form {
  position: relative;
  display: grid;
  row-gap: 18px;
  margin: 0 auto;
  width: 100%;
  max-width: 372px;
  padding: 32px 26px 16px;
  color: #fff;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.template-kidswedding .rsvp-form::before {
  content: none;
}

.template-kidswedding .rsvp-form label,
.template-kidswedding .rsvp-form legend,
.template-kidswedding .attendance-list span,
.template-kidswedding .choice-grid span {
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18.5px;
  font-weight: 400;
  line-height: 1.12;
}

.template-kidswedding .kids-attendance-field legend,
.template-kidswedding .kids-transfer-field legend,
.template-kidswedding .kids-field-title,
.template-kidswedding .drinks-field legend {
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 2px;
}

.template-kidswedding .kids-field-title {
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  text-align: left;
}

.template-kidswedding .rsvp-form .field {
  display: grid;
  row-gap: 6px;
  margin: 0;
  min-width: 0;
}

.template-kidswedding .rsvp-form .fieldset {
  display: grid;
  row-gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.template-kidswedding .rsvp-form .field__error {
  min-height: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}

.template-kidswedding .rsvp-form input[type="text"],
.template-kidswedding .rsvp-form textarea {
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 !important;
  color: #fff;
  background: transparent;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18.5px;
  font-weight: 400;
  line-height: 1.15;
}

.template-kidswedding .rsvp-form textarea {
  min-height: 52px;
}

.template-kidswedding .rsvp-form #guest-name {
  padding-right: 0;
  padding-left: 0;
  border-radius: 0 !important;
}

.template-kidswedding .rsvp-form input::placeholder,
.template-kidswedding .rsvp-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.54);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18.5px;
  font-weight: 400;
  opacity: 1;
}

.template-kidswedding .kids-companion {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  gap: 6px;
  margin: 2px 0 0;
  padding-left: 0;
}

.template-kidswedding .kids-companion__label {
  color: rgba(255, 255, 255, 0.52);
}

.template-kidswedding .kids-companion__hint {
  color: rgba(255, 255, 255, 0.52);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1;
}

.template-kidswedding .kids-companion input {
  min-height: 30px;
  margin-left: 3px;
}

.template-kidswedding .attendance-list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.template-kidswedding .attendance-list label,
.template-kidswedding .choice-grid label {
  min-height: 23px;
  align-items: flex-start;
  margin: 0;
}

.template-kidswedding .attendance-list span,
.template-kidswedding .choice-grid span {
  min-height: 23px;
  align-items: flex-start;
  gap: 10px;
}

.template-kidswedding .attendance-list span::before,
.template-kidswedding .choice-grid span::before {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border-width: 1.2px;
}

.template-kidswedding .choice-grid span::before {
  border-radius: 2px;
}

.template-kidswedding .choice-grid span::after {
  left: 5px;
  width: 5px;
  height: 8px;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
}

.template-kidswedding .choice-grid {
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 0;
}

.template-kidswedding .kids-transfer-field .attendance-list {
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: 34px;
  row-gap: 7px;
}

.template-kidswedding .drinks-field[hidden] {
  display: none !important;
}

.template-kidswedding .drinks-field:not([hidden]) {
  display: grid;
}

.template-kidswedding .button--submit {
  width: min(100%, 214px);
  min-height: 48px;
  margin: 2px auto 0;
  display: block;
  border: 0;
  border-radius: 0;
  color: var(--kids-green);
  background: #fff;
  font-family: var(--display-font);
  font-size: 28px;
}

.template-kidswedding .form-status {
  margin: -6px 0 0;
  min-height: 18px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.template-kidswedding .gifts {
  padding: 58px 18px 84px;
  background: var(--kids-paper);
}

.template-kidswedding .gifts__header,
.template-kidswedding .gifts__grid,
.template-kidswedding .gifts__disclosure {
  display: none;
}

.template-kidswedding .kids-organizer {
  display: grid;
  gap: 0;
}

.template-kidswedding .kids-organizer h2 {
  margin: 0 0 14px;
  color: var(--kids-green);
  font-family: var(--display-font);
  font-size: 44px;
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
}

.template-kidswedding .kids-paper-card {
  position: relative;
  padding: 32px 20px 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(40, 44, 28, 0.12);
  color: #171a13;
  text-align: center;
}

.template-kidswedding .kids-paper-card:nth-of-type(1) {
  z-index: 1;
}

.template-kidswedding .kids-paper-card:nth-of-type(2) {
  z-index: 2;
  margin-top: -18px;
  transform: rotate(-2deg);
}

.template-kidswedding .kids-paper-card:nth-of-type(3) {
  z-index: 3;
  margin-top: -18px;
}

.template-kidswedding .kids-paper-card::before {
  content: none;
}

.template-kidswedding .kids-paper-card:nth-of-type(2)::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23171915' d='M16 0l2.5 13.5L32 16l-13.5 2.5L16 32l-2.5-13.5L0 16l13.5-2.5L16 0z'/%3E%3Cpath fill='%23171915' d='M16 3l1.6 11.4L29 16l-11.4 1.6L16 29l-1.6-11.4L3 16l11.4-1.6L16 3z' transform='rotate(45 16 16)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.template-kidswedding .kids-paper-card--green::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16 0l2.5 13.5L32 16l-13.5 2.5L16 32l-2.5-13.5L0 16l13.5-2.5L16 0z'/%3E%3Cpath fill='%23fff' d='M16 3l1.6 11.4L29 16l-11.4 1.6L16 29l-1.6-11.4L3 16l11.4-1.6L16 3z' transform='rotate(45 16 16)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.template-kidswedding .kids-paper-card--green {
  color: #fff;
  background: var(--kids-green);
}

.template-kidswedding .kids-paper-card--green p {
  color: #fff;
}

.template-kidswedding .kids-paper-card--gift {
  padding: 38px 20px 42px;
  overflow: visible;
  transform: rotate(1.6deg);
}

.template-kidswedding .kids-paper-card--gift::before {
  content: "";
}

.template-kidswedding .kids-paper-card--tilt {
  transform: rotate(2.8deg);
}

.template-kidswedding .kids-paper-card__script {
  margin: 0 0 16px;
  color: inherit;
  font-family: var(--kids-note-font);
  font-size: 29px;
  line-height: 0.72;
}

.template-kidswedding .kids-paper-card p:not(.kids-paper-card__script) {
  margin: 0;
  color: inherit;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.06;
}

.template-kidswedding .kids-paper-card--green p {
  color: #fff;
}

.template-kidswedding .kids-paper-card--gift p:not(.kids-paper-card__script) {
  font-size: 23px;
  font-weight: 300;
  line-height: 1.05;
}

.template-kidswedding .kids-paper-card a {
  width: max-content;
  margin: 20px auto 0;
  padding: 10px 28px;
  display: block;
  color: var(--kids-green);
  background: #fff;
  font-family: var(--display-font);
  font-size: 21px;
  text-decoration: none;
}

.template-kidswedding .contacts {
  padding: 0;
  background: var(--kids-paper);
}

.template-kidswedding .contacts > h2,
.template-kidswedding .contacts__lead,
.template-kidswedding .contacts__person,
.template-kidswedding .contacts__closing {
  display: none;
}

.template-kidswedding .kids-chat {
  display: block;
  padding: 70px 24px 76px;
  color: #111;
  text-align: center;
  background: var(--kids-paper);
}

.template-kidswedding .kids-chat__script {
  margin: 0 0 8px;
  color: var(--kids-green);
  font-family: var(--kids-note-font);
  font-size: 26px;
  line-height: 0.78;
}

.template-kidswedding .kids-chat h2 {
  margin: 0 0 18px;
  color: var(--kids-green);
  font-family: var(--display-font);
  font-size: 36px;
  font-weight: 400;
  line-height: 0.95;
}

.template-kidswedding .kids-chat p:not(.kids-chat__script) {
  margin: 0 auto;
  max-width: 330px;
  color: #111;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.18;
}

.template-kidswedding .kids-chat a {
  width: max-content;
  margin: 28px auto 0;
  padding: 12px 28px;
  display: block;
  color: #fff;
  background: var(--kids-green);
  font-family: var(--display-font);
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.template-kidswedding .kids-contact-mini {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 50px 26px 48px;
  color: #111;
  background: var(--kids-paper);
  text-align: center;
}

.template-kidswedding .kids-contact-mini p {
  margin: 0 0 12px;
  max-width: 326px;
  color: #111;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

.template-kidswedding .kids-contact-mini span {
  color: var(--kids-green);
  font-family: var(--kids-note-font);
  font-size: 24px;
  line-height: 0.85;
}

.template-kidswedding .kids-contact-mini strong {
  color: var(--kids-green);
  font-family: var(--display-font);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.98;
}

.template-kidswedding .kids-contact-mini a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--kids-green);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.12;
  text-decoration: none;
}

.template-kidswedding .kids-final {
  display: block;
  padding: 58px 28px 70px;
  color: #fff;
  background: var(--kids-green);
  text-align: center;
}

.template-kidswedding .kids-final__script {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--kids-note-font);
  font-size: 26px;
  line-height: 0.76;
}

.template-kidswedding .kids-final p:not(.kids-final__script) {
  margin: 0 0 2px;
  color: #fff;
  font-family: var(--display-font);
  font-size: 23px;
  line-height: 1;
}

.template-kidswedding .kids-final strong {
  display: block;
  color: #fff;
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

body.template-kidswedding,
body.template-kidswedding.template-kidswedding *,
body.template-kidswedding.template-kidswedding *::before,
body.template-kidswedding.template-kidswedding *::after {
  font-family: "shablon3", Arial, sans-serif !important;
}

body.template-kidswedding.template-kidswedding input::placeholder,
body.template-kidswedding.template-kidswedding textarea::placeholder {
  font-family: "shablon3", Arial, sans-serif !important;
}

@keyframes kids-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes kids-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes kids-timing-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes kids-timing-caption-in {
  to {
    opacity: 1;
    transform: rotate(-17deg) translateY(0);
  }
}

@keyframes kids-timing-event-in {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes kids-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) rotate(var(--confetti-rotate, 0deg));
  }

  12% {
    opacity: 0.78;
  }

  86% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--confetti-drift, 0px), 112vh, 0) rotate(calc(var(--confetti-rotate, 0deg) + var(--confetti-spin, 220deg)));
  }
}

@media (min-width: 700px) {
  body.template-kidswedding {
    background: var(--kids-paper);
  }

  .template-kidswedding .hero__content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .template-kidswedding .hero__names {
    font-size: clamp(34px, 11.2vw, 46px);
  }

  .template-kidswedding .section h2 {
    font-size: clamp(28px, 9vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
