@font-face {
  font-family: Vazir;
  src: url("assets/vazirmatn.ttf");
}
@font-face {
  font-family: Amiri;
  src: url("assets/amiri.ttf");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}
body {
  margin: 0;
  background: #f5f7f9;
  color: #283e57;
  font:
    14px/1.9 Vazir,
    sans-serif;
  overflow-x: hidden;
}
body.sealed {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #41648d;
  outline-offset: 5px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2,
h3 {
  font-family: Amiri, serif;
  font-weight: 400;
}
h2 {
  font-size: 44px;
  line-height: 1.6;
  color: #3a5a7e;
}
h3 {
  font-size: 26px;
}
button {
  border: 0;
}
::selection {
  background: #96a9be;
  color: white;
}
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4.5%;
  width: 100%;
  color: #f1f4f7;
  transition: color 1s;
}
.sealed .topbar {
  color: #3c5e84;
  pointer-events: none;
}
.monogram {
  font: 31px Amiri;
}
.monogram span {
  font: 15px Vazir;
  margin: 0 7px;
}
.header-date {
  font-size: 12px;
  letter-spacing: 0.3px;
}
.header-rsvp {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  border-bottom: 1px solid #c4cfdb73;
  padding-bottom: 4px;
}
.header-rsvp svg {
  width: 14px;
}
.sealed .header-rsvp {
  opacity: 0;
}
.hero {
  height: 100svh;
  min-height: 690px;
  position: relative;
  background: #1f2f42;
  overflow: hidden;
  color: #e7ecf2;
  text-align: center;
}
.hero video,
.hero-shade,
.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero video {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s;
}
.playing .hero video,
.opened .hero video {
  opacity: 1;
}
.hero-shade {
  background: linear-gradient(180deg, #131e2a2b, #15212e32 50%, #1a2837b3);
  opacity: 0;
  transition: opacity 1.5s;
}
.opened .hero-shade {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 90px 20px;
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 1.6s,
    transform 1.6s;
  text-shadow: 0 3px 20px #131e2a6b;
  pointer-events: none;
}
.opened .hero-content {
  opacity: 1;
  transform: none;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #5b85b4;
}
.hero-content > .eyebrow {
  color: #dce3ec;
  font-size: 12px;
  letter-spacing: 1px;
}
.hero-intro {
  font: 24px Amiri;
}
.hero h1 {
  font: 100px/1.15 Amiri;
  display: flex;
  flex-direction: column;
  margin: 12px 0 4px;
  font-weight: 400;
}
.hero h1 em {
  font: 29px/1 Amiri;
  opacity: 0.8;
  margin: 7px 0 1px;
}
.hero-poem {
  font: 25px Amiri;
  margin: 8px 0 25px;
}
.hero-date {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
}
.hero-date i {
  width: 3px;
  height: 3px;
  background: #c9d5e2;
  transform: rotate(45deg);
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 21px auto;
  color: #849ab3;
  font-size: 15px;
  line-height: 1;
  max-width: 190px;
}
.ornament:before,
.ornament:after {
  content: "";
  height: 1px;
  width: 68px;
  background: linear-gradient(90deg, transparent, #93a7bd80);
}
.ornament:after {
  transform: rotate(180deg);
}
.ornament.light {
  color: #d9e1eb;
  margin: 20px auto 14px;
}
.ornament.light:before,
.ornament.light:after {
  background: linear-gradient(90deg, transparent, #d9e1eb90);
}
.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #e5ebf1;
  opacity: 0;
  transition: opacity 1s;
}
.opened .scroll-cue {
  opacity: 1;
}
.scroll-cue svg {
  animation: bob 2s infinite;
}
.envelope {
  background: url("assets/envelope-fa.jpg") center/cover;
  z-index: 7;
  cursor: pointer;
  transition:
    opacity 1.2s,
    transform 2.3s;
}
.envelope:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px #35527413;
  pointer-events: none;
}
.envelope-label {
  position: absolute;
  top: 17%;
  left: 0;
  width: 100%;
  color: #3e6087;
  text-shadow: 0 1px 1px #e6ecf291;
}
.envelope-label > span {
  font-size: 11px;
  letter-spacing: 0.7px;
}
.envelope-label h2 {
  font-size: 43px;
  color: #3d5f85;
  line-height: 1.8;
}
.open-caption {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  color: #39597d;
  pointer-events: none;
}
.open-caption p {
  font-size: 12px;
  letter-spacing: 0.4px;
  margin-top: 3px;
}
.open-caption small {
  font-size: 10px;
  opacity: 0.75;
}
.tap-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid #4b75a452;
  border-radius: 50%;
  animation: bob 2.8s infinite;
}
.tap-ring svg {
  width: 15px;
}
.playing .envelope {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}
.opened .envelope {
  opacity: 0;
  pointer-events: none;
}
.skip {
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  border: 1px solid #fff3;
  border-radius: 30px;
  padding: 7px 20px;
  background: #22354b60;
  color: #e8edf2;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
}
.playing:not(.opened) .skip {
  opacity: 1;
  pointer-events: auto;
}
.floating-controls {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 20;
  display: flex;
  gap: 8px;
  opacity: 1;
  transition: opacity 1s;
}
.sealed .floating-controls {
  opacity: 0;
  pointer-events: none;
}
.round-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fae6;
  backdrop-filter: blur(12px);
  border: 1px solid #adbbcc80;
  color: #3e6087;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 3px 18px #263b530c;
  transition:
    background 0.3s,
    transform 0.3s;
  position: relative;
}
.round-button:hover {
  background: white;
  transform: translateY(-2px);
}
.mute-line {
  position: absolute;
  width: 22px;
  height: 1px;
  background: #3e6087;
  transform: rotate(-45deg);
}
[aria-pressed="true"] .mute-line {
  display: none;
}
.section-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  min-height: 70px;
  background: #f7f8fa;
  box-shadow: 0 1px 0 #c2cdd933;
  font-size: 12px;
}
.section-nav a {
  transition: color 0.3s;
}
.section-nav a:hover {
  color: #4972a0;
}
.section-nav > span {
  color: #99acc1;
  font-size: 10px;
}
.welcome {
  padding: 105px 25px 85px;
  text-align: center;
  background: linear-gradient(#1f2f42, #41658e 43%, #b8c5d4 80%, #e8edf2);
  color: #ebf0f4;
}
.welcome .eyebrow {
  color: #c5cfdb;
}
.welcome h2 {
  color: #e7ecf2;
  font-size: 37px;
  margin: 10px auto 20px;
}
.welcome p {
  font: 24px/2 Amiri;
  text-shadow: 0 2px 9px #22354a40;
}
.welcome .signature {
  font: 24px Amiri;
  margin-top: 25px;
  color: #3d5f85;
}
.welcome .ornament {
  color: #9eafc3;
  margin: 25px auto;
}
.section-pad {
  padding: 88px 24px;
}
.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}
.section-heading h2 {
  margin: 8px 0 0;
}
.section-heading p {
  color: #5580b1;
  font-size: 12px;
  line-height: 2;
}
.date-section {
  background: #e8edf2;
  text-align: center;
  padding-top: 70px;
}
.date-section .section-heading {
  margin-bottom: 23px;
}
.scratch-wrap {
  position: relative;
  width: 280px;
  height: 266px;
  margin: 0 auto 5px;
  filter: drop-shadow(0 12px 20px #38577b15);
}
.heart-reveal {
  position: absolute;
  inset: 0;
  clip-path: path(
    "M 140 258 C 124 245, 5 171, 5 89 C 5 6, 114 -19, 140 58 C 166 -19, 275 6, 275 89 C 275 171, 156 245, 140 258 Z"
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  background: radial-gradient(at 30% 25%, #f9fafc, #d3dde8);
  border: 1px solid #96a9bf;
  color: #3a5a7e;
}
.heart-reveal > span {
  font-size: 12px;
}
.heart-reveal strong {
  font: 40px Amiri;
  line-height: 1.5;
}
.heart-reveal small {
  font-size: 11px;
  margin-top: 3px;
}
#scratch {
  position: absolute;
  inset: 0;
  width: 280px;
  height: 266px;
  touch-action: none;
  cursor: crosshair;
  transition: opacity 0.65s;
}
.text-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  background: none;
  color: #48709e;
  font-size: 11px;
  padding: 10px 0;
}
.text-button:hover {
  color: #2a415c;
}
.date-section > .text-button {
  display: flex;
  margin: 2px auto 20px;
}
.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  border-radius: 30px;
  padding: 11px 26px;
  background: #3e6188;
  color: #f5f7fa;
  font-size: 12px;
  border: 1px solid #3e6188;
  box-shadow: 0 8px 22px #2a415b13;
  transition:
    background 0.25s,
    transform 0.25s;
}
.button:hover {
  background: #314d6c;
  transform: translateY(-2px);
}
.button svg {
  width: 17px;
  height: 17px;
}
.countdown-section {
  text-align: center;
  background: #f7f8fa;
  position: relative;
  padding-bottom: 75px;
}
.countdown {
  display: flex;
  direction: rtl;
  justify-content: center;
  gap: 24px;
  align-items: flex-start;
}
.countdown > div {
  width: 93px;
}
.countdown strong {
  font: 52px/1.6 Amiri;
  display: block;
  color: #3a5a7e;
  border-bottom: 1px solid #ccd7e3;
  padding-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.countdown > div > span {
  font-size: 11px;
  display: block;
  margin-top: 12px;
  color: #5580b1;
}
.countdown > b {
  font: 25px Amiri;
  margin-top: 24px;
  color: #9dafc3;
  font-weight: 400;
}
#countdown-caption {
  font-size: 11px;
  color: #7295be;
  margin-top: 32px;
}
.gallery-section {
  background: #e8edf2;
}
.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 1050px;
  margin: auto;
}
.gallery-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #c4d1e0;
  box-shadow: 0 10px 35px #2a415c12;
  width: 31%;
  height: 360px;
  border-radius: 150px 150px 2px 2px;
  border: 6px solid #eff3f7;
  outline: 1px solid #b3c1d1;
}
.gallery-photo.center-photo {
  height: 440px;
  width: 34%;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.gallery-photo:hover img {
  transform: scale(1.055);
}
.gallery-photo:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #1724326e);
  pointer-events: none;
}
.gallery-photo > span {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font: 26px Amiri;
  z-index: 1;
}
.small-caption {
  text-align: center;
  font-size: 11px;
  color: #6d92bc;
  margin-top: 32px;
}
.small-caption > span {
  margin-right: 10px;
}
.program-section {
  background: #f7f8fa;
}
.timeline {
  max-width: 600px;
  margin: auto;
}
.timeline-item {
  display: flex;
  position: relative;
  gap: 30px;
  padding: 0 0 40px;
}
.timeline-item:not(:last-child):before {
  content: "";
  position: absolute;
  right: 25px;
  top: 50px;
  width: 1px;
  height: calc(100% - 47px);
  background: #c2cdd9;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 51px;
  border: 1px solid #bac7d5;
  border-radius: 50%;
  color: #5b84b3;
  background: #f2f5f8;
}
.timeline-icon svg {
  width: 21px;
  height: 21px;
}
.timeline-copy {
  flex: 1;
  padding-top: 3px;
}
.timeline-copy .time {
  font-size: 12px;
  color: #688eb9;
  float: left;
  border: 1px solid #d0dae5;
  padding: 1px 10px;
  border-radius: 20px;
  line-height: 1.8;
  margin-top: 8px;
}
.timeline-copy h3 {
  font-size: 26px;
  color: #345172;
  margin-bottom: 4px;
}
.timeline-copy p {
  font-size: 12px;
  color: #5d86b5;
  line-height: 2;
}
.venue-section {
  background: #e7ecf2;
}
.venue-card {
  max-width: 940px;
  margin: auto;
  background: #f5f7fa;
  border: 1px solid #c5d0dc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 15px 40px #2f486508;
  padding: 15px;
}
.venue-art {
  background: #ced9e5;
  padding: 25px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}
.venue-art:before,
.venue-art:after {
  content: "❦";
  font: 235px Amiri;
  color: #4f7aac2b;
  position: absolute;
  bottom: -83px;
  right: -70px;
  transform: rotate(-30deg);
}
.venue-art:after {
  top: -70px;
  right: auto;
  left: -70px;
  transform: rotate(140deg);
}
.arch {
  border: 1px solid #6a90bb;
  outline: 1px solid #899eb6;
  border-radius: 160px 160px 0 0;
  outline-offset: 7px;
  width: 230px;
  min-height: 290px;
  padding: 18px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: linear-gradient(155deg, #e2e9f080, #bfcbd880);
}
.arch-inner {
  border: 1px solid #8a9fb870;
  border-radius: 130px 130px 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #507caf;
  padding-top: 26px;
}
.arch-inner > svg {
  width: 40px;
  height: 40px;
  margin: 25px 0 14px;
  stroke-width: 0.8;
}
.arch-inner p {
  font: 21px Amiri;
}
.arch-inner > span:last-child {
  font: 12px Amiri;
  margin-top: 10px;
  letter-spacing: 3px;
}
.venue-details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
}
.large-icon {
  width: 25px;
  height: 25px;
  color: #5b84b3;
  margin-bottom: 10px;
}
.venue-details .eyebrow {
  font-size: 10px;
}
.venue-details h3 {
  font-size: 33px;
  margin: 7px 0;
  color: #3b5b7f;
}
.venue-details p {
  font-size: 12px;
  color: #5882b2;
  line-height: 2.1;
}
.venue-time {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 0 22px;
  font-size: 11px;
  color: #668cb8;
}
.venue-time svg {
  width: 15px;
}
.venue-details .button {
  font-size: 11px;
  padding: 10px 20px;
}
.details-section {
  background: #f7f8fa;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: auto;
  gap: 24px;
}
.detail-card {
  border: 1px solid #d0dae5;
  padding: 32px 29px 24px;
  text-align: center;
  position: relative;
  background: #f7f9fb;
}
.detail-number {
  font: 21px Amiri;
  display: inline-block;
  color: #6a90bb;
  border-bottom: 1px solid #b3c1d1;
  padding: 0 13px;
  margin-bottom: 20px;
}
.detail-card h3 {
  font-size: 26px;
  color: #426690;
  margin-bottom: 10px;
}
.detail-card p {
  font-size: 12px;
  line-height: 2.15;
  color: #5d86b5;
}
.swatches {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.swatches i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #fff;
  outline: 1px solid #c6d3e1;
}
.detail-card .text-button {
  margin-top: 15px;
}
.gift-heart {
  margin-top: 25px;
  color: #849ab3;
  width: 23px;
}
.rsvp-section {
  background: #e1e8ef;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  justify-content: center;
  padding: 95px max(24px, calc((100% - 960px) / 2));
}
.rsvp-intro {
  padding-top: 44px;
  text-align: center;
}
.rsvp-intro h2 {
  font-size: 49px;
  line-height: 1.65;
  margin-top: 15px;
}
.rsvp-intro p {
  font-size: 12px;
  line-height: 2.2;
  color: #5a84b3;
}
.rsvp-signature {
  display: block;
  font: 26px Amiri;
  color: #517daf;
  margin-top: 28px;
}
.rsvp-flower {
  font: 135px/1.3 Amiri;
  color: #a0b1c47d;
  margin-top: 10px;
}
.rsvp-form-wrap {
  background: #f7f8fa;
  padding: 33px;
  border: 1px solid #c3ceda;
  box-shadow: 0 15px 35px #36537508;
  min-height: 500px;
}
.rsvp-form-wrap h3 {
  font-size: 29px;
  color: #3d5f85;
  margin-bottom: 23px;
}
form > label,
#guests-field > label {
  display: block;
  font-size: 11px;
  margin: 17px 0 6px;
}
label > span,
legend > span {
  color: #5a84b3;
}
label small {
  font-size: 10px;
  color: #849ab3;
}
input:not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #c9d5e2;
  background: #fafbfd;
  border-radius: 3px;
  padding: 11px 13px;
  color: #3a5a7f;
  outline: none;
  font-size: 12px;
  transition: border 0.2s;
  accent-color: #3f6188;
}
input:not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: #5a84b3;
  box-shadow: 0 0 0 3px #5a84b30c;
}
input::placeholder,
textarea::placeholder {
  color: #92a6bc;
  font-size: 11px;
}
textarea {
  resize: vertical;
  min-height: 88px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 18px 0 0;
}
legend {
  font-size: 11px;
  padding: 0 0 9px;
}
.attendance-options {
  display: flex;
  gap: 8px;
}
.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid #c9d5e2;
  background: #fafbfd;
  font-size: 10px;
  cursor: pointer;
  border-radius: 3px;
  flex: 1;
  color: #6a90bb;
  transition: background 0.2s;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  inset: 0;
  margin: 0;
}
.radio-card:has(input:checked) {
  background: #e3e9f0;
  border-color: #688eba;
  color: #3c5e84;
}
.radio-card:focus-within {
  outline: 2px solid #537eb0;
  outline-offset: 2px;
}
.radio-card span {
  font-size: 17px;
  line-height: 1;
}
.submit {
  width: 100%;
  border-radius: 3px;
  margin-top: 17px;
}
.submit:disabled {
  opacity: 0.5;
  cursor: wait;
}
.demo-note {
  font-size: 9px;
  text-align: center;
  color: #869cb5;
  line-height: 1.9;
  margin-top: 13px;
}
.form-error {
  color: #3f6188;
  font-size: 11px;
  margin-top: 10px;
}
.form-error:empty {
  display: none;
}
.form-success {
  text-align: center;
  padding: 75px 0;
  outline: none;
}
.form-success h3 {
  margin-bottom: 12px;
}
.form-success p {
  font-size: 12px;
  color: #507bad;
}
.form-success .demo-note {
  font-size: 10px;
}
.form-success .text-button {
  margin-top: 24px;
}
.success-icon {
  width: 68px;
  height: 68px;
  border: 1px solid #9dafc3;
  background: #e4eaf0;
  color: #4972a0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}
.success-icon svg {
  width: 28px;
  height: 28px;
}
footer {
  padding: 65px 24px 20px;
  text-align: center;
  background: #f3f6f9;
}
footer > p {
  font: 23px Amiri;
  color: #4a72a0;
}
.footer-names {
  font: 49px Amiri;
  color: #3d5e84;
  margin: 17px 0 4px;
}
.footer-names span {
  font-size: 25px;
  color: #8298b2;
  margin: 0 8px;
}
.footer-date {
  font-size: 10px;
  color: #6c91bc;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 55px auto 0;
  border-top: 1px solid #d4dde8;
  padding-top: 20px;
  font-size: 9px;
  color: #889db6;
}
.footer-bottom button {
  background: none;
  color: #6b90bb;
  font-size: 10px;
}
.footer-bottom button > span {
  font-size: 15px;
  margin-right: 5px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: #324e6d;
  color: #f5f7fa;
  box-shadow: 0 8px 40px #2c445f33;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 12px;
  transition: 0.3s;
  text-align: center;
  max-width: calc(100% - 40px);
  width: max-content;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: white;
  max-width: 95vw;
  max-height: 95svh;
  overflow: visible;
}
dialog::backdrop {
  background: #141f2be8;
  backdrop-filter: blur(8px);
}
dialog[open] {
  display: flex;
  align-items: center;
  gap: 20px;
}
#lightbox-photo {
  max-height: 80svh;
  max-width: 75vw;
  object-fit: contain;
  border: 6px solid #f1f4f7;
}
.lightbox-close {
  position: absolute;
  left: 0;
  top: -55px;
  width: 36px;
  height: 36px;
}
.photo-nav {
  background: transparent;
  color: #dee6ee;
  font: 24px Vazir;
  padding: 10px;
}
#photo-count {
  position: absolute;
  bottom: -35px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: #adbccd;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
[hidden] {
  display: none !important;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 115px;
  }
  .hero-intro {
    font-size: 28px;
  }
  .hero-poem {
    font-size: 28px;
  }
}
@media (max-width: 760px) {
  h2 {
    font-size: 34px;
  }
  .hero {
    min-height: 660px;
  }
  .topbar {
    padding: 20px 22px;
  }
  .header-date {
    font-size: 10px;
  }
  .header-rsvp {
    display: none;
  }
  .hero-content {
    padding: 85px 20px;
  }
  .hero-intro {
    font-size: 22px;
  }
  .hero h1 {
    font-size: 91px;
  }
  .hero-poem {
    font-size: 24px;
  }
  .hero-date {
    font-size: 11px;
    gap: 13px;
  }
  .scroll-cue {
    bottom: 30px;
  }
  .envelope-label {
    top: 24%;
  }
  .envelope-label h2 {
    font-size: 35px;
  }
  .envelope-label > span {
    font-size: 10px;
  }
  .open-caption {
    bottom: 6%;
  }
  .section-nav {
    gap: 16px;
    padding: 0 16px;
    min-height: 62px;
    font-size: 10px;
    white-space: nowrap;
    overflow: auto;
    justify-content: flex-start;
  }
  .section-nav > span {
    font-size: 7px;
  }
  .welcome {
    padding: 70px 23px 55px;
  }
  .welcome h2 {
    font-size: 29px;
  }
  .welcome p {
    font-size: 21px;
  }
  .welcome .signature {
    font-size: 23px;
  }
  .section-pad {
    padding: 65px 22px;
  }
  .section-heading {
    margin-bottom: 33px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-heading h2 {
    margin-top: 10px;
    line-height: 1.5;
  }
  .ornament {
    margin: 19px auto;
  }
  .countdown {
    gap: 11px;
  }
  .countdown > div {
    width: 62px;
  }
  .countdown strong {
    font-size: 41px;
    padding-bottom: 6px;
  }
  .countdown > b {
    font-size: 18px;
    margin-top: 20px;
  }
  .countdown > div > span {
    font-size: 10px;
  }
  #countdown-caption {
    font-size: 10px;
  }
  .gallery {
    gap: 10px;
  }
  .gallery-photo {
    border-width: 3px;
    height: 218px;
    border-radius: 100px 100px 2px 2px;
  }
  .gallery-photo.center-photo {
    height: 285px;
  }
  .gallery-photo > span {
    font-size: 16px;
    bottom: 15px;
  }
  .timeline-item {
    gap: 17px;
    padding-bottom: 31px;
  }
  .timeline-icon {
    width: 44px;
    height: 44px;
  }
  .timeline-item:not(:last-child):before {
    right: 21px;
    top: 44px;
    height: calc(100% - 39px);
  }
  .timeline-copy h3 {
    font-size: 23px;
    padding-left: 45px;
  }
  .timeline-copy p {
    font-size: 11px;
  }
  .timeline-copy .time {
    font-size: 10px;
    padding: 0 7px;
  }
  .venue-card {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .venue-art {
    min-height: 300px;
    padding: 22px;
  }
  .arch {
    min-height: 250px;
    width: 220px;
  }
  .venue-details {
    padding: 28px 16px 24px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 440px;
  }
  .detail-card {
    padding: 25px 27px;
  }
  .detail-number {
    margin-bottom: 12px;
  }
  .detail-card p {
    font-size: 12px;
  }
  .rsvp-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .rsvp-intro {
    padding-top: 0;
  }
  .rsvp-intro h2 {
    font-size: 41px;
  }
  .rsvp-intro h2 br {
    display: none;
  }
  .rsvp-flower {
    display: none;
  }
  .rsvp-signature {
    font-size: 23px;
    margin-top: 17px;
  }
  .rsvp-form-wrap {
    padding: 25px;
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .floating-controls {
    bottom: 18px;
    left: 16px;
    gap: 7px;
  }
  .round-button {
    width: 39px;
    height: 39px;
  }
  .round-button svg {
    width: 17px;
  }
  .footer-bottom {
    flex-direction: column;
    margin-top: 34px;
    gap: 9px;
    padding-bottom: 45px;
  }
  footer > p {
    font-size: 21px;
  }
  .footer-names {
    font-size: 44px;
  }
  .photo-nav {
    padding: 3px;
    font-size: 22px;
  }
  dialog[open] {
    gap: 5px;
  }
  #lightbox-photo {
    max-width: 77vw;
    border-width: 3px;
  }
  .lightbox-close {
    top: -48px;
  }
  #toast {
    bottom: 75px;
    font-size: 11px;
    padding: 11px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Reset immediately when replaying the sealed invitation. */
.sealed .envelope,
.sealed .hero-content,
.sealed .hero-shade,
.sealed .hero video,
.sealed .floating-controls {
  transition: none;
}

/* Aseman-e Eshgh: ice-blue florals, silver details and deep blue typography. */
:root {
  --royal: #2f4966;
  --ink: #253a51;
  --muted: #446993;
  --gold: #4d77a8;
  --ivory: #e4eaf1;
}
body {
  background: #b2c0d0;
  color: var(--ink);
}
h2 {
  color: var(--royal);
}
h3 {
  color: var(--ink);
}
::selection {
  background: #486f9c;
  color: #f2f5f8;
}
.eyebrow {
  color: #446994;
}
.hero {
  background: #a8b7c9;
  color: var(--ink);
  min-height: 690px;
}
.hero-shade {
  display: none;
}
.hero-content {
  padding: 60px 22px 100px;
  text-shadow: 0 1px 8px #eff2f666;
}
.hero-content > .eyebrow {
  color: #3f6188;
  font-size: 11px;
}
.hero-intro {
  font-size: 25px;
}
.hero h1 {
  font-size: 94px;
  line-height: 1.06;
  margin: 12px 0 0;
}
.hero h1 small {
  font:
    12px/2.1 Vazir,
    sans-serif;
  margin: 8px 0 10px;
  color: #3e6086;
}
.hero h1 em {
  font-size: 26px;
  margin: 4px 0 5px;
}
.hero-poem {
  font-size: 25px;
  margin: 14px 0 17px;
}
.hero-date {
  font-size: 11px;
  color: #39587b;
}
.hero-date i {
  background: #4d77a8;
}
.hero-content .ornament.light {
  color: #41648c;
  margin: 16px auto;
}
.ornament.light:before,
.ornament.light:after {
  background: linear-gradient(90deg, transparent, #456b9780);
}
.scroll-cue {
  color: #334f6e;
  bottom: 45px;
  font-size: 10px;
}
.topbar {
  color: #365476;
  padding: 22px 4%;
}
.sealed .topbar {
  color: #dae2eb;
}
.sealed .header-date {
  opacity: 0;
}
.sealed .header-rsvp {
  visibility: hidden;
}
.envelope {
  background-image: url("assets/envelope-fa.jpg");
}
.envelope:after {
  box-shadow: inset 0 0 150px #131e2a17;
}
.envelope-label {
  display: none;
  color: #d9e1ea;
}
.envelope-label h2 {
  color: #d2dbe7;
  text-shadow: 0 2px 10px #1a283944;
}
.envelope-label > span {
  color: #c5cfdb;
  text-shadow: none;
}
.open-caption {
  color: #ced9e5;
  bottom: 5%;
  text-shadow: 0 1px 5px #18263555;
}
.tap-ring {
  border-color: #b2c0d077;
}
.skip {
  background: #304a67d9;
  color: #e1e8ef;
  border-color: #849ab4;
}
.ornament {
  color: #4b74a2;
}
.ornament:before,
.ornament:after {
  background: linear-gradient(90deg, transparent, #4b74a277);
}
.round-button {
  background: #e5ebf1eb;
  border-color: #7396be;
  color: #334f6f;
}
.mute-line {
  background: #334f6f;
}
.floating-controls {
  left: 20px;
  bottom: 20px;
}
.button {
  background: #314d6c;
  border-color: #314d6c;
  color: #eff3f7;
  box-shadow: 0 8px 22px #253a511c;
}
.button:hover {
  background: #273c55;
}
.text-button {
  color: #3e6188;
}
.text-button:hover {
  color: #253a51;
}
.invitation-paper {
  background-color: #b2c0d0;
  background-image:
    url("assets/aseman-e-eshgh-welcome-bg.jpg"),
    url("assets/aseman-e-eshgh-paper-bg.jpg");
  background-position:
    top center,
    center 177.2824vw;
  background-repeat: no-repeat, repeat-y;
  background-size:
    100% auto,
    100% auto;
}
.section-nav {
  background: #e1e8efd4;
  border-bottom: 1px solid #5d86b455;
  gap: 28px;
  min-height: 61px;
  font-size: 11px;
  color: #3e6087;
}
.section-nav > span {
  color: #4d77a8;
}
.section-nav a:hover {
  color: #283e57;
}
.welcome {
  background: none;
  color: #253a51;
  padding: 90px 15% 65px;
}
.welcome .eyebrow {
  color: #456b96;
}
.welcome h2 {
  color: #2e4865;
  font-size: 37px;
}
.welcome p {
  color: #2f4967;
  text-shadow: 0 1px 4px #eef2f633;
}
.welcome .signature {
  color: #41658e;
}
.welcome .ornament {
  color: #48709e;
}
.section-pad {
  padding: 78px max(24px, 13%);
}
.date-section,
.countdown-section,
.gallery-section,
.program-section,
.venue-section,
.details-section,
.rsvp-section,
.pre-events,
.travel-section,
.gifts-section {
  background: none;
}
.section-heading {
  margin-bottom: 36px;
}
.section-heading p,
.timeline-copy p {
  color: #436892;
}
.section-heading h2 {
  font-size: 42px;
}
.section-heading .eyebrow {
  color: #456b96;
}
.section-pad:before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, #547fb160, transparent);
  width: 70%;
  max-width: 460px;
  margin: -36px auto 40px;
}
.heart-reveal {
  background: radial-gradient(at 30% 25%, #f1f4f7, #cbd6e3);
  color: #2c4460;
  border-color: #5983b2;
}
.scratch-wrap {
  filter: drop-shadow(0 10px 16px #2e486522);
}
.countdown strong {
  color: #314c6a;
  border-bottom-color: #6f93bd;
}
.countdown > div > span {
  color: #41648d;
}
.countdown > b {
  color: #6189b6;
}
#countdown-caption {
  color: #49719e;
}
.gallery {
  max-width: 970px;
  gap: 20px;
}
.gallery-photo {
  border-color: #e2e8ef;
  outline-color: #6f93bd;
  box-shadow: 0 10px 24px #2d466225;
}
.gallery-photo:after {
  background: linear-gradient(transparent, #19263580);
}
.small-caption {
  color: #486f9b;
}
.timeline {
  max-width: 620px;
}
.timeline-icon {
  background: #d9e1eab5;
  border-color: #6a90bb;
  color: #3c5e84;
}
.timeline-item:not(:last-child):before {
  background: #668cb8;
}
.timeline-copy h3 {
  color: #314c6b;
}
.timeline-copy .time {
  color: #426690;
  border-color: #7194bd;
  background: #e3e9f04d;
}
.venue-card {
  background: #e3e9f05c;
  border-color: #7194bd;
  box-shadow: none;
  max-width: 860px;
}
.venue-art {
  background: linear-gradient(145deg, #a0b1c456, #b8c5d470);
}
.arch {
  border-color: #507caf;
  outline-color: #6e93bd;
  background: linear-gradient(160deg, #e1e8ef99, #bfcad766);
}
.arch-inner {
  border-color: #527daf66;
  color: #3f6289;
}
.venue-art:before,
.venue-art:after {
  color: #466c9735;
}
.venue-details h3 {
  color: #304b69;
}
.venue-details p {
  color: #3f6289;
}
.venue-time {
  color: #426690;
}
.large-icon {
  color: #446a95;
}
.dress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.dress-grid article {
  padding: 26px 23px;
  border: 1px solid #7094bd88;
  background: #e2e9f044;
}
.dress-grid h3 {
  font-size: 28px;
  margin: 3px 0 8px;
  color: #324e6e;
}
.dress-grid p {
  font-size: 12px;
  line-height: 2.2;
  color: #40638a;
}
.swatches {
  margin-top: 20px;
}
.swatches i {
  outline-color: #92a6bc;
  border-color: #d9e1ea;
}
.event-grid {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: auto;
}
.event-card {
  text-align: center;
  padding: 26px 23px;
  border: 1px solid #7295be88;
  background: #dee6ee44;
}
.detail-number {
  color: #466c97;
  border-color: #6a8fba;
  margin-bottom: 14px;
}
.event-card h3 {
  color: #304b69;
  font-size: 29px;
}
.event-card p {
  font-size: 12px;
  color: #3f628a;
  line-height: 2.2;
}
.event-card .event-date {
  color: #456b96;
  margin: 8px 0;
}
.detail-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  gap: 24px;
}
.detail-card {
  background: #d9e1eb44;
  border-color: #7094bd88;
  box-shadow: none;
  padding: 30px;
}
.detail-card h3 {
  color: #324e6d;
}
.detail-card p {
  color: #42658e;
}
.detail-card .large-icon {
  margin: 0 auto 12px;
}
.gift-heart {
  color: #426690;
}
.gifts-section {
  text-align: center;
}
.gifts-section h2 {
  font-size: 37px;
  margin: 14px 0;
}
.gifts-section p {
  font: 23px/2 Amiri;
  color: #355273;
}
.gifts-section .gift-heart {
  width: 28px;
  height: 28px;
  margin-top: 0;
}
.rsvp-section {
  display: block;
}
.rsvp-intro {
  max-width: 650px;
  margin: 0 auto 30px;
  padding: 0;
}
.rsvp-intro h2 {
  font-size: 42px;
  line-height: 1.6;
  margin-top: 10px;
}
.rsvp-intro h2 br {
  display: none;
}
.rsvp-intro p {
  color: #41648c;
}
.rsvp-intro .rsvp-signature,
.rsvp-flower {
  display: none;
}
.rsvp-form-wrap {
  max-width: 560px;
  width: 100%;
  margin: auto;
  background: #e0e7eeb8;
  border-color: #6b90bb;
  box-shadow: 0 16px 35px #334f6e17;
}
.rsvp-form-wrap h3 {
  color: #324d6c;
}
.rsvp-form-wrap .submit {
  border-radius: 24px;
}
.rsvp-form-wrap input:not([type="radio"]),
.rsvp-form-wrap select,
.rsvp-form-wrap textarea {
  background: #ebeff4a8;
  border-color: #93a7bd;
  color: #304b69;
  border-radius: 5px;
}
.rsvp-form-wrap input:focus,
.rsvp-form-wrap select:focus,
.rsvp-form-wrap textarea:focus {
  border-color: #4f7aab;
  box-shadow: 0 0 0 3px #456b9715;
}
.rsvp-form-wrap input::placeholder,
.rsvp-form-wrap textarea::placeholder {
  color: #5983b3;
}
.rsvp-form-wrap label > span,
legend > span {
  color: #456a95;
}
.rsvp-form-wrap label small {
  color: #4e79aa;
}
.radio-card {
  background: #e3e9f0aa;
  border-color: #93a7bd;
  color: #48709d;
}
.radio-card:has(input:checked) {
  background: #becad788;
  color: #324d6c;
  border-color: #4b74a3;
}
.radio-card:focus-within {
  outline-color: #456a95;
}
.demo-note {
  color: #4b75a4;
}
.success-icon {
  background: #c5d2e080;
  border-color: #6189b6;
  color: #345070;
}
.form-success p {
  color: #3f6289;
}
.form-error {
  color: #41648c;
}
#toast {
  background: #2f4966;
  color: #ebf0f4;
}
.form-success .text-button {
  color: #324d6c;
}
footer {
  background: #b2c0d0 url("assets/aseman-e-eshgh-footer-bg.jpg") center
    bottom/100% auto no-repeat;
  padding: 80px 13% 40px;
  min-height: 420px;
}
footer > p {
  color: #375679;
}
.footer-names {
  color: #304a67;
}
.footer-names span {
  color: #4f7bad;
}
.footer-date {
  color: #456b97;
}
.footer-bottom {
  border-color: #547fb055;
  color: #4b75a4;
  font-size: 9px;
}
.footer-bottom button {
  color: #3e6188;
}
.footer-bottom span:first-child {
  color: #446993;
}
dialog::backdrop {
  background: #15212fea;
}
#lightbox-photo {
  border-color: #d2dce7;
}
#photo-count {
  color: #c2cdd9;
}
.photo-nav {
  color: #d0dae6;
}
.travel-section .detail-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}
.template-credit a {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  color: #355d8b;
  text-decoration: none;
}
.template-credit a:hover,
.template-credit a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 1200px) {
  .hero-content {
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: 100px;
  }
  .hero-poem {
    margin-top: 12px;
  }
}
@media (max-width: 760px) {
  .hero {
    min-height: 700px;
  }
  .hero-content {
    padding: 115px 17% 145px;
  }
  .hero-content > .eyebrow {
    font-size: 10px;
  }
  .hero-intro {
    font-size: 19px;
  }
  .hero h1 {
    font-size: 70px;
    line-height: 1.06;
    margin-top: 9px;
  }
  .hero h1 small {
    font-size: 10px;
    line-height: 1.8;
    margin: 5px 0 8px;
  }
  .hero h1 em {
    font-size: 23px;
    margin: 4px 0 6px;
  }
  .hero-poem {
    font-size: 21px;
    margin: 9px 0 13px;
  }
  .hero-date {
    font-size: 9px;
    gap: 8px;
  }
  .hero-content .ornament.light {
    margin: 13px auto;
  }
  .scroll-cue {
    bottom: 27px;
    font-size: 9px;
  }
  .topbar {
    padding: 17px 23px;
  }
  .envelope-label {
    display: block;
    top: 20%;
  }
  .envelope-label h2 {
    font-size: 31px;
  }
  .envelope-label > span {
    font-size: 10px;
  }
  .open-caption {
    bottom: 12%;
  }
  .header-date {
    font-size: 9px;
  }
  .section-nav {
    gap: 12px;
    justify-content: center;
    padding: 0 10px;
    min-height: 54px;
    font-size: 9px;
  }
  .section-nav > span {
    font-size: 6px;
  }
  .welcome {
    padding: 60px 15% 48px;
  }
  .welcome h2 {
    font-size: 29px;
    line-height: 1.6;
  }
  .welcome p {
    font-size: 21px;
  }
  .welcome .eyebrow {
    font-size: 10px;
  }
  .section-pad {
    padding: 62px 13%;
  }
  .section-pad:before {
    width: 80%;
    margin: -28px auto 34px;
  }
  .section-heading h2 {
    font-size: 31px;
    line-height: 1.6;
  }
  .section-heading p {
    font-size: 10px;
  }
  .scratch-wrap {
    width: 250px;
    height: 238px;
    max-width: 100%;
  }
  #scratch {
    width: 250px;
    height: 238px;
    max-width: 100%;
  }
  .heart-reveal {
    width: 280px;
    height: 266px;
    transform: scale(0.892857);
    transform-origin: top right;
  }
  .date-section .button {
    font-size: 11px;
    padding: 10px 20px;
  }
  .countdown {
    gap: 5px;
  }
  .countdown > div {
    width: 52px;
  }
  .countdown strong {
    font-size: 34px;
  }
  .countdown > b {
    font-size: 16px;
    margin-top: 16px;
  }
  .countdown > div > span {
    font-size: 9px;
  }
  #countdown-caption {
    font-size: 9px;
    line-height: 2;
  }
  .gallery {
    gap: 9px;
    flex-wrap: wrap;
  }
  .gallery-photo {
    height: 180px;
    width: calc(50% - 5px);
    border-width: 3px;
  }
  .gallery-photo.center-photo {
    order: -1;
    height: 300px;
    width: 85%;
    margin-bottom: 7px;
  }
  .gallery-photo > span {
    font-size: 19px;
  }
  .small-caption {
    font-size: 10px;
  }
  .timeline-item {
    gap: 13px;
  }
  .timeline-icon {
    width: 36px;
    height: 36px;
  }
  .timeline-icon svg {
    width: 17px;
  }
  .timeline-item:not(:last-child):before {
    right: 17px;
    top: 36px;
    height: calc(100% - 32px);
  }
  .timeline-copy h3 {
    font-size: 23px;
    padding-left: 0;
    line-height: 1.6;
    margin-top: 4px;
  }
  .timeline-copy .time {
    float: none;
    display: inline-block;
    font-size: 10px;
    margin: 0 0 3px;
  }
  .timeline-copy p {
    font-size: 11px;
  }
  .venue-card {
    padding: 8px;
    grid-template-columns: 1fr;
  }
  .venue-art {
    padding: 25px;
    min-height: 270px;
  }
  .arch {
    width: 190px;
    min-height: 230px;
  }
  .venue-details {
    padding: 25px 9px;
  }
  .venue-details h3 {
    font-size: 28px;
  }
  .venue-details p {
    font-size: 11px;
  }
  .venue-details .button {
    font-size: 10px;
    padding: 9px 14px;
  }
  .dress-grid,
  .event-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .dress-grid article,
  .event-card {
    padding: 22px 16px;
  }
  .dress-grid p,
  .event-card p {
    font-size: 11px;
  }
  .detail-card {
    padding: 25px 19px;
  }
  .detail-card p {
    font-size: 11px;
  }
  .gifts-section h2 {
    font-size: 30px;
  }
  .gifts-section p {
    font-size: 21px;
  }
  .rsvp-section {
    padding-left: 11%;
    padding-right: 11%;
  }
  .rsvp-intro h2 {
    font-size: 33px;
  }
  .rsvp-intro p {
    font-size: 11px;
  }
  .rsvp-form-wrap {
    padding: 22px 17px;
  }
  .rsvp-form-wrap h3 {
    font-size: 27px;
    margin-bottom: 18px;
  }
  .radio-card {
    font-size: 9px;
    padding: 10px 5px;
    gap: 4px;
  }
  .rsvp-form-wrap input:not([type="radio"]),
  .rsvp-form-wrap select,
  .rsvp-form-wrap textarea {
    font-size: 11px;
  }
  .demo-note {
    font-size: 9px;
  }
  footer {
    padding: 57px 14% 30px;
    min-height: 390px;
  }
  footer > p {
    font-size: 22px;
  }
  .footer-bottom {
    padding-bottom: 42px;
    line-height: 2;
  }
  .floating-controls {
    left: 13px;
    bottom: 15px;
    gap: 6px;
  }
  .round-button {
    width: 36px;
    height: 36px;
  }
  .round-button svg {
    width: 16px;
  }
  .footer-names {
    font-size: 40px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 61px;
  }
  .hero-intro {
    font-size: 18px;
  }
  .section-nav {
    gap: 9px;
    font-size: 8px;
  }
  .section-nav > span {
    display: none;
  }
  .section-pad {
    padding-left: 11%;
    padding-right: 11%;
  }
  .rsvp-section {
    padding-left: 9%;
    padding-right: 9%;
  }
}
.hero {
  background-image: url("assets/ceremony.jpg");
  background-size: cover;
  background-position: center;
}
.static-hero .hero video {
  opacity: 0 !important;
}
.skip.available {
  opacity: 1;
  pointer-events: auto;
}
.opened .skip {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 760px) {
  .heart-reveal {
    transform-origin: top left;
  }
}
@media (max-width: 760px) {
  .heart-reveal {
    left: 0;
    right: auto;
  }
}
/* Reference palette and Aseman-e Eshgh-specific composition. */
:root {
  --royal: #355d8b;
  --ink: #22364d;
  --muted: #667b95;
  --gold: #7d93ab;
  --ivory: #f1f6fa;
}
body {
  background: #e9eae6;
  color: var(--ink);
}
h2 {
  color: var(--royal);
}
.hero {
  background-color: #dfe7ef;
  color: var(--ink);
}
.hero-shade {
  display: block;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0.45)
  );
}
.hero-content {
  color: #22364d;
  text-shadow: 0 1px 9px #ffffff77;
}
.hero-content > .eyebrow {
  color: #6c7e92;
}
.hero h1 {
  line-height: 1.1;
  font-size: 110px;
  margin: 20px 0 5px;
}
.hero h1 em {
  font-size: 31px;
  margin: 10px 0 5px;
}
.hero-intro {
  font-size: 27px;
}
.hero-poem {
  font-size: 26px;
  margin: 20px 0;
}
.hero-date {
  color: #607690;
}
.hero-content .ornament.light {
  color: #718caa;
}
.hero-content .ornament.light:before,
.hero-content .ornament.light:after {
  background: linear-gradient(90deg, transparent, #7d93ab88);
}
.hero-date i {
  background: #8a9db1;
}
.scroll-cue {
  color: #4e6783;
}
.topbar,
.sealed .topbar {
  color: #35516f;
}
.envelope-label h2 {
  color: #35516f;
  text-shadow: 0 1px 8px #ecf5ff60;
}
.envelope-label > span {
  color: #526c85;
}
.open-caption {
  color: #3a5772;
  text-shadow: 0 1px 5px #f3f9fe8a;
}
.tap-ring {
  border-color: #546f8c66;
}
.envelope:after {
  box-shadow: inset 0 0 160px #21395113;
}
.invitation-paper {
  background-color: #e9eae6;
  background-image:
    linear-gradient(to bottom, #00000005 0%, #00000005 88%, transparent 100%),
    url("assets/aseman-e-eshgh-welcome-bg.jpg"),
    url("assets/aseman-e-eshgh-paper-bg.jpg");
  background-position:
    top center,
    top center,
    center 177.2824vw;
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-size:
    100% 177.2824vw,
    100% auto,
    100% auto;
}
.section-nav {
  background: #f0f5f9cc;
  border-bottom-color: #a4b5c750;
  color: #617b98;
}
.section-nav > span {
  color: #7f98b1;
}
.welcome h2 {
  color: #355d8b;
}
.welcome p {
  color: #354b5f;
}
.welcome .eyebrow,
.welcome .signature {
  color: #74869a;
}
.welcome .ornament,
.ornament {
  color: #7d93ab;
}
.ornament:before,
.ornament:after {
  background: linear-gradient(90deg, transparent, #7d93ab80);
}
.button {
  background: #355d8b;
  border-color: #355d8b;
  color: #f7faff;
  box-shadow: 0 8px 22px #2844631a;
}
.button:hover {
  background: #284a74;
}
.round-button {
  background: #f2f7fbeb;
  border-color: #a7bbce;
  color: #355d8b;
}
.mute-line {
  background: #355d8b;
}
.heart-reveal {
  background: radial-gradient(at 30% 25%, #fcfeff, #dce7f1);
  color: #2f537d;
  border-color: #90a8bf;
}
.scratch-wrap {
  filter: drop-shadow(0 10px 16px #3251731c);
}
.countdown strong {
  color: #355d8b;
}
.event-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 950px;
  gap: 18px;
}
.event-card {
  padding: 25px 17px;
}
.event-card p {
  font-size: 11px;
}
.rsvp-form-wrap {
  background: #f1f6fbd1;
  border-color: #a4b9ce;
}
.rsvp-form-wrap input:not([type="radio"]),
.rsvp-form-wrap select,
.rsvp-form-wrap textarea {
  background: #f8fbfdbb;
  color: #35506e;
  border-color: #b7c9d8;
}
.radio-card {
  background: #f8fbfdbb;
  border-color: #b7c9d8;
}
.radio-card:has(input:checked) {
  background: #d5e3f199;
  border-color: #819db9;
  color: #355d8b;
}
.rsvp-form-wrap h3 {
  color: #355d8b;
}
.venue-card {
  background: #f3f7fa77;
  border-color: #a9bbcc;
}
.venue-art {
  background: linear-gradient(145deg, #c4d5e36b, #e4edf37a);
}
.arch {
  border-color: #819bb1;
  outline-color: #a3b8c9;
  background: linear-gradient(160deg, #f9fbfd99, #d4e1ec77);
}
.arch-inner {
  border-color: #90a9bf66;
  color: #68809b;
}
.venue-details h3 {
  color: #355d8b;
}
.section-pad:before {
  background: linear-gradient(to right, transparent, #849db866, transparent);
}
footer {
  background-color: #e9eae6;
}
.footer-names {
  color: #355d8b;
}
.form-error {
  color: #9b4132;
}
.skip {
  background: #355575d9;
  color: #f4f8fc;
  border-color: #849db8;
}
.sealed .envelope {
  transition: none;
}
@media (max-width: 760px) {
  .hero-content {
    padding: 100px 15% 125px;
  }
  .hero h1 {
    font-size: 88px;
    line-height: 1.06;
    margin-top: 15px;
  }
  .hero h1 em {
    font-size: 27px;
    margin: 10px 0 4px;
  }
  .hero-intro {
    font-size: 21px;
  }
  .hero-poem {
    font-size: 22px;
    margin: 19px 0 16px;
  }
  .hero-content > .eyebrow {
    font-size: 10px;
  }
  .hero-date {
    font-size: 9px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .envelope-label {
    top: 21%;
  }
  .envelope-label h2 {
    font-size: 32px;
  }
  .open-caption {
    bottom: 12%;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 77px;
  }
  .hero-intro {
    font-size: 19px;
  }
}
