html,body{scrollbar-width:none!important;-ms-overflow-style:none!important}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
:root {
  --paper: #fbf8ef;
  --ink: #26341f;
  --olive: #636a33;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eeeade;
  color: var(--ink);
  font: 300 17px/1.8 'Jost', sans-serif;
  overflow-x: hidden;
}

.sealed {
  overflow: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

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

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

h1, .script {
  font-family: 'Italianno', cursive;
  font-weight: 400;
}

h2 {
  font: 400 clamp(39px, 6vw, 66px)/1.15 'Cormorant Garamond', serif;
}

h2 em {
  color: var(--olive);
  font-weight: 400;
}

h3 {
  font: 400 31px 'Cormorant Garamond', serif;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  line-height: 1.7;
}

.section {
  padding: 85px 25px;
  text-align: center;
  position: relative;
}

.section h2 {
  margin: 25px 0;
}

.prose {
  max-width: 520px;
  margin: 22px auto;
  font-size: 18px;
}

.small {
  font-size: 14px;
  max-width: 420px;
  margin: 24px auto;
}

.script {
  font-size: 36px;
}

.button {
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--olive);
  padding: 15px 24px;
  font-size: 12px;
  letter-spacing: .14em;
  min-height: 48px;
  transition: background .2s ease;
}

.button:hover {
  background: #465121;
}

.text-button {
  background: none;
  border: 0;
  border-bottom: 1px solid #636a3360;
  color: var(--olive);
  padding: 8px 0;
  font-size: 14px;
}

/* ============================================================
   INTRO / COVER — Full Screen on Mobile
   ============================================================ */
.cover {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  height: 100dvh;
  background: #e8e6da;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .9s cubic-bezier(.25,1,.5,1), transform 1.1s cubic-bezier(.25,1,.5,1);
}

.cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cover-title {
  position: absolute;
  top: 15%;
  left: 8%;
  right: 8%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.cover-title h1 {
  font-size: clamp(44px, 8vw, 76px);
  margin: 10px 0;
  line-height: 1.1;
}

.cover-title h1 i {
  font-style: normal;
}

.cover-title > p:last-child {
  font-size: 13px;
  letter-spacing: .2em;
}

.open {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--ink);
  z-index: 3;
  cursor: pointer;
  padding: 0;
}

.open-label {
  background: rgba(251, 248, 239, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 106, 51, 0.22);
  border-radius: 30px;
  padding: 11px 26px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #313d28;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.open:hover .open-label,
.open:focus-visible .open-label {
  background: rgba(251, 248, 239, 0.85);
  border-color: rgba(99, 106, 51, 0.45);
  transform: translateY(-2px);
}

.cover.opened {
  opacity: 0;
  transform: translateY(-4%) scale(1.02);
  pointer-events: none;
  visibility: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.intro h2 {
  margin: 30px 0;
  animation: appear 1.5s both;
}

.intro .text-button {
  position: absolute;
  bottom: 50px;
}

.music {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 30;
  border: 1px solid #636a3340;
  background: #fbf8efea;
  border-radius: 30px;
  padding: 10px 17px;
  color: var(--ink);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

main {
  max-width: 900px;
  margin: auto;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 0 70px #34401812;
}

.sealed main {
  visibility: hidden;
}

/* ============================================================
   HERO SECTION — Full Viewport on Mobile & Desktop
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  max-width: 730px;
  margin: auto;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 0;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.hero-copy > * {
  margin: 0 !important;
}

.hero h1 {
  font-size: clamp(48px, 7.5vw, 83px);
  line-height: 1.05;
  margin: 0 !important;
}

.hero h1 i {
  font-style: normal;
}

.hero-copy > .eyebrow {
  font-size: 12px;
  margin: 0 !important;
}

.date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
}

.date strong {
  font: 400 42px 'Jost', sans-serif;
  line-height: 1;
}

.date span {
  font-size: 12px;
  letter-spacing: .12em;
  border-block: 1px solid #636a3380;
  padding: 3px 6px;
}

.hero-location {
  font-size: 14px;
  margin: 0 !important;
}

.hero .script {
  font-size: 28px;
  margin: 0 !important;
}

.bouquet {
  width: 210px;
  height: 240px;
  object-fit: contain;
  margin: 30px auto;
}

.letter {
  padding-top: 65px;
}

.count {
  background: #e9eddf;
  padding-top: 45px;
  padding-bottom: 55px;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 480px;
  margin: 28px auto;
}

.count-grid strong {
  display: block;
  font: 400 45px 'Cormorant Garamond', serif;
}

.count-grid span {
  font-size: 10px;
  letter-spacing: .16em;
}

.garden-window {
  height: 380px;
  max-width: 590px;
  overflow: hidden;
  margin: 35px auto;
  border-radius: 48% 48% 0 0;
}

.garden-window img {
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  transform: scale(1.8);
  transform-origin: bottom center;
}

.timeline {
  max-width: 550px;
  margin: 40px auto;
  text-align: left;
  border-left: 1px solid #636a3340;
}

.timeline article {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 15px;
  padding: 15px 0 25px 24px;
}

.timeline time {
  font-size: 12px;
  color: var(--olive);
  padding-top: 7px;
}

.timeline p {
  margin-top: 12px;
  font-size: 16px;
}

.banquet > img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

.banquet > .section {
  padding-top: 50px;
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px;
}

.swatches span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c);
}

.faq {
  max-width: 540px;
  margin: 40px auto 0;
  text-align: left;
}

details {
  border-bottom: 1px solid #636a332e;
}

summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
}

details p {
  font-size: 16px;
  padding: 0 0 25px;
}

.rsvp {
  border-top: 1px solid #636a3320;
}

.rsvp > .bouquet {
  width: 170px;
  height: 180px;
  margin-top: 0;
}

form {
  max-width: 440px;
  margin: 35px auto;
  text-align: left;
}

.demo {
  font-size: 12px;
  text-align: center;
  color: #737768;
  margin-bottom: 25px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}

input, textarea, select {
  width: 100%;
  display: block;
  margin-top: 8px;
  border: 1px solid #636a3340;
  background: #fffdf7;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 0;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 25px;
}

legend {
  font-size: 14px;
  margin-bottom: 12px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.radio input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--olive);
}

form .button {
  width: 100%;
}

#reply {
  margin: 35px auto;
  max-width: 440px;
  border: 1px solid #636a3340;
  padding: 30px;
}

#reply p {
  margin: 20px 0;
}

#reply button {
  display: block;
  margin: 20px auto;
}

footer {
  background: #edf0e4;
}

footer .script {
  margin: 30px 0;
}

footer .text-button {
  margin: 40px 0 20px;
}

.brand {
  font-size: 10px;
  letter-spacing: .18em;
  margin-top: 30px;
}

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

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

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE (MOBILE) — Tràn màn hình hoàn hảo
   ============================================================ */
@media (max-width: 600px) {
  main {
    max-width: 100%;
    margin: 0;
    box-shadow: none;
  }

  /* Intro Cover mobile full-screen */
  .cover {
    width: 100vw;
    height: 100svh;
    height: 100dvh;
  }

  .cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .cover-title {
    top: 14%;
    left: 6%;
    right: 6%;
  }

  .cover-title h1 {
    font-size: clamp(40px, 11vw, 54px);
    margin: 8px 0;
  }

  .cover-title .eyebrow {
    font-size: 9px;
    letter-spacing: .18em;
  }

  .cover-title > p:last-child {
    font-size: 11.5px;
    letter-spacing: .18em;
  }

  .open {
    bottom: 5vh;
    top: auto;
  }

  /* Hero Section mobile full-screen */
  .hero {
    width: 100vw;
    max-width: 100vw;
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    padding: 100px 0 0;
    justify-content: flex-start;
    align-items: center;
  }

  .hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    padding: 0 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .hero-copy > * {
    margin: 0 !important;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.02;
    margin: 0 !important;
  }

  .hero-copy > .eyebrow {
    font-size: 8.5px;
    letter-spacing: .18em;
    margin: 0 !important;
  }

  .date {
    gap: 4px;
    margin: 0 !important;
  }

  .date strong {
    font-size: 32px;
    line-height: 1;
  }

  .date span {
    font-size: 8.5px;
    padding: 2px 5px;
  }

  .hero-location {
    font-size: 11px;
    margin: 0 !important;
    letter-spacing: .08em;
  }

  .hero .script {
    font-size: 24px;
    margin: 0 !important;
  }

  .section {
    padding: 65px 24px;
  }

  .prose {
    font-size: 17px;
  }

  .garden-window {
    height: 300px;
  }

  .timeline article {
    padding-left: 15px;
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }

  .timeline h3 {
    font-size: 27px;
  }

  .count-grid strong {
    font-size: 38px;
  }

  .count-grid span {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, .reveal {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.canva-stage-wrapper{position:relative;width:100%;max-width:760px;margin:0 auto;aspect-ratio:1080/1920;overflow:hidden;padding:0!important;background:none}
.canva-stage{position:absolute;top:0;left:0;width:1080px;height:1920px;transform-origin:top left}
.canva-bg{position:absolute;top:0;left:0;width:1080px;height:1920px;object-fit:cover;display:block}
.canva-box{position:absolute;box-sizing:border-box;margin:0;padding:0;letter-spacing:0;line-height:1.15;text-align:center}
@media(max-width:760px){.canva-stage-wrapper{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}}
