:root {
  --ink: #111827;
  --ink-soft: #3f4857;
  --gold-dark: #0c4a5d;
  --gold: #197b8d;
  --gold-light: #a8d9df;
  --ticket-blue: #10233b;
  --ticket-blue-soft: #203b5a;
  --ticket-teal: #1d7f8e;
  --ticket-teal-dark: #0f5968;
  --ticket-paper: #f7f2ea;
  --ticket-paper-soft: #ebe2d5;
  --cream: #f8f3ea;
  --cream-soft: #dbe6e7;
  --white: #fffef8;
  --line: rgba(255, 255, 255, 0.68);
  --glass: rgba(247, 242, 234, 0.58);
  --glass-strong: rgba(247, 242, 234, 0.82);
  --shadow: 0 24px 64px rgba(16, 35, 59, 0.18);
  --gold-metal: linear-gradient(
    135deg,
    #e8f7f8 0%,
    #7fb7c1 23%,
    #1d7f8e 50%,
    #d9eff2 76%,
    #10233b 100%
  );
  --container: min(1120px, calc(100% - 24px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
  background-image:
    url("assets/versiculos-bg.svg"),
    radial-gradient(circle at 10% 6%, rgba(255, 255, 255, 0.96), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(29, 127, 142, 0.16), transparent 34%),
    linear-gradient(145deg, #f8f3ea 0%, #dfe7e8 46%, #9fc3c9 78%, #203b5a 100%);
  background-position:
    center top,
    center,
    center,
    center;
  background-repeat:
    repeat-y,
    no-repeat,
    no-repeat,
    no-repeat;
  background-size:
    min(1320px, 165vw) auto,
    auto,
    auto,
    auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.52) 74%, transparent 100%);
}

body.modal-open,
body.panel-open {
  overflow: hidden;
}

body.splash-active {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

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

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 18px;
  margin-left: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.65vw, 2.35rem);
  line-height: 1.12;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 244, 204, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(29, 127, 142, 0.08)),
    var(--glass);
  box-shadow:
    0 18px 48px rgba(16, 35, 59, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(16, 35, 59, 0.08);
  backdrop-filter: blur(28px) saturate(1.28);
  -webkit-backdrop-filter: blur(28px) saturate(1.28);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 8px 18px rgba(91, 59, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 10px 24px rgba(91, 59, 10, 0.18),
    0 0 24px rgba(244, 215, 127, 0.52);
  transform: translateY(-2px);
}

.wedding-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.84), transparent 28%),
    linear-gradient(145deg, #fff9e8 0%, #f6e3ab 48%, #d9aa42 100%);
  transition: opacity 0.72s ease, visibility 0.72s ease;
}

.wedding-splash.is-done {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.splash-glow {
  position: absolute;
  width: min(72vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(244, 215, 127, 0.38) 46%, transparent 72%);
  filter: blur(4px);
}

.splash-stage {
  position: relative;
  width: min(92vw, 720px);
  height: min(56vh, 420px);
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 242, 194, 0.18));
  box-shadow:
    0 28px 70px rgba(91, 59, 10, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.splash-hand {
  --skin: #f5c98c;
  --skin-shadow: #d99a56;
  position: absolute;
  top: 48%;
  width: 246px;
  height: 124px;
  filter: drop-shadow(0 18px 22px rgba(91, 59, 10, 0.2));
  transform-origin: center;
}

.splash-hand span {
  position: absolute;
  display: block;
}

.splash-hand .wrist,
.splash-hand .palm,
.splash-hand .finger {
  border: 2px solid rgba(118, 75, 16, 0.28);
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 240, 204, 0.85), transparent 31%),
    linear-gradient(145deg, var(--skin), var(--skin-shadow));
}

.splash-hand .wrist {
  top: 48px;
  width: 122px;
  height: 48px;
  border-radius: 24px;
}

.splash-hand .palm {
  top: 28px;
  width: 112px;
  height: 82px;
  border-radius: 54px 42px 44px 54px;
}

.splash-hand .finger {
  height: 24px;
  border-radius: 999px;
}

.bride-hand {
  left: 0;
  animation: brideHandMeet 4.8s cubic-bezier(0.22, 0.86, 0.24, 1) forwards;
}

.bride-hand .wrist {
  left: -6px;
}

.bride-hand .palm {
  left: 82px;
}

.bride-hand .finger-thumb {
  top: 88px;
  left: 84px;
  width: 70px;
  transform: rotate(24deg);
}

.bride-hand .finger-index {
  top: 29px;
  left: 168px;
  width: 82px;
  transform: rotate(-9deg);
}

.bride-hand .finger-middle {
  top: 53px;
  left: 166px;
  width: 96px;
  transform: rotate(-1deg);
}

.bride-hand .finger-ring {
  top: 76px;
  left: 164px;
  width: 91px;
  transform: rotate(5deg);
}

.bride-hand .finger-little {
  top: 98px;
  left: 156px;
  width: 66px;
  transform: rotate(13deg);
}

.groom-hand {
  right: 0;
  --skin: #efbf7c;
  --skin-shadow: #c9813e;
  animation: groomHandOffer 4.8s cubic-bezier(0.22, 0.86, 0.24, 1) forwards;
}

.groom-hand .wrist {
  right: -8px;
}

.groom-hand .palm {
  right: 82px;
  border-radius: 42px 54px 54px 44px;
}

.groom-hand .groom-thumb {
  top: 76px;
  right: 82px;
  width: 74px;
  transform: rotate(-22deg);
}

.groom-hand .groom-index {
  top: 44px;
  right: 154px;
  width: 92px;
  transform: rotate(4deg);
}

.wedding-ring {
  top: 55px;
  right: 230px;
  width: 31px;
  height: 31px;
  border: 7px solid #d7a52f;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 4px 0 #8e5b0c,
    0 0 18px rgba(255, 232, 155, 0.9),
    inset 0 0 0 2px rgba(255, 255, 255, 0.72);
  animation: ringSlideOn 4.8s cubic-bezier(0.28, 0.76, 0.22, 1) forwards;
}

.splash-heart {
  position: absolute;
  top: 22%;
  left: 50%;
  color: rgba(142, 91, 12, 0.36);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 11vw, 5.8rem);
  line-height: 1;
  transform: translateX(-50%) scale(0.8);
  animation: splashHeart 4.8s ease forwards;
}

.splash-copy {
  position: absolute;
  bottom: max(32px, env(safe-area-inset-bottom));
  left: 50%;
  width: min(88vw, 520px);
  text-align: center;
  transform: translateX(-50%);
}

.splash-copy p {
  margin-bottom: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 8vw, 3rem);
  font-weight: 800;
}

.splash-copy span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.splash-skip {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(255, 252, 238, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.splash-skip:focus-visible {
  outline: 2px solid rgba(142, 91, 12, 0.55);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
}

.floating-photos {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.floating-photo {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--photo-size, 104px);
  height: var(--photo-size, 104px);
  padding: 3px;
  object-fit: cover;
  opacity: 0;
  background: rgba(255, 250, 231, 0.64);
  filter:
    drop-shadow(0 14px 18px rgba(71, 45, 7, 0.3))
    saturate(1.08)
    contrast(1.04);
  clip-path: polygon(
    50% 94%,
    17% 64%,
    6% 43%,
    8% 25%,
    20% 10%,
    36% 6%,
    50% 20%,
    64% 6%,
    80% 10%,
    92% 25%,
    94% 43%,
    83% 64%
  );
  will-change: transform, opacity;
}

.ambient-heart {
  position: absolute;
  z-index: 0;
  color: rgba(112, 72, 10, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  animation: heartFloat 12s ease-in-out infinite;
}

.heart-one {
  top: 19%;
  left: 7%;
  font-size: 3.4rem;
}

.heart-two {
  top: 58%;
  right: 6%;
  font-size: 2.2rem;
  animation-delay: -4s;
}

.heart-three {
  right: 28%;
  bottom: 8%;
  font-size: 4rem;
  animation-delay: -8s;
}

.cat-trail {
  --paw-angle: 88deg;
  position: absolute;
  z-index: 1;
  left: -430px;
  display: flex;
  gap: 24px;
  align-items: center;
  color: rgba(91, 59, 10, 0.28);
  filter: drop-shadow(0 7px 9px rgba(91, 59, 10, 0.16));
  animation: catWalkAcross 24s linear infinite;
}

.cat-trail span {
  display: inline-block;
  font-size: 1.55rem;
  opacity: 0;
  transform: translateY(var(--paw-offset, 0)) rotate(var(--paw-angle));
  animation: pawPairStep 3.2s ease-in-out infinite;
}

.cat-trail span:nth-child(even) {
  --paw-offset: 26px;
}

.cat-trail span:nth-child(n+5) {
  display: none;
}

.cat-trail span:nth-child(1),
.cat-trail span:nth-child(2) {
  animation-name: pawPairBack;
}

.cat-trail span:nth-child(3),
.cat-trail span:nth-child(4) {
  animation-name: pawPairFront;
}

.cat-trail span:nth-child(2) { animation-delay: 0.12s; }
.cat-trail span:nth-child(3) { animation-delay: 0.16s; }
.cat-trail span:nth-child(4) { animation-delay: 0.28s; }

.cat-trail-one {
  top: 34%;
  transform: rotate(-7deg);
}

.cat-trail-two {
  --paw-angle: -92deg;
  display: none;
  top: 77%;
  animation-name: catWalkBack;
  animation-delay: -11s;
  animation-duration: 29s;
  transform: rotate(8deg);
}

.site-header {
  position: fixed;
  top: 8px;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 0 8px;
}

.nav-shell {
  position: relative;
  display: grid;
  gap: 5px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 6px;
  border-radius: 22px;
}

.nav-shell::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.brand-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 48px);
  min-height: 36px;
  margin-left: 10px;
  padding: 0 10px;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: clamp(1.04rem, 4.35vw, 1.34rem);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.admin-trigger {
  position: absolute;
  top: -2px;
  right: -12px;
  width: 44px;
  height: 44px;
  border-color: transparent;
  color: transparent;
  font-size: 1rem;
  opacity: 0;
  background: transparent;
  box-shadow: none;
}

.admin-trigger:hover,
.admin-trigger:focus-visible {
  color: transparent;
  opacity: 0.08;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: none;
  transform: none;
}

.nav-links {
  display: flex;
  gap: 2px;
  width: 100%;
  padding: 3px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.13);
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ticket-blue);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--ink);
  outline: none;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 7px 18px rgba(16, 35, 59, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.countdown {
  position: fixed;
  right: 8px;
  bottom: 9px;
  z-index: 48;
  display: grid;
  width: 130px;
  justify-items: center;
  padding: 7px 5px 6px;
  border-radius: 16px;
  pointer-events: none;
}

.countdown-label,
.countdown-status {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ticket-blue);
  font-size: 0.47rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.countdown-label {
  margin-bottom: 4px;
}

.countdown-status {
  margin-top: 6px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  width: 100%;
}

.countdown-grid span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  padding: 4px 2px;
  border: 1px solid rgba(232, 247, 248, 0.9);
  border-radius: 9px;
  background: var(--gold-metal);
  box-shadow:
    0 3px 0 var(--gold-dark),
    0 8px 14px rgba(16, 35, 59, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.countdown-grid strong {
  font-size: 0.72rem;
  line-height: 1;
}

.countdown-grid small {
  font-size: 0.42rem;
  font-weight: 900;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 62px 0;
  scroll-margin-top: 126px;
}

.section.is-screen-hidden {
  display: none;
}

.hero {
  display: grid;
  place-items: start center;
  width: 100%;
  min-height: auto;
  padding: 124px 12px 42px;
}

.boarding-pass {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 44px 164px;
  width: min(1120px, 100%);
  min-height: 342px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 59, 0.36);
  border-radius: 4px;
  color: #111827;
  background:
    linear-gradient(90deg, rgba(16, 35, 59, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 35, 59, 0.018) 1px, transparent 1px),
    #f7f1f3;
  background-size: 34px 34px;
  box-shadow:
    0 30px 80px rgba(16, 35, 59, 0.22),
    0 0 0 10px rgba(255, 255, 255, 0.2);
  isolation: isolate;
}

.boarding-pass::before {
  position: absolute;
  right: 242px;
  top: 148px;
  z-index: 1;
  padding: 3px 12px;
  border: 3px solid rgba(16, 35, 59, 0.2);
  color: rgba(16, 35, 59, 0.22);
  content: "FIRST CLASS";
  font-size: clamp(1.2rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-38deg);
  pointer-events: none;
}

.ticket-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 8px 40px;
  border-right: 1px solid rgba(16, 35, 59, 0.16);
  color: var(--ticket-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ticket-side strong {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: none;
}

.ticket-main {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 24px 28px 50px 26px;
}

.ticket-header {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--ticket-blue);
  text-transform: uppercase;
}

.ticket-plane {
  color: var(--ticket-teal);
  font-size: 2.25rem;
  line-height: 1;
  transform: rotate(-18deg);
}

.ticket-line {
  height: 4px;
  border-top: 1px solid rgba(16, 35, 59, 0.9);
  border-bottom: 1px solid rgba(16, 35, 59, 0.9);
}

.ticket-header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.36rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ticket-blessing,
.ticket-invite,
.ticket-confirm,
.ticket-section p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.ticket-blessing {
  margin-bottom: 2px;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.ticket-names {
  max-width: none;
  margin: 0 0 4px;
  color: var(--ticket-blue);
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: clamp(1.95rem, 3.15vw, 2.62rem);
  font-weight: 500;
  line-height: 1.12;
  text-align: left;
  white-space: nowrap;
}

.ticket-invite {
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ticket-section {
  margin: 11px 0;
}

.ticket-section span {
  display: inline-flex;
  min-width: 278px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  padding: 2px 24px;
  color: #fff;
  background:
    linear-gradient(90deg, var(--ticket-teal), var(--ticket-teal-dark));
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 800;
}

.ticket-section p {
  color: #172033;
  font-size: 0.98rem;
  line-height: 1.22;
}

.ticket-confirm {
  margin-top: 17px;
  font-size: 0.96rem;
  font-weight: 700;
}

.ticket-barcode-area {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  padding: 44px 0 60px;
  border-right: 1px dashed rgba(16, 35, 59, 0.36);
  border-left: 1px dashed rgba(16, 35, 59, 0.36);
}

.barcode {
  display: block;
  width: 36px;
  min-height: 184px;
  background:
    repeating-linear-gradient(90deg, #111827 0 2px, transparent 2px 5px, #111827 5px 8px, transparent 8px 11px, #111827 11px 13px, transparent 13px 17px);
}

.ticket-barcode-area strong {
  color: var(--ticket-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ticket-stub {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px 48px;
  background: rgba(255, 253, 248, 0.42);
  text-align: center;
}

.ticket-stub::before {
  position: absolute;
  top: 106px;
  left: -11px;
  width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(215, 226, 227, 0.95);
  box-shadow: 210px 0 0 rgba(215, 226, 227, 0.95);
  content: "";
}

.ticket-stamp {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border: 2px solid rgba(16, 35, 59, 0.48);
  border-radius: 50%;
  color: var(--ticket-blue);
  font-family: Georgia, "Times New Roman", serif;
  transform: rotate(-18deg);
}

.ticket-stamp span,
.ticket-stamp em {
  max-width: 74px;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.ticket-stamp strong {
  color: var(--ticket-teal);
  font-size: 1.55rem;
  line-height: 0.9;
}

.ticket-date {
  display: grid;
  justify-items: center;
  width: 116px;
  padding: 8px 6px;
  border: 2px solid var(--ticket-blue);
  color: var(--ticket-blue);
  font-family: Georgia, "Times New Roman", serif;
}

.ticket-date span {
  font-size: 1.18rem;
  line-height: 1;
}

.ticket-date strong {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 0.9;
}

.ticket-stub p {
  margin: 0;
  color: var(--ticket-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.1;
}

.ticket-bottom-stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, var(--ticket-blue) 0 12px, #f7f1f3 12px 22px, var(--ticket-teal) 22px 34px, #f7f1f3 34px 44px);
}

.hero-card {
  position: relative;
  width: min(840px, 100%);
  padding: 42px 112px 42px 34px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 59, 0.18);
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, var(--ticket-blue) 0 9px, var(--ticket-paper) 9px 16px, var(--ticket-teal) 16px 25px, var(--ticket-paper) 25px 34px) bottom left / 100% 20px no-repeat,
    linear-gradient(90deg, transparent calc(100% - 92px), rgba(232, 247, 248, 0.92) calc(100% - 92px)),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.92), transparent 26%),
    linear-gradient(135deg, #fffdf8, #f7f2ea 48%, #eef5f5),
    var(--ticket-paper);
  box-shadow:
    0 26px 64px rgba(16, 35, 59, 0.18),
    0 0 0 7px rgba(255, 255, 255, 0.22),
    0 0 0 9px rgba(16, 35, 59, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 8px rgba(255, 255, 255, 0.34);
  text-align: center;
}

.hero-card::before {
  position: absolute;
  inset: 16px 104px 30px 16px;
  z-index: 0;
  content: "";
  pointer-events: none;
  border: 1px dashed rgba(16, 35, 59, 0.26);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(16, 35, 59, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 35, 59, 0.025) 1px, transparent 1px),
    rgba(255, 253, 248, 0.94);
  background-size: 34px 34px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 14px 28px rgba(16, 35, 59, 0.08);
}

.hero-card::after,
.hero-card .eyebrow::before,
.hero-card .eyebrow::after,
.hero-card h1::before,
.hero-card h1::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-card::after {
  top: 0;
  right: 0;
  bottom: 20px;
  width: 92px;
  border-left: 1px dashed rgba(16, 35, 59, 0.28);
  border-radius: 0 12px 0 0;
  background:
    radial-gradient(circle at 50% 18%, transparent 0 11px, rgba(16, 35, 59, 0.18) 12px, transparent 13px),
    repeating-linear-gradient(90deg, #111827 0 2px, transparent 2px 5px, #111827 5px 8px, transparent 8px 13px) center 58% / 50px 82px no-repeat,
    linear-gradient(180deg, rgba(29, 127, 142, 0.12), rgba(16, 35, 59, 0.06));
  opacity: 0.82;
}

.hero-card .eyebrow::before,
.hero-card .eyebrow::after,
.hero-card h1::before,
.hero-card h1::after {
  width: 38px;
  height: 38px;
  border-color: rgba(16, 35, 59, 0.34);
  opacity: 0.84;
}

.hero-card .eyebrow::before {
  top: 24px;
  left: 24px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 12px 0 0;
}

.hero-card .eyebrow::after {
  top: 24px;
  right: 24px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 12px 0 0;
}

.hero-card h1::before {
  bottom: 24px;
  left: 24px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0 0 0 12px;
}

.hero-card h1::after {
  right: 24px;
  bottom: 24px;
  border-right: 2px solid;
  border-bottom: 2px solid rgba(16, 35, 59, 0.24);
  border-radius: 0 0 12px;
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.hero-card .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 5px 18px;
  border-radius: 0;
  color: #fff;
  background: var(--ticket-blue);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  letter-spacing: 0.12em;
}

.hero-card h1 {
  color: var(--ticket-blue);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.76);
}

.hero-copy {
  position: relative;
  max-width: 720px;
  margin: 0 auto 22px;
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.58;
}

.hero-copy::after {
  position: absolute;
  top: -8px;
  right: -44px;
  display: grid;
  place-items: center;
  width: 82px;
  aspect-ratio: 1;
  border: 2px solid rgba(16, 35, 59, 0.18);
  border-radius: 50%;
  color: rgba(16, 35, 59, 0.42);
  content: "NADI AIRPORT";
  font-size: 0.48rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-14deg);
}

.hero-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ticket-blue);
}

.event-info {
  display: grid;
  gap: 8px;
  margin: 0 auto 20px;
}

.event-info span {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgba(16, 35, 59, 0.14);
  border-radius: 0;
  color: var(--ticket-blue);
  background:
    linear-gradient(90deg, var(--ticket-teal) 0 7px, rgba(255, 255, 255, 0.58) 7px),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
}

.event-info strong {
  color: var(--ticket-teal-dark);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.modal-actions,
.admin-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pix-actions {
  grid-template-columns: minmax(190px, 280px);
  justify-content: center;
  margin-top: 14px;
}

.pix-actions .button {
  width: 100%;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  padding: 8px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button::before {
  position: absolute;
  inset: 2px 13px auto;
  z-index: -1;
  height: 44%;
  border-radius: inherit;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), transparent);
}

.button.primary {
  color: #fff;
  border: 1px solid rgba(232, 247, 248, 0.86);
  background:
    linear-gradient(180deg, #2d98a8 0%, #1d7f8e 48%, #10233b 100%);
  box-shadow:
    0 5px 0 #0a3140,
    0 13px 26px rgba(16, 35, 59, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.button.secondary {
  color: var(--ticket-blue);
  border: 1px solid rgba(16, 35, 59, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(232, 247, 248, 0.62));
  box-shadow:
    0 4px 0 rgba(16, 35, 59, 0.13),
    0 14px 26px rgba(16, 35, 59, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow:
    0 8px 0 #0a3140,
    0 22px 40px rgba(16, 35, 59, 0.3),
    0 0 30px rgba(29, 127, 142, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.button:active {
  transform: translateY(3px) scale(0.985);
}

.button.compact {
  min-height: 42px;
  padding: 6px 14px;
  font-size: 0.84rem;
}

.section-heading,
.story-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.gifts-section .section-heading {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 10px 12px 14px;
  border-radius: 18px;
  background: rgba(232, 247, 248, 0.72);
  box-shadow: 0 14px 36px rgba(16, 35, 59, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.story-heading {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 12px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(232, 247, 248, 0.56)),
    rgba(232, 247, 248, 0.72);
  box-shadow:
    0 14px 36px rgba(16, 35, 59, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-heading p,
.story-heading p {
  color: var(--ink-soft);
}

.gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  perspective: 1100px;
}

.gift-card {
  --mx: 50%;
  --my: 16%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.64), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(232, 247, 248, 0.34)),
    rgba(247, 242, 234, 0.44);
  box-shadow:
    0 0 0 1px rgba(29, 127, 142, 0.22),
    0 10px 30px rgba(16, 35, 59, 0.15),
    0 0 24px rgba(168, 217, 223, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  animation: cardGlow 5.8s ease-in-out infinite;
}

.gift-card::before {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(29, 127, 142, 0.28), transparent);
  pointer-events: none;
}

.gift-card:hover,
.gift-card:focus-within {
  border-color: rgba(255, 247, 208, 0.98);
  box-shadow:
    0 0 0 1px rgba(29, 127, 142, 0.5),
    0 0 30px rgba(168, 217, 223, 0.42),
    0 24px 50px rgba(16, 35, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
}

.gift-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.82), transparent 28%),
    rgba(240, 196, 95, 0.25);
  box-shadow:
    0 12px 24px rgba(16, 35, 59, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gift-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}

.gift-card:hover .gift-media img {
  transform: scale(1.055);
}

.gift-placeholder {
  font-size: 4rem;
  filter: drop-shadow(0 13px 18px rgba(16, 35, 59, 0.18));
}

.gift-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 8px 8px;
}

.gift-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gift-card h3 {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  max-width: 46%;
  padding: 4px 9px;
  border: 1px solid rgba(29, 127, 142, 0.22);
  border-radius: 3px;
  color: var(--ticket-blue);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(232, 247, 248, 0.64));
  font-size: 0.69rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.gift-card p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.gift-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  flex: 0 0 auto;
  font-size: 1.14rem;
  font-weight: 950;
  white-space: nowrap;
}

.gift-card .button {
  min-height: 46px;
  padding: 7px 16px;
}

.story,
.final-message,
.location-section {
  min-height: 100svh;
  padding-top: 136px;
}

.photo-carousel {
  max-width: min(620px, 100%);
  margin: 0 auto;
  padding: 9px;
  border-radius: 18px;
}

.carousel-focus {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: 44svh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 239, 189, 0.2)),
    rgba(255, 252, 238, 0.42);
  box-shadow:
    0 14px 30px rgba(46, 31, 8, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  touch-action: pan-y;
}

.carousel-focus::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(240, 196, 95, 0.15), transparent 66%);
}

.carousel-focus > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
  border-radius: 22px;
  transition: opacity 0.22s ease, transform 0.3s ease;
}

#carouselMainImage {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 22px;
}

.carousel-focus > img.is-changing {
  opacity: 0;
  transform: scale(0.97);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  color: #fff;
  border: 1px solid rgba(232, 247, 248, 0.86);
  background:
    linear-gradient(180deg, #3ba5b4 0%, #1d7f8e 46%, #10233b 100%);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.54);
  box-shadow:
    0 6px 0 #0a3140,
    0 16px 24px rgba(16, 35, 59, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(80, 48, 6, 0.18);
  transform: translateY(-50%);
  animation: carouselButtonFloat 2.4s ease-in-out infinite;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background:
    linear-gradient(180deg, #4bb8c7 0%, #238fa0 46%, #163653 100%);
  box-shadow:
    0 8px 0 #0a3140,
    0 20px 32px rgba(16, 35, 59, 0.32),
    0 0 22px rgba(29, 127, 142, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(calc(-50% - 3px)) scale(1.04);
}

.carousel-arrow:active {
  box-shadow:
    0 2px 0 #0a3140,
    0 9px 16px rgba(16, 35, 59, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: translateY(calc(-50% + 4px)) scale(0.96);
}

.carousel-previous { left: 8px; }
.carousel-next { right: 8px; }

.carousel-counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 19, 14, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.carousel-ring {
  display: flex;
  gap: 2px;
  align-items: center;
  min-height: 104px;
  padding: 16px max(28px, calc(50% - 42px));
  overflow-x: auto;
  perspective: 900px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.carousel-ring::-webkit-scrollbar {
  display: none;
}

.carousel-thumb {
  --thumb-rotate: 0deg;
  --thumb-scale: 1;
  --thumb-depth: 0px;
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 13px;
  background: #3e3323;
  box-shadow: 0 12px 24px rgba(91, 59, 10, 0.2);
  cursor: pointer;
  opacity: 0.68;
  scroll-snap-align: center;
  transform: rotateY(var(--thumb-rotate)) translateZ(var(--thumb-depth)) scale(var(--thumb-scale));
  transform-origin: center;
  transition: opacity 0.28s ease, transform 0.34s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.carousel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-thumb.is-active {
  z-index: 2;
  border-color: #fff2ba;
  opacity: 1;
  box-shadow:
    0 16px 28px rgba(91, 59, 10, 0.28),
    0 0 25px rgba(255, 220, 116, 0.72);
  transform: translateY(-10px) scale(1.13) rotateY(0deg);
}

.message-intro {
  max-width: 850px;
  margin: 0 auto 24px;
  padding: 30px 20px;
  border-radius: 22px;
  text-align: center;
}

.message-intro p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.message-workspace {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.message-wall,
.message-form {
  padding: 20px 16px;
  border-radius: 18px;
}

.message-wall-heading,
.admin-section-heading,
.admin-session {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.message-wall-heading h3,
.admin-section-heading h3 {
  margin-bottom: 0;
}

.message-count,
.admin-section-heading > span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #6f4b15;
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 900;
}

.messages-list,
.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.message-note {
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.message-note strong {
  color: var(--gold-dark);
}

.message-note p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.message-form,
.admin-gift-form,
.admin-login-card {
  display: grid;
  gap: 14px;
}

.message-form label,
.admin-gift-form label,
.admin-login-card label,
.admin-message-item label {
  display: grid;
  gap: 6px;
  color: var(--ticket-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(29, 127, 142, 0.24);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

input {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  padding: 11px 12px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(29, 127, 142, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-status {
  min-height: 1.35em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.form-status.is-error {
  color: #8b2d22;
}

.location-card {
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
}

.location-media {
  display: grid;
  gap: 10px;
}

.location-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(16, 35, 59, 0.18);
}

.location-media p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

.location-copy h2 {
  font-size: clamp(1.55rem, 7.4vw, 3rem);
  white-space: nowrap;
}

.address-box {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.address-box span {
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-box strong {
  line-height: 1.35;
}

.location-button {
  width: 100%;
}

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 30px 0 74px;
  text-align: center;
}

.creator-credit {
  margin: 0;
  color: var(--ticket-blue);
  font-weight: 800;
}

.creator-credit a {
  display: inline-flex;
  margin-left: 4px;
  padding: 5px 12px;
  border: 1px solid rgba(232, 247, 248, 0.9);
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold-metal);
  box-shadow:
    0 4px 0 var(--gold-dark),
    0 10px 20px rgba(16, 35, 59, 0.16);
}

.modal,
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal.is-open,
.admin-panel.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop,
.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 22, 13, 0.54);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal {
  display: grid;
  place-items: center;
  padding: 12px;
}

.modal-panel {
  position: relative;
  width: min(590px, 100%);
  max-height: calc(100svh - 24px);
  padding: 26px 18px;
  overflow-y: auto;
  border-radius: 20px;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.24s ease;
}

.modal.is-open .modal-panel {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 1.5rem;
}

.modal-panel h2 {
  padding-right: 42px;
  font-size: clamp(1.65rem, 7vw, 2.55rem);
}

.modal-price {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 1.45rem;
  font-weight: 950;
}

.pix-box {
  display: grid;
  gap: 2px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.36);
}

.pix-box span,
.qr-payment span {
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.qr-payment {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 14px 0;
}

.qr-payment img {
  display: block;
  width: min(176px, 48vw);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(91, 59, 10, 0.16);
}

.admin-panel {
  z-index: 110;
}

.admin-body {
  min-height: 100vh;
}

.admin-page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.admin-page {
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.admin-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(760px, 100%);
  height: 100%;
  padding: 0 16px 28px;
  overflow-y: auto;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(247, 222, 153, 0.34)),
    rgba(255, 249, 229, 0.78);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.admin-page .admin-drawer {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 36px);
  height: auto;
  border-width: 1px;
  border-radius: 24px;
  transform: none;
}

.admin-panel.is-open .admin-drawer {
  transform: translateX(0);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0 -16px 22px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 249, 229, 0.76);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.admin-header .eyebrow {
  margin-bottom: 3px;
}

.admin-header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 2rem);
}

.admin-header h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 2rem);
  line-height: 1.08;
}

.panel-close {
  font-size: 1.5rem;
}

.admin-login {
  display: grid;
  min-height: calc(100svh - 130px);
  place-items: center;
}

.admin-panel.is-authenticated .admin-login {
  display: none !important;
}

.admin-panel.is-authenticated .admin-workspace {
  display: grid !important;
}

.admin-login-card {
  width: min(390px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 42px rgba(91, 59, 10, 0.15);
}

.admin-workspace {
  display: grid;
  gap: 18px;
}

.admin-session {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.text-button {
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  color: #704a13;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  font-weight: 900;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.25);
}

.admin-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.admin-tabs button.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 18px rgba(91, 59, 10, 0.1);
}

.admin-section-heading {
  margin-bottom: 12px;
}

.admin-message-item,
.admin-gift-item,
.admin-gift-form {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 12px 26px rgba(91, 59, 10, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.admin-message-item {
  display: grid;
  gap: 10px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-item-actions button {
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-item-actions .danger {
  color: #842f26;
  background: rgba(255, 232, 226, 0.72);
}

.admin-form-grid {
  display: grid;
  gap: 12px;
}

.file-field input {
  padding: 8px;
}

.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-checks label {
  display: flex;
  gap: 7px;
  align-items: center;
}

.admin-checks input {
  width: 18px;
  min-height: 18px;
}

.admin-cover-preview {
  width: min(230px, 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
}

.admin-cover-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gift-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-gift-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(240, 196, 95, 0.22);
  font-size: 2rem;
}

.admin-gift-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gift-copy {
  min-width: 0;
}

.admin-gift-copy h4 {
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 0.96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-gift-copy p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.rice-rain {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden;
  pointer-events: none;
}

.rice-grain {
  position: absolute;
  top: -24px;
  left: var(--x, 50%);
  width: var(--w, 5px);
  height: var(--h, 12px);
  border-radius: 999px;
  opacity: var(--o, 0.86);
  background: rgba(255, 255, 245, 0.96);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  animation: riceFall var(--d, 5s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-screen="home"] .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes heartFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(10px, -24px, 0) rotate(5deg); }
}

@keyframes catWalkAcross {
  0% { left: -430px; opacity: 0; }
  8%, 88% { opacity: 1; }
  100% { left: calc(100vw + 240px); opacity: 0; }
}

@keyframes catWalkBack {
  0% { left: calc(100vw + 240px); opacity: 0; }
  8%, 88% { opacity: 0.84; }
  100% { left: -430px; opacity: 0; }
}

@keyframes pawStep {
  0%, 18%, 100% { opacity: 0; transform: translateY(8px) scale(0.76) rotate(14deg); }
  32%, 72% { opacity: 0.92; transform: translateY(0) scale(1) rotate(14deg); }
}

@keyframes pawPairBack {
  0%, 8% {
    opacity: 0;
    transform: translateY(calc(var(--paw-offset, 0px) + 5px)) scale(0.78) rotate(var(--paw-angle));
  }
  18%, 50% {
    opacity: 0.92;
    transform: translateY(var(--paw-offset, 0px)) scale(1) rotate(var(--paw-angle));
  }
  64%, 100% {
    opacity: 0;
    transform: translateY(calc(var(--paw-offset, 0px) - 1px)) scale(0.82) rotate(var(--paw-angle));
  }
}

@keyframes pawPairFront {
  0%, 44% {
    opacity: 0;
    transform: translateY(calc(var(--paw-offset, 0px) + 5px)) scale(0.78) rotate(var(--paw-angle));
  }
  60%, 88% {
    opacity: 0.92;
    transform: translateY(var(--paw-offset, 0px)) scale(1) rotate(var(--paw-angle));
  }
  96%, 100% {
    opacity: 0;
    transform: translateY(calc(var(--paw-offset, 0px) - 1px)) scale(0.82) rotate(var(--paw-angle));
  }
}

@keyframes cardGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(29, 127, 142, 0.18), 0 10px 30px rgba(16, 35, 59, 0.15), 0 0 22px rgba(168, 217, 223, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.94); }
  50% { box-shadow: 0 0 0 1px rgba(29, 127, 142, 0.34), 0 14px 34px rgba(16, 35, 59, 0.17), 0 0 30px rgba(168, 217, 223, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.94); }
}

@keyframes carouselButtonFloat {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.08) brightness(1.08); }
}

@keyframes riceFall {
  from { transform: translate3d(0, -24px, 0) rotate(var(--r, 0deg)); }
  to { transform: translate3d(var(--drift, 40px), calc(100vh + 48px), 0) rotate(720deg); }
}

@keyframes brideHandMeet {
  0% { transform: translate3d(-112%, -50%, 0) rotate(1deg); }
  46% { transform: translate3d(8%, -50%, 0) rotate(1deg); }
  64% { transform: translate3d(8%, -50%, 0) rotate(1deg); }
  82%, 100% { transform: translate3d(20%, -50%, 0) rotate(1deg); }
}

@keyframes groomHandOffer {
  0% { transform: translate3d(112%, -50%, 0) rotate(-2deg); }
  44%, 100% { transform: translate3d(-6%, -50%, 0) rotate(-2deg); }
}

@keyframes ringSlideOn {
  0%, 52% { transform: translate3d(0, 0, 0) scale(1); }
  78%, 100% { transform: translate3d(-124px, 19px, 0) scale(0.78); }
}

@keyframes splashHeart {
  0%, 42% { opacity: 0; transform: translateX(-50%) scale(0.75); }
  58% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.28; transform: translateX(-50%) translateY(-16px) scale(1.1); }
}

@media (min-width: 560px) {
  .event-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  :root {
    --container: min(1120px, calc(100% - 40px));
  }

  .site-header {
    top: 14px;
    padding: 0 16px;
  }

  .nav-shell {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 8px 10px 8px 18px;
    border-radius: 999px;
  }

  .brand-row {
    justify-content: flex-start;
  }

  .brand {
    margin-left: 22px;
    font-size: clamp(1.22rem, 2.2vw, 1.58rem);
  }

  .admin-trigger {
    position: absolute;
    top: 50%;
    right: -11px;
    width: 48px;
    height: 48px;
    margin-left: 0;
    transform: translateY(-50%);
  }

  .admin-trigger:hover,
  .admin-trigger:focus-visible {
    transform: translateY(-50%);
  }

  .nav-links {
    justify-content: flex-end;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.84rem;
  }

  .countdown {
    right: 14px;
    bottom: auto;
    top: 50%;
    width: 150px;
    padding: 9px 7px;
    transform: translateY(-50%);
  }

  .countdown-label,
  .countdown-status {
    font-size: 0.54rem;
  }

  .countdown-grid strong { font-size: 0.82rem; }
  .countdown-grid small { font-size: 0.46rem; }

  .section {
    padding: 84px 0;
    scroll-margin-top: 100px;
  }

  .hero {
    min-height: 94vh;
    padding: 112px 20px 58px;
  }

  .hero-card {
    padding: 52px 50px;
    border-radius: 30px;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .event-info span {
    font-size: 0.9rem;
  }

  .hero-actions {
    max-width: 590px;
    margin: 0 auto;
    gap: 12px;
  }

  .story,
  .final-message,
  .location-section {
    padding-top: 124px;
  }

  .photo-carousel {
    max-width: 640px;
    padding: 12px;
    border-radius: 22px;
  }

  .carousel-focus {
    aspect-ratio: 16 / 10;
    max-height: min(46vh, 430px);
    border-radius: 16px;
  }

  .carousel-ring {
    min-height: 122px;
    padding-right: max(42px, calc(50% - 50px));
    padding-left: max(42px, calc(50% - 50px));
  }

  .carousel-thumb {
    flex-basis: 82px;
    width: 82px;
  }

  .message-workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  .message-wall,
  .message-form {
    padding: 24px;
    border-radius: 22px;
  }

  .message-form {
    position: sticky;
    top: 102px;
  }

  .messages-list {
    max-height: 60vh;
    padding-right: 3px;
    overflow-y: auto;
  }

  .location-card {
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    padding: 30px;
    border-radius: 28px;
  }

  .location-button {
    width: fit-content;
  }

  .modal-panel {
    padding: 34px;
    border-radius: 24px;
  }

  .admin-drawer {
    padding-right: 24px;
    padding-left: 24px;
  }

  .admin-header {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 980px) {
  .gift-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-photo {
    --photo-size: 138px;
  }
}

@media (max-width: 559px) {
  .boarding-pass {
    grid-template-columns: 34px minmax(0, 1fr) 16px 66px;
    min-height: 292px;
    border-radius: 3px;
  }

  .boarding-pass::before {
    right: 72px;
    top: 132px;
    border-width: 2px;
    font-size: 0.76rem;
  }

  .ticket-side {
    gap: 5px;
    padding: 8px 5px 26px;
    font-size: 0.42rem;
  }

  .ticket-side strong {
    font-size: 0.39rem;
  }

  .ticket-main {
    padding: 10px 7px 31px;
  }

  .ticket-header {
    grid-template-columns: auto 1fr;
    gap: 4px;
    margin-bottom: 6px;
  }

  .ticket-header .ticket-line:last-child {
    display: none;
  }

  .ticket-plane {
    font-size: 1.1rem;
  }

  .ticket-header strong {
    font-size: 0.54rem;
    letter-spacing: 0;
  }

  .ticket-blessing {
    font-size: 0.48rem;
    letter-spacing: 0.03em;
  }

  .ticket-names {
    font-size: clamp(0.78rem, 4.1vw, 1.02rem);
    line-height: 1.08;
  }

  .ticket-invite,
  .ticket-confirm,
  .ticket-section p {
    font-size: 0.47rem;
  }

  .ticket-section {
    margin: 5px 0;
  }

  .ticket-section span {
    min-width: min(100%, 142px);
    min-height: 17px;
    padding: 1px 12px;
    font-size: 0.52rem;
  }

  .ticket-barcode-area {
    padding: 32px 0 34px;
  }

  .barcode {
    width: 12px;
    min-height: 116px;
  }

  .ticket-barcode-area strong {
    font-size: 0.42rem;
  }

  .ticket-stub {
    gap: 6px;
    padding: 12px 4px 31px;
  }

  .ticket-stub::before {
    top: 82px;
    left: -7px;
    width: 14px;
    box-shadow: 78px 0 0 rgba(215, 226, 227, 0.95);
  }

  .ticket-stamp {
    width: 46px;
    border-width: 1px;
  }

  .ticket-stamp span,
  .ticket-stamp em {
    font-size: 0.34rem;
  }

  .ticket-stamp strong {
    font-size: 0.82rem;
  }

  .ticket-date {
    width: 52px;
    padding: 4px 2px;
    border-width: 1px;
  }

  .ticket-date span {
    font-size: 0.58rem;
  }

  .ticket-date strong {
    font-size: 1.6rem;
  }

  .ticket-stub p {
    font-size: 0.45rem;
  }

  .ticket-bottom-stripe {
    height: 22px;
    background:
      repeating-linear-gradient(90deg, var(--ticket-blue) 0 8px, var(--ticket-paper) 8px 14px, var(--ticket-teal) 14px 22px, var(--ticket-paper) 22px 28px);
  }

  .hero-card {
    padding: 34px 16px 28px;
  }

  .hero-card::before {
    inset: 12px 14px 28px;
  }

  .hero-card::after {
    top: auto;
    right: 14px;
    bottom: 18px;
    width: 70px;
    height: 28px;
    border-left: 0;
    border-top: 1px dashed rgba(16, 35, 59, 0.2);
    background:
      repeating-linear-gradient(90deg, #111827 0 2px, transparent 2px 5px, #111827 5px 7px, transparent 7px 11px) center / 54px 18px no-repeat;
    opacity: 0.36;
  }

  .hero-copy::after {
    right: -6px;
    top: auto;
    bottom: -18px;
    width: 58px;
    font-size: 0.42rem;
    opacity: 0.42;
  }

  .splash-stage {
    height: 320px;
  }

  .splash-hand {
    top: 49%;
  }

  .splash-copy {
    bottom: max(54px, env(safe-area-inset-bottom));
  }

  .splash-copy p {
    font-size: clamp(1.55rem, 9vw, 2.25rem);
  }

  .splash-copy span {
    display: block;
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.28;
  }

  @keyframes brideHandMeet {
    0% { transform: translate3d(-118%, -50%, 0) rotate(1deg); }
    46% { transform: translate3d(-1%, -50%, 0) rotate(1deg); }
    64% { transform: translate3d(-1%, -50%, 0) rotate(1deg); }
    82%, 100% { transform: translate3d(5%, -50%, 0) rotate(1deg); }
  }

  @keyframes groomHandOffer {
    0% { transform: translate3d(120%, -50%, 0) rotate(-2deg); }
    44%, 100% { transform: translate3d(40%, -50%, 0) rotate(-2deg); }
  }

  @keyframes ringSlideOn {
    0%, 52% { transform: translate3d(0, 0, 0) scale(1); }
    78%, 100% { transform: translate3d(-10px, 19px, 0) scale(0.78); }
  }
}

@media (max-width: 380px) {
  .splash-stage {
    width: calc(100vw - 18px);
    min-height: 282px;
    border-radius: 26px;
  }

  .splash-hand {
    width: 208px;
    height: 108px;
  }

  .splash-hand .wrist {
    top: 43px;
    width: 103px;
    height: 42px;
  }

  .splash-hand .palm {
    top: 25px;
    width: 96px;
    height: 70px;
  }

  .splash-hand .finger {
    height: 21px;
  }

  .bride-hand .palm { left: 68px; }
  .bride-hand .finger-thumb { top: 76px; left: 70px; width: 58px; }
  .bride-hand .finger-index { top: 26px; left: 139px; width: 70px; }
  .bride-hand .finger-middle { top: 47px; left: 137px; width: 82px; }
  .bride-hand .finger-ring { top: 67px; left: 136px; width: 78px; }
  .bride-hand .finger-little { top: 86px; left: 129px; width: 57px; }
  .groom-hand .palm { right: 68px; }
  .groom-hand .groom-thumb { top: 67px; right: 67px; width: 61px; }
  .groom-hand .groom-index { top: 39px; right: 127px; width: 78px; }
  .wedding-ring { top: 48px; right: 195px; width: 27px; height: 27px; border-width: 6px; }

  .nav-links a {
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .hero {
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-actions .button {
    min-height: 54px;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 0.78rem;
  }

  .location-copy h2 {
    font-size: 1.42rem;
  }

  .admin-gift-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .admin-gift-thumb {
    width: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wedding-splash {
    animation: none;
  }

  .bride-hand,
  .groom-hand,
  .wedding-ring,
  .splash-heart {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 560px) {
  .story-heading {
    width: calc(100% - 24px);
    margin-bottom: 18px;
    padding: 10px 12px 12px;
    border-radius: 16px;
  }

  .story-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .story-heading p {
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.45;
  }
}
