/* Thiệp cưới theo mẫu "Ô Liu" (motdoi.com.vn). Mọi kích thước tính theo --u = (bề ngang trang, tối đa 480px) / 420,
   nên trên mọi màn hình bố cục giống hệt mẫu. Ảnh trang trí và phông: o-liu/img, o-liu/fonts (đã được phép dùng). */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lora-vi.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lora-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pinyon-vi.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pinyon-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pinyon-latin.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-vi.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-vi.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Begatri'; font-display: swap; src: url(fonts/begatri.otf) format('opentype'); }
/* ---------- Nền trang (giống trang mẫu: reset của Tailwind + phông Inter, tắt chữ ghép, số đều nét) ---------- */
*, :before, :after { box-sizing: border-box; border: 0 solid hsl(0 0% 92%); }
* { outline-color: hsl(347 85% 45% / .5); }
html { -webkit-text-size-adjust: 100%; tab-size: 4; -webkit-tap-highlight-color: transparent; font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; line-height: 1.5; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; line-height: inherit; font-family: 'Inter', sans-serif; background-color: hsl(0 0% 99%); color: hsl(8 15% 20%); font-feature-settings: "liga" 0, "calt" 0, "onum" 0; font-variant-ligatures: no-common-ligatures no-contextual; font-variant-numeric: lining-nums tabular-nums; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
button, input, textarea { font-feature-settings: inherit; font-variation-settings: inherit; font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; }
button { text-transform: none; -webkit-appearance: button; background-color: transparent; background-image: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
dialog { padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role=button] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe { vertical-align: middle; display: block; }
img, video { max-width: 100%; height: auto; }
[hidden]:where(:not([hidden=until-found])) { display: none; }
.sr-only { clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; width: 1px; height: 1px; margin: -1px; padding: 0; position: absolute; overflow: hidden; }
.outer { min-height: 100vh; background-color: hsl(0 0% 99%); overflow-x: hidden; }

/* ---------- Bố cục, màu, hiệu ứng của mẫu ---------- */
.shell,.welcome {
  --canvas:min(100vw,480px);
  --u:calc(var(--canvas)/420);
  --olive:#979265;
  --olive-rgb:151 146 101;
  --olive-deep:#6f6b47;
  --paper:#f2f1eb;
  --text:#000;
  --plum:#6b2238;
  --paper-texture-size:calc(360*var(--u));
  --envelope-x:calc(21.5*var(--u));
  --envelope-y:calc(196.5*var(--u));
  --envelope-width:calc(377*var(--u));
  --envelope-hinge:43.4783%;
  --card-shadow:0 calc(4*var(--u)) calc(4*var(--u)) #00000040;
  --f-lora:'Lora',Georgia,serif;
  --f-pinyon:'Pinyon Script',"Snell Roundhand",cursive;
  --f-tinos:'Tinos',"Times New Roman",serif;
  --f-begatri:'Begatri','Pinyon Script',cursive;
  --ol-paper-texture:url(/o-liu/img/paper.webp);
  --ol-envelope-front:url(/o-liu/img/envelope-front.webp);
  --ol-envelope-flap:url(/o-liu/img/envelope-flap.webp);
}
.shell {
  width:100%;
  color:var(--text);
  background:#efeee6;
  justify-content:center;
  display:flex;
  overflow:hidden;
}
.shell *,.shell :before,.shell :after,.welcome *,.welcome :before,.welcome :after {
  box-sizing:border-box;
}
.shell button,.shell input,.shell select,.shell textarea {
  font:inherit;
  color:inherit;
}
.page {
  width:var(--canvas);
  background-color:#f8f6ef;
  background-image:linear-gradient(#ffffff6b,#ffffff6b),var(--ol-paper-texture);
  background-size:auto,var(--paper-texture-size);
  max-width:100%;
  font-family:var(--f-lora);
  box-shadow:0 0 40px rgb(var(--olive-rgb)/.18);
  flex:none;
  line-height:1.5;
  position:relative;
  overflow:hidden;
}
.section {
  width:100%;
  position:relative;
}
.abs {
  position:absolute;
}
.decor {
  pointer-events:none;
  -webkit-user-select:none;
  user-select:none;
  max-width:none;
  display:block;
  position:absolute;
}
.nowrap {
  white-space:nowrap;
}
.photo {
  object-fit:cover;
  width:100%;
  height:100%;
  display:block;
}
.reveal:not(.reveal-in) {
  visibility:hidden;
}
.reveal-in {
  animation-fill-mode:both;
}
.fx-zoomIn {
  animation-name:ol-zoom-in;
}
.fx-fadeIn {
  animation-name:ol-fade-in;
}
.fx-fadeInUp {
  animation-name:ol-fade-in-up;
}
.fx-fadeInLeft {
  animation-name:ol-fade-in-left;
}
.fx-fadeInRight {
  animation-name:ol-fade-in-right;
}
.fx-slideInLeft {
  animation-name:ol-slide-in-left;
}
.fx-slideInRight {
  animation-name:ol-slide-in-right;
}
.fx-slideInUp {
  animation-name:ol-slide-in-up;
}
@keyframes ol-zoom-in {
  0% {
    opacity:0;
    transform:scale3d(.3,.3,.3);
  }
  50% {
    opacity:1;
  };
}
@keyframes ol-fade-in {
  0% {
    opacity:0;
  }
  to {
    opacity:1;
  };
}
@keyframes ol-fade-in-up {
  0% {
    opacity:0;
    transform:translateY(100%);
  }
  to {
    opacity:1;
    transform:translate(0,0);
  };
}
@keyframes ol-fade-in-left {
  0% {
    opacity:0;
    transform:translate(-100%);
  }
  to {
    opacity:1;
    transform:translate(0,0);
  };
}
@keyframes ol-fade-in-right {
  0% {
    opacity:0;
    transform:translate(100%);
  }
  to {
    opacity:1;
    transform:translate(0,0);
  };
}
@keyframes ol-slide-in-left {
  0% {
    visibility:visible;
    transform:translate(-100%);
  }
  to {
    transform:translate(0,0);
  };
}
@keyframes ol-slide-in-right {
  0% {
    visibility:visible;
    transform:translate(100%);
  }
  to {
    transform:translate(0,0);
  };
}
@keyframes ol-slide-in-up {
  0% {
    visibility:visible;
    transform:translateY(100%);
  }
  to {
    transform:translate(0,0);
  };
}
.pulse {
  animation:3s ease-in-out infinite ol-pulse;
}
.pulse-fast {
  animation:1s ease-in-out infinite ol-pulse;
}
@keyframes ol-pulse {
  0% {
    transform:scale(1);
  }
  50% {
    transform:scale3d(1.05,1.05,1.05);
  }
  to {
    transform:scale(1);
  };
}
@media (prefers-reduced-motion:reduce) {
  .reveal-in,.pulse,.pulse-fast {
    animation:none!important;
  };
}
.script-title {
  color:#000;
  font-family:var(--f-pinyon);
  font-size:calc(32*var(--u));
  text-align:center;
  margin:0;
  font-weight:400;
  line-height:1.5;
}
.section-lead {
  margin:calc(4*var(--u)) auto 0;
  width:calc(372*var(--u));
  color:#000;
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-align:center;
  text-transform:uppercase;
  line-height:1.5;
}
.welcome {
  z-index:60;
  background-color:#f8f6ef;
  background-image:linear-gradient(#ffffff6b,#ffffff6b),var(--ol-paper-texture);
  background-size:auto,var(--paper-texture-size);
  color:#000;
  font-family:var(--f-lora);
  justify-content:center;
  line-height:1.5;
  display:flex;
  position:fixed;
  inset:0;
  overflow:hidden;
}
.welcome-leaving {
  animation:.6s .95s forwards ol-welcome-out;
}
@keyframes ol-welcome-out {
  to {
    opacity:0;
    visibility:hidden;
  };
}
.welcome-stage {
  --welcome-lift:calc(80*var(--u));
  --welcome-top:calc(112*var(--u));
  --welcome-height:calc(535*var(--u));
  --welcome-shift:max(calc(28*var(--u) - var(--welcome-top)),calc((100vh - var(--welcome-height))/2 - var(--welcome-top)));
  width:var(--canvas);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  outline:none;
  flex:none;
  height:100%;
  position:relative;
}
@supports (height:1svh) {
  .welcome-stage {
    --welcome-shift:max(calc(28*var(--u) - var(--welcome-top)),calc((100svh - var(--welcome-height))/2 - var(--welcome-top)));
  };
}
.welcome-stage:focus-visible .welcome-tap {
  text-decoration:underline;
}
.welcome-head {
  z-index:6;
  width:100%;
  height:calc(194*var(--u) + var(--welcome-shift));
  padding:calc(16*var(--u)) calc(24*var(--u)) 0;
  text-align:center;
  flex-direction:column;
  transition:opacity .5s;
  animation:1.1s cubic-bezier(.2,.7,.2,1) both ol-welcome-greet;
  display:flex;
  top:0;
  left:0;
}
.welcome-head>:first-child {
  margin-top:auto;
}
.welcome-prefix {
  font-size:calc(14*var(--u));
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:0;
}
.welcome-guest {
  width:fit-content;
  min-width:calc(190*var(--u));
  max-width:100%;
  margin:calc(4*var(--u)) auto 0;
  padding:0 calc(14*var(--u)) calc(2*var(--u));
  border-bottom:1px solid rgb(var(--olive-rgb)/.6);
  color:var(--olive-deep);
  font-family:var(--f-pinyon);
  font-size:calc(40*var(--u)*var(--fit-scale,1));
  text-wrap:balance;
  line-height:1.35;
  transition:none;
  display:block;
}
.welcome-envelope {
  perspective:calc(1400*var(--u));
  transform:translate3d(0,calc(var(--welcome-shift) - var(--welcome-lift)),0);
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
  inset:0;
}
.welcome-opening .welcome-envelope {
  transition:transform .9s cubic-bezier(.45,.05,.3,1);
  transform:none;
}
.welcome-envelope .envelope-body {
  z-index:1;
}
.welcome-envelope .hero-cluster-left {
  z-index:2;
}
.welcome-envelope .envelope-front,.welcome-sheen-front {
  z-index:3;
}
.welcome-envelope .hero-bouquet-right,.welcome-envelope .hero-bouquet-left {
  z-index:5;
}
.welcome-flap {
  z-index:4;
  transform-origin:50% var(--envelope-hinge);
  filter:drop-shadow(0 calc(-2*var(--u)) calc(3*var(--u)) #00000038);
  animation:4.2s ease-in-out 1.2s infinite ol-flap-peek;
  transform:rotateX(180deg);
}
.welcome-sheen {
  height:calc(var(--envelope-width)*1.15);
  pointer-events:none;
  transition:opacity .25s;
  overflow:hidden;
}
.welcome-sheen:before {
  content:"";
  background:linear-gradient(90deg,#fff0,#ffffff61 50%,#fff0);
  width:34%;
  animation:4.2s ease-in-out 2.6s infinite ol-welcome-sheen;
  position:absolute;
  top:-10%;
  bottom:-10%;
  left:-50%;
  transform:translate(0) skew(-20deg);
}
.welcome-sheen-front {
  -webkit-mask:var(--ol-envelope-front) 0 0/100% 100% no-repeat;
  -webkit-mask:var(--ol-envelope-front) 0 0/100% 100% no-repeat;
  mask:var(--ol-envelope-front) 0 0/100% 100% no-repeat;
}
.welcome-sheen-flap {
  z-index:4;
  -webkit-mask:var(--ol-envelope-flap) 0 0/100% 100% no-repeat;
  -webkit-mask:var(--ol-envelope-flap) 0 0/100% 100% no-repeat;
  mask:var(--ol-envelope-flap) 0 0/100% 100% no-repeat;
  transform-origin:50% var(--envelope-hinge);
  animation:4.2s ease-in-out 1.2s infinite ol-flap-peek;
  transform:rotateX(180deg);
}
.welcome-sheen-flap:before {
  animation-name:ol-welcome-sheen-flipped;
  transform:translate(0) skew(20deg);
}
.welcome-opening .welcome-flap {
  animation:.95s cubic-bezier(.45,.05,.3,1) forwards ol-flap-open;
}
@keyframes ol-flap-open {
  0% {
    z-index:4;
    transform:rotateX(180deg);
  }
  49% {
    z-index:4;
  }
  50% {
    z-index:0;
  }
  to {
    z-index:0;
    filter:none;
    transform:rotateX(0);
  };
}
@keyframes ol-flap-peek {
  0%,55%,to {
    transform:rotateX(180deg);
  }
  68% {
    transform:rotateX(158deg);
  }
  80% {
    transform:rotateX(180deg);
  }
  86% {
    transform:rotateX(173deg);
  }
  92% {
    transform:rotateX(180deg);
  };
}
@keyframes ol-welcome-sheen {
  0% {
    transform:translate(0) skew(-20deg);
  }
  30%,to {
    transform:translate(560%) skew(-20deg);
  };
}
@keyframes ol-welcome-sheen-flipped {
  0% {
    transform:translate(0) skew(20deg);
  }
  30%,to {
    transform:translate(560%) skew(20deg);
  };
}
@keyframes ol-welcome-greet {
  0% {
    opacity:0;
    transform:translate3d(0,calc(-14*var(--u)),0);
  }
  to {
    opacity:1;
    transform:none;
  };
}
@keyframes ol-welcome-hint {
  0%,to {
    opacity:.7;
  }
  50% {
    opacity:1;
  };
}
.welcome-monogram {
  z-index:5;
  top:calc(480.5*var(--u));
  left:calc(182.5*var(--u));
  transform:scale(1.6);
  transform-origin:50% 50%;
  transition:opacity .35s;
}
.welcome-tap {
  z-index:6;
  top:calc(633*var(--u) - var(--welcome-lift) + var(--welcome-shift));
  justify-content:center;
  align-items:center;
  gap:calc(10*var(--u));
  width:fit-content;
  color:var(--olive-deep);
  font-size:calc(11*var(--u));
  letter-spacing:.24em;
  text-transform:uppercase;
  white-space:nowrap;
  border-radius:999px;
  margin:0 auto;
  transition:opacity .35s;
  animation:4.2s ease-in-out infinite ol-welcome-hint;
  display:flex;
  left:0;
  right:0;
}
.welcome-tap:before,.welcome-tap:after {
  content:"";
  width:calc(26*var(--u));
  opacity:.55;
  background:currentColor;
  height:1px;
}
.welcome-tap:after {
  margin-left:-.24em;
}
@supports (height:1svh) {
  .welcome-tap {
    top:min(calc(633*var(--u) - var(--welcome-lift) + var(--welcome-shift)),calc(100svh - 40*var(--u) - env(safe-area-inset-bottom,0px)));
  };
}
@media (max-width:480px) and (min-aspect-ratio:33/40),(min-width:481px) and (max-height:582px) {
  .welcome-tap {
    padding:calc(5*var(--u)) calc(14*var(--u));
    box-shadow:0 calc(2*var(--u)) calc(10*var(--u)) #00000024;
    background:#f8f6eff0;
  };
}
.welcome-names {
  z-index:6;
  top:calc(664.5*var(--u) - var(--welcome-lift) + var(--welcome-shift));
  width:100%;
  padding:0 calc(10*var(--u)) 0 calc(38*var(--u));
  transition:opacity .35s;
  left:0;
}
.welcome-names p {
  font-size:calc(20*var(--u)*var(--fit-scale,1));
  line-height:calc(30*var(--u));
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
  margin:0;
}
.welcome-date {
  z-index:6;
  top:calc(702.5*var(--u) - var(--welcome-lift) + var(--welcome-shift));
  width:100%;
  font-size:calc(16*var(--u));
  text-align:center;
  margin:0;
  transition:opacity .35s;
  left:0;
}
@media (hover:hover) and (pointer:fine) {
  .welcome-stage:not(.welcome-opening):hover .welcome-envelope {
    transform:translate3d(0,calc(var(--welcome-shift) - var(--welcome-lift) - 6*var(--u)),0);
  };
}
.welcome-opening .welcome-monogram,.welcome-opening .welcome-tap,.welcome-opening .welcome-head,.welcome-opening .welcome-names,.welcome-opening .welcome-date,.welcome-opening .welcome-sheen {
  opacity:0;
  animation:none;
}
@media (prefers-reduced-motion:reduce) {
  .welcome-head,.welcome-flap,.welcome-sheen-flap,.welcome-sheen:before,.welcome-tap {
    animation:none!important;
  };
}
.hero {
  height:calc(780*var(--u));
  background-color:#f8f6ef;
  background-image:linear-gradient(#ffffff6b,#ffffff6b),var(--ol-paper-texture);
  background-size:auto,var(--paper-texture-size);
  overflow:hidden;
}
.envelope-layer {
  top:var(--envelope-y);
  left:var(--envelope-x);
  width:var(--envelope-width);
  height:auto;
}
.hero-cluster-left {
  top:calc(291*var(--u));
  left:calc(3*var(--u));
  width:calc(114*var(--u));
}
.hero-bouquet-top {
  top:calc(24*var(--u));
  left:calc(44*var(--u));
  width:calc(166*var(--u));
}
.hero-cluster-mid {
  top:calc(247*var(--u));
  left:calc(224*var(--u));
  width:calc(121*var(--u));
}
.hero-bouquet-right {
  top:calc(272*var(--u));
  left:calc(283*var(--u));
  width:calc(137*var(--u));
}
.hero-bouquet-left {
  top:calc(469*var(--u));
  left:calc(-33*var(--u));
  width:calc(150*var(--u));
}
.hero-mask {
  top:calc(617.5*var(--u));
  width:100%;
  height:calc(162.5*var(--u));
  background-color:#f8f6ef;
  background-image:linear-gradient(#ffffff6b,#ffffff6b),var(--ol-paper-texture);
  background-position:0 0,0 calc(-617.5*var(--u));
  background-size:auto,var(--paper-texture-size);
  left:0;
}
.polaroid {
  perspective:calc(1000*var(--u));
}
.polaroid-card {
  background-color:var(--paper);
  background-image:linear-gradient(#ffffff38,#ffffff38),var(--ol-paper-texture);
  background-size:auto,calc(260*var(--u));
  box-shadow:var(--card-shadow);
  position:absolute;
  inset:0;
}
.polaroid-window {
  background:#d9d6c1;
  position:absolute;
  overflow:hidden;
}
.hero-polaroid-right {
  top:calc(81*var(--u));
  left:calc(198*var(--u));
  width:calc(175*var(--u));
  height:calc(289*var(--u));
}
.hero-polaroid-right .polaroid-card {
  transform:rotate(5deg);
}
.hero-polaroid-right .polaroid-window {
  top:calc(9.5*var(--u));
  left:calc(11*var(--u));
  width:calc(158*var(--u));
  height:calc(225*var(--u));
  transform:rotate(5deg);
}
.hero-polaroid-left {
  top:calc(139*var(--u));
  left:calc(47*var(--u));
  width:calc(171*var(--u));
  height:calc(283*var(--u));
}
.hero-polaroid-left .polaroid-card {
  transform:rotate(-6deg);
}
.hero-polaroid-left .polaroid-window {
  top:calc(10.5*var(--u));
  left:calc(6*var(--u));
  width:calc(153*var(--u));
  height:calc(219*var(--u));
  transform:rotate(-6deg);
}
.ticket {
  top:calc(310*var(--u));
  left:calc(48*var(--u));
  width:calc(303*var(--u));
  height:calc(152*var(--u));
}
.ticket-art {
  top:0;
  left:calc(14*var(--u));
  width:calc(282*var(--u));
  height:calc(168*var(--u));
  max-width:none;
  filter:drop-shadow(0 calc(3*var(--u)) calc(3*var(--u)) #39362233);
  position:absolute;
  transform:rotate(-4deg);
}
.ticket-text {
  color:#000;
  text-align:center;
  white-space:nowrap;
  margin:0;
  line-height:1.5;
  position:absolute;
}
.ticket-save {
  top:calc(24*var(--u));
  left:calc(64.5*var(--u));
  width:calc(236*var(--u));
  font-size:calc(16*var(--u));
  text-transform:uppercase;
  transform:rotate(-4deg);
}
.ticket-date {
  top:calc(53*var(--u));
  left:calc(67*var(--u));
  width:calc(236*var(--u));
  font-size:calc(24*var(--u));
  letter-spacing:.04em;
  transform:rotate(-4deg);
}
.ticket-married {
  top:calc(91*var(--u));
  left:calc(91.5*var(--u));
  width:calc(189*var(--u));
  font-family:var(--f-pinyon);
  font-size:calc(20*var(--u));
  transform:rotate(-5deg);
}
.ticket-stub {
  top:calc(78*var(--u));
  width:calc(123*var(--u));
  font-size:calc(10*var(--u)*var(--fit-scale,1));
  text-transform:uppercase;
  left:0;
  transform:rotate(86deg);
}
.monogram {
  width:calc(55*var(--u));
  height:calc(57*var(--u));
  color:#fff;
  font-family:var(--f-pinyon);
  font-size:calc(28*var(--u));
  pointer-events:none;
  line-height:1.5;
}
.monogram span {
  width:calc(50*var(--u));
  text-align:center;
  position:absolute;
}
.monogram span:first-child {
  top:0;
  left:0;
}
.monogram span:last-child {
  top:calc(15*var(--u));
  left:calc(5*var(--u));
}
.hero-monogram {
  top:calc(497.5*var(--u));
  left:calc(182.5*var(--u));
  transform:scale(1.3);
  transform-origin:50% 50%;
}
.hero-names {
  top:calc(664.5*var(--u));
  width:100%;
  padding:0 calc(10*var(--u));
  left:10px;
}
.hero-names p {
  font-size:calc(20*var(--u)*var(--fit-scale,1));
  line-height:calc(30*var(--u));
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
  margin:0;
}
.hero-date {
  top:calc(702.5*var(--u));
  width:100%;
  font-size:calc(16*var(--u));
  text-align:center;
  margin:0;
  left:0;
}
.calendar {
  background:var(--olive);
  color:#fff;
  overflow:hidden;
}
.calendar-polaroid {
  top:calc(42*var(--u));
  left:calc(20*var(--u));
  width:calc(135*var(--u));
  height:calc(175*var(--u));
}
.calendar-polaroid .polaroid-window {
  top:calc(8.5*var(--u));
  left:calc(7.5*var(--u));
  width:calc(120*var(--u));
  height:calc(136*var(--u));
}
.calendar-caption {
  top:calc(146*var(--u));
  color:#000;
  width:100%;
  font-family:var(--f-pinyon);
  font-size:calc(14*var(--u));
  text-align:center;
  margin:0;
  line-height:1.5;
  position:absolute;
  left:0;
}
.calendar-title {
  top:calc(37.5*var(--u));
  left:calc(173*var(--u));
  width:calc(224*var(--u));
  font-family:var(--f-pinyon);
  font-size:calc(16*var(--u));
  text-align:center;
  margin:0;
  line-height:2;
}
.calendar-cell {
  width:calc(32*var(--u));
  height:calc(15*var(--u));
  font-size:calc(10*var(--u));
  justify-content:center;
  align-items:center;
  margin:0;
  line-height:1;
  display:flex;
}
.calendar-weekday {
  text-transform:uppercase;
}
.calendar-marked {
  color:#000;
}
.calendar-marked span {
  z-index:1;
  position:relative;
}
.calendar-heart {
  top:calc(-3*var(--u));
  left:calc(3*var(--u));
  width:calc(26*var(--u));
  height:calc(21*var(--u));
  color:#fff;
  position:absolute;
}
.couple {
  z-index:2;
  padding-top:calc(27.5*var(--u));
  background:#fff;
}
.couple-invite {
  padding:0 calc(12*var(--u));
  text-align:center;
  position:relative;
}
.couple-invite-line {
  font-size:calc(14*var(--u)*var(--fit-scale,1));
  line-height:calc(21*var(--u));
  text-transform:uppercase;
  white-space:nowrap;
  margin:0;
}
.couple-invite-guest {
  width:fit-content;
  min-width:calc(210*var(--u));
  max-width:100%;
  margin:calc(2*var(--u)) auto calc(8*var(--u));
  padding:0 calc(14*var(--u)) calc(2*var(--u));
  border-bottom:1px solid rgb(var(--olive-rgb)/.6);
  color:var(--olive-deep);
  font-family:var(--f-pinyon);
  font-size:calc(38*var(--u)*var(--fit-scale,1));
  text-wrap:balance;
  line-height:1.35;
  transition:none;
  display:block;
}
.couple-stage {
  height:calc(433*var(--u));
  margin-top:calc(17.5*var(--u));
  position:relative;
}
.couple-names {
  width:100%;
  height:calc(87*var(--u));
  padding:0 calc(10*var(--u));
  top:0;
  left:0;
}
.couple-name {
  font-family:var(--f-lora);
  width:100%;
  font-weight:400;
  font-size:calc(24*var(--u)*var(--fit-scale,1));
  line-height:calc(36*var(--u));
  text-align:center;
  text-transform:uppercase;
  margin:0;
  position:absolute;
  left:0;
}
.couple-name span {
  white-space:nowrap;
  display:block;
}
.couple-name-first {
  top:0;
}
.couple-name-second {
  top:calc(51*var(--u));
}
.couple-and {
  top:calc(10*var(--u));
  width:100%;
  height:calc(60*var(--u));
  color:#000;
  opacity:.32;
  font-family:var(--f-begatri);
  font-size:calc(120*var(--u));
  text-align:center;
  pointer-events:none;
  margin:0;
  line-height:.5;
  position:absolute;
  left:0;
}
.couple-and span {
  padding-top:calc(14*var(--u));
  display:block;
}
.person-card {
  width:calc(340*var(--u));
  height:calc(285*var(--u));
}
.person-couple {
  top:calc(128*var(--u));
  left:calc(40*var(--u));
}
.person-couple .polaroid-card,.person-couple .polaroid-window {
  transform:rotate(-3deg);
}
.person-couple .polaroid-window {
  top:calc(9*var(--u));
  left:calc(9*var(--u));
  width:calc(322*var(--u));
  height:calc(232*var(--u));
}
.couple-bouquet-right {
  top:calc(26*var(--u));
  left:calc(317*var(--u));
  width:calc(103*var(--u));
}
.couple-bouquet-left {
  top:calc(293*var(--u));
  width:calc(119*var(--u));
  left:0;
}
.family {
  z-index:1;
  grid-template-columns:repeat(2,calc(188*var(--u)));
  padding:calc(12*var(--u)) calc(15*var(--u)) calc(37*var(--u));
  background:#fff;
  justify-content:space-between;
  display:grid;
}
.family-col {
  text-align:center;
  min-width:0;
}
.family-col:first-child {
  position:relative;
  left:calc(15*var(--u));
}
.family-col p {
  font-size:calc(14*var(--u)*var(--fit-scale,1));
  line-height:calc(21*var(--u));
  white-space:nowrap;
  margin:0;
}
.family-col .family-side {
  font-size:calc(14*var(--u));
  text-transform:uppercase;
}
.events {
  padding:calc(6*var(--u)) calc(16*var(--u)) calc(40*var(--u));
  color:#fff;
  background:#fff;
}
.side-switch {
  justify-content:center;
  gap:calc(10*var(--u));
  margin:calc(4*var(--u)) 0 calc(14*var(--u));
  display:flex;
}
.side-switch button {
  min-width:calc(120*var(--u));
  height:calc(32*var(--u));
  padding:0 calc(14*var(--u));
  border:calc(1*var(--u)) solid var(--olive);
  border-radius:calc(20*var(--u));
  color:var(--olive-deep);
  font-family:var(--f-lora);
  font-size:calc(13*var(--u));
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
  background:#fff;
  font-weight:700;
  transition:background .25s,color .25s;
}
.side-switch button[aria-pressed=true] {
  background:var(--olive);
  color:#fff;
  box-shadow:var(--card-shadow);
}
.event-group+.event-group {
  margin-top:calc(45.5*var(--u));
}
.event-group {
  padding-top:calc(17.5*var(--u));
  position:relative;
}
.event-group-unlabeled {
  padding-top:0;
}
.event-group-unlabeled .event-card {
  padding-top:calc(26*var(--u));
}
.event-pill {
  z-index:1;
  width:max-content;
  min-width:calc(162*var(--u));
  height:calc(36*var(--u));
  padding:0 calc(18*var(--u));
  border-radius:calc(20*var(--u));
  background:var(--olive);
  box-shadow:var(--card-shadow);
  font-family:var(--f-lora);
  font-size:calc(16*var(--u));
  text-transform:uppercase;
  white-space:nowrap;
  justify-content:center;
  align-items:center;
  margin:0 auto;
  font-weight:700;
  line-height:1.5;
  display:flex;
  position:absolute;
  top:0;
  left:0;
  right:0;
}
.event-card {
  padding:calc(34.5*var(--u)) 0 calc(28.5*var(--u));
  border-radius:calc(20*var(--u));
  background:var(--olive);
  box-shadow:var(--card-shadow);
  text-align:center;
}
.event-block {
  padding:0 calc(10*var(--u));
}
.event-name {
  font-size:calc(16*var(--u));
  font-weight:700;
  line-height:calc(24*var(--u));
  text-transform:uppercase;
  margin:0;
}
.event-time {
  margin:calc(2*var(--u)) 0 0;
  font-size:calc(14*var(--u));
  line-height:calc(21*var(--u));
  text-transform:uppercase;
}
.event-date-box {
  margin-top:calc(19.5*var(--u));
  justify-content:center;
  display:flex;
}
.event-date {
  width:calc(137*var(--u));
  border-top:calc(1*var(--u)) solid #fff;
  border-bottom:calc(1*var(--u)) solid #fff;
  font-size:calc(20*var(--u));
  font-weight:700;
  line-height:calc(29*var(--u));
  letter-spacing:.02em;
  margin:0;
}
.event-lunar {
  margin:calc(8.5*var(--u)) 0 0;
  font-size:calc(12*var(--u));
  line-height:calc(18*var(--u));
  text-transform:uppercase;
}
.event-divider {
  margin:calc(21*var(--u)) 0 calc(14.5*var(--u));
  border-top:calc(1*var(--u)) dashed #ffffffe6;
}
.event-venue-block {
  margin-top:calc(19*var(--u));
  padding:0 calc(10*var(--u));
}
.event-pin {
  width:calc(20*var(--u));
  height:calc(28*var(--u));
  color:#fff;
  margin:0 auto;
  display:block;
}
.event-venue {
  margin:calc(12*var(--u)) 0 calc(4*var(--u));
  font-size:calc(16*var(--u));
  line-height:calc(24*var(--u));
  letter-spacing:.02em;
  text-transform:uppercase;
  text-wrap:balance;
  overflow-wrap:anywhere;
}
.event-address {
  margin:calc(-1*var(--u)) 0 0;
  font-size:calc(12*var(--u));
  line-height:calc(18*var(--u));
  text-transform:uppercase;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.map-button {
  width:calc(180*var(--u));
  height:calc(26*var(--u));
  margin-top:calc(10*var(--u));
  border:calc(1*var(--u)) solid #fff;
  border-radius:calc(50*var(--u));
  color:#fff;
  font-size:calc(12*var(--u));
  text-transform:uppercase;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  display:inline-flex;
}
.timeline {
  padding:calc(18*var(--u)) calc(16*var(--u)) calc(40*var(--u));
  background:#fff;
}
.timeline-card {
  margin-top:calc(14*var(--u));
  padding:calc(22*var(--u)) calc(22*var(--u)) calc(14*var(--u));
  border-radius:calc(20*var(--u));
  background:var(--olive);
  box-shadow:var(--card-shadow);
  color:#fff;
}
.timeline-group-title {
  margin:0 0 calc(10*var(--u));
  font-size:calc(16*var(--u));
  text-align:center;
  text-transform:uppercase;
  font-weight:700;
}
.timeline-row {
  grid-template-columns:calc(60*var(--u)) calc(14*var(--u)) 1fr;
  align-items:start;
  gap:calc(10*var(--u));
  padding:calc(8*var(--u)) 0;
  display:grid;
}
.timeline-row+.timeline-row {
  border-top:calc(1*var(--u)) dashed #ffffffb3;
}
.timeline-time {
  font-size:calc(17*var(--u));
  font-weight:700;
  line-height:calc(26*var(--u));
  text-align:right;
}
.timeline-dot {
  width:calc(14*var(--u));
  height:calc(12*var(--u));
  margin-top:calc(7*var(--u));
  color:#fff;
}
.timeline-title {
  font-size:calc(14*var(--u));
  line-height:calc(26*var(--u));
  text-transform:uppercase;
  margin:0;
}
.timeline-location {
  font-family:var(--f-pinyon);
  font-size:calc(18*var(--u));
  margin:0;
  line-height:1.3;
}
.dress-code {
  align-items:center;
  gap:calc(8*var(--u));
  margin-top:calc(22*var(--u));
  flex-direction:column;
  display:flex;
}
.dress-code>span {
  font-family:var(--f-pinyon);
  font-size:calc(26*var(--u));
  line-height:1.3;
}
.dress-code-swatches {
  justify-content:center;
  gap:calc(10*var(--u));
  flex-wrap:wrap;
  display:flex;
}
.dress-code-swatches i {
  width:calc(34*var(--u));
  height:calc(34*var(--u));
  border:calc(3*var(--u)) solid var(--paper);
  box-shadow:var(--card-shadow);
  border-radius:50%;
  display:block;
}
.album {
  padding:calc(18*var(--u)) calc(10*var(--u)) calc(17*var(--u));
  background:#fff;
}
.album-grid {
  gap:calc(8*var(--u));
  margin-top:calc(11*var(--u));
  grid-template-columns:repeat(2,1fr);
  display:grid;
}
.album-item {
  height:calc(292*var(--u));
}
.album-item-wide {
  grid-column:1/-1;
}
.album-item-solo {
  grid-column:1/-1;
  justify-self:center;
  width:calc((100% - 8*var(--u))/2);
}
.album-button {
  border:calc(2*var(--u)) solid var(--olive);
  cursor:zoom-in;
  background:#f2f1eb;
  width:100%;
  height:100%;
  padding:0;
  display:block;
  overflow:hidden;
}
.album-button:disabled {
  cursor:default;
}
.album-button .photo {
  transition:transform .6s;
}
.album-button:not(:disabled):hover .photo {
  transform:scale(1.04);
}
.rsvp {
  padding:calc(18*var(--u)) calc(33*var(--u)) calc(34*var(--u));
  background:#fff;
}
.form-stack {
  gap:calc(15.5*var(--u));
  margin:calc(24*var(--u)) 0 0;
  border:0;
  flex-direction:column;
  min-width:0;
  padding:0;
  display:flex;
}
.form-stack fieldset {
  border:0;
  min-width:0;
  margin:0;
  padding:0;
}
.form-stack label {
  display:block;
}
.pill-input {
  width:100%;
  min-height:calc(35*var(--u));
  padding:calc(7*var(--u)) calc(16*var(--u));
  border:calc(1*var(--u)) solid #000;
  border-radius:calc(50*var(--u));
  color:#000;
  font-family:var(--f-lora);
  font-size:calc(12*var(--u));
  background:#fff;
  outline:none;
  line-height:1.5;
  transition:box-shadow .2s;
  display:block;
}
textarea.pill-input {
  min-height:calc(92*var(--u));
  border-radius:calc(18*var(--u));
  resize:vertical;
}
.pill-input::placeholder {
  color:#000000d9;
  opacity:1;
}
.pill-input:focus-visible {
  box-shadow:0 0 0 calc(2*var(--u)) rgb(var(--olive-rgb)/.45);
}
.choice-label {
  margin:0 0 calc(7*var(--u));
  padding:0 calc(4*var(--u));
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-align:center;
  text-transform:uppercase;
  display:block;
}
.choice-row {
  gap:calc(10*var(--u));
  grid-template-columns:repeat(2,1fr);
  display:grid;
}
.choice {
  cursor:pointer;
  display:block;
  position:relative;
}
.choice input {
  opacity:0;
  cursor:pointer;
  position:absolute;
  inset:0;
}
.choice span {
  min-height:calc(35*var(--u));
  justify-content:center;
  align-items:center;
  gap:calc(5*var(--u));
  padding:calc(5*var(--u)) calc(10*var(--u));
  border:calc(1*var(--u)) solid #000;
  border-radius:calc(50*var(--u));
  font-size:calc(12*var(--u));
  text-align:center;
  background:#fff;
  line-height:1.3;
  transition:background .2s,color .2s,border-color .2s;
  display:flex;
}
.choice span svg {
  width:calc(14*var(--u));
  height:calc(14*var(--u));
  flex:none;
}
.choice input:checked+span {
  border-color:var(--olive);
  background:var(--olive);
  color:#fff;
}
.choice input:focus-visible+span {
  box-shadow:0 0 0 calc(2*var(--u)) rgb(var(--olive-rgb)/.45);
}
.counter {
  min-height:calc(35*var(--u));
  justify-content:space-between;
  align-items:center;
  gap:calc(10*var(--u));
  padding:calc(4*var(--u)) calc(5*var(--u)) calc(4*var(--u)) calc(16*var(--u));
  border:calc(1*var(--u)) solid #000;
  border-radius:calc(50*var(--u));
  font-size:calc(12*var(--u));
  display:flex;
}
.counter small {
  margin-left:calc(4*var(--u));
  font-size:calc(10*var(--u));
  opacity:.7;
}
.counter-controls {
  align-items:center;
  gap:calc(8*var(--u));
  display:flex;
}
.counter-controls button {
  width:calc(27*var(--u));
  height:calc(27*var(--u));
  background:var(--olive);
  color:#fff;
  cursor:pointer;
  border:0;
  border-radius:50%;
  place-items:center;
  padding:0;
  display:grid;
}
.counter-controls button:disabled {
  opacity:.35;
  cursor:default;
}
.counter-controls svg {
  width:calc(14*var(--u));
  height:calc(14*var(--u));
}
.counter-controls output {
  min-width:calc(24*var(--u));
  font-size:calc(16*var(--u));
  text-align:center;
  font-weight:700;
}
.pill-button {
  width:100%;
  min-height:calc(35*var(--u));
  justify-content:center;
  align-items:center;
  gap:calc(8*var(--u));
  padding:calc(6*var(--u)) calc(16*var(--u));
  border:calc(1*var(--u)) solid var(--olive);
  border-radius:calc(50*var(--u));
  background:var(--olive);
  font-family:var(--f-lora);
  font-size:calc(14*var(--u));
  text-transform:uppercase;
  cursor:pointer;
  line-height:1.3;
  transition:opacity .2s,transform .2s;
  display:inline-flex;
  color:#fff!important;
}
.pill-button svg {
  width:calc(15*var(--u));
  height:calc(15*var(--u));
  flex:none;
}
.pill-button:disabled {
  opacity:.55;
  cursor:default;
}
.pill-button:not(:disabled):active {
  transform:scale(.98);
}
.pill-button-ghost {
  background:#fff;
  color:#000!important;
}
.form-notice {
  margin:calc(12*var(--u)) 0 0;
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-align:center;
  text-transform:uppercase;
  line-height:1.5;
}
.spin {
  animation:.9s linear infinite ol-spin;
}
@keyframes ol-spin {
  to {
    transform:rotate(360deg);
  };
}
.guestbook {
  padding:calc(18*var(--u)) calc(16*var(--u)) calc(34*var(--u));
  background:#fff;
}
.signature-filter {
  width:0;
  height:0;
  position:absolute;
  overflow:hidden;
}
.guestbook-board-wrap {
  margin-top:calc(30*var(--u));
  position:relative;
}
.guestbook-board {
  min-height:calc(306*var(--u));
  border-radius:calc(14*var(--u));
  background:var(--paper);
  box-shadow:0 calc(6*var(--u)) calc(20*var(--u)) rgb(var(--olive-rgb)/.2);
  touch-action:pan-y;
  outline:none;
  position:relative;
  overflow:hidden;
}
.guestbook-board-placing {
  cursor:crosshair;
  touch-action:none;
  box-shadow:0 0 0 calc(2*var(--u)) rgb(var(--olive-rgb)/.45),0 calc(6*var(--u)) calc(20*var(--u)) rgb(var(--olive-rgb)/.2);
}
.guestbook-board-image {
  width:100%;
  height:auto;
  min-height:calc(306*var(--u));
  object-fit:cover;
  pointer-events:none;
  display:block;
}
.guestbook-board-count {
  z-index:3;
  top:calc(8*var(--u));
  left:calc(8*var(--u));
  padding:calc(2*var(--u)) calc(10*var(--u));
  border-radius:calc(20*var(--u));
  background:var(--olive);
  color:#fff;
  font-size:calc(11*var(--u));
  text-transform:uppercase;
  line-height:1.6;
  position:absolute;
}
.board-signature {
  z-index:2;
  pointer-events:none;
  position:absolute;
  transform:translate(-50%,-50%);
}
.board-signature img {
  width:100%;
  height:auto;
  display:block;
}
.board-signature-current {
  z-index:4;
  outline:calc(1*var(--u)) dashed rgb(var(--olive-rgb)/.9);
  outline-offset:calc(4*var(--u));
}
.board-empty,.board-hint {
  z-index:3;
  align-items:center;
  gap:calc(6*var(--u));
  padding:calc(5*var(--u)) calc(12*var(--u));
  border-radius:calc(20*var(--u));
  font-size:calc(12*var(--u));
  white-space:nowrap;
  pointer-events:none;
  background:#ffffffd9;
  display:flex;
  position:absolute;
  left:50%;
  transform:translate(-50%);
}
.board-empty {
  top:50%;
  transform:translate(-50%,-50%);
}
.board-hint {
  bottom:calc(10*var(--u));
}
.board-empty svg,.board-hint svg {
  width:calc(14*var(--u));
  height:calc(14*var(--u));
}
.guestbook-board .board-download {
  z-index:4;
  right:calc(8*var(--u));
  bottom:calc(8*var(--u));
  width:calc(30*var(--u));
  height:calc(30*var(--u));
  background:var(--olive);
  min-width:26px;
  min-height:26px;
  box-shadow:0 calc(2*var(--u)) calc(6*var(--u)) #0000002e;
  color:#fff;
  cursor:pointer;
  border:0;
  border-radius:50%;
  place-items:center;
  padding:0;
  transition:opacity .15s;
  display:grid;
  position:absolute;
}
.board-download:hover {
  opacity:.88;
}
.board-download svg {
  width:calc(15*var(--u));
  height:calc(15*var(--u));
}
.board-download:focus-visible {
  outline:calc(2*var(--u)) solid var(--olive);
  outline-offset:calc(2*var(--u));
}
.board-download:disabled {
  cursor:wait;
  opacity:.7;
}
.guestbook-actions {
  margin-top:calc(18*var(--u));
}
.signed-note {
  justify-content:center;
  align-items:center;
  gap:calc(6*var(--u));
  margin:calc(16*var(--u)) 0 0;
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-transform:uppercase;
  display:flex;
}
.signed-note svg {
  width:calc(16*var(--u));
  height:calc(16*var(--u));
  color:var(--olive);
}
.workflow {
  margin-top:calc(22*var(--u));
}
.workflow h3 {
  font-family:var(--f-pinyon);
  font-size:calc(26*var(--u));
  text-align:center;
  margin:0;
  font-weight:400;
  line-height:1.3;
}
.workflow-head {
  margin-bottom:calc(8*var(--u));
  justify-content:space-between;
  align-items:center;
  display:flex;
}
.workflow-steps {
  gap:calc(8*var(--u));
  display:flex;
}
.workflow-steps span {
  width:calc(24*var(--u));
  height:calc(24*var(--u));
  border:calc(1*var(--u)) solid var(--olive);
  color:var(--olive-deep);
  font-size:calc(12*var(--u));
  border-radius:50%;
  place-items:center;
  display:grid;
}
.workflow-steps span[data-state=active],.workflow-steps span[data-state=done] {
  background:var(--olive);
  color:#fff;
}
.icon-button {
  width:calc(30*var(--u));
  height:calc(30*var(--u));
  background:rgb(var(--olive-rgb)/.12);
  color:var(--olive-deep);
  cursor:pointer;
  border:0;
  border-radius:50%;
  place-items:center;
  padding:0;
  display:grid;
}
.icon-button svg {
  width:calc(15*var(--u));
  height:calc(15*var(--u));
}
.workflow-note {
  margin:calc(2*var(--u)) 0 calc(10*var(--u));
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-align:center;
  text-transform:uppercase;
}
.pen-color {
  justify-content:center;
  align-items:center;
  gap:calc(6*var(--u));
  margin-bottom:calc(8*var(--u));
  font-size:calc(11*var(--u));
  display:flex;
}
.pen-color i {
  width:calc(14*var(--u));
  height:calc(14*var(--u));
  border:calc(1*var(--u)) solid #0000004d;
  border-radius:50%;
  display:block;
}
.signature-pad {
  border:calc(1*var(--u)) dashed rgb(var(--olive-rgb)/.55);
  border-radius:calc(14*var(--u));
  background:var(--paper);
  overflow:hidden;
}
.signature-pad-dark {
  background:#3f3d2b;
}
.signature-canvas {
  width:100%;
  height:calc(170*var(--u));
  touch-action:none;
  display:block;
}
.workflow-actions {
  gap:calc(10*var(--u));
  margin-top:calc(14*var(--u));
  grid-template-columns:repeat(2,1fr);
  display:grid;
}
.workflow-actions-3 {
  grid-template-columns:repeat(3,1fr);
}
.workflow-actions .pill-button {
  font-size:calc(12*var(--u));
  padding:calc(6*var(--u)) calc(8*var(--u));
}
.size-control {
  margin-top:calc(6*var(--u));
  display:block;
}
.size-control>span {
  font-size:calc(12*var(--u));
  text-transform:uppercase;
  justify-content:space-between;
  display:flex;
}
.size-control input {
  width:100%;
  accent-color:var(--olive);
}
.writing-as {
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-align:center;
  text-transform:uppercase;
  margin:0;
}
.wishes {
  margin-top:calc(26*var(--u));
}
.wishes-head {
  padding:0 calc(4*var(--u)) calc(8*var(--u));
  border-bottom:calc(1*var(--u)) solid rgb(var(--olive-rgb)/.45);
  justify-content:space-between;
  align-items:baseline;
  display:flex;
}
.wishes-head strong {
  font-family:var(--f-pinyon);
  font-size:calc(24*var(--u));
  font-weight:400;
  line-height:1.2;
}
.wishes-head span {
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-transform:uppercase;
}
.wish-list {
  margin-top:calc(4*var(--u));
  flex-direction:column;
  display:flex;
}
.wish {
  padding:calc(12*var(--u)) calc(4*var(--u));
}
.wish+.wish {
  border-top:calc(1*var(--u)) solid rgb(var(--olive-rgb)/.22);
}
.wish-own {
  margin:calc(8*var(--u)) 0 calc(4*var(--u));
  padding:calc(12*var(--u)) calc(14*var(--u));
  border-radius:calc(14*var(--u));
  background:var(--paper);
}
.wish-own+.wish {
  border-top:0;
}
.wish-head {
  justify-content:space-between;
  align-items:flex-start;
  gap:calc(10*var(--u));
  display:flex;
}
.wish-author {
  align-items:center;
  gap:calc(8*var(--u));
  min-width:0;
  display:flex;
}
.wish-author strong {
  font-size:calc(13*var(--u));
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
  display:block;
  overflow:hidden;
}
.wish-author small {
  color:var(--olive-deep);
  font-family:var(--f-pinyon);
  font-size:calc(15*var(--u));
  line-height:1.2;
  display:block;
}
.wish-signature {
  width:calc(56*var(--u));
  height:calc(34*var(--u));
  border-radius:calc(6*var(--u));
  background:var(--paper);
  flex:none;
  place-items:center;
  display:grid;
}
.wish-signature-dark {
  background:#3f3d2b;
}
.wish-signature img {
  max-width:90%;
  max-height:90%;
}
.wish-head time {
  font-family:var(--f-tinos);
  font-size:calc(11*var(--u));
  opacity:.7;
  flex:none;
}
.wish>p {
  margin:calc(8*var(--u)) 0 0;
  font-family:var(--f-tinos);
  font-size:calc(13.5*var(--u));
  white-space:pre-line;
  overflow-wrap:anywhere;
  line-height:1.55;
}
.wish-actions {
  gap:calc(8*var(--u));
  margin-top:calc(10*var(--u));
  flex-wrap:wrap;
  display:flex;
}
.wish-actions button {
  align-items:center;
  gap:calc(4*var(--u));
  padding:calc(4*var(--u)) calc(10*var(--u));
  border:calc(1*var(--u)) solid rgb(var(--olive-rgb)/.5);
  border-radius:calc(50*var(--u));
  color:var(--olive-deep);
  font-size:calc(11*var(--u));
  text-transform:uppercase;
  cursor:pointer;
  background:#fff;
  display:inline-flex;
}
.wish-actions button:disabled {
  opacity:.5;
  cursor:default;
}
.wish-actions svg {
  width:calc(12*var(--u));
  height:calc(12*var(--u));
}
.wishes-empty {
  margin:calc(6*var(--u)) 0 0;
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-align:center;
  text-transform:uppercase;
  opacity:.8;
}
.load-more {
  align-self:center;
  align-items:center;
  gap:calc(4*var(--u));
  margin-top:calc(10*var(--u));
  padding:calc(5*var(--u)) calc(14*var(--u));
  border:calc(1*var(--u)) solid rgb(var(--olive-rgb)/.5);
  border-radius:calc(50*var(--u));
  color:var(--olive-deep);
  font-size:calc(12*var(--u));
  text-transform:uppercase;
  cursor:pointer;
  background:#fff;
  display:inline-flex;
}
.load-more svg {
  width:calc(14*var(--u));
  height:calc(14*var(--u));
}
.gift {
  padding:calc(16*var(--u)) calc(33*var(--u)) calc(38*var(--u));
  background:#fff;
}
.gift-cards {
  gap:calc(35*var(--u));
  margin-top:calc(16.5*var(--u));
  flex-direction:column;
  display:flex;
}
.gift-card {
  min-height:calc(173*var(--u));
  grid-template-columns:calc(152*var(--u)) 1fr;
  gap:calc(13*var(--u));
  padding:calc(10*var(--u)) calc(16*var(--u)) calc(10*var(--u)) calc(10*var(--u));
  border:calc(1*var(--u)) solid #000;
  border-radius:calc(6*var(--u));
  background:var(--olive);
  color:#fff;
  display:grid;
}
.gift-qr {
  width:calc(152*var(--u));
  height:calc(152*var(--u));
  border:calc(1*var(--u)) solid #aeaeae;
  cursor:zoom-in;
  background:#fff;
  padding:0;
  display:block;
  overflow:hidden;
}
.gift-qr:disabled {
  cursor:default;
}
.gift-qr .photo {
  object-fit:contain;
}
.gift-info {
  min-width:0;
  font-family:var(--f-tinos);
  font-size:calc(12*var(--u));
  text-transform:uppercase;
  flex-direction:column;
  justify-content:center;
  line-height:1.5;
  display:flex;
}
.gift-info p {
  margin:0;
}
.gift-name {
  padding-bottom:calc(7*var(--u));
  border-bottom:calc(1*var(--u)) solid #fff;
}
.gift-name span {
  font-size:calc(12*var(--u)*var(--fit-scale,1));
  white-space:nowrap;
  display:block;
}
.gift-side {
  margin-top:calc(14*var(--u))!important;
}
.gift-thanks {
  white-space:pre-line;
  overflow-wrap:anywhere;
  margin-top:calc(12*var(--u))!important;
}
.gift-download {
  margin-top:calc(10*var(--u));
}
.qr-dialog {
  max-width:min(92vw,380px);
  font-family:'Lora',Georgia,serif;
  text-align:center;
  background:#fff;
  border-radius:18px;
}
.qr-dialog-title {
  font-family:'Pinyon Script',cursive;
  text-align:center;
  font-size:30px;
  font-weight:400;
}
.qr-dialog-desc {
  color:#000;
  text-align:center;
  text-transform:uppercase;
  font-size:13px;
}
.qr-dialog-image {
  object-fit:contain;
  border:2px solid #979265;
  width:100%;
  max-height:60vh;
}
.countdown {
  padding:calc(22*var(--u)) 0 calc(40*var(--u));
  background:var(--olive);
  color:#fff;
  overflow:hidden;
}
.countdown .script-title {
  color:#fff;
}
.countdown-date {
  margin:calc(-4*var(--u)) 0 0;
  font-size:calc(14*var(--u));
  letter-spacing:.08em;
  text-align:center;
  text-transform:uppercase;
}
.countdown-grid {
  z-index:1;
  grid-template-columns:repeat(4,calc(72*var(--u)));
  justify-content:center;
  gap:calc(12*var(--u));
  margin-top:calc(22*var(--u));
  display:grid;
  position:relative;
}
.countdown-tile {
  height:calc(92*var(--u));
  padding-top:calc(8*var(--u));
  background:var(--paper);
  box-shadow:var(--card-shadow);
  color:#000;
  text-align:center;
  position:relative;
}
.countdown-tile:nth-child(odd) {
  transform:rotate(-4deg);
}
.countdown-tile:nth-child(2n) {
  transform:rotate(3deg);
}
.countdown-tile strong {
  height:calc(52*var(--u));
  margin:0 calc(6*var(--u));
  font-size:calc(26*var(--u));
  background:#fff;
  place-items:center;
  font-weight:700;
  line-height:1;
  display:grid;
}
.countdown-tile span {
  margin-top:calc(2*var(--u));
  font-family:var(--f-pinyon);
  font-size:calc(17*var(--u));
  line-height:1.4;
  display:block;
}
.countdown-flower-left {
  bottom:calc(-40*var(--u));
  left:calc(-8*var(--u));
  width:calc(50*var(--u));
  opacity:.95;
  transform:rotate(-12deg);
}
.countdown-flower-right {
  bottom:calc(-46*var(--u));
  right:calc(-6*var(--u));
  width:calc(50*var(--u));
  opacity:.95;
  transform:scaleX(-1) rotate(-10deg);
}
.footer {
  min-height:calc(477*var(--u));
  background:#3a392e;
  flex-direction:column;
  display:flex;
  overflow:hidden;
}
.footer-photo {
  inset:0;
}
.footer-band {
  z-index:1;
  margin:calc(218.5*var(--u)) 0 calc(81*var(--u));
  padding:0 calc(24*var(--u)) calc(22*var(--u));
  min-height:calc(177*var(--u));
  background:rgb(var(--olive-rgb)/.5);
  color:#fff;
  text-align:center;
  position:relative;
}
.footer-title {
  font-family:var(--f-begatri);
  font-size:calc(40*var(--u));
  margin:0;
  font-weight:400;
  line-height:2;
}
.footer-text {
  margin:calc(-12*var(--u)) 0 0;
  font-family:var(--f-lora);
  font-size:calc(15*var(--u));
  white-space:pre-line;
  text-wrap:pretty;
  line-height:1.65;
}


/* ---------- Phần ngoài khung thiệp của trang mẫu (nút nhạc, nút tải QR, tim rơi, hộp thoại) ---------- */
.hearts { position: fixed; inset: 0; pointer-events: none; z-index: 40; }

/* Nút nhạc góc trái dưới + bong bóng "Bấm để nghe nhạc" */
.music-box { position: fixed; left: 16px; bottom: 16px; z-index: 50; transition: bottom .3s cubic-bezier(.4, 0, .2, 1); }
.music-btn { display: block; padding: 10px; border: 1px solid rgb(150 145 100 / .3); border-radius: 9999px; background-color: rgb(150 145 100 / .15); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); transition: all .3s cubic-bezier(.4, 0, .2, 1); }
.music-btn svg { width: 18px; height: 18px; color: rgb(150 145 100); transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.music-btn:hover { transform: scale(1.1); background-color: rgb(150 145 100 / .7); border-color: rgb(150 145 100 / .5); box-shadow: 0 0 #0000, 0 0 #0000, 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); }
.music-btn:focus { background-color: rgb(150 145 100 / .7); }
.music-btn svg:hover { color: #fff; }
.music-box:not(.playing) .music-btn svg { transform: rotate(-12deg); }
.music-box.playing .music-btn svg { animation: music-note-bounce 1.4s ease-in-out infinite; }
@keyframes music-note-bounce { 0%, to { transform: rotate(-16deg); } 50% { transform: rotate(-8deg); } }
.music-tip { position: absolute; bottom: 100%; left: 0; margin-bottom: 12px; transform-origin: bottom left; transition: opacity .3s cubic-bezier(0, 0, .2, 1), transform .3s cubic-bezier(0, 0, .2, 1), visibility .3s cubic-bezier(0, 0, .2, 1); }
.music-tip:not(.show) { pointer-events: none; visibility: hidden; transform: translateY(8px) scale(.9); opacity: 0; }
.music-tip > span { position: relative; display: block; filter: drop-shadow(0 0 .75px rgba(255, 255, 255, .7)) drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
.music-tip > span > span { display: block; white-space: nowrap; padding: 8px 12px; font-size: 12px; font-weight: 600; line-height: 1; background: #171717; color: #fff; border-radius: 9999px; }
.music-tip svg { position: absolute; top: 100%; left: 14px; margin-top: -1px; color: #171717; }
@media (prefers-reduced-motion: no-preference) { .music-tip.show > span { animation: 1.8s ease-in-out infinite music-hint-bob; } }
@keyframes music-hint-bob { 0%, to { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.music-ring { pointer-events: none; position: absolute; inset: 0; border-radius: 9999px; }
@media (prefers-reduced-motion: no-preference) { .music-ring { animation: music-hint-ring 1.6s ease-out infinite; } }
@keyframes music-hint-ring { 0% { box-shadow: 0 0 0 0 rgb(150 145 100 / .55); } to { box-shadow: 0 0 0 12px rgb(150 145 100 / 0); } }

/* Lớp tiện ích (Tailwind) mà nút "Tải mã QR" của mẫu dùng; kiểu chính nằm trong style của nút */
.flex { display: flex; }
.max-w-full { max-width: 100%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.shrink-0 { flex-shrink: 0; }
.h-3\.5 { height: .875rem; }
.w-3\.5 { width: .875rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shadow-sm { box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 #0000000d; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter, backdrop-filter; transition-duration: .15s; transition-timing-function: cubic-bezier(.4, 0, .2, 1); }
.hover\:-translate-y-px:hover { transform: translateY(-1px); }
.hover\:shadow:hover { box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a; }
.disabled\:cursor-wait:disabled { cursor: wait; }
.disabled\:opacity-65:disabled { opacity: .65; }
.focus-visible\:outline-none:focus-visible { outline: 2px solid #0000; outline-offset: 2px; }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(347 85% 45%); }
.mt-1\.5 { margin-top: .375rem; }
.max-w-\[180px\] { max-width: 180px; }
.text-center { text-align: center; }
.text-\[10px\] { font-size: 10px; }
.leading-snug { line-height: 1.375; }
.opacity-75 { opacity: .75; }
.animate-spin { animation: 1s linear infinite spin; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Xem ảnh album (giống trình xem ảnh của mẫu) */
.lb { position: fixed; inset: 0; z-index: 60; background-color: #2b2a1ff2; animation: lb-fade .3s cubic-bezier(.25, .1, .35, 1) backwards; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; }
.lb-count { color: #ffffffe6; font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; font-size: .875rem; line-height: 1.25rem; font-variant-numeric: tabular-nums; animation: lb-drop .4s .2s cubic-bezier(.25, .1, .35, 1) backwards; }
.lb-zoom { display: flex; align-items: center; gap: .25rem; animation: lb-drop .4s .15s cubic-bezier(.25, .1, .35, 1) backwards; }
.lb-pct { min-width: 38px; color: #fff9; font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; font-size: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.lb-btn { padding: .375rem; border-radius: 9999px; background-color: #ffffff1a; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.lb-btn:hover { background-color: #fff3; }
.lb-btn:disabled { opacity: .3; }
.lb-close, .lb-nav { padding: .5rem; }
.lb-close { animation: lb-pop .4s .1s cubic-bezier(.25, .1, .35, 1) backwards; }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 4rem 2.5rem 104px; touch-action: none; }
.lb-frame { position: relative; width: 100%; height: 100%; animation: lb-zoom .2s backwards; }
.lb-pan { position: relative; width: 100%; height: 100%; transform-origin: center center; transition: transform .1s ease-out; }
.lb-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; color: transparent; }
.lb-nav { position: absolute; z-index: 20; top: calc(50% - 44px); transform: translateY(-50%); }
.lb-nav[hidden] { display: none; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
.lb-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 20; height: 88px; animation: lb-rise .3s .15s backwards; }
.lb-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .4) 60%, transparent 100%); }
.lb-strip { position: relative; display: flex; align-items: center; gap: .5rem; height: 100%; overflow-x: auto; overflow-y: hidden; padding: 0 1rem; scrollbar-width: none; -ms-overflow-style: none; }
.lb-thumb { position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; transition: opacity .2s, transform .2s, box-shadow .2s; }
.lb-thumb:focus { outline: 2px solid #0000; outline-offset: 2px; }
.lb-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; color: transparent; }
.lb-ring { position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-drop { from { opacity: 0; transform: translateY(-10px); } }
@keyframes lb-pop { from { opacity: 0; transform: scale(.8); } }
@keyframes lb-rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.96); } }

/* Hộp thoại (giống Dialog của shadcn/Radix mà mẫu dùng); .qr-dialog* của mẫu ghi đè màu nền, bo góc, chữ */
.dlg-overlay { position: fixed; inset: 0; z-index: 80; background-color: #000c; animation: dlg-in .15s backwards; }
.dlg { position: fixed; left: 50%; top: 50%; z-index: 80; display: grid; width: 100%; max-width: min(92vw, 380px); max-height: 90dvh; overflow-y: auto; gap: 1rem; padding: 1.5rem; border: 1px solid hsl(0 0% 92%); border-radius: 18px; background-color: #fff; box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; transform: translate(-50%, -50%); animation: dlg-pop .2s backwards; }
.dlg-title { line-height: 1; letter-spacing: -.025em; }
.dlg-desc { line-height: 1.25rem; }
.dlg-close { position: absolute; right: 1rem; top: 1rem; border-radius: 8px; opacity: .7; transition: opacity .15s cubic-bezier(.4, 0, .2, 1); }
.dlg-close:hover { opacity: 1; }
.dlg-close:focus { outline: 2px solid #0000; outline-offset: 2px; box-shadow: 0 0 0 2px hsl(0 0% 99%), 0 0 0 4px hsl(347 85% 45%); }
@keyframes dlg-in { from { opacity: 0; } }
@keyframes dlg-pop { from { opacity: 0; transform: translate3d(-50%, -48%, 0) scale3d(.95, .95, .95); } }

/* Sổ lưu bút: bảng chữ ký đang đặt, ô nhập lời chúc */
