
.site-header{background:var(--ivory);backdrop-filter:none;-webkit-backdrop-filter:none} 
.feast{--velvet:#062c1f;--gold:#E3CC9A;position:relative;background:var(--velvet) url(img/giveaways/velvet.webp) center top/420px;color:#fff;isolation:isolate;overflow:hidden}
.garland{position:absolute;z-index:-1;inset:0 0 auto;height:40vw;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 66%,rgba(0,0,0,.55) 80%,transparent);mask-image:linear-gradient(180deg,#000 66%,rgba(0,0,0,.55) 80%,transparent)}
.garland img,.garland video{position:absolute;top:-5vw;left:50%;width:102vw;max-width:none;height:auto;transform:translateX(-50%)}
.feast-head{padding:28vw 0 0;text-align:center}
.feast-head h1{font-size:clamp(1.55rem,7.7vw,2.5rem);color:var(--blush);max-width:15ch;margin-inline:auto}
.feast-lede{font-size:clamp(1.06rem,1rem + .5vw,1.4rem);line-height:1.4;max-width:none;margin:.4rem auto 0;text-wrap:balance}
.feast-now{margin:.2rem auto 0;max-width:none;min-height:1.69rem;font-family:var(--font-script);font-size:1.25rem;line-height:1.35;color:var(--gold);text-wrap:balance}
.feast-now a,.feast-now button{display:inline-block;margin-block:calc(.845rem - 22px);min-height:44px;padding:.35rem .4rem;border:0;background:none;font:inherit;color:#fff;cursor:pointer;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:1px;text-underline-offset:.28em}
.feast-small{text-align:center;max-width:none;margin:1.6rem 0 0;font-size:.95rem}
.feast-small a{display:inline-block;min-height:44px;padding:.5rem .3rem;color:#fff}
@media (max-width:759px){.feast-small a{display:table;margin:0 auto}}
.table{padding:.4rem 0 3.2rem}
.places{list-style:none;margin:0 auto;padding:0 12px;max-width:620px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 10px}
.places li{min-width:0}
.hem{height:14px;margin-bottom:-1px;background:radial-gradient(circle at 12px 16px,var(--petal) 11.2px,transparent 12px) 50% 0/24px 16px repeat-x}

.place{position:relative;display:block;width:100%;padding:0 0 2px;border:0;background:none;color:inherit;font:inherit;cursor:pointer;container-type:inline-size;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border-radius:50% 50% 16px 16px}
.place:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:none}
.setting{position:relative;display:block;aspect-ratio:1;border-radius:50%;box-shadow:0 6cqw 9cqw -3cqw rgba(0,12,8,.75),0 2cqw 3cqw rgba(0,12,8,.45)}
.setting .plate{position:absolute;inset:0;width:100%;height:100%}
.lid{position:absolute;inset:5.6%;transform:rotate(var(--turn));will-change:transform;filter:drop-shadow(.8cqw 1.5cqw 1.4cqw rgba(60,45,40,.34));transition:transform .25s var(--ease)}
.lid .cover,.lid canvas{position:absolute;inset:0;width:100%;height:100%}
.lid canvas.lifted{inset:-15%;width:130%;height:130%;max-width:none}
.lid.up .cover,.lid.up .num{visibility:hidden}
.num{position:absolute;left:0;right:6%;top:55.5%;text-align:center;font-family:var(--font-display);font-size:27.5cqw;line-height:1.1;color:var(--forest);letter-spacing:0}
.green .num{color:var(--ivory)}
.seal{position:absolute;right:1%;bottom:3%;width:29%;height:auto;filter:drop-shadow(0 .6cqw .8cqw rgba(30,20,16,.5));transition:transform .18s var(--ease)}
.place.ready .seal,.place.opened .seal,.place.soon .seal{display:none}
.place.locked .cover{filter:brightness(.95)}
.place.nudge .seal{animation:seal .45s var(--ease)}
@keyframes seal{25%{transform:rotate(-13deg) scale(.94)}60%{transform:rotate(9deg)}}
.place.ready .lid{cursor:grab}
.place.today .setting::before{content:"";position:absolute;z-index:-1;inset:-17%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,226,160,.62),rgba(255,214,140,.28) 68%,transparent)}
.place.opened .lid{display:none}

.mat{position:absolute;inset:5.6%;width:88.8%;height:88.8%;transform:rotate(var(--turn));filter:drop-shadow(.8cqw 1.3cqw 1.2cqw rgba(60,45,40,.3))}
.place .prize-photo{position:absolute;inset:15%;border-radius:50%;width:70%;height:70%;object-fit:cover;background:#e9e2d8}
.place.opened .setting::after{content:"";position:absolute;inset:15%;border-radius:50%;box-shadow:0 0 0 1.4cqw #d9b978,inset 0 1.4cqw 2.4cqw rgba(60,45,40,.28);pointer-events:none}

.tent{display:block;margin-top:.4rem;text-align:center;font-family:var(--font-display);font-size:min(clamp(.92rem,11.4cqw,1.2rem),17cqw);line-height:1.2;color:#eadcc3}
.tent-date,.tent-name{display:block}
.tent-name:empty{display:none}
.tent-name{margin:.1rem -4px 0;font-size:clamp(max(.69rem,min(.8rem,calc((100cqw + 8px)*1.64/var(--p,10)))),calc(158cqw/var(--n,13)),1.3rem);line-height:1.2;color:var(--blush);overflow-wrap:break-word;text-wrap:balance}
.place[data-note] .tent-date{color:#f3d9a0;text-wrap:balance}
.place.today .tent{position:relative;margin-top:-.85rem;filter:drop-shadow(0 3px 4px rgba(0,12,8,.6))}
.place.today .tent-date{display:inline-block;padding:.22em 1.15em .3em;background:linear-gradient(180deg,#f8eac6,#e0c387 60%,#cfac68);color:var(--forest);font-family:var(--font-script);white-space:nowrap;clip-path:polygon(0 0,100% 0,calc(100% - .5em) 50%,100% 100%,0 100%,.5em 50%)}
@media (hover:hover){.place:hover .lid{transform:rotate(var(--turn)) translateY(-1.5cqw)}}
@media (min-width:600px){
  .garland{height:20.5vw}
  .garland img,.garland video{width:100%;top:-2.6vw}
  .feast-head{padding-top:16.6vw}
}
@media (min-width:760px){
  .feast-head h1{font-size:clamp(2.3rem,.6rem + 3.6vw,3.9rem);max-width:none}
  .table{padding:1.6rem 0 4.4rem}
  .places{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1010px;gap:30px 40px;padding:0 var(--gutter)}
}


.gift{width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#062c1f url(img/giveaways/velvet.webp) center/420px;color:#fff;overflow:hidden}
.gift::backdrop{background:#031a12}
.gift-inner{height:100%;overflow:hidden auto;overscroll-behavior:contain;padding:14px 16px 28px;display:flex;flex-direction:column;align-items:center}
.gift-top{position:sticky;top:-14px;z-index:4;flex:none;align-self:stretch;display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:-14px -16px 0;padding:14px 16px 16px;background:linear-gradient(#05291c 70%,rgba(5,41,28,0))}
.gift-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:6}
.gift-close{position:relative;z-index:4;flex:none;min-height:44px;padding:.4rem 1.1rem;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(6,44,31,.6);color:#fff;font:inherit;font-size:.95rem;cursor:pointer}
@media (hover:hover){.gift-close:hover{background:#fff;color:var(--forest)}}
.gift-date:focus,.gift-date:focus-visible,.gift-card h2:focus,.gift-card h2:focus-visible{outline:none;box-shadow:none}
.gift-close:focus-visible,.gift-card a:focus-visible,.gift-help button:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px var(--emerald)}
.gift-stage{--s:min(88vw,54svh,420px);width:100%;max-width:560px;display:flex;flex-direction:column;align-items:center;flex:none}
.gift:not(.revealed) .gift-stage{margin-block:auto}
.gift-date{font-family:var(--font-script);font-size:clamp(1.3rem,5.6vw,1.7rem);line-height:1.2;color:var(--blush);margin:0;max-width:none}
.gift-plate{position:relative;width:100%;min-height:var(--s);display:grid;place-items:center}
.gift-plate > *{grid-area:1/1}
.gift-plate .plate{width:var(--s);height:var(--s);filter:drop-shadow(0 18px 22px rgba(0,12,8,.6));transition:opacity .45s var(--ease),transform .45s var(--ease)}

.gift-photo{--w:calc(var(--s)*.8);--h:var(--w);position:relative;width:var(--w);height:var(--h);clip-path:circle(calc(var(--s)*.362/var(--k,1)));transform:scale(var(--k,1));background:#efe7db;box-shadow:0 0 0 5px rgba(255,250,240,0),0 0 0 6px rgba(198,161,91,0),0 18px 30px -8px rgba(0,12,8,0);transition:clip-path .8s var(--ease),transform .8s var(--ease),box-shadow .3s var(--ease) .35s}
.gift:not(.covered):not(.revealed) .gift-stage{opacity:0}
.gift.covered:not(.set):not(.revealed) .gift-photo{visibility:hidden} 
.gift.set .gift-lid > *{visibility:hidden}
.gift-num{position:absolute;left:0;right:0;bottom:14.5%;text-align:center;font:400 31cqw/1 var(--font-display);color:var(--forest)}
.gift-num.two{right:5%;bottom:15.5%;font-size:28cqw}
.gift:not(.revealed) .gift-photo{position:absolute;left:calc(50% - var(--w)/2);top:calc(50% - var(--h)/2)} 
.gift-photo img{display:block;width:100%;height:100%;object-fit:cover}
.gift-lid{position:relative;container-type:inline-size;width:calc(var(--s)*.89);height:calc(var(--s)*.89);border-radius:50%;touch-action:none;cursor:grab;z-index:2}
.gift-lid:active{cursor:grabbing}
.gift-lid img{display:block;width:100%;height:100%;pointer-events:none}
.gift-help{position:relative;text-align:center;padding-top:1.3rem;transition:opacity .25s var(--ease)}
.gift.going .gift-help{opacity:0;pointer-events:none}
.gift-help p{font-family:var(--font-script);font-size:1.55rem;color:#fff;margin:0 auto .1rem;max-width:none}
.gift-help button{min-height:44px;padding:.4rem .8rem;border:0;background:none;color:#fff;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:var(--brass-soft);text-underline-offset:.25em}
.gift-help button:not(:focus-visible){position:absolute;left:50%;width:1px;height:1px;min-height:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gift.revealed .gift-plate{min-height:0}
.gift.revealed .gift-plate .plate{position:absolute;opacity:0;transform:scale(.9)}
.gift.revealed .gift-photo{z-index:1;clip-path:circle(calc(var(--s)*1.3));transform:none;box-shadow:0 0 0 5px #fffaf0,0 0 0 6px #c6a15b,0 18px 30px -8px rgba(0,12,8,.75)}
.gift.revealed .gift-lid,.gift.revealed .gift-help,.gift.revealed.nophoto .gift-stage{display:none}
@media (max-width:859px) and (min-height:501px),(max-width:859px) and (orientation:portrait){.gift.revealed .gift-stage,.gift.revealed.nophoto .gift-card{margin-top:auto}.gift.revealed .gift-card{margin-bottom:auto}} 
.gift-card{position:relative;z-index:2;flex:none;width:100%;max-width:430px;margin-top:46px;margin-inline:auto;padding:24px 24px 22px;background:#fffaf0;color:var(--ink);text-align:center;border-radius:0 0 6px 6px;filter:drop-shadow(0 14px 18px rgba(0,12,8,.5))}
.gift-card::before{content:"";position:absolute;left:0;right:0;top:-11px;height:12px;background:radial-gradient(circle at 50% 12px,#fffaf0 10.4px,#c6a15b 10.9px 11.7px,transparent 12.1px) 0 0/24px 12px round no-repeat}
.gift-card::after{content:"";position:absolute;inset:4px 9px 9px;border:solid #d3b274;border-width:0 1px 1px;border-radius:0 0 3px 3px;pointer-events:none}
.gift-charm{position:absolute;z-index:1;top:-31px;left:50%;width:50px;height:50px;transform:translateX(-50%);filter:drop-shadow(0 2px 2px rgba(60,40,20,.35))}
.gift-card[hidden]{display:none}
.gift-card > *{max-width:none}
.gift-card h2{font-size:clamp(1.6rem,1.4rem + 1vw,2.1rem);line-height:1.15;color:var(--emerald);margin:.2rem 0 0}
.gift-text{margin:.7rem 0 0;line-height:1.55;white-space:pre-line}
.gift-value{margin:.8rem 0 0;font-family:var(--font-display);font-size:1.35rem;color:var(--emerald)}
.gift-card .btn{width:100%;margin-top:1.1rem}
.gift-note{margin:.8rem 0 0;font-size:.92rem;color:var(--ink-soft)}
.gift-note a{color:inherit}
.gift-won{margin:.1rem 0 .7rem;line-height:1.2;color:#7a5a1f}
.gift-won span{display:block;font-family:var(--font-script);font-size:1.15rem}
.gift-won b{display:block;font-family:var(--font-display);font-weight:400;font-size:clamp(1.15rem,calc(39rem/var(--n,20)),clamp(1.5rem,1.3rem + 1vw,2rem));text-wrap:balance}
.gift-won,.gift-won b,.gift-text,.gift-value,.gift-card h2,.guest-list b,.guest-list span{overflow-wrap:break-word;min-width:0}
.gift.revealed .gift-card{animation:card-up .5s var(--ease) both .18s}
@keyframes card-up{from{opacity:0;transform:translateY(18px)}}
@media (max-width:859px) and (max-height:700px){
  .gift-card{margin-top:40px;padding:20px 22px 20px}
  .gift-charm{top:-27px;width:44px;height:44px}
  .gift-card h2{font-size:1.5rem}
  .gift-text{margin-top:.45rem;line-height:1.45}
  .gift-value{margin-top:.5rem;font-size:1.25rem}
  .gift-card .btn{margin-top:.8rem}
}
@media (min-width:860px){
  .gift{width:min(1040px,94vw);height:min(680px,94vh);margin:auto;border-radius:6px}
  .gift-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto 1fr;align-items:center;gap:0 10px;padding:18px 34px 34px}
  .gift-top{top:-18px;grid-column:1/3;margin:-18px -34px 0;padding:18px 34px 16px}
  .gift-stage{--s:min(500px,46vw,calc(94vh - 170px));grid-column:1;grid-row:2;max-width:none}
  .gift:not(.revealed) .gift-stage{--s:min(420px,calc(94vh - 260px));grid-column:1/3;margin-inline:auto}
  .gift-card{grid-column:2;grid-row:2;margin:24px 0 0;max-width:none;width:auto}
  .gift-charm{top:-35px;width:54px;height:54px}
  .gift.nophoto .gift-card{grid-column:1/3;justify-self:center;width:min(100%,460px)}
}

@media (max-height:500px) and (orientation:landscape){
  .gift .gift-inner{padding-block:8px 10px}
  .gift .gift-top{top:-8px;margin-top:-8px;padding-block:8px}
  .gift:not(.revealed) .gift-stage{--s:calc(100svh - 100px);flex-direction:row;justify-content:center;gap:28px;max-width:none}
  .gift:not(.revealed) .gift-plate{width:auto;min-height:0}
  .gift-help{padding-top:0}
  .gift.revealed .gift-inner{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr;gap:0 24px;align-items:start}
  .gift.revealed .gift-top{grid-column:1/3}
  .gift.revealed .gift-stage{--s:calc(100svh - 92px);grid-column:1;grid-row:2;width:auto;position:sticky;top:60px;padding:6px}
  .gift.revealed .gift-card{grid-column:2;grid-row:2;margin:34px auto 0;max-width:460px}
}


.guest-list,.rule-list{list-style:none;margin:1.4rem 0 0;padding:0}
.guest-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1rem;text-align:center}
.guest-list img{display:block;width:60px;height:60px;margin:0 auto .35rem}
.guest-list li{container-type:inline-size;min-width:0}
.guest-list b{display:block;font-family:var(--font-display);font-weight:400;font-size:clamp(max(.72rem,min(.92rem,calc(174cqw/var(--p,10)))),calc(166cqw/var(--n,13)),1.5rem);line-height:1.25;color:#7a5a1f;text-wrap:balance}
.guest-list span{display:block;font-size:.95rem;line-height:1.4;color:var(--ink-soft);text-wrap:balance}
.guest-list .guest-day{margin-top:.2rem;color:var(--emerald)}
@media (min-width:760px){.guest-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.6rem 1.6rem}.guests .wrap-narrow{max-width:1010px}}
.rules,.guests{background:var(--petal)}
.rules h2,.guests h2{text-align:center}
.rules h2:focus,.guests h2:focus{outline:none;box-shadow:none} 
.guests-lede{margin:.5rem auto 0;max-width:none;text-align:center;font-family:var(--font-script);font-size:clamp(1.2rem,1.05rem + .8vw,1.6rem);line-height:1.35;color:var(--emerald);text-wrap:balance}
.rules .wrap-narrow{max-width:680px}
.guests{padding-bottom:0}
.rules{padding-top:clamp(48px,7vw,96px)}
.rules-charm{display:block;width:64px;height:64px;margin:0 auto .6rem}
.rule-list li{margin:0 0 1.5rem}
.rule-list h3{font-size:1.3rem;margin:0 0 .3rem;color:var(--emerald)}
.rule-list p{margin:0}
.ask{background:#fdeeb8;color:inherit;padding:0 .2em}


html[data-a11y-contrast] .feast,html[data-a11y-contrast] .gift{background:#031f16}
html[data-a11y-contrast] .garland{opacity:.25}
html[data-a11y-contrast] .tent,html[data-a11y-contrast] .tent-name,html[data-a11y-contrast] .place[data-note] .tent-date{color:#fff}
html[data-a11y-contrast] .place.today .tent-date{background:#fff;color:#000;clip-path:none}
html[data-a11y-contrast] .feast a,html[data-a11y-contrast] .gift-close{color:#fff}
html[data-a11y-contrast] .gift-card{box-shadow:none;border:2px solid #000;background:#fff}
html[data-a11y-reading] .guests-lede,html[data-a11y-reading] .num,html[data-a11y-reading] .tent,html[data-a11y-reading] .tent-date,html[data-a11y-reading] .gift-date,html[data-a11y-reading] .gift-help p,html[data-a11y-reading] .gift-won,html[data-a11y-reading] .gift-won span,html[data-a11y-reading] .gift-won b,html[data-a11y-reading] .gift-value,html[data-a11y-reading] .guest-list b{font-family:system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;letter-spacing:0;word-spacing:0}
html[data-a11y-motion] .gift-photo,html[data-a11y-motion] .gift-plate .plate,html[data-a11y-motion] .gift.revealed .gift-card{transition:none;animation:none}
@media (prefers-reduced-motion:reduce){.gift-photo,.gift-plate .plate,.gift.revealed .gift-card{transition:none;animation:none}}
@media (forced-colors:active){.place:focus-visible{outline-color:Highlight}.place.today .tent-date{border:1px solid;clip-path:none}}
