@font-face {
  font-family: "NEW";
  src: url("https://static.tildacdn.com/tild6432-6336-4830-b666-626137313064/Oranienbaum-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "NEW";
  src: url("https://static.tildacdn.com/tild3666-3432-4562-b630-653463393063/Forum-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "NEW";
  src: url("https://static.tildacdn.com/tild3835-3862-4030-b733-663564666237/Seminaria.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --cream: #fffdf6;
  --blue: #3e5573;
  --blue-dark: #0d3752;
  --text-dark: #516277;
  --text-light: rgba(255, 255, 255, 0.88);
  --line-light: rgba(255, 255, 255, 0.7);
  --program-bg: #fffdf6;
  --program-ink: #3e5573;
  --program-copy: #516277;
  --shadow-soft: 0 30px 80px rgba(13, 55, 82, 0.12);
  --font-body: "Open Sans", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-display: "Oranienbaum", Georgia, serif;
  --font-new: "NEW", "Oranienbaum", Georgia, serif;
  --hero-slide-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --reveal-ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  perspective: 1800px;
  perspective-origin: center top;
}

body:not(.is-opened) {
  overflow: hidden;
}

body.is-opened {
  overflow: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(900px, 100%);
}

.section-shell {
  position: relative;
  overflow: hidden;
}

.section-shell--cream {
  background: var(--cream);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 4vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}

.section-title--dark {
  color: var(--blue);
}

.section-title--light {
  color: #fff;
}

.section-title--lower {
  text-transform: lowercase;
}

.section-copy {
  max-width: 720px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 300;
}

.section-copy--dark {
  color: rgba(81, 98, 119, 0.72);
}

.section-copy--light {
  color: rgba(255, 255, 255, 0.86);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 236px;
  min-height: 56px;
  padding: 14px 36px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

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

.outline-button--light {
  color: #fff;
}

.outline-button--light:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  --reveal-delay: 0s;
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(14px);
  transition:
    opacity 0.95s ease,
    transform 1.05s var(--reveal-ease),
    filter 1s ease;
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform, filter;
}

[data-reveal="zoom"],
[data-reveal="scale"] {
  transform: translate3d(0, 48px, 0) scale(0.93);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.hero {
  position: fixed;
  inset: 0;
  height: 100vh;
  z-index: 30;
  overflow: hidden;
  background: transparent;
}

.hero__card {
  position: relative;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/original/floral-bg-main.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform, opacity, filter;
  transition:
    transform 1.15s var(--hero-slide-ease),
    opacity 0.75s ease,
    filter 0.75s ease;
}

.hero__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  will-change: transform, opacity, filter;
  transition:
    transform 1.25s var(--hero-slide-ease),
    opacity 0.78s ease,
    filter 0.78s ease;
}

.hero__blob {
  position: absolute;
  right: -210px;
  top: -150px;
  width: min(68vw, 860px);
  transform: rotate(-90deg);
  transform-origin: center;
  z-index: 1;
}

.hero__content {
  position: absolute;
  top: 23%;
  right: clamp(80px, 10vw, 170px);
  z-index: 2;
  width: min(590px, 44vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
}

.hero__flower {
  width: 62px;
  opacity: 0.95;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.6vw, 5.1rem);
  line-height: 0.96;
  font-weight: 400;
}

.hero__button {
  min-width: 220px;
  min-height: 54px;
  padding: 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hero__button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.74);
  transform: translateY(-1px);
}

.hero__button:disabled {
  cursor: default;
  opacity: 0.78;
}

#siteContent {
  position: fixed;
  inset: 0;
  z-index: 1;
  min-height: 100vh;
  background: var(--cream);
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior-y: contain;
  opacity: 0;
  transform: translate3d(0, 34px, -180px) scale(0.92);
  transform-origin: center 10%;
  filter: blur(6px);
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition:
    opacity 0.82s ease,
    transform 0.98s cubic-bezier(0.16, 0.84, 0.44, 1),
    filter 0.9s ease;
}

body.is-opening {
  overflow: hidden;
}

body.is-opening-active #siteContent,
body.is-opened #siteContent {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

body.is-opened #siteContent {
  position: relative;
  inset: auto;
  min-height: 100vh;
  overflow: visible;
}

body.is-opening-active .hero {
  pointer-events: none;
}

body.is-opening-active .hero__backdrop,
body.is-opened .hero__backdrop {
  transform: translateX(-100%);
  opacity: 0;
  filter: blur(2px);
}

body.is-opening-active .hero__panel,
body.is-opened .hero__panel {
  transform: translateX(100%);
  opacity: 0;
  filter: blur(2px);
}

.wedding-day {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--cream);
}

.wedding-day__backdrop,
.wedding-day__fade {
  position: absolute;
  inset: 0;
}

.wedding-day__backdrop {
  background: url("assets/original/floral-bg-main.webp") center center / cover no-repeat;
}

.wedding-day__fade {
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0) 0%, rgba(255, 253, 246, 0.34) 55%, rgba(255, 253, 246, 1) 100%);
}

.wedding-day__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
}

.wedding-day__frame {
  position: relative;
  width: 1200px;
  max-width: 100%;
  min-height: 680px;
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  overflow: visible;
}

.wedding-day__content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wedding-day__frame-shape {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.wedding-day__frame-svg {
  position: absolute;
  top: calc(50% - 491px);
  left: 320px;
  width: 561px;
  max-width: none;
  transform: rotate(270deg);
  transform-origin: center;
}

.wedding-day__curve,
.wedding-day__bow,
.wedding-day__headline,
.wedding-day__lead,
.wedding-day__date,
.wedding-day__dot {
  position: absolute;
}

.wedding-day__curve {
  top: calc(50% - 241px);
  left: 424px;
  width: 355px;
}

.wedding-day__bow {
  top: calc(50% - 171px);
  left: 551px;
  width: 100px;
}

.wedding-day__headline {
  top: calc(50% - 90px);
  left: 407px;
  width: 387px;
  height: 170px;
}

.wedding-day__title {
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 384px;
  font-family: var(--font-new);
  font-size: 100px;
  line-height: 1.3;
  font-weight: 100;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue-dark);
}

.wedding-day__script {
  position: absolute;
  left: 187px;
  top: 57px;
  width: 200px;
}

.wedding-day__lead {
  top: calc(50% + 92px);
  left: 306px;
  width: 589px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue-dark);
}

.wedding-day__date {
  top: calc(50% + 161px);
  left: 436px;
  width: 339px;
  margin: 0;
  font-family: var(--font-new);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 100;
  text-align: center;
  color: var(--blue);
}

.wedding-day__dot {
  top: calc(50% + 224px);
  left: 596px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-dark);
}

.greeting {
  position: relative;
  background: var(--cream);
  padding: 6px 0 36px;
}

.greeting__texture {
  position: absolute;
  inset: 0 0 auto;
  height: 230px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.25) 0%, rgba(255, 253, 246, 1) 100%),
    url("assets/original/floral-bg-main.webp") center top / cover no-repeat;
  opacity: 0.14;
}

.greeting__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

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

.greeting__ornament--bottom {
  margin-top: -132px;
  rotate: 180deg;
  transform-origin: center;
}

.greeting__content {
  max-width: 620px;
  margin: -86px auto 0;
}

.greeting__title {
  margin: 0;
  font-family: var(--font-new);
  font-size: clamp(2.45rem, 4vw, 3.75rem);
  line-height: 1.05;
  font-weight: 100;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--blue);
}

.greeting__body,
.greeting__sign {
  margin: 22px auto 0;
  max-width: 540px;
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 300;
  text-align: center;
  color: var(--blue);
}

.greeting__sign {
  margin-top: 28px;
}

.invitation__shell {
  padding: 70px 0 20px;
}

.invitation__fade {
  position: absolute;
  inset: 0 0 auto;
  height: 240px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.18) 0%, rgba(255, 253, 246, 1) 82%),
    url("assets/original/floral-bg-main.webp") center top / cover no-repeat;
  opacity: 0.55;
}

.invitation__container {
  position: relative;
  z-index: 1;
}

.invitation__frame {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 32px 72px;
  text-align: center;
}

.invitation__ornament {
  width: min(100%, 560px);
  margin: 0 auto;
}

.invitation__text {
  max-width: 620px;
  margin: -6px auto 0;
}

.invitation__date {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  line-height: 1;
  color: var(--blue);
}

.invitation__lead {
  margin: 0 auto 26px;
  max-width: 620px;
  font-size: 1.14rem;
  line-height: 1.9;
  color: rgba(81, 98, 119, 0.78);
}

.invitation__body,
.invitation__sign {
  margin: 18px auto 0;
  max-width: 600px;
  font-size: 1.12rem;
  line-height: 1.95;
  color: rgba(81, 98, 119, 0.74);
}

.invitation__sign {
  margin-top: 28px;
}

.blue-block {
  background: var(--blue);
  color: var(--text-light);
}

.blue-block--top {
  border-radius: 88px 88px 0 0;
  margin-top: 18px;
  padding: 110px 0 120px;
}

.event-shell {
  margin-top: -220px;
  padding: 64px 0 122px;
  border-radius: 88px;
  overflow: hidden;
}

.location-shell {
  position: relative;
  isolation: isolate;
  padding: 64px 0;
}

.location-shell::before,
.location-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.location-shell::before {
  inset: -7% -5%;
  z-index: 0;
  background: url("assets/original/floral-bg-main.webp") center center / cover no-repeat;
  opacity: 0.4;
  mix-blend-mode: screen;
  filter: grayscale(1) invert(1) brightness(1.7) contrast(1.08);
  transform: scale(1.03);
}

.location-shell::after {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.05) 100%);
}

.location-shell > .container {
  position: relative;
  z-index: 1;
}

.event-shell .section-title {
  font-family: var(--font-new);
  font-size: clamp(2.8125rem, 4.2vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 100;
}

.program-story {
  position: relative;
  padding: 110px 0 42px;
  background:
    radial-gradient(circle at 50% 10%, rgba(62, 85, 115, 0.07), transparent 32%),
    radial-gradient(circle at 10% 50%, rgba(62, 85, 115, 0.035), transparent 36%),
    var(--program-bg);
  color: var(--program-ink);
}

.program-story__container {
  position: relative;
  z-index: 1;
  width: min(100vw, 680px);
  max-width: 100%;
}

.program-story__header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.program-story__eyebrow,
.program-story__title {
  position: absolute;
  margin: 0;
  text-align: center;
  color: var(--blue);
  text-transform: uppercase;
}

.program-story__eyebrow {
  top: 1.919%;
  left: 0;
  width: 100%;
  font-family: var(--font-new);
  font-size: clamp(2.15rem, 10.8vw, 4rem);
  line-height: 0.9;
  font-weight: 100;
}

.program-story__title {
  top: 4.444%;
  left: 0;
  width: 100%;
  font-family: var(--font-new);
  font-size: clamp(3.3rem, 16vw, 5.85rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 100;
}

.program-story__canvas {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 320 / 990;
  margin: 0 auto;
}

.program-story__curve,
.program-story__ornament {
  position: absolute;
  pointer-events: none;
  backface-visibility: hidden;
}

.program-story__curve {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.95;
}

.program-story__curve[data-reveal] {
  transform: translate3d(0, 24px, 0) scale(0.98);
  filter: none;
}

.program-story__ornament {
  z-index: 2;
  opacity: 0;
  transform: translate(var(--program-enter-x, 0), var(--program-enter-y, 0)) scale(0.3);
  transform-origin: var(--program-origin-x, 50%) var(--program-origin-y, 50%);
  transition:
    opacity 0.34s ease,
    transform 0.56s var(--reveal-ease);
  will-change: opacity, transform;
}

.program-story__ornament.is-preview {
  opacity: 0.32;
  transform: translate(var(--program-preview-x, 0), var(--program-preview-y, 0)) scale(0.74);
}

.program-story__ornament--flower-top {
  top: 17.659%;
  left: 19.062%;
  width: 21.875%;
  --program-origin-x: 36%;
  --program-origin-y: 76%;
  --program-enter-x: -4%;
  --program-enter-y: 8%;
  --program-preview-x: -2%;
  --program-preview-y: 4%;
}

.program-story__ornament--leaf-top-1 {
  top: 25.943%;
  left: 43.75%;
  width: 8.438%;
  --program-origin-x: 58%;
  --program-origin-y: 28%;
  --program-enter-x: -10%;
  --program-enter-y: 14%;
  --program-preview-x: -5%;
  --program-preview-y: 7%;
}

.program-story__ornament--leaf-top-2 {
  top: 30.593%;
  left: 68.562%;
  width: 9.062%;
  --program-origin-x: 24%;
  --program-origin-y: 68%;
  --program-enter-x: -8%;
  --program-enter-y: 10%;
  --program-preview-x: -4%;
  --program-preview-y: 5%;
}

.program-story__ornament--flower-mid {
  top: 37.374%;
  left: 58.812%;
  width: 28.438%;
  --program-origin-x: 16%;
  --program-origin-y: 62%;
  --program-enter-x: -5%;
  --program-enter-y: 5%;
  --program-preview-x: -2%;
  --program-preview-y: 2%;
}

.program-story__ornament--leaf-mid-1 {
  top: 46.452%;
  left: 47.188%;
  width: 9.062%;
  --program-origin-x: 56%;
  --program-origin-y: 28%;
  --program-enter-x: -8%;
  --program-enter-y: 12%;
  --program-preview-x: -4%;
  --program-preview-y: 6%;
}

.program-story__ornament--leaf-mid-2 {
  top: 54.444%;
  left: 27.525%;
  width: 9.375%;
  --program-origin-x: 70%;
  --program-origin-y: 34%;
  --program-enter-x: -10%;
  --program-enter-y: 8%;
  --program-preview-x: -5%;
  --program-preview-y: 4%;
}

.program-story__ornament--flower-bottom {
  top: 61.707%;
  left: 10%;
  width: 38.438%;
  --program-origin-x: 68%;
  --program-origin-y: 38%;
  --program-enter-x: -4%;
  --program-enter-y: 6%;
  --program-preview-x: -2%;
  --program-preview-y: 3%;
}

.program-story__ornament--leaf-bottom-1 {
  top: 75.245%;
  left: 54.062%;
  width: 8.438%;
  --program-origin-x: 42%;
  --program-origin-y: 58%;
  --program-enter-x: -8%;
  --program-enter-y: 10%;
  --program-preview-x: -4%;
  --program-preview-y: 5%;
}

.program-story__ornament--flower-end {
  top: 80%;
  left: 78.062%;
  width: 22.812%;
  --program-origin-x: 18%;
  --program-origin-y: 46%;
  --program-enter-x: -5%;
  --program-enter-y: 4%;
  --program-preview-x: -2%;
  --program-preview-y: 2%;
}

.program-story__ornament.is-active {
  opacity: 0.98;
  transform: translate(0, 0) scale(1);
}

.program-story__item {
  position: absolute;
  top: var(--program-item-top);
  left: var(--program-item-left);
  width: var(--program-item-width);
  z-index: 3;
  pointer-events: none;
}

.program-story__item h3,
.program-story__item p,
.program-story__item span {
  position: static;
  display: block;
  margin: 0;
  width: 100%;
  text-align: var(--program-item-align, left);
}

.program-story__item h3 {
  font-family: var(--font-new);
  font-size: clamp(1.34rem, 5.8vw, 2.8rem);
  line-height: 0.96;
  font-weight: 100;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--program-ink);
  text-wrap: pretty;
}

.program-story__item p {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2.35vw, 1.08rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(62, 85, 115, 0.82);
  text-wrap: pretty;
}

.program-story__item span {
  margin-top: 16px;
  font-family: var(--font-new);
  font-size: clamp(1.65rem, 6.7vw, 2.95rem);
  line-height: 0.96;
  font-weight: 100;
  color: var(--program-ink);
}

.program-story__item--gather {
  --program-item-align: right;
  --program-item-top: 11.818%;
  --program-item-left: 47.5%;
  --program-item-width: 39.688%;
}

.program-story__item--ceremony {
  --program-item-align: left;
  --program-item-top: 29.596%;
  --program-item-left: 12.188%;
  --program-item-width: 40.313%;
}

.program-story__item--banquet {
  --program-item-align: right;
  --program-item-top: 53.434%;
  --program-item-left: 44.688%;
  --program-item-width: 40%;
}

.program-story__item--finish {
  --program-item-align: left;
  --program-item-top: 75.96%;
  --program-item-left: 15%;
  --program-item-width: 40.313%;
}

.location {
  padding: 8px 0;
  display: flex;
  justify-content: center;
}

.location__arch {
  --location-frame-radius: 280px;
  --location-frame-gap: 12px;
  position: relative;
  flex: 0 0 auto;
  width: min(100%, 590px);
  margin: 0 auto;
  padding: var(--location-frame-gap);
  border: 4px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--location-frame-radius);
}

.location__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 758px;
  margin: 0 auto;
  padding: 76px 42px 46px;
  text-align: center;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--location-frame-radius) - var(--location-frame-gap));
}

.location__inner::before {
  content: "";
  position: absolute;
  inset: 18px 14px;
  z-index: 0;
  border-radius: calc(var(--location-frame-radius) - var(--location-frame-gap) - 22px);
  background:
    linear-gradient(180deg, rgba(62, 85, 115, 0.82) 0%, rgba(62, 85, 115, 0.74) 36%, rgba(62, 85, 115, 0.8) 100%);
}

.location__inner > * {
  position: relative;
  z-index: 1;
}

.location__intro,
.location__note,
.location__address {
  margin: 18px auto 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

.location__intro {
  max-width: 320px;
  margin-top: 20px;
}

.location__name {
  max-width: 420px;
  margin: 18px auto 0;
  font-family: var(--font-new);
  font-size: clamp(1.75rem, 2.1vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 100;
  color: #fff;
}

.location__address {
  max-width: 320px;
  margin-top: 12px;
}

.location__photo {
  width: min(100%, 390px);
  margin: 30px auto 0;
  border-radius: 30px;
  box-shadow: none;
}

.location__note {
  max-width: 390px;
  margin-top: 30px;
}

.location-shell .outline-button {
  margin-top: 24px;
  min-width: 176px;
  min-height: 42px;
  padding: 11px 22px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.location-shell .outline-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.details-shell {
  position: relative;
  padding: 92px 0 44px;
  background: var(--cream);
}

.details {
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.details__arch {
  --details-frame-radius: 320px;
  --details-frame-gap: 12px;
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: var(--details-frame-gap);
  border: 4px solid rgba(62, 85, 115, 0.96);
  border-radius: var(--details-frame-radius);
}

.details__inner {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(62, 85, 115, 0.72);
  border-radius: calc(var(--details-frame-radius) - var(--details-frame-gap));
  padding: 62px 78px 96px;
}

.details__inner::before,
.details__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.details__inner::before {
  inset: 16px 14px;
  border-radius: calc(var(--details-frame-radius) - var(--details-frame-gap) - 20px);
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.93) 0%, rgba(255, 253, 246, 0.88) 38%, rgba(255, 253, 246, 0.94) 100%),
    url("assets/original/floral-bg-main.webp") center center / cover no-repeat;
  opacity: 1;
}

.details__inner::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 85, 115, 0.08), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(62, 85, 115, 0.06), transparent 28%);
}

.details__inner > * {
  position: relative;
  z-index: 1;
}

.details__title {
  margin: 0;
  font-family: var(--font-new);
  font-size: clamp(3.4rem, 7vw, 5.75rem);
  line-height: 0.9;
  font-weight: 100;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue);
}

.details__list {
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.details__item {
  width: min(100%, 560px);
}

.details__item--left {
  margin-right: auto;
}

.details__item--right {
  margin-left: auto;
}

.details__item h3 {
  margin: 0 0 12px;
  font-family: var(--font-new);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.02;
  font-weight: 100;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
  color: var(--blue);
}

.details__item h3::before {
  content: none;
}

.details__item p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.76;
  font-weight: 300;
  text-align: left;
  color: rgba(81, 98, 119, 0.86);
}

.details__item--right h3,
.details__item--right p {
  text-align: right;
}

.dresscode {
  padding: 95px 0 40px;
}

.dresscode__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.dresscode__palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  align-items: center;
  column-gap: 18px;
  row-gap: 18px;
  width: min(100%, 620px);
  margin: 30px auto 0;
}

.dresscode__swatch {
  width: clamp(50px, 7vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 1px solid rgba(62, 85, 115, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 0 0 1px rgba(62, 85, 115, 0.05);
}

.dresscode__group {
  margin-top: 56px;
}

.dresscode__group h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.6vw, 2.9rem);
  line-height: 1.08;
  color: var(--blue);
  font-weight: 400;
}

.dresscode__group p {
  margin: 16px 0 26px;
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(81, 98, 119, 0.78);
}

.outfits-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  overscroll-behavior-x: auto;
  -webkit-overflow-scrolling: touch;
}

.outfits-strip.is-dragging {
  cursor: grabbing;
}

.outfits-strip::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.outfits-strip img {
  flex: 0 0 320px;
  width: 320px;
  aspect-ratio: 7 / 10;
  object-fit: cover;
  border-radius: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.guest-form,
.contacts-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.guest-form.blue-block--top {
  margin-top: 26px;
  padding-bottom: 92px;
  border-radius: 88px;
}

.guest-form::before,
.guest-form::after,
.contacts-shell::before,
.contacts-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.guest-form::before,
.contacts-shell::before {
  inset: -7% -5%;
  z-index: 0;
  background: url("assets/original/floral-bg-main.webp") center center / cover no-repeat;
  opacity: 0.4;
  mix-blend-mode: screen;
  filter: grayscale(1) invert(1) brightness(1.7) contrast(1.08);
  transform: scale(1.03);
}

.guest-form::after,
.contacts-shell::after {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.05) 100%);
}

.guest-form > .container,
.contacts-shell > .container {
  position: relative;
  z-index: 1;
}

.form-container {
  width: min(720px, calc(100% - 40px));
  position: relative;
  padding: 44px 42px 52px;
  border-radius: 46px;
}

.form-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(62, 85, 115, 0.82) 0%, rgba(62, 85, 115, 0.74) 36%, rgba(62, 85, 115, 0.8) 100%);
}

.form-container > * {
  position: relative;
  z-index: 1;
}

.guest-form__deadline {
  margin: 20px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.form {
  margin-top: 44px;
}

.form__field {
  margin: 0;
  padding: 0;
  border: 0;
}

.form__field + .form__field {
  margin-top: 40px;
}

.form__field legend,
.form__label {
  margin: 0 0 14px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 600;
  color: #fff;
}

.form__hint {
  margin: -4px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

.form__repeat {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__repeat-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.form__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.form__add:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.form__remove {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.6rem;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.form__remove:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.choice input {
  flex: 0 0 auto;
  margin: 0;
}

.choice input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 1px rgba(40, 58, 80, 0.22);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.choice input[type="radio"]:checked {
  background:
    radial-gradient(circle at center, var(--blue-dark) 0 30%, transparent 34%),
    rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 1);
}

.choice input[type="radio"]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.choice input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #fff;
}

.form textarea,
.form__text-input {
  width: 100%;
  min-height: 58px;
  padding: 8px 2px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  resize: vertical;
  outline: none;
}

.form textarea:focus,
.form__text-input:focus {
  border-bottom-color: #fff;
}

.form .outline-button {
  display: flex;
  margin: 44px auto 0;
}

.form .outline-button:disabled {
  opacity: 0.72;
  cursor: default;
  transform: none;
}

.form__success {
  margin: 22px auto 0;
  text-align: center;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
}

.countdown {
  padding: 78px 0 18px;
}

.countdown__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.countdown__welcome {
  width: min(100%, 920px);
}

.countdown__arch {
  --countdown-frame-radius: 320px;
  --countdown-frame-gap: 12px;
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: var(--countdown-frame-gap);
  border: 4px solid rgba(62, 85, 115, 0.96);
  border-radius: var(--countdown-frame-radius);
}

.countdown__arch-inner {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(62, 85, 115, 0.72);
  border-radius: calc(var(--countdown-frame-radius) - var(--countdown-frame-gap));
  padding: 72px 78px 78px;
}

.countdown__arch-inner::before,
.countdown__arch-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.countdown__arch-inner::before {
  inset: 16px 14px;
  border-radius: calc(var(--countdown-frame-radius) - var(--countdown-frame-gap) - 20px);
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.93) 0%, rgba(255, 253, 246, 0.88) 38%, rgba(255, 253, 246, 0.94) 100%),
    url("assets/original/floral-bg-main.webp") center center / cover no-repeat;
  opacity: 1;
}

.countdown__arch-inner::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 85, 115, 0.08), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(62, 85, 115, 0.06), transparent 28%);
}

.countdown__arch-inner > * {
  position: relative;
  z-index: 1;
}

.countdown__welcome-title {
  margin: 0;
  font-family: var(--font-new);
  font-size: clamp(3.35rem, 6.6vw, 5.4rem);
  line-height: 0.9;
  font-weight: 100;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue);
}

.countdown__welcome-copy {
  max-width: 580px;
  margin: 20px auto 0;
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(81, 98, 119, 0.84);
}

.countdown__wrap {
  width: min(100%, 760px);
  margin: 52px auto 0;
}

.countdown__title {
  margin: 0;
  font-family: var(--font-new);
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.95;
  font-weight: 100;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0;
  max-width: 700px;
  margin: 24px auto 0;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 144px;
  padding: 8px 24px 0;
  border-left: 1px solid rgba(62, 85, 115, 0.72);
}

.countdown__item:first-child {
  border-left: 0;
}

.countdown__value {
  display: block;
  font-family: var(--font-new);
  font-size: clamp(3.6rem, 6.8vw, 5.35rem);
  line-height: 0.92;
  font-weight: 100;
  color: var(--blue);
}

.countdown__label {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(81, 98, 119, 0.62);
}

.contacts {
  margin-top: 22px;
  padding-bottom: 96px;
}

.contacts__container {
  position: relative;
  text-align: center;
  width: min(760px, calc(100% - 40px));
  padding: 42px 42px 52px;
  border-radius: 46px;
}

.contacts__container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(62, 85, 115, 0.82) 0%, rgba(62, 85, 115, 0.74) 36%, rgba(62, 85, 115, 0.8) 100%);
}

.contacts__container > * {
  position: relative;
  z-index: 1;
}

.contacts__text {
  max-width: 650px;
  margin: 24px auto 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.contacts__text strong {
  font-weight: 600;
}

.contacts__phone {
  margin: 18px 0 0;
  font-size: 1.45rem;
  line-height: 1.4;
  font-style: italic;
  color: #fff;
}

.contacts__links {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contacts__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contacts__link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.contacts__link svg {
  width: 24px;
  height: 24px;
}

.contacts__farewell {
  margin: 54px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 4.65rem);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.contacts__bird {
  width: 88px;
  margin: 24px auto 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1199px) {
  .hero__backdrop {
    background-image: url("assets/original/floral-bg-tablet.webp");
  }

  .wedding-day__backdrop {
    background-image: url("assets/original/floral-bg-tablet.webp");
  }

  .wedding-day__frame {
    width: 960px;
  }

  .wedding-day__frame-svg {
    top: -82px;
    left: 239px;
    width: 482px;
  }

  .wedding-day__curve {
    top: 132px;
    left: 335px;
    width: 289px;
  }

  .wedding-day__bow {
    top: 192px;
    left: 441px;
    width: 78px;
  }

  .wedding-day__headline {
    top: 259px;
    left: 288px;
    width: 359px;
    height: 150px;
  }

  .wedding-day__title {
    width: 359px;
    font-size: 88px;
  }

  .wedding-day__script {
    top: 52px;
    left: 185px;
    width: 174px;
  }

  .wedding-day__lead {
    top: 423px;
    left: 185px;
    width: 589px;
  }

  .wedding-day__date {
    top: 496px;
    left: 310px;
    width: 339px;
  }

  .wedding-day__dot {
    opacity: 0;
  }

  .hero__blob {
    width: min(76vw, 920px);
    right: -290px;
    top: -150px;
  }

  .hero__content {
    right: clamp(42px, 6vw, 96px);
    width: min(560px, 48vw);
  }
}

@media (max-width: 959px) {
  .hero__card {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(360px, 47svh, 500px);
    background: var(--blue);
    border-radius: 52vw 52vw 0 0;
    z-index: 1;
  }

  .hero__backdrop {
    background-image: url("assets/original/floral-bg-mobile.webp");
    background-position: center top;
  }

  .wedding-day {
    min-height: 1100px;
  }

  .wedding-day__backdrop {
    background-image: url("assets/original/floral-bg-mobile.webp");
    background-position: center top;
  }

  .wedding-day__container {
    min-height: 1100px;
  }

  .wedding-day__frame {
    width: 640px;
    min-height: 1100px;
    height: 1100px;
  }

  .wedding-day__frame-svg {
    top: 77px;
    left: 50px;
    width: 540px;
    transform: none;
  }

  .wedding-day__curve {
    top: 132px;
    left: 127px;
    width: 386px;
  }

  .wedding-day__bow {
    top: 246px;
    left: 250px;
    width: 139px;
  }

  .wedding-day__headline {
    top: 378px;
    left: 90px;
    width: 460px;
    height: 196px;
  }

  .wedding-day__title {
    width: 460px;
    font-size: 110px;
  }

  .wedding-day__script {
    left: 205px;
    top: 59px;
    width: 243px;
  }

  .wedding-day__lead {
    top: 622px;
    left: 91px;
    width: 457px;
    font-size: 23px;
  }

  .wedding-day__date {
    top: 812px;
    left: 126px;
    width: 388px;
    font-size: 47px;
  }

  .wedding-day__dot {
    top: 917px;
    left: 313px;
    width: 15px;
    height: 15px;
    opacity: 1;
  }

  .greeting {
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .greeting__texture {
    height: 210px;
  }

  .greeting__ornament {
    width: min(620px, calc(100% - 8px));
  }

  .greeting__ornament--bottom {
    margin-top: -118px;
  }

  .greeting__content {
    max-width: 560px;
    margin-top: -60px;
  }

  .greeting__title {
    font-size: 3rem;
  }

  .greeting__body,
  .greeting__sign {
    max-width: 500px;
  }

  .hero__blob {
    display: none;
  }

  .hero__content {
    left: 50%;
    right: auto;
    top: auto;
    bottom: clamp(34px, 5svh, 56px);
    width: min(420px, calc(100% - 56px));
    transform: translateX(-50%);
    gap: 22px;
    z-index: 2;
  }

  .blue-block--top {
    border-radius: 58px 58px 0 0;
    padding-top: 88px;
  }

  .guest-form.blue-block--top {
    border-radius: 58px;
  }

  .event-shell {
    border-radius: 58px;
    margin-top: -180px;
    padding: 56px 0 104px;
  }

  .location-shell {
    padding: 56px 0;
  }

  .program-story {
    padding: 92px 0 34px;
  }

  .program-story__item p {
    font-size: 1.02rem;
  }

  .location {
    padding: 8px 0;
  }

  .details-shell {
    padding: 84px 0 40px;
  }

  .location__arch {
    width: min(100%, 560px);
  }

  .location__inner {
    min-height: 778px;
    padding: 76px 34px 54px;
  }

  .location__photo {
    width: min(100%, 350px);
    border-radius: 26px;
  }

  .details {
    padding-top: 72px;
  }

  .countdown {
    padding: 68px 0 16px;
  }

  .countdown__arch {
    --countdown-frame-radius: 280px;
    --countdown-frame-gap: 10px;
    width: min(100%, 760px);
    border-width: 3px;
  }

  .countdown__arch-inner {
    padding: 62px 38px 66px;
    border-width: 1px;
  }

  .countdown__wrap {
    margin-top: 42px;
  }

  .countdown__grid {
    max-width: 560px;
  }

  .contacts__container {
    width: min(720px, calc(100% - 40px));
    padding: 36px 34px 44px;
    border-radius: 38px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 30px);
  }

  .wedding-day {
    min-height: 920px;
  }

  .wedding-day__container {
    min-height: 920px;
  }

  .wedding-day__frame {
    width: 480px;
    min-height: 920px;
    height: 920px;
  }

  .wedding-day__frame-svg {
    top: 84px;
    left: 25px;
    width: 430px;
  }

  .wedding-day__curve {
    top: 129px;
    left: 110px;
    width: 260px;
  }

  .wedding-day__bow {
    top: 225px;
    left: 187px;
    width: 106px;
  }

  .wedding-day__headline {
    top: 321px;
    left: 10px;
    width: 398px;
    height: 164px;
  }

  .wedding-day__title {
    width: 398px;
    font-size: 90px;
  }

  .wedding-day__script {
    top: 52px;
    left: 200px;
    width: 198px;
  }

  .wedding-day__lead {
    top: 512px;
    left: 55px;
    width: 369px;
    font-size: 19px;
  }

  .wedding-day__date {
    top: 656px;
    left: 46px;
    width: 388px;
    font-size: 41px;
  }

  .wedding-day__dot {
    top: 748px;
    left: 233px;
    width: 10px;
    height: 10px;
  }

  .greeting {
    padding-bottom: 32px;
  }

  .greeting__texture {
    height: 180px;
  }

  .greeting__ornament {
    width: min(473px, 100%);
  }

  .greeting__ornament--bottom {
    margin-top: -94px;
  }

  .greeting__content {
    margin-top: -44px;
  }

  .greeting__body,
  .greeting__sign {
    max-width: 380px;
  }

  .hero__card {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__content {
    width: min(360px, calc(100% - 44px));
    bottom: 34px;
    gap: 18px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 9.6vw, 3.15rem);
    line-height: 1.02;
  }

  .hero__button {
    min-width: 194px;
    min-height: 48px;
    font-size: 1rem;
  }

  .invitation__shell {
    padding-top: 46px;
  }

  .invitation__frame {
    padding: 24px 10px 30px;
  }

  .invitation__date {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .event-shell {
    border-radius: 52px;
    margin-top: -146px;
    padding: 50px 0 92px;
  }

  .guest-form.blue-block--top {
    border-radius: 52px;
  }

  .location-shell {
    padding: 50px 0;
  }

  .program-story {
    padding: 82px 0 30px;
  }

  .program-story__eyebrow {
    font-size: clamp(2.45rem, 9vw, 3.3rem);
  }

  .program-story__title {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }

  .program-story__item h3 {
    font-size: 1.62rem;
  }

  .program-story__item p {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .program-story__item span {
    font-size: 1.84rem;
  }

  .dresscode__group h3 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .details-shell {
    padding: 76px 0 38px;
  }

  .countdown {
    padding: 60px 0 14px;
  }

  .countdown__arch {
    --countdown-frame-radius: 240px;
    --countdown-frame-gap: 10px;
    width: min(100%, 760px);
    border-width: 3px;
  }

  .countdown__arch-inner {
    padding: 52px 28px 56px;
    border-width: 1px;
  }

  .countdown__welcome-title {
    font-size: clamp(2.95rem, 10vw, 4.1rem);
  }

  .countdown__welcome-copy {
    max-width: 430px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .countdown__wrap {
    margin-top: 36px;
  }

  .countdown__title {
    font-size: clamp(2.2rem, 10vw, 3.15rem);
  }

  .dresscode__palette {
    column-gap: 14px;
    row-gap: 14px;
    width: min(100%, 460px);
  }

  .dresscode__swatch {
    width: 68px;
  }

  .details__arch {
    --details-frame-radius: 272px;
    --details-frame-gap: 10px;
    width: min(100%, 760px);
    border-width: 3px;
  }

  .details__inner {
    padding: 56px 36px 78px;
    border-width: 1px;
  }

  .details__title {
    font-size: clamp(3rem, 10vw, 4.4rem);
  }

  .details__list {
    max-width: 560px;
    margin-top: 26px;
    gap: 30px;
  }

  .details__item {
    width: min(100%, 430px);
  }

  .details__item h3 {
    font-size: 1.875rem;
  }

  .details__item p {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .outfits-strip img {
    flex-basis: 272px;
    width: 272px;
  }

  .location {
    padding: 8px 0;
  }

  .location__arch {
    --location-frame-radius: 248px;
    --location-frame-gap: 10px;
    width: min(100%, 520px);
    border-width: 3px;
  }

  .location__inner {
    min-height: 680px;
    padding: 62px 30px 38px;
    border-width: 1px;
  }

  .location__intro,
  .location__note,
  .location__address {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .location__intro {
    max-width: 310px;
    margin-top: 16px;
  }

  .location__name {
    max-width: 420px;
    margin-top: 16px;
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .location__address {
    max-width: 320px;
    margin-top: 12px;
  }

  .location__photo {
    width: min(100%, 360px);
    margin-top: 28px;
    border-radius: 24px;
  }

  .location__note {
    max-width: 370px;
    margin-top: 24px;
  }

  .location-shell .outline-button {
    min-width: 158px;
    min-height: 40px;
    padding: 10px 20px;
    font-size: 0.75rem;
  }

  .dresscode__palette {
    column-gap: 10px;
    row-gap: 10px;
    width: min(100%, 320px);
  }

  .dresscode__swatch {
    width: 48px;
  }

  .outfits-strip img {
    flex-basis: 220px;
    width: 220px;
  }

  .form-container {
    width: calc(100% - 30px);
    padding: 34px 24px 40px;
    border-radius: 34px;
  }

  .form__repeat-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .form__remove {
    align-self: flex-end;
  }

  .countdown__grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 18px 0;
    max-width: 420px;
  }

  .countdown__item {
    border-left: 0;
    min-height: 110px;
    padding: 4px 10px 0;
  }

  .countdown__value {
    font-size: clamp(2.5rem, 12vw, 3.3rem);
  }

  .contacts__container {
    width: calc(100% - 30px);
    padding: 34px 24px 42px;
    border-radius: 34px;
  }
}

@media (max-width: 479px) {
  .hero__card {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__panel::before {
    height: clamp(286px, 40svh, 340px);
    border-radius: 58vw 58vw 0 0;
  }

  .guest-form.blue-block--top {
    border-radius: 44px;
  }

  .form-container {
    padding: 28px 18px 34px;
    border-radius: 28px;
  }

  .wedding-day {
    min-height: 650px;
  }

  .wedding-day__container {
    min-height: 650px;
  }

  .wedding-day__frame {
    width: 320px;
    min-height: 650px;
    height: 650px;
  }

  .wedding-day__frame-svg {
    top: 45px;
    left: 0;
    width: 320px;
  }

  .wedding-day__curve {
    top: 76px;
    left: 49px;
    width: 222px;
  }

  .wedding-day__bow {
    top: 148px;
    left: 110px;
    width: 99px;
  }

  .wedding-day__headline {
    top: 237px;
    left: 2px;
    width: 316px;
    height: 121px;
  }

  .wedding-day__title {
    width: 316px;
    font-size: 70px;
    line-height: 1.15;
  }

  .wedding-day__script {
    top: 33px;
    left: 137px;
    width: 156px;
  }

  .wedding-day__lead {
    top: 378px;
    left: 19px;
    width: 281px;
    font-size: 14px;
  }

  .wedding-day__date {
    top: 481px;
    left: 2px;
    width: 316px;
    font-size: 29px;
    line-height: 1.15;
  }

  .wedding-day__dot {
    top: 547px;
    left: 155px;
    width: 10px;
    height: 10px;
  }

  .greeting {
    padding-top: 8px;
    padding-bottom: 26px;
  }

  .greeting__texture {
    height: 150px;
  }

  .greeting__ornament {
    width: 330px;
  }

  .greeting__ornament--bottom {
    margin-top: -62px;
  }

  .greeting__content {
    max-width: 320px;
    margin-top: -28px;
  }

  .greeting__title {
    font-size: 2.1875rem;
  }

  .greeting__body,
  .greeting__sign {
    margin-top: 18px;
    max-width: 270px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero__content {
    width: min(300px, calc(100% - 36px));
    bottom: 26px;
    gap: 16px;
  }

  .hero__flower {
    width: 48px;
  }

  .hero__subtitle {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero__title {
    font-size: clamp(1.95rem, 10.8vw, 2.6rem);
    line-height: 1.04;
  }

  .section-title {
    font-size: 2.55rem;
  }

  .section-copy,
  .details__item p,
  .dresscode__group p,
  .location__intro,
  .location__note,
  .location__address,
  .contacts__text,
  .invitation__lead,
  .invitation__body,
  .invitation__sign {
    font-size: 1rem;
    line-height: 1.75;
  }

  .blue-block--top {
    border-radius: 44px 44px 0 0;
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .event-shell {
    border-radius: 44px;
    margin-top: -112px;
    padding: 44px 0 78px;
  }

  .location-shell {
    padding: 44px 0;
  }

  .countdown__arch {
    --countdown-frame-radius: 206px;
    --countdown-frame-gap: 9px;
    border-width: 3px;
  }

  .countdown__arch-inner {
    padding: 44px 18px 48px;
  }

  .countdown__welcome-copy {
    max-width: 280px;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .contacts__container {
    padding: 28px 18px 34px;
    border-radius: 28px;
  }

  .invitation__fade {
    height: 180px;
  }

  .invitation__frame {
    padding: 16px 0 22px;
  }

  .program-story {
    padding: 74px 0 24px;
  }

  .program-story__eyebrow {
    font-size: 2.15rem;
  }

  .program-story__title {
    font-size: 2.45rem;
  }

  .program-story__item h3 {
    font-size: 1.3rem;
    line-height: 0.98;
  }

  .program-story__item p {
    font-size: 0.9rem;
    line-height: 1.46;
  }

  .program-story__item span {
    font-size: 1.68rem;
  }

  /* Mobile-only fine tuning: keep ornaments seated on the curve
     without changing the desktop composition. */
  .program-story__ornament--flower-top {
    top: 18.659%;
    left: 19.062%;
    width: 21.875%;
  }

  .program-story__ornament--leaf-top-1 {
    top: 26.943%;
    left: 43.75%;
    width: 8.438%;
  }

  .program-story__ornament--leaf-top-2 {
    top: 31.593%;
    left: 68.592%;
    width: 9.062%;
  }

  .program-story__ornament--flower-mid {
    top: 37.374%;
    left: 58.812%;
    width: 28.438%;
  }

  .program-story__ornament--leaf-mid-1 {
    top: 47.352%;
    left: 47.188%;
    width: 9.062%;
  }

  .program-story__ornament--leaf-mid-2 {
    top: 54.444%;
    left: 29.225%;
    width: 9.375%;
  }

  .program-story__ornament--flower-bottom {
    top: 62.707%;
    left: 10%;
    width: 38.438%;
  }

  .program-story__ornament--leaf-bottom-1 {
    top: 76.545%;
    left: 55.162%;
    width: 8.438%;
  }

  .program-story__ornament--flower-end {
    top: 82%;
    left: 79.762%;
    width: 22.812%;
  }

  .details__arch {
    --details-frame-radius: 228px;
    --details-frame-gap: 9px;
    width: min(100%, calc(100vw - 26px));
    border-width: 3px;
  }

  .details__inner {
    padding: 44px 22px 82px;
    border-width: 1px;
  }

  .details__inner::before {
    inset: 14px 12px;
  }

  .details__title {
    font-size: 2.9rem;
  }

  .details__list {
    max-width: 100%;
    margin-top: 20px;
    gap: 24px;
  }

  .details__item {
    width: 100%;
  }

  .details__item h3 {
    margin-bottom: 10px;
    font-size: 1.65rem;
  }

  .details__item p {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .location {
    padding: 6px 0;
  }

  .location__arch {
    --location-frame-radius: 210px;
    --location-frame-gap: 9px;
    width: min(100%, 100vw - 26px);
    border-width: 3px;
  }

  .location__inner {
    min-height: 632px;
    padding: 54px 18px 34px;
    border-width: 1px;
  }

  .location__intro,
  .location__note,
  .location__address {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .location__intro {
    max-width: 250px;
    margin-top: 16px;
  }

  .location__name {
    max-width: 300px;
    margin-top: 15px;
    font-size: 1.4rem;
    line-height: 1.08;
  }

  .location__address {
    max-width: 260px;
    margin-top: 12px;
  }

  .location__photo {
    width: min(100%, 310px);
    margin-top: 24px;
    border-radius: 22px;
  }

  .location__note {
    max-width: 320px;
    margin-top: 22px;
  }

  .details-shell {
    padding: 68px 0 32px;
  }

  .location-shell .outline-button {
    min-width: 146px;
    min-height: 38px;
    padding: 10px 18px;
    font-size: 0.75rem;
  }

  .outline-button,
  .hero__button {
    min-width: 190px;
    min-height: 47px;
    padding-inline: 28px;
  }

  .contacts__farewell {
    font-size: 2.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__card,
  #siteContent,
  [data-reveal] {
    transition: none;
  }

  #siteContent {
    transform: none;
    filter: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
