/* ==========================================================
   TEMPLATE 13 — AUTUMN HARVEST (Seasonal)
   Leaf wreaths, wood slices, plaid and warm string lights.
   Bootstrap hanya untuk grid & utility.
   ========================================================== */

:root {
  --rust: #B5532A;
  --mustard: #D9A441;
  --burg: #6E2A2A;
  --forest: #3D4A2E;
  --cream: #F4E9D8;
  --linen: #FBF4E6;
  --brown: #3A2A20;
  --night: #2A1E17;
  --ink: #5A4334;

  --f-display: 'Gilda Display', Georgia, serif;
  --f-script: 'Petit Formal Script', cursive;
  --f-sans: 'Work Sans', system-ui, sans-serif;

  --col: 480px;
  --vh: 100svh;
  --pad: 1.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scrollbar-gutter: stable; background: #1F1611; }
body { margin: 0; font-family: var(--f-sans); font-size: .95rem; line-height: 1.7; color: var(--ink); background: #1F1611 url(../assets/textures/plaid-green.svg) 0 0 / 110px; background-blend-mode: soft-light; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; height: var(--vh); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--mustard); color: var(--brown); }

.invite { position: relative; width: min(100%, var(--col)); margin-inline: auto; background: var(--cream); overflow: hidden; container-type: inline-size; box-shadow: 0 0 80px rgba(0, 0, 0, .6); }
.fixed-col { position: fixed; top: 0; bottom: 0; left: 50%; width: min(100%, var(--col)); margin-left: calc(min(100%, var(--col)) / -2); }
@media (min-width: 992px) {
  .invite { margin-right: 0; }
  .fixed-col { left: auto; right: 0; margin-left: 0; }
}

/* ---------- shared ---------- */
.sec { position: relative; padding: 4.2rem var(--pad) 4.6rem; overflow: hidden; isolation: isolate; text-align: center; }
.sec > *:not(.deco):not(.strlights) { position: relative; z-index: 2; }
.s-cream { background: var(--cream); }
.s-burlap { background: #D9C4A0 url(../assets/textures/burlap.svg); }
.s-forest { background: radial-gradient(120% 70% at 50% 0, #4E5E3A, var(--forest) 60%, #2E3822); color: #E9E0C8; }
.s-night { background: radial-gradient(110% 60% at 50% 10%, #5A3524, var(--night) 65%); color: #EADCC4; }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; translate: 0 var(--py, 0px); }
.plaid-band { position: relative; z-index: 4; height: 34px; background: url(../assets/textures/plaid.svg) 0 0 / 68px; box-shadow: 0 5px 10px -4px rgba(40, 20, 10, .5), 0 -5px 10px -4px rgba(40, 20, 10, .4); }
.plaid-band--green { background-image: url(../assets/textures/plaid-green.svg); }
.strlights { position: absolute; left: 0; right: 0; top: 0; height: 60px; z-index: 1; background: url(../assets/ornaments/lights.svg) 0 0 / 200px 60px repeat-x; animation: glow 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 50% { opacity: .72; } }
@keyframes sway { 50% { transform: rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.lbl-a { font-weight: 600; font-size: .64rem; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: var(--rust); }
.lbl-a--cream { color: var(--mustard); }
.ttl-a { font-family: var(--f-display); font-size: clamp(2.1rem, 10cqw, 2.7rem); line-height: 1.12; color: var(--burg); margin-top: .4rem; }
.ttl-a--cream { color: var(--linen); }
.note-a { max-width: 31ch; margin: .8rem auto 0; }
.note-a b { font-weight: 600; color: var(--burg); }
.note-a--cream { color: inherit; }

.btn-a { display: inline-block; padding: .85rem 1.8rem; border: 0; border-radius: 6px; background: var(--mustard); font-weight: 600; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); box-shadow: inset 0 0 0 2px var(--mustard), inset 0 0 0 3.5px rgba(58, 42, 32, .45), 0 14px 18px -10px rgba(0, 0, 0, .7); cursor: pointer; transition: transform .4s var(--ease), filter .4s; background-image: repeating-linear-gradient(90deg, transparent 0 4px, rgba(58, 42, 32, .05) 4px 5px); }
.btn-a:hover { color: var(--brown); transform: translateY(-3px); filter: brightness(1.08); }
.btn-a--rust { background-color: var(--rust); color: var(--linen); box-shadow: inset 0 0 0 2px var(--rust), inset 0 0 0 3.5px rgba(251, 244, 230, .5), 0 14px 18px -10px rgba(90, 40, 10, .7); }
.btn-a--rust:hover { color: #fff; }
.chip-a { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .9rem; border: 1.5px dashed var(--rust); border-radius: 4px; background: transparent; font-weight: 500; font-size: .74rem; color: var(--rust); cursor: pointer; transition: background .3s, color .3s; }
.chip-a:hover { background: var(--rust); color: var(--linen); border-style: solid; }
.chip-a--cream { border-color: var(--mustard); color: var(--mustard); }
.chip-a--cream:hover { background: var(--mustard); color: var(--brown); }

/* wreath photo / wood-slice photo / plaid mat */
.wr { position: relative; aspect-ratio: 1; }
.wr-img { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--linen), 0 18px 26px -12px rgba(58, 42, 32, .7); }
.wr-leaves { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 8px rgba(58, 42, 32, .3)); }
.slice { position: relative; display: block; aspect-ratio: 1; filter: drop-shadow(0 16px 14px rgba(58, 42, 32, .4)); }
.slice-img { position: absolute; inset: 12.5%; border-radius: 50%; overflow: hidden; display: block; }
.slice-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.mat { display: block; padding: 10px; background: url(../assets/textures/plaid.svg) 0 0 / 54px; box-shadow: 0 16px 20px -12px rgba(58, 42, 32, .7); }
.mat--green { background-image: url(../assets/textures/plaid-green.svg); }
.mat img { width: 100%; object-fit: cover; outline: 4px solid var(--linen); outline-offset: -4px; }
.wr-img img, .slice-img img, .mat img, .plaidframe-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.2) saturate(1.05) contrast(1.02); }

/* ---------- reveal ---------- */
[data-reveal] { transition: opacity 1.1s ease, transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
[data-reveal="grow"]:not(.is-in) { transform: scale(.88) rotate(-3deg); }
[data-reveal="left"]:not(.is-in) { transform: translateX(-46px); }
[data-reveal="right"]:not(.is-in) { transform: translateX(46px); }

/* ==========================================================
   COVER — leaves blow away
   ========================================================== */
.cover { z-index: 1000; overflow: hidden; container-type: size; }
.cover-bg { position: absolute; inset: 0; background: radial-gradient(110% 70% at 50% 30%, #8A3A32, var(--burg) 55%, #3E1717); transition: opacity 1s ease .7s; }
.cover-bg::after { content: ""; position: absolute; inset: 0; background: url(../assets/textures/plaid.svg) 0 0 / 90px; opacity: .14; mix-blend-mode: overlay; }
.cover-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.4rem 1.6rem; text-align: center; color: #EADCC4; transition: opacity .8s ease, transform 1.4s var(--ease); }
.cover-wr { width: min(66%, 38cqh); margin: clamp(.6rem, 2.4cqh, 1.4rem) 0; }

.cover-names { font-family: var(--f-display); font-size: clamp(2.5rem, 12.6cqw, 3.3rem); line-height: 1.1; color: var(--linen); margin-bottom: .5rem; }
.cover-names i, .side-names i, .closing-names i, .footer-names i { font-family: var(--f-script); font-style: normal; font-size: .7em; color: var(--mustard); }
.cover-guest { margin-top: clamp(.7rem, 2.4cqh, 1.4rem); display: flex; flex-direction: column; }
.cover-guest span { font-size: .8rem; }
.cover-guest strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--linen); line-height: 1.3; }
.cover .btn-a { margin-top: clamp(1rem, 3cqh, 1.6rem); }
.lf { position: absolute; z-index: 3; width: 20%; max-width: none; pointer-events: none; transition: transform 1.7s cubic-bezier(.5, 0, .2, 1), opacity 1.2s ease .5s; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); }
.lf--1 { left: 4%; top: 5%; rotate: -24deg; } .lf--2 { right: 5%; top: 9%; rotate: 30deg; width: 16%; }
.lf--3 { left: 8%; bottom: 20%; rotate: 40deg; width: 16%; } .lf--4 { right: 9%; bottom: 26%; rotate: -34deg; width: 13%; }
.lf--5 { left: 30%; bottom: 3%; rotate: 12deg; width: 18%; } .lf--6 { right: 26%; top: 2%; rotate: -60deg; width: 12%; }
.cover.is-opening { pointer-events: none; }
.cover.is-opening .cover-bg { opacity: 0; }
.cover.is-opening .cover-body { opacity: 0; transform: scale(1.5) rotate(6deg); }
.cover.is-opening .lf { opacity: 0; }
.cover.is-opening .lf--1, .cover.is-opening .lf--3 { transform: translate(-200%, -120%) rotate(-260deg); }
.cover.is-opening .lf--2, .cover.is-opening .lf--4 { transform: translate(220%, -140%) rotate(300deg); }
.cover.is-opening .lf--5 { transform: translate(-160%, 260%) rotate(220deg); }
.cover.is-opening .lf--6 { transform: translate(180%, -300%) rotate(-200deg); }
.cv { animation: cvIn 1.2s var(--ease) both; animation-delay: calc(.3s + var(--i) * .13s); }
@keyframes cvIn { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: 6.4rem; }
.hero-garland { width: 124%; left: -12%; top: -16px; z-index: 3 !important; transform-origin: 50% 0; animation: sway 9s ease-in-out infinite; }
.hero-names { display: flex; flex-direction: column; align-items: center; margin-top: .5rem; font-family: var(--f-display); font-size: clamp(3.8rem, 19cqw, 5.2rem); line-height: 1; color: var(--burg); }
.hero-names i { font-family: var(--f-script); font-style: normal; font-size: .4em; line-height: 1.5; color: var(--rust); }
.hero-wr { width: 96%; margin: .6rem auto -.6rem; }
.kenburns { animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.hero-wheat { display: flex; align-items: flex-end; justify-content: center; gap: 1rem; }
.hero-wheat img { width: 30px; rotate: -16deg; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.hero-wheat img:last-child { rotate: 16deg; scale: -1 1; animation-direction: reverse; }
.hero-wheat p { padding-bottom: .6rem; font-weight: 600; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rust); }
.hero-wheat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; text-transform: none; color: var(--burg); }

/* ==========================================================
   QUOTE — kraft tag
   ========================================================== */
.quote { padding-block: 3.6rem 4rem; }
.tagcard { position: relative; padding: 3.6rem 1.6rem 2rem; background: var(--linen); clip-path: polygon(18% 0, 82% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); filter: drop-shadow(0 18px 16px rgba(58, 42, 32, .35)); }
.tagcard::before { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(181, 83, 42, .6); clip-path: polygon(18% 0, 82% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); pointer-events: none; }
.tagcard-hole { position: absolute; left: 50%; top: 1.2rem; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #D9C4A0; box-shadow: inset 0 2px 3px rgba(58, 42, 32, .5), 0 0 0 4px var(--mustard); }
.tagcard blockquote { margin: 0; font-family: var(--f-script); font-size: clamp(1.5rem, 7.2cqw, 1.85rem); line-height: 1.55; color: var(--burg); }
.tagcard-acorn { width: 30px; margin: 1rem auto; }
.quote-verse { margin-bottom: 1rem; font-size: .9rem; }

/* ==========================================================
   COUPLE — wood slices
   ========================================================== */
.couple-corner { width: 58%; right: -14%; top: -2%; scale: -1 1; opacity: .95; }
.log { display: grid; grid-template-columns: 54% 1fr; gap: .8rem; align-items: center; margin-top: 2rem; text-align: left; }
.log .slice { margin-left: -8%; }
.log--alt { grid-template-columns: 1fr 54%; text-align: right; margin-top: .6rem; }
.log--alt .slice { order: 2; margin: 0 -8% 0 0; }
.log-info h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 8.2cqw, 2.1rem); line-height: 1.1; color: var(--burg); margin: .3rem 0 .4rem; }
.log-info p:not(.lbl-a) { font-size: .82rem; line-height: 1.55; margin-bottom: .8rem; }
.log-info .lbl-a { text-indent: 0; }

/* ==========================================================
   EVENT — jar labels
   ========================================================== */
.jar { position: relative; max-width: 320px; margin: 2.4rem auto 0; padding: 2.2rem 1.4rem 1.8rem; color: var(--ink); background: var(--linen); border-radius: 60px 60px 14px 14px / 34px 34px 14px 14px; box-shadow: inset 0 0 0 5px var(--linen), inset 0 0 0 6.5px var(--rust), inset 0 0 0 10px var(--linen), inset 0 0 0 11px rgba(181, 83, 42, .5), 0 24px 26px -16px rgba(0, 0, 0, .6); }
.jar-leaf { position: absolute; width: 74px; left: -18px; top: -22px; rotate: -30deg; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .35)); }
.jar-leaf--alt { left: auto; right: -14px; rotate: 34deg; width: 60px; }
.jar h3 { font-family: var(--f-display); font-size: 2.5rem; line-height: 1.1; color: var(--burg); margin: .2rem 0 .5rem; }
.jar-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.jar-date span { padding: .35rem 0; border-block: 1px solid var(--rust); font-weight: 600; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.jar-date strong { padding: 0 .8rem; font-family: var(--f-display); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--rust); }
.jar-time { margin-top: .6rem; font-weight: 600; font-size: .78rem; letter-spacing: .14em; color: var(--burg); }
.jar-place { max-width: 25ch; margin: .4rem auto .9rem; font-size: .84rem; line-height: 1.5; }
.jar-place b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; color: var(--burg); }

/* ==========================================================
   COUNTDOWN — wood slices
   ========================================================== */
.countdown { padding-top: 6.4rem; }
.slices { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; margin: 1.6rem -.5rem 2.2rem; }
.sl { aspect-ratio: 1; display: grid; place-content: center; background: url(../assets/frames/wood-slice.svg) center / 100% no-repeat; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .5)); }
.sl:nth-child(even) { rotate: 12deg; } .sl:nth-child(odd) { rotate: -8deg; }
.sl strong, .sl span { rotate: inherit; }
.sl:nth-child(even) > * { rotate: -12deg; } .sl:nth-child(odd) > * { rotate: 8deg; }
.sl strong { font-family: var(--f-display); font-size: clamp(1.6rem, 8cqw, 2rem); line-height: 1; color: var(--brown); font-variant-numeric: tabular-nums; }
.sl span { font-weight: 600; font-size: .5rem; letter-spacing: .16em; text-transform: uppercase; color: var(--burg); }

/* ==========================================================
   STORY — leaf trail
   ========================================================== */
.trail { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.trail::before { content: ""; position: absolute; left: 50%; top: 20px; bottom: 20px; border-left: 2px dashed rgba(181, 83, 42, .5); }
.leafstop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.6rem; align-items: center; margin-bottom: 1.8rem; }
.leafstop:last-child { margin-bottom: 0; }
.leafstop-leaf { position: absolute; left: 50%; top: 50%; width: 38px; margin: -22px 0 0 -19px; z-index: 2; rotate: -20deg; filter: drop-shadow(0 3px 3px rgba(58, 42, 32, .3)); }
.leafstop .mat { padding: 7px; background-size: 40px; rotate: -3deg; }
.leafstop .mat img { aspect-ratio: 1; outline-width: 3px; outline-offset: -3px; }
.leafstop--alt .mat { order: 2; rotate: 3deg; background-image: url(../assets/textures/plaid-green.svg); }
.leafstop-text { text-align: left; }
.leafstop--alt .leafstop-text { text-align: right; }
.leafstop-year { display: block; font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--rust); }
.leafstop h3 { font-family: var(--f-script); font-size: 1.1rem; line-height: 1.5; color: var(--burg); margin: .1rem 0 .2rem; }
.leafstop p { font-size: .8rem; line-height: 1.55; }

/* ==========================================================
   GALLERY — plaid mats
   ========================================================== */
.mats { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 12px; align-items: center; margin-top: 2rem; }
.ph { cursor: zoom-in; }
.m1 { grid-column: 1 / 5; rotate: -2deg; } .m1 img { aspect-ratio: 4 / 4.6; }
.m2 { grid-column: 5 / 7; rotate: 3deg; } .m2 img { aspect-ratio: 2 / 3; }
.m3 { grid-column: 1 / 4; }
.m4 { grid-column: 4 / 7; rotate: 2deg; } .m4 img { aspect-ratio: 1; }
.m5 { grid-column: 1 / 4; rotate: 2deg; } .m5 img { aspect-ratio: 3 / 3.6; }
.m6 { grid-column: 4 / 7; rotate: -3deg; } .m6 img { aspect-ratio: 3 / 3.6; }
.mats-leaf { z-index: 3; filter: drop-shadow(0 5px 5px rgba(58, 42, 32, .35)); }
.mats-leaf--a { width: 66px; right: 30%; top: 27%; rotate: 30deg; }
.mats-leaf--b { width: 50px; left: -3%; top: 58%; rotate: -40deg; }
.mats-leaf--c { width: 58px; right: -2%; bottom: -3%; rotate: 60deg; }

/* ==========================================================
   VIDEO
   ========================================================== */
.plaidframe { position: relative; display: block; width: 100%; margin-top: 2rem; padding: 14px; border: 0; background: url(../assets/textures/plaid.svg) 0 0 / 60px; box-shadow: 0 24px 28px -14px rgba(0, 0, 0, .7); cursor: pointer; }
.plaidframe-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; outline: 4px solid var(--linen); outline-offset: -4px; }
.plaidframe-play { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; display: grid; place-items: center; border-radius: 50%; background: var(--mustard); color: var(--brown); padding-left: 4px; box-shadow: 0 0 0 6px rgba(251, 244, 230, .4); transition: transform .5s var(--ease); }
.plaidframe:hover .plaidframe-play { transform: scale(1.1); }
.plaidframe-leaf { width: 46%; left: -9%; top: -11%; z-index: 3; }
.video .note-a { margin-top: 1.6rem; }

/* ==========================================================
   LIVE — lantern
   ========================================================== */
.lantern { position: relative; width: 70px; height: 96px; margin: 0 auto 1rem; border: 4px solid var(--brown); border-radius: 12px 12px 6px 6px; background: linear-gradient(rgba(246, 210, 122, .25), rgba(246, 210, 122, .08)); box-shadow: 0 0 40px rgba(246, 210, 122, .7); }
.lantern::before { content: ""; position: absolute; left: 50%; top: -22px; width: 30px; height: 20px; margin-left: -15px; border: 4px solid var(--brown); border-bottom: 0; border-radius: 16px 16px 0 0; }
.lantern::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -10px; height: 8px; border-radius: 3px; background: var(--brown); }
.lantern-flame { position: absolute; left: 50%; bottom: 14px; width: 22px; height: 38px; margin-left: -11px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: radial-gradient(ellipse at 50% 80%, #fff 0, #FFE9A8 30%, #F2A63A 70%, transparent 74%); animation: flick 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flick { 0% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.08, .94) rotate(2deg); } 100% { transform: scale(.94, 1.06) rotate(-1deg); } }
.live .btn-a { margin-top: 1.5rem; }

/* ==========================================================
   RSVP — stitched card
   ========================================================== */
.stitch { margin-top: 2rem; padding: 2.2rem 1.5rem 1.9rem; text-align: left; background: var(--linen); border-radius: 10px; box-shadow: 0 0 0 8px var(--linen), 0 24px 28px -14px rgba(58, 42, 32, .6); outline: 2px dashed var(--rust); outline-offset: 0; }
.lbl { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--rust); }
.fld { width: 100%; padding: .45rem 0; border: 0; border-bottom: 1.5px solid rgba(110, 42, 42, .5); border-radius: 0; background: transparent; font-family: var(--f-display); font-size: 1.15rem; color: var(--burg); outline: 0; transition: border-color .3s, box-shadow .3s; }
.fld::placeholder { color: rgba(90, 67, 52, .4); }
.fld:focus { border-color: var(--rust); box-shadow: 0 1.5px 0 var(--rust); }
.fld.is-invalid { border-color: #C0392B; box-shadow: 0 1.5px 0 #C0392B; }
textarea.fld { resize: none; padding: .7rem .9rem; border: 1.5px solid rgba(110, 42, 42, .4); border-radius: 6px; font-family: var(--f-sans); font-size: .95rem; line-height: 1.5; }
.choice { display: flex; gap: .4rem; }
.choice label { flex: 1; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: .6rem .1rem; border: 1.5px solid var(--rust); border-radius: 4px; text-align: center; font-weight: 500; font-size: .8rem; white-space: nowrap; transition: background .4s, color .4s; }
.choice input:checked + span { background: url(../assets/textures/plaid.svg) 0 0 / 46px; border-color: var(--burg); color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.choice input:focus-visible + span { outline: 2px solid var(--mustard); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 40px; height: 40px; border-radius: 4px; border: 1.5px solid var(--rust); background: transparent; font-size: 1.2rem; line-height: 1; color: var(--rust); transition: background .3s, color .3s; }
.stepper button:hover { background: var(--rust); color: var(--linen); }
.stepper output { width: 3rem; text-align: center; font-family: var(--f-display); font-size: 1.7rem; line-height: 1; color: var(--burg); }
.stepper em { margin-left: .3rem; font-style: normal; }
.rsvp-done { text-align: center; animation: cvIn 1s var(--ease) both; }
.rsvp-done img { width: 70px; margin: 0 auto .2rem; }
.rsvp-done p { max-width: 28ch; margin: .4rem auto 1rem; }
.link-btn { border: 0; background: none; font-weight: 500; color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   WISHES
   ========================================================== */
.leaves { list-style: none; margin: 1.8rem 0 0; padding: 4px 8px 4px 2px; max-height: 500px; overflow-y: auto; text-align: left; scrollbar-width: thin; scrollbar-color: var(--rust) transparent; }
.lw { position: relative; margin-bottom: 14px; padding: 1.1rem 1.2rem 1rem 3.8rem; background: var(--linen); border-radius: 8px; border-left: 5px solid var(--rust); box-shadow: 0 10px 14px -10px rgba(58, 42, 32, .45); }
.lw:nth-child(3n + 2) { border-left-color: var(--mustard); } .lw:nth-child(3n) { border-left-color: var(--forest); }
.lw::before { content: ""; position: absolute; left: .7rem; top: .9rem; width: 40px; height: 44px; background: url(../assets/flowers/maple-rust.svg) center / contain no-repeat; rotate: -18deg; }
.lw:nth-child(3n + 2)::before { background-image: url(../assets/flowers/oak-mustard.svg); rotate: 16deg; }
.lw:nth-child(3n)::before { background-image: url(../assets/flowers/beech-green.svg); }
.lw.is-new { animation: cvIn 1s var(--ease) both; }
.lw-text { font-size: .93rem; line-height: 1.6; }
.lw-by { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.lw-by b { font-family: var(--f-script); font-weight: 400; font-size: 1rem; color: var(--burg); }
.tg { padding: .05rem .5rem; border: 1px dashed var(--forest); border-radius: 3px; font-style: normal; font-weight: 600; font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.tg--no { border-color: var(--rust); color: var(--rust); } .tg--maybe { border-color: #A07818; color: #A07818; }

/* ==========================================================
   GIFT
   ========================================================== */
.acard { position: relative; overflow: hidden; display: flex; flex-direction: column; max-width: 336px; aspect-ratio: 1.586; margin: 2.2rem auto 0; padding: 1.1rem 1.3rem 1rem; border-radius: 14px; text-align: left; color: var(--linen); background: linear-gradient(135deg, #8A3A32, var(--burg) 55%, #4A1A1A); box-shadow: inset 0 0 0 1.5px var(--mustard), 0 26px 30px -16px rgba(0, 0, 0, .8); }
.acard::before { content: ""; position: absolute; inset: 0; background: url(../assets/textures/plaid.svg) 0 0 / 70px; opacity: .2; mix-blend-mode: overlay; }
.acard > * { position: relative; }
.acard-leaf { position: absolute !important; width: 150px; right: -34px; top: -30px; rotate: 30deg; opacity: .5; }
.acard .lbl-a { font-size: .54rem; text-indent: 0; }
.acard-top { display: flex; justify-content: space-between; align-items: center; }
.acard-top b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.acard-no { margin-top: auto; font-family: var(--f-display); font-size: clamp(1.5rem, 7.6cqw, 1.85rem); letter-spacing: .08em; line-height: 1.3; color: #F6D99A; }
.acard-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.acard-bottom p { font-weight: 500; font-size: .98rem; line-height: 1.35; }
.acard-bottom .lbl-a { display: block; }
.send { margin-top: 2.4rem; }
.send > img { width: 32px; margin: 0 auto .3rem; }
.send .ttl-a { font-size: 1.9rem; }
.send p { max-width: 29ch; margin: .3rem auto 1.4rem; }

/* ==========================================================
   LOCATION
   ========================================================== */
.amap { position: relative; margin: 2rem .2rem 0; rotate: -1.4deg; }
.mat--wide img { aspect-ratio: 4 / 3.2; filter: none; }
.amap-pin { position: absolute; left: 50%; top: 46%; width: 60px; margin: -34px 0 0 -30px; filter: drop-shadow(0 6px 5px rgba(58, 42, 32, .45)); animation: sway 3s ease-in-out infinite; }
.amap-venue { position: absolute !important; width: 36%; right: -6%; bottom: -14%; rotate: 1.4deg; }
.loc { margin-top: 3.2rem; }
.loc h3 { font-family: var(--f-display); font-size: 1.9rem; color: var(--burg); }
.loc p { margin: .4rem 0 1.4rem; }

/* ==========================================================
   CLOSING + FOOTER
   ========================================================== */
.closing { padding-top: 5.4rem; padding-bottom: 4rem; }
.closing-wr { width: 84%; margin: 0 auto; }
.closing-title { margin-top: .4rem; font-family: var(--f-display); font-size: clamp(3.4rem, 17cqw, 4.6rem); line-height: 1.05; color: var(--linen); }
.closing-sub { font-family: var(--f-script); font-size: 1.25rem; line-height: 1.8; color: var(--mustard); }
.closing-names { margin: 1.6rem 0 .5rem; font-family: var(--f-display); font-size: 1.9rem; color: var(--linen); }

.footer { padding: 2rem var(--pad) 7rem; text-align: center; background: #1F1611; color: #CDBBA0; }
.footer::before { content: ""; display: block; height: 12px; margin: -2rem calc(var(--pad) * -1) 2rem; background: url(../assets/textures/plaid.svg) 0 0 / 48px; }
.footer-names { font-family: var(--f-display); font-size: 1.7rem; color: var(--linen); }
.footer-credit { margin-top: .8rem; font-size: .74rem; opacity: .6; }

/* ==========================================================
   FLOATING UI
   ========================================================== */
.ui { z-index: 800; pointer-events: none; opacity: 0; transition: opacity 1.2s ease 1.4s; overflow: hidden; }
body.is-open .ui { opacity: 1; }
.ui > *:not(.fall) { pointer-events: auto; }
.dock { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: .1rem; padding: .3rem .4rem; border-radius: 10px; background: var(--linen); box-shadow: 0 0 0 1.5px var(--rust), 0 0 0 5px var(--linen), 0 16px 24px -10px rgba(0, 0, 0, .7); }
.dock a { width: 37px; height: 37px; border-radius: 6px; display: grid; place-items: center; font-size: .8rem; color: #C9A98A; transition: background .4s, color .4s; }
.dock a.is-active { background: var(--rust); color: var(--linen); }
.fab { position: absolute; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: url(../assets/frames/wood-slice.svg) center / 100% no-repeat; color: var(--burg); font-size: .85rem; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); transition: opacity .5s, transform .5s var(--ease), visibility .5s; }
.fab--music { bottom: 80px; }
.fab--music.is-playing { animation: spin 12s linear infinite; }
.fab--music:not(.is-playing) i { opacity: .45; }
.fab--top { bottom: 134px; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.toast-inv { position: absolute; left: 50%; bottom: 82px; translate: -50% 0; width: max-content; max-width: 72%; padding: .55rem 1.1rem; border-radius: 6px; background: var(--brown); color: var(--linen); font-size: .86rem; line-height: 1.35; text-align: center; border: 1.5px dashed var(--mustard); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none !important; }
.toast-inv.is-show { opacity: 1; transform: none; }
.fall { position: absolute; inset: 0; }
.fall img { position: absolute; top: -60px; width: 28px; opacity: 0; }
body.is-open .fall img { animation: tumble 15s linear infinite; }
.fall img:nth-child(1) { left: 8%; }
.fall img:nth-child(2) { left: 26%; width: 22px; animation-duration: 20s !important; animation-delay: 4s !important; }
.fall img:nth-child(3) { left: 46%; width: 20px; animation-duration: 17s !important; animation-delay: 8s !important; }
.fall img:nth-child(4) { left: 64%; animation-duration: 22s !important; animation-delay: 2s !important; }
.fall img:nth-child(5) { left: 82%; width: 22px; animation-duration: 18s !important; animation-delay: 11s !important; }
.fall img:nth-child(6) { left: 92%; width: 24px; animation-duration: 24s !important; animation-delay: 6s !important; }
@keyframes tumble {
  0% { transform: translate3d(0, 0, 0) rotate(0) rotateY(0); opacity: 0; }
  7% { opacity: .9; }
  30% { transform: translate3d(50px, 32vh, 0) rotate(160deg) rotateY(180deg); }
  60% { transform: translate3d(-30px, 66vh, 0) rotate(300deg) rotateY(360deg); }
  93% { opacity: .9; }
  100% { transform: translate3d(30px, 114vh, 0) rotate(520deg) rotateY(540deg); opacity: 0; }
}
.grain { position: fixed; inset: 0; z-index: 3000; pointer-events: none; background: url(../assets/textures/burlap.svg) 0 0 / 300px; opacity: .25; mix-blend-mode: multiply; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(31, 22, 17, .96); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-fig { margin: 0; text-align: center; }
.lb-media { display: inline-block; padding: 12px; background: url(../assets/textures/plaid.svg) 0 0 / 60px; box-shadow: 0 30px 50px -20px #000; }
.lb-media img { max-width: min(82vw, 860px); max-height: 68vh; outline: 4px solid var(--linen); outline-offset: -4px; }
.lb-media iframe { display: block; width: min(88vw, 920px); aspect-ratio: 16 / 9; border: 0; background: #000; }
.lb-fig figcaption { margin-top: 1rem; }
.lb-cap { display: block; font-family: var(--f-script); font-size: 1.3rem; line-height: 1.6; color: var(--linen); }
.lb-count { display: block; font-weight: 600; font-size: .58rem; letter-spacing: .3em; color: var(--mustard); }
.lb-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 6px; border: 1.5px dashed var(--mustard); background: var(--brown); color: var(--linen); display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 10px; top: 50%; translate: 0 -50%; } .lb-next { right: 10px; top: 50%; translate: 0 -50%; }
.lightbox.is-video .lb-prev, .lightbox.is-video .lb-next, .lightbox.is-video figcaption { display: none; }

/* desktop side */
.side { position: fixed; left: 0; top: 0; bottom: 0; width: calc(100% - var(--col)); align-items: center; justify-content: center; text-align: center; overflow: hidden; background: radial-gradient(90% 70% at 50% 45%, #5A3524, var(--night) 65%); color: #EADCC4; }
.side .strlights { height: 90px; background-size: 300px 90px; }
.side-body { position: relative; z-index: 2; width: min(76vh, 80%); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.side-wreath { position: absolute; inset: 0; width: 100%; }
.side-body > *:not(.side-wreath) { position: relative; }
.side-body .lbl-a { color: var(--mustard); }
.side-names { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.15; color: var(--linen); margin: .5rem 0; }

@media (max-width: 374px) {
  :root { --pad: 1.2rem; }
  .stitch { padding-inline: 1.2rem; }
  .dock a { width: 34px; height: 34px; }
}
.is-shot .ui, .is-shot .grain { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  [data-reveal] { transition-duration: .01s; }
}
