*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8f2e8;color:#4b302c;font-family:"Montserrat",sans-serif;font-weight:400}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar{height:34px;display:flex;align-items:center;justify-content:center;gap:18px;background:#f3e7d3;color:#9c6a57;font-size:8px;letter-spacing:3px}.tiny-flower{font-size:13px;color:#b98b42}.section-pad{padding:84px max(6vw,22px)}.intro{position:relative;min-height:490px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#fffaf1 0%,#f8f1e7 62%,#f2e7d9 100%)}.intro:before,.intro:after{content:"❧";position:absolute;top:0;color:#a58b61;font-family:serif;font-size:150px;line-height:1;opacity:.65}.intro:before{left:1.5%;transform:rotate(-28deg)}.intro:after{right:1.5%;transform:scaleX(-1) rotate(-28deg)}.corner{position:absolute;top:20px;color:#9d8a5b;font-size:72px;opacity:.5}.corner-left{left:7%;transform:rotate(-35deg)}.corner-right{right:7%;transform:scaleX(-1) rotate(-35deg)}.eyebrow{font-size:9px;letter-spacing:3px;color:#a57d5c;margin:0 0 17px}.names{display:flex;align-items:center;flex-direction:column;margin:0;font-family:"Great Vibes",cursive;font-size:clamp(64px,8vw,100px);font-weight:400;line-height:.9;color:#9a3445}.names i{font-size:35px;font-style:normal;color:#c49a48;line-height:1.3}.intro-copy{font-family:"Cormorant Garamond",serif;font-size:18px;margin:20px 0 18px}.date-line{display:flex;align-items:center;gap:14px;font-family:"Cormorant Garamond",serif;font-size:18px;color:#8f3444}.date-line span{width:35px;height:1px;background:#c7a76d}.venue-line{font-size:10px;letter-spacing:1px;color:#896c5c;margin:10px 0 20px}.countdown{display:flex;gap:8px}.countdown div{border:1px solid #e2d4bd;background:#fffaf2b8;min-width:62px;padding:10px 8px 8px;border-radius:7px}.countdown strong{display:block;font-family:"Cormorant Garamond",serif;font-size:22px;font-weight:600;color:#5b3b32}.countdown small{display:block;font-size:7px;letter-spacing:1px;color:#a17a62;margin-top:2px}.scroll-cue{position:absolute;bottom:22px;font-size:8px;letter-spacing:2px;color:#9a7a63}.scroll-cue span{padding-left:8px;color:#9b3445}.hero{height:min(72vw,570px);min-height:400px;position:relative;overflow:hidden;display:grid;place-items:center;background:#7b4a3c}.hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 55%;filter:saturate(.85)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#2a17134d,#2a171329 50%,#2a17134d),linear-gradient(0deg,#2a17134d,transparent 55%)}.hero-content{position:relative;text-align:center;color:white;padding:20px}.light{color:#f1d9a9}.hero-content h2{font-family:"Great Vibes",cursive;font-weight:400;font-size:clamp(48px,7vw,86px);line-height:1;margin:0;text-shadow:0 3px 20px #39211c80}.hero-content h2 em{font-size:.8em;color:#e9c47d}.hero-sub{font-family:"Cormorant Garamond",serif;letter-spacing:2px;font-size:14px}.golden-card{margin:24px auto 0;width:190px;height:112px;border:1px solid #f1d9a1;border-radius:12px;background:linear-gradient(135deg,#f5dda0,#fff0bd 42%,#d5ad58);color:#6b4431;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;box-shadow:0 12px 35px #25120e4d;cursor:pointer;transition:transform .25s}.golden-card:hover{transform:translateY(-4px) rotate(-1deg)}.golden-card span:nth-child(2){font-family:"Cormorant Garamond",serif;font-size:16px}.golden-card small{font-size:7px;letter-spacing:2px;margin-top:6px}.card-spark{font-size:18px;color:#a46d2b}.story{text-align:center}.section-title{font-family:"Great Vibes",cursive;color:#9a3445;font-size:clamp(39px,5vw,58px);font-weight:400;line-height:1.05;margin:0 0 14px}.section-intro{font-family:"Cormorant Garamond",serif;font-size:18px;line-height:1.45;color:#7e6254;margin:0 auto 35px;max-width:560px}.memory-grid{max-width:1040px;margin:42px auto 0;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:24px}.memory{margin:0;position:relative;border:7px solid #fffaf0;background:#fffaf0;box-shadow:0 12px 26px #5133221c;transform:rotate(-2deg);border-radius:7px;overflow:hidden}.memory:nth-child(2){transform:rotate(2deg) translateY(-22px)}.memory:nth-child(3){transform:rotate(-1deg)}.memory img{height:300px;width:100%;object-fit:cover}.memory figcaption{padding:12px 4px 7px;font-family:"Great Vibes",cursive;font-size:22px;color:#9a3445}.events{text-align:center;background:#f1e7d9}.event-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;max-width:1120px;margin:42px auto 0;text-align:left}.event-card{position:relative;min-height:285px;padding:27px 22px 22px;border-radius:12px;overflow:hidden;color:#fff9ef;box-shadow:0 14px 25px #543b3021;background-size:cover;background-position:center;isolation:isolate}.event-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#4a292c9e,#3b252c45 55%,#2d201bc9);z-index:-1}.event-mehendi{background-image:url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=700&q=80")}.event-sangeet{background-image:url("https://images.unsplash.com/photo-1507504031003-b417219a0?auto=format&fit=crop&w=700&q=80")}.event-wedding{background-image:url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=700&q=80")}.event-reception{background-image:url("https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?auto=format&fit=crop&w=700&q=80")}.event-number{font-size:10px;letter-spacing:2px;color:#f4dca8}.event-tag{font-size:7px;letter-spacing:1.5px;margin:23px 0 5px;color:#f1d8b4}.event-card h3{font-family:"Great Vibes",cursive;font-size:39px;font-weight:400;margin:0 0 8px}.event-date{font-size:10px;font-weight:600}.event-card p:not(.event-tag){font-family:"Cormorant Garamond",serif;font-size:15px}.event-icon{position:absolute;right:16px;bottom:10px;font-size:27px;color:#f2dca9}.venue{position:relative;min-height:480px;display:grid;place-items:center;text-align:center;color:white;overflow:hidden}.venue-bg{position:absolute;inset:0;background-image:url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1800&q=85");background-size:cover;background-position:center}.venue-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#392522b8,#3925228c),#39252235}.venue-content{position:relative;max-width:600px}.venue-content .section-title{color:#fff1d7}.venue-content .section-title em{font-style:normal}.venue-content>p:not(.eyebrow){font-family:"Cormorant Garamond",serif;font-size:20px}.venue-rule{height:1px;width:70px;background:#d7b36e;margin:20px auto}.venue-address{font-size:14px!important}.pill-button{display:inline-block;background:#9b3547;color:white;border-radius:30px;padding:14px 24px;font-size:9px;letter-spacing:1.5px;margin-top:12px;box-shadow:0 6px 18px #0002;transition:background .2s}.pill-button:hover,.submit-button:hover{background:#762636}.rsvp{text-align:center;background:radial-gradient(ellipse at 85% 80%,#efe1d4 0%,transparent 38%),#faf4e9}.rsvp-form{max-width:530px;margin:0 auto;text-align:left;background:#fffaf2;border:1px solid #d6b36f;border-radius:12px;padding:0 24px 22px;box-shadow:0 15px 40px #61422b0d;overflow:hidden}.form-ribbon{margin:0 -24px 20px;background:#f0dfbd;text-align:center;padding:12px;font-size:9px;letter-spacing:2px;color:#963849}.rsvp-form>label{display:block;font-size:8px;letter-spacing:1.4px;color:#997b65;margin:15px 0 7px}.rsvp-form input[type=text],.rsvp-form input[type=tel],.rsvp-form select,.rsvp-form textarea{width:100%;border:1px solid #e5d9c7;background:#fffdf8;border-radius:5px;padding:12px;color:#553a32;font-size:12px;outline:none}.rsvp-form input:focus,.rsvp-form select:focus,.rsvp-form textarea:focus{border-color:#b98b42;box-shadow:0 0 0 3px #d6b36f24}.attend-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.attend-options label{position:relative;cursor:pointer}.attend-options input{position:absolute;opacity:0}.attend-options span{display:block;text-align:center;padding:12px 5px;border:1px solid #e5d9c7;border-radius:5px;font-family:"Cormorant Garamond",serif;font-size:15px}.attend-options input:checked+span{background:#963849;color:white;border-color:#963849}.submit-button{width:100%;margin-top:16px;padding:14px;border:0;border-radius:5px;background:#963849;color:white;letter-spacing:2px;font-size:9px;cursor:pointer;display:flex;justify-content:center;gap:12px;align-items:center;transition:background .2s}.submit-button:disabled{opacity:.65;cursor:wait}.form-message{min-height:16px;margin:10px 0 0;text-align:center;font-size:11px;color:#54754d}footer{background:#efe2ce;text-align:center;padding:28px 15px;color:#9b7a60;font-size:8px;letter-spacing:2px}footer .footer-names{font-family:"Great Vibes",cursive;font-size:35px;color:#9a3445;letter-spacing:0;margin:8px 0}footer em{color:#c29a4a;font-style:normal}.music-button{position:fixed;z-index:10;right:18px;bottom:18px;width:42px;height:42px;border:1px solid #e5c77e;border-radius:50%;background:#963849;color:white;font-size:20px;box-shadow:0 5px 20px #4b242b33;cursor:pointer}.music-button.playing{animation:pulse 1.8s infinite}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#3f2b28;color:#fff8ed;padding:12px 18px;border-radius:8px;font-size:12px;z-index:20;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes pulse{50%{box-shadow:0 0 0 8px #96384922}}@media(max-width:800px){.section-pad{padding:65px 22px}.intro{min-height:470px}.intro:before,.intro:after{font-size:95px}.corner{font-size:45px}.hero{height:570px;min-height:0}.hero-image{object-position:57% center}.memory-grid{gap:12px}.memory img{height:220px}.memory{border-width:5px}.event-grid{grid-template-columns:repeat(2,1fr);max-width:570px}.event-card{min-height:260px}.venue{min-height:440px}}@media(max-width:520px){.topbar{font-size:7px;letter-spacing:1.8px}.section-pad{padding:55px 17px}.intro{min-height:475px;padding-left:15px;padding-right:15px}.intro:before,.intro:after{font-size:75px;top:8px}.intro:before{left:-4%}.intro:after{right:-4%}.corner-left{left:4%}.corner-right{right:4%}.eyebrow{font-size:8px;letter-spacing:2px}.names{font-size:72px}.intro-copy{font-size:16px;max-width:290px}.date-line{font-size:16px;gap:8px}.date-line span{width:20px}.countdown{gap:5px}.countdown div{min-width:57px;padding:9px 5px}.countdown strong{font-size:20px}.scroll-cue{bottom:15px}.hero{height:520px}.hero-content h2{font-size:53px}.hero-sub{font-size:11px;letter-spacing:1px}.golden-card{width:175px;height:100px}.section-title{font-size:43px}.section-intro{font-size:17px}.memory-grid{grid-template-columns:1fr 1fr;gap:13px;margin-top:30px}.memory img{height:190px}.memory:nth-child(2){transform:rotate(2deg);margin-top:25px}.memory:nth-child(3){grid-column:1/-1;width:68%;justify-self:center}.memory:nth-child(3) img{height:200px}.event-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:30px}.event-card{min-height:240px;padding:20px 14px 18px;border-radius:9px}.event-card h3{font-size:34px}.event-tag{font-size:6px;letter-spacing:1px;margin-top:18px}.event-date{font-size:9px}.event-card p:not(.event-tag){font-size:13px}.venue{min-height:430px}.venue-content .section-title{font-size:43px}.rsvp-form{padding:0 15px 18px}.form-ribbon{margin-left:-15px;margin-right:-15px}.attend-options span{font-size:13px;padding:11px 3px}.music-button{width:38px;height:38px;right:12px;bottom:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* ===== Template-2 upgrades: intro video, floating hearts, larger typography ===== */
body{font-size:16px}
.video-intro{position:fixed;inset:0;z-index:1000;background:#160f11;display:grid;place-items:center;overflow:hidden}
.video-intro[hidden]{display:none!important}
.video-intro video{position:absolute;width:100%;height:100%;object-fit:cover;background:#160f11}
.video-intro-shade{position:absolute;inset:0;background:linear-gradient(0deg,#160f118c,transparent 38%,#160f1140)}
.skip-intro{position:absolute;top:max(22px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));z-index:2;border:1px solid #f4dfb2;background:#f8f1e7e8;color:#823346;border-radius:28px;padding:13px 20px;font-size:12px;font-weight:600;letter-spacing:1.5px;cursor:pointer}
.skip-intro span{margin-left:9px}
.video-intro-caption{position:absolute;bottom:8%;left:16px;right:16px;text-align:center;color:#fff1d7;font-family:"Cormorant Garamond",serif;font-size:clamp(20px,4vw,34px);letter-spacing:3px;text-shadow:0 2px 15px #000}
.hearts-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:50}
.flying-heart{position:absolute;bottom:-50px;color:#ed7897;line-height:1;text-shadow:0 2px 8px #c9507730;animation:heart-float linear forwards;will-change:transform,opacity;opacity:0}
@keyframes heart-float{0%{transform:translate3d(0,0,0) rotate(-12deg) scale(.7);opacity:0}10%{opacity:.78}50%{transform:translate3d(var(--drift,30px),-55vh,0) rotate(15deg) scale(1)}90%{opacity:.6}100%{transform:translate3d(calc(var(--drift,30px) * -1),-110vh,0) rotate(35deg) scale(.85);opacity:0}}
/* Larger, more legible type across the invitation */
.eyebrow{font-size:11px;letter-spacing:2.5px}
.intro-copy{font-size:21px}
.date-line{font-size:21px}
.venue-line{font-size:13px}
.countdown small{font-size:9px}
.scroll-cue{font-size:10px}
.hero-sub{font-size:16px}
.golden-card span:nth-child(2){font-size:19px}
.golden-card small{font-size:9px}
.section-intro{font-size:21px}
.memory figcaption{font-size:25px}
.event-tag{font-size:9px}
.event-date{font-size:13px}
.event-card p:not(.event-tag){font-size:17px}
.venue-content>p:not(.eyebrow){font-size:23px}
.venue-address{font-size:16px!important}
.pill-button{font-size:11px}
.rsvp-form>label{font-size:10px}
.rsvp-form input[type=text],.rsvp-form input[type=tel],.rsvp-form select,.rsvp-form textarea{font-size:15px;padding:14px}
.attend-options span{font-size:17px}
.submit-button{font-size:11px;padding:16px}
.form-message{font-size:13px}
footer{font-size:10px}
@media(max-width:800px){
  .eyebrow{font-size:10px}
  .intro-copy{font-size:19px}
  .date-line{font-size:19px}
  .venue-line{font-size:12px}
  .section-intro{font-size:19px}
  .event-tag{font-size:8px}
  .event-date{font-size:12px}
  .event-card p:not(.event-tag){font-size:16px}
}
@media(max-width:520px){
  .eyebrow{font-size:9px;letter-spacing:1.7px}
  .intro-copy{font-size:18px;line-height:1.45}
  .date-line{font-size:18px}
  .venue-line{font-size:11px;line-height:1.6}
  .countdown small{font-size:8px}
  .scroll-cue{font-size:9px}
  .hero-sub{font-size:13px;line-height:1.5}
  .golden-card span:nth-child(2){font-size:18px}
  .section-intro{font-size:18px;line-height:1.55}
  .memory figcaption{font-size:23px}
  .event-tag{font-size:7px;letter-spacing:.8px}
  .event-date{font-size:11px}
  .event-card p:not(.event-tag){font-size:14px;line-height:1.45}
  .event-card h3{font-size:37px}
  .venue-content>p:not(.eyebrow){font-size:21px}
  .venue-address{font-size:15px!important;line-height:1.5}
  .rsvp-form>label{font-size:9px}
  .rsvp-form input[type=text],.rsvp-form input[type=tel],.rsvp-form select,.rsvp-form textarea{font-size:15px}
  .attend-options span{font-size:15px}
  .submit-button{font-size:10px}
  .skip-intro{font-size:11px;padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.flying-heart{animation:none;display:none}}


/* Screenshot-matched desktop scale: spacious invitation cover and larger names */
@media(min-width:1000px){
  .intro{min-height:850px;padding-top:90px;padding-bottom:95px}
  .intro:before,.intro:after{font-size:205px;top:0}
  .corner{font-size:105px;top:26px}
  .eyebrow{font-size:13px;letter-spacing:4px;margin-bottom:23px}
  .names{font-size:clamp(112px,9vw,150px);line-height:.92}
  .names i{font-size:58px;line-height:1.2}
  .intro-copy{font-size:24px;margin:24px 0}
  .date-line{font-size:26px;gap:20px}
  .date-line span{width:55px}
  .venue-line{font-size:16px;margin:14px 0 30px}
  .countdown{gap:12px}
  .countdown div{min-width:110px;padding:17px 13px 13px;border-radius:13px}
  .countdown strong{font-size:34px}
  .countdown small{font-size:11px;letter-spacing:1.5px}
  .scroll-cue{font-size:13px;letter-spacing:3px;bottom:28px}
}
@media(min-width:700px) and (max-width:999px){
  .intro{min-height:650px}
  .names{font-size:clamp(88px,11vw,118px)}
  .intro-copy{font-size:22px}
  .countdown div{min-width:82px;padding:13px 10px}
  .countdown strong{font-size:28px}
}
.music-button.music-needs-tap{animation:pulse 1.3s infinite;box-shadow:0 0 0 6px #ed789733}









.scratch-card {
    position: relative;
    width: 250px;
    height: 145px;
    overflow: hidden;
    border: 1px solid #e7c46e;
    border-radius: 12px;
    padding: 0;
    cursor: crosshair;
    touch-action: none;
    background: #fff0c2;
}

.scratch-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 9px;
    color: #8f3044;
}

.scratch-message span,
.scratch-message small {
    font-size: 10px;
    letter-spacing: 2px;
}

.scratch-message strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
}

#scratchCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.scratch-hint {
    position: absolute;
    z-index: 2;
    bottom: 4px;
    left: 0;
    right: 0;
    margin: 0;
    color: #7c5732;
    font-size: 9px;
    letter-spacing: 2px;
    pointer-events: none;
    text-shadow: 0 1px 3px #fff;
}

.scratch-card.scratched #scratchCanvas {
    opacity: 0;
    transition: opacity .6s;
}

.scratch-card.scratched .scratch-hint {
    display: none;
}

