/*
 * Wedding pages. Every colour & font comes from the page's own variables:
 * --w-primary, --w-accent, --w-bg, --w-ink, --w-head, --w-body & --w-pattern (the cloth).
 * Free pages get our brand values; Premium pages get the couple's.
 */

.wpage { --ink: var(--w-ink); --w-line: 3px; --w-soft: rgba(28, 11, 51, .08); --w-soft: color-mix(in srgb, var(--w-ink) 9%, transparent); --w-tint: color-mix(in srgb, var(--w-primary) 9%, var(--w-bg)); --tone-ink: var(--w-ink); background: var(--w-bg); color: var(--w-ink); font-family: var(--w-body); }
.wpage h1, .wpage h2, .wpage h3, .wpage h4 { font-family: var(--w-head); }
.wpage a:not(.btn):not(.ig-tile):not(.ad) { color: var(--w-primary); }
.wpage .muted, .wpage .fine { color: color-mix(in srgb, var(--w-ink) 68%, transparent); }
.wpage ::selection { background: var(--w-accent); color: var(--w-ink); }

/* Banners */
.sample-bar { margin: 0; padding: 10px var(--gutter); background: #1C0B33; color: #fff; font: 600 .86rem/1.4 var(--font-body); text-align: center; }
.sample-bar--private { background: var(--butter); color: #1C0B33; }
.pay-banner, .table-banner { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 12px var(--gutter); border-bottom: 2px solid var(--w-ink); font-weight: 700; text-align: center; }
.pay-banner { background: #CFF3DF; color: #0E4D2E; }
.pay-banner--wait { background: #FFF0B8; color: #1C0B33; }
.table-banner { background: var(--w-accent); color: var(--w-ink); }

/* Buttons in the couple's colours */
.w-btn { --btn-bg: var(--w-primary); --btn-fg: #fff; --btn-bd: var(--w-ink); }
.w-btn:hover { box-shadow: 0 5px 0 var(--w-ink); }
.w-btn--accent { --btn-bg: var(--w-accent); --btn-fg: var(--w-ink); }
.w-btn--ghost { --btn-bg: transparent; --btn-fg: var(--w-ink); }
.w-btn--ghost:hover { --btn-bg: #fff; }
.w-btn--live { --btn-bg: #E0402B; --btn-fg: #fff; }

/* ---------------------------------------------------------------- Hero */
.w-hero { position: relative; padding: clamp(22px, 4vw, 56px) 0 clamp(36px, 5vw, 72px); background-color: var(--w-primary); background-image: var(--w-pattern); border-bottom: var(--w-line) solid var(--w-ink); }
.w-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.w-hero__media { position: relative; aspect-ratio: 4 / 5; max-height: 720px; border: var(--w-line) solid var(--w-ink); border-radius: 999px 999px 40px 40px; background: var(--w-bg); box-shadow: 0 0 0 10px var(--w-bg), 0 0 0 13px var(--w-ink); overflow: hidden; }
.w-hero__media > .cover-img, .w-hero__media > .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-hero__media .status { top: auto; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: .78rem; }
.w-hero__inset { position: absolute; left: 6%; bottom: 64px; z-index: 2; width: 30%; aspect-ratio: 1; border: 4px solid var(--w-bg); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--w-ink); }
.w-hero__card { position: relative; z-index: 2; margin-left: -56px; padding: clamp(24px, 4vw, 52px); border: var(--w-line) solid var(--w-ink); border-radius: 36px; background: var(--w-bg); color: var(--w-ink); box-shadow: 10px 10px 0 var(--w-ink); }
.w-hash { display: inline-block; margin: 0 0 14px; padding: .38em .95em; border: 2px solid var(--w-ink); border-radius: 999px; background: var(--w-accent); font: 700 .88rem/1.2 var(--font-body); word-break: break-word; }
.w-names { margin: 0 0 .2em; font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.025em; }
.w-amp { color: var(--w-primary); font-style: italic; }
.w-tagline { margin: 0 0 14px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: color-mix(in srgb, var(--w-ink) 78%, transparent); }
.w-facts { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-weight: 600; }
.w-facts li { display: flex; align-items: flex-start; gap: 8px; }
.w-facts .icon { margin-top: 3px; color: var(--w-primary); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 0 0 20px; }
.countdown span { display: grid; justify-items: center; padding: 10px 4px 8px; border: 2px solid var(--w-ink); border-radius: 16px; background: #fff; font: 700 .64rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.countdown b { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.w-buzz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 20px 0 0; padding: 14px 0 0; list-style: none; border-top: 2px dashed var(--w-soft); font-size: .9rem; }
.w-buzz li, .w-buzz a, .w-buzz button { display: inline-flex; align-items: center; gap: 6px; }
.w-buzz a { color: var(--w-ink) !important; text-decoration: none; }
.w-buzz .icon { color: var(--w-primary); }
.w-buzz .linkish { color: var(--w-primary); font-size: .9rem; }
.share-sheet { position: fixed; left: 50%; bottom: 18px; z-index: 80; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: max-content; max-width: calc(100% - 24px); padding: 12px; border: var(--w-line) solid #1C0B33; border-radius: 24px; background: #fff; box-shadow: 6px 6px 0 #1C0B33; transform: translateX(-50%); animation: wdPop .25s var(--ease); }
.share-sheet a, .share-sheet button { display: inline-flex; align-items: center; gap: 6px; padding: .55em 1em; border: 2px solid #1C0B33; border-radius: 999px; background: #fff; color: #1C0B33 !important; font: 700 .88rem/1 var(--font-display); text-decoration: none; }
.share-sheet a:hover, .share-sheet button:hover { background: var(--butter); }

/* Section nav */
.w-nav { position: sticky; top: var(--head-h); z-index: 40; border-bottom: 2px solid var(--w-ink); background: var(--w-bg); }
.w-nav ul { display: flex; gap: 4px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 8px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.w-nav ul::-webkit-scrollbar { display: none; }
.w-nav a { display: block; padding: .5em .95em; border-radius: 999px; color: var(--w-ink) !important; font: 700 .86rem/1.1 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.w-nav a:hover { background: var(--w-soft); }
.w-nav a.is-on { background: var(--w-ink); color: var(--w-bg) !important; }

/* ---------------------------------------------------------------- Sections */
.w-sec { position: relative; padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: calc(var(--head-h) + 48px); }
.w-sec--tint { background: var(--w-tint); }
.w-sec--dark { background: var(--w-ink); color: var(--w-bg); }
.w-sec--pattern { background-color: var(--w-primary); background-image: var(--w-pattern); border-block: var(--w-line) solid var(--w-ink); }
.w-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.w-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; max-width: none; }
.w-sec--pattern .w-head { display: inline-block; padding: 18px 26px; border: var(--w-line) solid var(--w-ink); border-radius: 26px; background: var(--w-bg); color: var(--w-ink); box-shadow: 6px 6px 0 var(--w-ink); }
.w-eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 .7em; color: var(--w-primary); font: 700 .78rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.w-sec--dark .w-eyebrow { color: var(--w-accent); }
.w-title { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; }
.w-head__aside { max-width: 46ch; margin: 0; color: color-mix(in srgb, var(--w-ink) 72%, transparent); }
.card-form { padding: clamp(20px, 3vw, 32px); border: var(--w-line) solid var(--w-ink); border-radius: 30px; background: #fff; color: var(--w-ink); box-shadow: 8px 8px 0 var(--w-ink); }

/* Invitation & events */
.invite { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.invite__card { position: relative; padding: clamp(64px, 9vw, 104px) clamp(26px, 4vw, 52px) clamp(32px, 4vw, 48px); border: var(--w-line) solid var(--w-ink); border-radius: 999px 999px 40px 40px; background: #fff; text-align: center; box-shadow: 10px 10px 0 var(--w-primary), 10px 10px 0 3px var(--w-ink); }
.invite__card::before { content: ""; position: absolute; inset: 12px; border: 2px solid var(--w-accent); border-radius: 999px 999px 30px 30px; pointer-events: none; }
.invite__hosts { position: relative; max-width: 30ch; margin: 0 auto 14px; font: 700 .8rem/1.5 var(--font-body); letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.invite__kicker { position: relative; margin: 0 0 12px; font: italic 400 1.08rem/1.4 var(--w-head); }
.invite__names { position: relative; margin: 0 0 18px; color: var(--w-primary); font: 700 clamp(2.3rem, 4.6vw, 3.8rem)/1 var(--w-head); letter-spacing: -.02em; }
.invite__names span { display: block; margin: .08em 0; color: var(--w-ink); font-size: .55em; font-style: italic; }
.invite__msg { position: relative; max-width: 36ch; margin: 0 auto 20px; font-size: 1.02rem; }
.invite__date { position: relative; display: inline-block; margin: 0; padding: 12px 18px 0; border-top: 2px solid var(--w-ink); font: 700 .92rem/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.events { display: grid; gap: 14px; }
.events .w-title { margin-bottom: 8px; }
.event { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 16px; border: 2.5px solid var(--w-ink); border-radius: 24px; background: #fff; transition: transform .2s var(--ease); }
.event:hover { transform: translateX(4px); }
.event__when { display: grid; place-content: center; justify-items: center; padding: 12px 6px; border-radius: 18px; background: var(--w-primary); color: #fff; text-align: center; }
.event__when b { font: 700 2rem/1 var(--font-display); }
.event__when span { font: 700 .74rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.event__body h3 { margin: 2px 0 4px; font-size: 1.3rem; }
.event__body p { margin: 0 0 6px; font-size: .92rem; }
.event__meta { font-weight: 700; }
.event__venue { display: flex; align-items: flex-start; gap: 6px; }
.event__venue .icon { margin-top: 3px; color: var(--w-primary); }
.event__dress { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.event__dress > span { font-weight: 700; }
.swatch { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--w-ink); border-radius: 50%; vertical-align: middle; }
.event__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0 !important; font-weight: 700; }

/* RSVP & pass */
.rsvp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.rsvp__intro p { max-width: 42ch; }
.rsvp__art { width: clamp(120px, 14vw, 170px); margin-top: 24px; animation: wdFloat 6s ease-in-out infinite; --rot: -4deg; }
.rsvp__closed { padding: 26px; border: 2.5px dashed var(--w-ink); border-radius: 24px; font-weight: 600; }
.rsvp .pass { justify-items: start; }
.pass[data-pass]:not([hidden]) { animation: wdPop .45s var(--ease); }

/* Livestream */
.live { display: grid; gap: 26px; }
.live__head { max-width: 760px; }
.live__head p:last-child { color: color-mix(in srgb, var(--w-bg) 80%, transparent); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #E0402B; animation: wdPulse 1.4s infinite; }
.live__frame { position: relative; aspect-ratio: 16 / 9; border: var(--w-line) solid var(--w-bg); border-radius: 28px; background: #000; overflow: hidden; }
.live__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live__card { display: flex; align-items: center; gap: 22px; padding: clamp(18px, 3vw, 28px); border: var(--w-line) solid var(--w-bg); border-radius: 28px; background: rgba(255, 255, 255, .06); color: var(--w-bg) !important; text-decoration: none; }
.live__card .art { flex: none; width: clamp(90px, 10vw, 128px); }
.live__card > span { font: 700 clamp(1.1rem, 2vw, 1.45rem)/1.3 var(--w-head); }
a.live__card:hover { background: rgba(255, 255, 255, .12); }

/* Spray */
.spray { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.spray__stage { position: relative; padding-bottom: 28px; }
.spray__pic { position: relative; aspect-ratio: 4 / 5; max-height: 640px; border: var(--w-line) solid var(--w-ink); border-radius: 999px 999px 40px 40px; background: var(--w-primary); overflow: hidden; }
.spray__pic > img, .spray__pic > .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spray__rain { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.bill { position: absolute; top: -70px; left: var(--x, 50%); display: grid; place-items: center; width: 92px; height: 46px; border: 2px solid #1C0B33; border-radius: 6px; background: var(--bill, #7FCB95) linear-gradient(90deg, rgba(255, 255, 255, .25) 0 18%, transparent 18% 82%, rgba(255, 255, 255, .25) 82%); color: #1C0B33; font: 700 .8rem/1 var(--font-display); box-shadow: 2px 3px 0 rgba(28, 11, 51, .3); animation: wdBill var(--t, 2.6s) cubic-bezier(.35, .1, .55, 1) forwards; }
.bill::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; border: 1.5px solid rgba(28, 11, 51, .5); border-radius: 50%; transform: translate(-50%, -50%); }
.bill span { position: relative; }
@keyframes wdBill { 0% { transform: translate(-50%, 0) rotate(var(--r0, -20deg)); } 30% { transform: translate(calc(-50% + var(--dx, 0px) * .4), calc(var(--fall, 600px) * .3)) rotate(calc(var(--r1, 20deg) * -.5)); } 100% { transform: translate(calc(-50% + var(--dx, 0px)), var(--fall, 600px)) rotate(var(--r1, 20deg)); opacity: .95; } }
.spray__counter { position: absolute; left: 50%; bottom: 0; z-index: 3; display: grid; justify-items: center; min-width: 220px; padding: 12px 26px; border: var(--w-line) solid var(--w-ink); border-radius: 22px; background: var(--w-accent); color: var(--w-ink); text-align: center; box-shadow: 0 6px 0 var(--w-ink); transform: translateX(-50%); }
.spray__counter span { font: 700 .72rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.spray__counter b { font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.spray__counter b.is-bump { animation: wdBump .3s var(--ease); }
.spray__counter small { min-height: 1.2em; font-weight: 600; }
.notes { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.note-pick { position: relative; }
.note-pick input { position: absolute; opacity: 0; pointer-events: none; }
.note-pick span { display: block; min-width: 92px; padding: .8em 1.1em; border: 2.5px solid var(--w-ink); border-radius: 14px; background: #fff; font: 700 1rem/1 var(--font-display); text-align: center; cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.note-pick span:hover { transform: translateY(-2px); }
.note-pick input:checked + span { background: var(--w-ink); color: var(--w-bg); transform: translateY(-2px) rotate(-2deg); box-shadow: 0 4px 0 var(--w-primary); }
.note-pick input:focus-visible + span { outline: 3px solid var(--w-primary); outline-offset: 3px; }
.spray__tap { touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.spray__tap:active { transform: scale(.95); }
.spray__sum { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-weight: 700; }
.feed { display: grid; gap: 8px; max-height: 360px; margin: 18px 0 0; padding: 0 4px 0 0; list-style: none; overflow-y: auto; }
.feed li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 2px solid var(--w-ink); border-radius: 16px; background: #fff; font-size: .9rem; line-height: 1.35; }
.feed li.is-new { animation: wdPop .45s var(--ease); background: var(--w-accent); }
.feed__av { display: block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.feed em { display: block; font-style: normal; font-size: .85rem; color: color-mix(in srgb, var(--w-ink) 70%, transparent); }
.feed time { font-size: .74rem; white-space: nowrap; color: color-mix(in srgb, var(--w-ink) 60%, transparent); }

/* Love story timeline */
.story { position: relative; display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.story::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: repeating-linear-gradient(var(--w-ink) 0 10px, transparent 10px 18px); transform: translateX(-50%); }
.story__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.story__item::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; border: 3px solid var(--w-ink); border-radius: 50%; background: var(--w-accent); transform: translate(-50%, -50%); }
.story__when { justify-self: end; padding: .5em 1.05em; border: 2.5px solid var(--w-ink); border-radius: 999px; background: #fff; font: 700 .95rem/1.2 var(--font-display); }
.story__item:nth-child(even) .story__when { grid-column: 2; grid-row: 1; justify-self: start; }
.story__item:nth-child(even) .story__card { grid-column: 1; grid-row: 1; }
.story__card { padding: 22px; border: var(--w-line) solid var(--w-ink); border-radius: 26px; background: #fff; box-shadow: 7px 7px 0 var(--w-primary); }
.story__card img { display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 14px; border: 2px solid var(--w-ink); border-radius: 16px; object-fit: cover; }
.story__card h3 { margin: 0 0 6px; font-size: 1.35rem; }
.story__card p { margin: 0; }

/* Bridal train */
.squad__side { display: inline-block; margin: 30px 0 14px; padding: .45em 1.1em; border: 2.5px solid var(--w-ink); border-radius: 999px; background: var(--w-accent); color: var(--w-ink); font-size: 1.15rem; }
.squad { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 22vw, 250px); gap: 16px; padding: 4px 4px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--w-ink) transparent; }
.squad__card { display: flex; flex-direction: column; align-items: center; padding: 20px 18px; border: var(--w-line) solid var(--w-ink); border-radius: 26px; background: var(--w-bg); color: var(--w-ink); text-align: center; scroll-snap-align: start; transition: transform .2s var(--ease); }
.squad__card:hover { transform: translateY(-4px) rotate(-1deg); }
.squad__pic { display: block; width: 116px; height: 116px; margin-bottom: 12px; border: var(--w-line) solid var(--w-ink); border-radius: 50%; background: #fff; overflow: hidden; }
.squad__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.squad__role { display: inline-block; padding: .28em .8em; border-radius: 999px; background: var(--w-primary); color: #fff; font: 700 .68rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.squad__card h4 { margin: 10px 0 4px; font-size: 1.2rem; }
.squad__card p { margin: 0; font-size: .9rem; }

/* Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; border: 2.5px solid var(--w-ink); border-radius: 18px; background: #fff; overflow: hidden; }
.ig-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.ig-tile:hover img { transform: scale(1.06); }
.ig-tile span { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: .28em .6em; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #1C0B33; font: 700 .72rem/1 var(--font-body); }
.ig-tile span .icon { color: #E0402B; }
.ig-embeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 20px; }
.ig-embeds .instagram-media { min-width: 0 !important; margin: 0 !important; }
.ig-follow { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 22px; border: var(--w-line) solid var(--w-ink); border-radius: 24px; background: var(--w-primary); color: #fff !important; font: 700 1.05rem/1.3 var(--font-display); text-decoration: none; }
.ig-follow:hover { box-shadow: 0 6px 0 var(--w-ink); }

/* Guest photos */
.upload-form { max-width: 640px; margin: 0 0 28px; }
.drop { position: relative; display: grid; place-items: center; padding: 28px 20px; border: 3px dashed var(--w-ink); border-radius: 22px; background: var(--w-tint); text-align: center; cursor: pointer; transition: background-color .15s; }
.drop:hover, .drop.is-over { background: color-mix(in srgb, var(--w-accent) 30%, #fff); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop span { display: grid; justify-items: center; gap: 8px; font-weight: 700; }
.drop.has-file { border-style: solid; background: #fff; }
.drop__preview { width: 120px; height: 120px; border-radius: 14px; border: 2px solid var(--w-ink); object-fit: cover; }
.masonry { columns: 4 220px; column-gap: 14px; }
.photo { display: block; margin: 0 0 14px; border: 2.5px solid var(--w-ink); border-radius: 20px; background: #fff; overflow: hidden; break-inside: avoid; }
.photo.is-new { animation: wdPop .45s var(--ease); }
.photo > a { display: block; overflow: hidden; cursor: zoom-in; }
.photo img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.photo > a:hover img { transform: scale(1.04); }
.photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: .88rem; line-height: 1.3; }
.photo figcaption small { display: block; color: color-mix(in srgb, var(--w-ink) 62%, transparent); font-size: .78rem; }
.like { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: .42em .8em; border: 2px solid var(--w-ink); border-radius: 999px; background: #fff; color: var(--w-ink); font: 700 .82rem/1 var(--font-body); cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.like:hover { transform: translateY(-1px); }
.like .icon { color: #E0402B; }
.like.is-on { background: #FFE3DE; border-color: #C9341F; }
.like.is-on .icon { fill: #E0402B; }
.like.is-pop { animation: wdBump .35s var(--ease); }
.lightbox { max-width: min(94vw, 1100px); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 4, 20, .88); }
.lightbox img { display: block; max-width: 100%; max-height: 88vh; margin: auto; border: 3px solid #fff; border-radius: 18px; }
.lightbox__x { position: absolute; top: -14px; right: -14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2.5px solid #1C0B33; border-radius: 50%; background: #fff; color: #1C0B33; font: 700 1.4rem/1 var(--font-body); cursor: pointer; }

/* Wall of love */
.wall-form { max-width: 760px; margin: 0 0 30px; padding: 16px 18px; border: var(--w-line) solid var(--w-ink); border-radius: 26px; background: #fff; box-shadow: 7px 7px 0 var(--w-primary), 7px 7px 0 3px var(--w-ink); }
.wall-form textarea { min-height: 84px; padding: 6px 4px; border: 0 !important; box-shadow: none !important; font-size: 1.05rem; resize: vertical; }
.wall-form__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 10px; border-top: 2px dashed var(--w-soft); }
.wall-form__row .field { flex: 1 1 200px; }
.wall { columns: 3 260px; column-gap: 16px; }
.note { --tilt: 0deg; margin: 0 0 16px; padding: 20px 20px 16px; border: 2.5px solid #1C0B33; border-radius: 22px; background: var(--tone, #fff); color: #1C0B33; break-inside: avoid; transform: rotate(var(--tilt)); transition: transform .2s var(--ease); }
.note:nth-child(4n+1) { --tilt: -.9deg; }
.note:nth-child(4n+3) { --tilt: .7deg; }
.note:hover { transform: rotate(0) translateY(-3px); }
.note.is-new { animation: wdPop .5s var(--ease); }
.note p { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.note footer { display: flex; align-items: center; gap: 10px; }
.note__av { display: block; flex: none; width: 38px; height: 38px; border: 2px solid #1C0B33; border-radius: 50%; overflow: hidden; }
.note__who { flex: 1; min-width: 0; line-height: 1.25; }
.note__who b { display: block; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note__who small { color: rgba(28, 11, 51, .66); }
.note .like { --w-ink: #1C0B33; }
.wpage .toggle { border-color: var(--w-ink); background: #fff; }

/* Quiz & leaderboard */
.quiz-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.quiz { min-height: 380px; }
.quiz .w-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 12px; }
.quiz [data-quiz-start] { display: grid; gap: 14px; justify-items: start; }
.quiz [data-quiz-start] .field { width: 100%; max-width: 380px; }
.quiz__progress { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 700; font-size: .9rem; }
.quiz__progress i { flex: 1; height: 12px; border: 2px solid var(--w-ink); border-radius: 99px; background: var(--w-soft); overflow: hidden; }
.quiz__progress b { display: block; width: 0; height: 100%; background: var(--w-accent); transition: width .35s var(--ease); }
.quiz__q { margin: 20px 0 18px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.2; animation: wdRise .35s var(--ease); }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 2.5px solid var(--w-ink); border-radius: 18px; background: #fff; color: var(--w-ink); font: 600 1rem/1.35 var(--w-body); text-align: left; transition: transform .15s var(--ease), background-color .15s; animation: wdRise .35s var(--ease) both; }
.quiz__opts button:nth-child(2) { animation-delay: 50ms; }
.quiz__opts button:nth-child(3) { animation-delay: 100ms; }
.quiz__opts button:nth-child(4) { animation-delay: 150ms; }
.quiz__opts button:hover { transform: translateX(4px); background: color-mix(in srgb, var(--w-accent) 28%, #fff); }
.quiz__opts button i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--w-ink); color: var(--w-bg); font: 700 .85rem/1 var(--font-display); font-style: normal; }
.quiz__opts button.is-picked { background: var(--w-accent); }
.quiz [data-quiz-done] { text-align: center; display: grid; justify-items: center; gap: 8px; }
.quiz__score { margin: 6px 0 0; color: var(--w-primary); font: 700 clamp(3.4rem, 9vw, 5.6rem)/1 var(--font-display); letter-spacing: -.04em; }
.quiz__review { display: grid; gap: 6px; width: 100%; margin: 6px 0 10px; padding: 0; list-style: none; text-align: left; font-size: .9rem; }
.quiz__review li { padding: 8px 12px; border-radius: 12px; background: var(--w-soft); }
.quiz__review li.is-right { background: #D4F5E3; }
.quiz__review li.is-wrong { background: #FFE3DE; }
.leader h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.leader ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: lb; }
.leader li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 12px; border: 2px solid transparent; border-radius: 14px; background: var(--w-tint); counter-increment: lb; }
.leader li::before { content: counter(lb); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--w-ink); color: var(--w-bg); font: 700 .88rem/1 var(--font-display); }
.leader li:nth-child(1)::before { background: #E8B84A; color: #1C0B33; }
.leader li:nth-child(2)::before { background: #C9CED8; color: #1C0B33; }
.leader li:nth-child(3)::before { background: #D49A6A; color: #1C0B33; }
.leader li span { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.leader li small { color: color-mix(in srgb, var(--w-ink) 60%, transparent); }
.leader li.is-me { border-color: var(--w-ink); background: var(--w-accent); }

/* Registry */
.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.gift { display: flex; flex-direction: column; border: var(--w-line) solid var(--w-ink); border-radius: 26px; background: #fff; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.gift:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--w-ink); }
.gift__pic { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-bottom: var(--w-line) solid var(--w-ink); background: var(--tone, var(--w-tint)); }
.gift__pic .art { width: 44%; max-width: 150px; }
.gift__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gift__type { position: absolute; top: 12px; left: 12px; padding: .3em .75em; border: 2px solid #1C0B33; border-radius: 999px; background: #fff; color: #1C0B33; font: 700 .68rem/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.gift__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px; }
.gift__body h3 { margin: 0; font-size: 1.25rem; }
.gift__body > p { margin: 0; font-size: .92rem; }
.gift .meter { --meter: var(--w-primary); border-color: var(--w-ink); }
.gift__nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 0 !important; font-size: .86rem; }
.gift__body .btn-row { margin-top: auto; }
.gift.is-done .meter { --meter: var(--leaf); }

/* Vendors & reviews */
.vend-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.vend { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 2.5px solid var(--w-ink); border-radius: 22px; background: #fff; }
.vend__pic { display: block; width: 64px; height: 64px; border: 2.5px solid var(--w-ink); border-radius: 50%; background: var(--tone, #fff); overflow: hidden; }
.vend__pic img, .vend__pic .avatar-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.vend__body { min-width: 0; }
.vend__type { display: block; font: 700 .68rem/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; opacity: .7; }
.vend__body h3 { display: flex; align-items: center; gap: 6px; margin: 3px 0; font-size: 1.1rem; }
.vend__body h3 a { color: var(--w-ink) !important; text-decoration: none; }
.vend__body h3 a:hover { text-decoration: underline; }
.vend__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; font-size: .84rem; }
.vend__rating .stars i.on { background: var(--w-ink); }
.vend__ig { font-size: .84rem; font-weight: 700; }
.review-form { grid-column: 1 / -1; padding-top: 14px; border-top: 2px dashed var(--w-soft); }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; margin: 0; padding: 0; border: 0; }
.rate legend { margin-bottom: 4px; font: 600 .88rem/1.3 var(--font-body); }
.rate input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rate label { padding: 0 2px; color: rgba(28, 11, 51, .22); font-size: 2rem; line-height: 1; cursor: pointer; transition: color .12s, transform .12s; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #F2B705; -webkit-text-stroke: 1.5px #1C0B33; }
.rate:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: rgba(28, 11, 51, .22); -webkit-text-stroke: 0; }
.rate label:hover { transform: scale(1.12); }
.rate input:focus-visible + label { outline: 3px solid var(--w-primary); outline-offset: 2px; border-radius: 6px; }

/* Ads (free pages only, never more than two) */
.ad-slot { padding-block: 18px; }
.ad { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 2.5px dashed #1C0B33; border-radius: 24px; background: var(--tone, var(--butter)); color: #1C0B33 !important; text-decoration: none; }
.ad:hover { border-style: solid; }
.ad__label { position: absolute; top: -11px; left: 18px; padding: .25em .7em; border: 1.5px solid #1C0B33; border-radius: 999px; background: #fff; font: 700 .66rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.ad__img { flex: none; width: 72px; height: 72px; border: 2px solid #1C0B33; border-radius: 16px; object-fit: cover; }
.ad__text { flex: 1; min-width: 0; font-size: .92rem; line-height: 1.45; }
.ad__text b { display: block; font: 700 1.1rem/1.25 var(--font-display); }
.ad .btn { flex: none; --btn-bd: #1C0B33; }

/* "Getting married too?" band, in our brand colours */
.w-viral { padding-block: clamp(40px, 6vw, 72px); background: #1C0B33 var(--adire-light); color: #fff; font-family: var(--font-body); }
.w-viral__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 32px); }
.w-viral__art { display: block; width: clamp(150px, 17vw, 230px); }
.w-viral h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.w-viral p { margin: 0; color: rgba(255, 255, 255, .82); }
.w-viral .btn { --btn-bd: #1C0B33; }
.owner-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: .85em 1.25em; border: 2.5px solid #1C0B33; border-radius: 999px; background: var(--marigold); color: #1C0B33 !important; font: 700 .95rem/1 var(--font-display); text-decoration: none; box-shadow: 0 5px 0 #1C0B33; }
.owner-fab:hover { transform: translateY(-2px); }

/* Payment dialog in the couple's colours */
.wpage .pay-dialog { --ink: var(--w-ink); color: var(--w-ink); font-family: var(--w-body); }
.wpage .pay-dialog__total { background: var(--w-tint); }
.wpage .pay-dialog__done .art { width: 180px; }

@keyframes wdBump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
	.w-hero__grid { grid-template-columns: 1fr; justify-items: center; }
	.w-hero__media { width: min(100%, 420px); aspect-ratio: 4 / 4.6; }
	.w-hero__card { width: 100%; max-width: 640px; margin: -70px 0 0; }
	.invite, .rsvp, .spray, .quiz-wrap { grid-template-columns: 1fr; }
	.spray__stage { width: min(100%, 460px); margin-inline: auto; }
	.ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.story::before { left: 18px; }
	.story__item, .story__item:nth-child(even) { grid-template-columns: 1fr; gap: 12px; padding-left: 52px; }
	.story__item::after { left: 18px; top: 20px; }
	.story__when, .story__item:nth-child(even) .story__when { grid-column: 1; grid-row: auto; justify-self: start; }
	.story__item:nth-child(even) .story__card { grid-column: 1; grid-row: auto; }
	.w-viral__inner { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 600px) {
	.w-hero { padding-top: 18px; }
	.w-hero__media { box-shadow: 0 0 0 7px var(--w-bg), 0 0 0 10px var(--w-ink); }
	.w-hero__card { padding: 22px 18px; border-radius: 28px; box-shadow: 6px 6px 0 var(--w-ink); }
	.w-names { font-size: clamp(2.3rem, 11vw, 3rem); }
	.countdown { gap: 6px; }
	.countdown span { padding: 8px 2px 6px; font-size: .58rem; }
	.w-hero__card .btn-row .btn { flex: 1 1 auto; }
	.invite__card { padding-top: 76px; }
	.event { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.event__when b { font-size: 1.6rem; }
	.card-form { box-shadow: 5px 5px 0 var(--w-ink); border-radius: 24px; }
	.spray__counter { min-width: 190px; padding: 10px 18px; }
	.bill { width: 76px; height: 38px; font-size: .7rem; }
	.masonry { columns: 2 140px; column-gap: 10px; }
	.photo { margin-bottom: 10px; border-radius: 16px; }
	.photo figcaption { flex-direction: column; align-items: flex-start; }
	.wall { columns: 1; }
	.vend { grid-template-columns: 52px minmax(0, 1fr); }
	.vend__pic { width: 52px; height: 52px; }
	.vend > .btn { grid-column: 1 / -1; justify-self: start; }
	.ad { flex-wrap: wrap; }
	.w-sec--pattern .w-head { padding: 14px 18px; }
	.owner-fab { right: 12px; bottom: 12px; font-size: .85rem; }
}

/* ---------------------------------------------------------------- Programs, countdown label & gift credit */
.w-progs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.w-progs li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 2px solid var(--w-ink); border-radius: 999px; background: #fff; color: var(--w-ink); text-align: left; }
.w-progs__icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--w-primary); color: #fff; }
.w-progs b { display: block; font: 700 .86rem/1.15 var(--w-body); }
.w-progs small { display: block; font-size: .74rem; font-weight: 600; opacity: .72; }
.countdown__label { margin: 0 0 8px; font: 700 .76rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.w-gift { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: .92rem; }
.w-gift .icon { flex: none; margin-top: 3px; color: var(--w-primary); }
.w-gift a { font-weight: 700; }
.w-names .vbadge { margin-left: .14em; vertical-align: .06em; }
.event__type { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 2px !important; color: var(--w-primary); font: 700 .7rem/1.2 var(--font-body) !important; letter-spacing: .12em; text-transform: uppercase; }
.event__private { display: inline-block; margin-left: 6px; padding: .2em .6em; border-radius: 999px; background: var(--w-soft); font: 700 .7rem/1.2 var(--font-body); letter-spacing: .04em; vertical-align: middle; }

/* ================================================================ Premium templates (royal, editorial, garden)
 * Hairlines, soft depth & refined type replace the free page's thick outlines & hard shadows. */
.wpage--lux { --w-line: 1px; --w-hair: color-mix(in srgb, var(--w-ink) 16%, transparent); --w-lift: 0 30px 60px -34px color-mix(in srgb, var(--w-ink) 60%, transparent); --orn-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 16'%3E%3Cpath d='M0 8h88M132 8h88' stroke='%23000' stroke-width='1.3'/%3E%3Cpath d='m110 2 6 6-6 6-6-6z'/%3E%3Ccircle cx='95' cy='8' r='1.9'/%3E%3Ccircle cx='125' cy='8' r='1.9'/%3E%3C/svg%3E"); --orn-flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40'%3E%3Cpath d='M8 20h52M100 20h52' stroke='%23000' stroke-width='1.2' fill='none'/%3E%3Cpath d='M30 20q8-10 18-7-8 10-18 7zM130 20q-8-10-18-7 8 10 18 7z'/%3E%3Cg transform='translate(80 20)'%3E%3Ccircle r='3.4'/%3E%3Cellipse cy='-9' rx='4' ry='6.4'/%3E%3Cellipse cy='-9' rx='4' ry='6.4' transform='rotate(72)'/%3E%3Cellipse cy='-9' rx='4' ry='6.4' transform='rotate(144)'/%3E%3Cellipse cy='-9' rx='4' ry='6.4' transform='rotate(216)'/%3E%3Cellipse cy='-9' rx='4' ry='6.4' transform='rotate(288)'/%3E%3C/g%3E%3C/svg%3E"); }
.wpage--lux .btn { min-height: 46px; border-width: 1px; font: 600 .8rem/1.1 var(--w-body); letter-spacing: .14em; text-transform: uppercase; }
.wpage--lux .btn:hover, .wpage--lux .w-btn:hover { box-shadow: var(--w-lift); transform: translateY(-1px); }
.wpage--lux .w-btn--ghost { --btn-bd: color-mix(in srgb, var(--w-ink) 38%, transparent); }
.wpage--lux :is(.card-form, .invite__card, .event, .live__card, .spray__counter, .feed li, .story__when, .story__card, .squad__side, .squad__card, .ig-tile, .ig-follow, .photo, .wall-form, .note, .leader li, .quiz__opts button, .gift, .gift__type, .vend, .note-pick span, .countdown span, .w-hash, .pass__ticket, .w-progs li, .status, .share-sheet, .w-sec--pattern .w-head) { border-width: 1px; border-color: var(--w-hair); box-shadow: none; }
.wpage--lux :is(.card-form, .invite__card, .gift, .vend, .note, .story__card, .squad__card, .pass__ticket, .wall-form) { box-shadow: var(--w-lift); }
.wpage--lux :is(.gift:hover, .ig-follow:hover) { box-shadow: var(--w-lift); transform: translateY(-3px); }
.wpage--lux :is(.squad__pic, .note__av, .vend__pic, .gift__pic, .story__card img, .ad__img, .swatch, .like, .bill, .spray__pic, .live__frame, .quiz__progress i) { border-width: 1px; box-shadow: none; }
.wpage--lux .invite__card::before { border-width: 1px; }
.wpage--tpl-editorial .invite__card::before { border-radius: 0; }
.wpage--lux :is(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):not([type="range"]), select, textarea) { border-width: 1px; border-color: color-mix(in srgb, var(--w-ink) 26%, transparent); }
.wpage--lux .w-nav { border-bottom: 1px solid var(--w-hair); background: color-mix(in srgb, var(--w-bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wpage--lux .w-nav a { padding: 1em 1.05em; border-radius: 0; font: 600 .72rem/1 var(--w-body); letter-spacing: .18em; text-transform: uppercase; }
.wpage--lux .w-nav a:hover { background: none; color: var(--w-primary) !important; }
.wpage--lux .w-nav a.is-on { background: none; color: var(--w-primary) !important; box-shadow: inset 0 -2px 0 var(--w-primary); }
.wpage--lux .w-sec--pattern { background-image: linear-gradient(color-mix(in srgb, var(--w-primary) 90%, transparent), color-mix(in srgb, var(--w-primary) 90%, transparent)), var(--w-pattern); border-block: 0; }
.wpage--lux .w-eyebrow { font: 600 .72rem/1.2 var(--w-body); letter-spacing: .26em; }
.wpage--lux .w-title { font-weight: 500; letter-spacing: -.005em; }
.wpage--lux .countdown span { background: transparent; }
.wpage--lux .countdown b { font-family: var(--w-head); font-weight: 500; }
.wpage--lux .w-progs li { background: transparent; }
.wpage--lux .w-progs__icon { border: 1px solid var(--w-accent); background: transparent; color: var(--w-primary); }
.wpage--lux .w-hash { font-family: var(--w-body); font-weight: 600; letter-spacing: .04em; }
.wpage--lux .event__when { border-radius: 0; background: transparent; color: var(--w-primary); box-shadow: inset 0 0 0 1px var(--w-accent); }
.wpage--lux .w-viral { border-top: 1px solid var(--w-hair); }
.wpage--lux .owner-fab { border-width: 1px; }

/* Royal: an invitation suite. Crest, centred formal type, gold rules & a framed arch photo. */
.w-hero--royal { padding: clamp(28px, 5vw, 76px) 0; background-color: var(--w-primary); background-image: linear-gradient(color-mix(in srgb, var(--w-primary) 93%, transparent), color-mix(in srgb, var(--w-primary) 93%, transparent)), var(--w-pattern); border-bottom: 0; }
.w-royal { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.w-royal__card { position: relative; padding: clamp(40px, 5vw, 68px) clamp(24px, 4.4vw, 60px) clamp(34px, 4vw, 52px); background: var(--w-bg); color: var(--w-ink); text-align: center; box-shadow: var(--w-lift); }
.w-royal__card::before, .w-royal__card::after { content: ""; position: absolute; border: 1px solid var(--w-accent); pointer-events: none; }
.w-royal__card::before { inset: 10px; }
.w-royal__card::after { inset: 15px; opacity: .5; }
.w-royal__crest { display: block; width: 96px; margin: 0 auto 10px; color: var(--w-accent); }
.orn { display: block; width: 100%; height: auto; overflow: visible; }
.orn__text { font: 600 30px/1 var(--w-head); letter-spacing: .02em; }
.w-royal__hosts { position: relative; max-width: 48ch; margin: 0 auto 16px; font: 600 .7rem/1.75 var(--w-body); letter-spacing: .22em; text-transform: uppercase; opacity: .78; }
.w-hero--royal .w-names { position: relative; margin: 0 0 .28em; color: var(--w-primary); font-size: clamp(2.5rem, 4.7vw, 4.3rem); font-weight: 600; line-height: 1.02; letter-spacing: .01em; }
.w-hero--royal .w-names > span { display: block; }
.w-hero--royal .w-amp { margin: .06em 0; color: var(--w-accent); font-size: .5em; font-style: italic; font-weight: 400; }
.w-royal__date { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 6px; font: 600 .82rem/1.35 var(--w-body); letter-spacing: .22em; text-transform: uppercase; }
.w-royal__date::before, .w-royal__date::after { content: ""; flex: 0 1 64px; height: 1px; background: var(--w-accent); }
.w-royal__place { margin: 0 0 18px; font-size: .95rem; opacity: .8; }
.w-hero--royal .w-tagline { max-width: 40ch; margin: 0 auto 20px; color: inherit; font: italic 400 1.12rem/1.45 var(--w-head); }
.w-hero--royal .w-progs, .w-hero--royal .btn-row, .w-hero--royal .w-gift { justify-content: center; }
.w-hero--royal .countdown { margin-inline: auto; }
.w-hero--royal .countdown__label { text-align: center; }
.w-royal__photo { position: relative; margin: 0; padding: 12px; }
.w-royal__frame { position: relative; display: block; aspect-ratio: 4 / 5.2; max-height: 680px; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 0 0 0 10px var(--w-primary), 0 0 0 11px var(--w-accent), 0 0 0 18px var(--w-primary), 0 0 0 19px color-mix(in srgb, var(--w-accent) 55%, transparent); }
.w-royal__frame > .cover-img, .w-royal__frame > .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-royal__frame .status { top: auto; bottom: 18px; left: 50%; transform: translateX(-50%); }
.w-royal__photo .w-hash { position: absolute; left: 50%; bottom: -10px; z-index: 2; margin: 0; border: 0; background: var(--w-accent); color: var(--w-ink); white-space: nowrap; transform: translateX(-50%); }
.w-royal__buzz { grid-column: 1 / -1; }
.w-hero--royal .w-buzz { justify-content: center; margin-top: 8px; border-top: 1px solid color-mix(in srgb, var(--w-bg) 26%, transparent); color: var(--w-bg); }
.w-hero--royal .w-buzz a { color: var(--w-bg) !important; }
.w-hero--royal .w-buzz .icon, .w-hero--royal .w-buzz .linkish { color: var(--w-accent); }
.wpage--tpl-royal .w-head { margin-inline: auto; text-align: center; }
.wpage--tpl-royal .w-head--row { flex-direction: column; align-items: center; }
.wpage--tpl-royal .w-head__aside { margin-inline: auto; }
.wpage--tpl-royal .w-head::before { content: ""; display: block; width: 190px; height: 14px; margin: 0 auto 18px; background: var(--w-accent); -webkit-mask: var(--orn-rule) center / contain no-repeat; mask: var(--orn-rule) center / contain no-repeat; }
.wpage--tpl-royal .w-sec--pattern .w-head::before { background: var(--w-accent); }

/* Editorial: a magazine cover story. Full-bleed photo, huge serif names, hairline rules & numbered sections. */
.w-hero--editorial { padding: 0; background: var(--w-bg); border-bottom: 1px solid var(--w-ink); }
.w-ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(92vh, 900px); }
.w-ed__photo { position: relative; min-height: 420px; margin: 0; background: var(--w-primary); overflow: hidden; }
.w-ed__photo > .cover-img, .w-ed__photo > .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-ed__photo .status { top: 20px; left: 20px; }
.w-ed__text { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(28px, 5vw, 80px) clamp(20px, 5vw, 84px); }
.w-ed__issue { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 clamp(18px, 3vw, 34px); padding-bottom: 12px; border-bottom: 1px solid var(--w-ink); font: 600 .7rem/1.2 var(--w-body); letter-spacing: .26em; text-transform: uppercase; }
.w-hero--editorial .w-names { margin: 0 0 .32em; font-size: clamp(3.1rem, 7vw, 7.2rem); font-weight: 400; line-height: .9; letter-spacing: -.035em; overflow-wrap: anywhere; }
.w-hero--editorial .w-names > span { display: block; }
.w-hero--editorial .w-amp { color: var(--w-primary); font-style: italic; }
.w-ed__lede { max-width: 30ch; margin: 0 0 24px; font: italic 400 clamp(1.15rem, 1.8vw, 1.5rem)/1.35 var(--w-head); }
.w-ed__facts { display: grid; margin: 0 0 22px; border-top: 1px solid var(--w-ink); }
.w-ed__facts > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--w-hair); }
.w-ed__facts dt { font: 600 .68rem/1.7 var(--w-body); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.w-ed__facts dd { margin: 0; font-weight: 600; }
.w-hero--editorial .countdown { display: flex; gap: 0; max-width: none; }
.w-hero--editorial .countdown span { padding: 2px 18px; border: 0; border-left: 1px solid var(--w-hair); border-radius: 0; }
.w-hero--editorial .countdown span:first-child { padding-left: 0; border-left: 0; }
.w-hero--editorial .countdown b { font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--w-head); }
.w-hero--editorial .w-buzz { border-top: 1px solid var(--w-hair); }
.wpage--tpl-editorial :is(.btn, .w-progs li, .w-progs__icon, .w-hash, .card-form, .invite__card, .event, .gift, .gift__pic, .vend, .note, .photo, .story__card, .story__card img, .squad__card, .leader li, .quiz__opts button, .wall-form, .live__card, .live__frame, .ig-tile, .pass__ticket, .spray__pic, .spray__counter, .countdown span, .status, .w-sec--pattern .w-head) { border-radius: 0; }
.wpage--tpl-editorial .invite__card { padding-top: clamp(40px, 6vw, 72px); }
.wpage--tpl-editorial .w-sec { border-top: 1px solid var(--w-ink); }
.wpage--tpl-editorial .w-sec--tint { background: color-mix(in srgb, var(--w-ink) 4%, var(--w-bg)); }
.wpage--tpl-editorial .w-title { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 400; line-height: .96; letter-spacing: -.025em; }
.wpage--tpl-editorial .w-sec .w-eyebrow { counter-increment: wsec; color: var(--w-ink); }
.wpage--tpl-editorial .w-sec .w-eyebrow::before { content: counter(wsec, decimal-leading-zero); padding-right: .7em; border-right: 1px solid currentColor; color: var(--w-primary); }
.wpage--tpl-editorial .w-sec .w-eyebrow .icon { display: none; }
.wpage--tpl-editorial .w-sec--dark .w-eyebrow, .wpage--tpl-editorial .w-sec--pattern .w-eyebrow { color: inherit; }
.wpage--tpl-editorial { counter-reset: wsec; }

/* Garden: soft & romantic. A tall arch with fine-line flowers, a script "&" & rounded, airy cards. */
.w-hero--garden { padding: clamp(28px, 4vw, 64px) 0 clamp(20px, 3vw, 36px); background: var(--w-bg); border-bottom: 0; overflow: hidden; }
.w-gd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.w-gd__left { min-width: 0; text-align: right; }
.w-gd__right { min-width: 0; }
.w-gd__kicker { margin: 12px 0 8px; color: var(--w-primary); font: 600 .72rem/1.3 var(--w-body); letter-spacing: .24em; text-transform: uppercase; }
.w-hero--garden .w-names { margin: 0 0 16px; font-size: clamp(2.6rem, 4.6vw, 4.5rem); font-weight: 500; line-height: 1; overflow-wrap: anywhere; }
.w-hero--garden .w-names > span { display: block; }
.w-hero--garden .w-amp, .wpage--tpl-garden .invite__names span { color: var(--w-primary); font: 400 1.1em/1.1 "Great Vibes", cursive; font-style: normal; }
.w-gd__date { margin: 0; font: 600 .8rem/1.4 var(--w-body); letter-spacing: .2em; text-transform: uppercase; }
.w-gd__place { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; margin: 6px 0 0; font-size: .95rem; }
.w-gd__place .icon { flex: none; margin-top: 3px; color: var(--w-primary); }
.w-gd__arch { position: relative; }
.w-gd__photo { position: relative; aspect-ratio: 3 / 4.3; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: 0 0 0 8px var(--w-bg), 0 0 0 9px color-mix(in srgb, var(--w-primary) 50%, transparent), var(--w-lift); }
.w-gd__photo > .cover-img, .w-gd__photo > .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-gd__photo .status { top: auto; bottom: 18px; left: 50%; transform: translateX(-50%); }
.w-gd__sprig { position: absolute; bottom: -6px; z-index: 2; width: 30%; color: var(--w-primary); pointer-events: none; }
.w-gd__sprig--l { left: -17%; transform: rotate(-10deg); }
.w-gd__sprig--r { right: -17%; transform: scaleX(-1) rotate(-10deg); }
.w-gd__right .w-tagline { margin: 0 0 18px; color: inherit; font: italic 500 1.28rem/1.4 var(--w-head); }
.w-hero--garden .w-hash { border-color: transparent; background: var(--w-tint); }
.w-hero--garden .countdown span { aspect-ratio: 1; align-content: center; border-radius: 50%; }
.w-gd__buzz { grid-column: 1 / -1; }
.w-hero--garden .w-buzz { justify-content: center; border-top: 1px solid var(--w-hair); }
.wpage--tpl-garden :is(.card-form, .gift, .vend, .note, .photo, .story__card, .squad__card, .wall-form, .live__card, .pass__ticket, .event, .leader li) { border-radius: 28px; }
.wpage--tpl-garden .w-head::before { content: ""; display: block; width: 150px; height: 38px; margin: 0 0 12px; background: var(--w-primary); -webkit-mask: var(--orn-flower) left center / contain no-repeat; mask: var(--orn-flower) left center / contain no-repeat; }
.wpage--tpl-garden .w-sec--pattern .w-head::before, .wpage--tpl-garden .w-sec--dark .w-head::before { background: var(--w-accent); }
.wpage--tpl-garden .w-title { font-weight: 500; }

@media (max-width: 960px) {
	.w-royal { grid-template-columns: 1fr; justify-items: center; }
	.w-royal__card { width: 100%; max-width: 680px; }
	.w-royal__photo { order: -1; width: min(100%, 400px); }
	.w-ed { grid-template-columns: 1fr; min-height: 0; }
	.w-ed__photo { min-height: 0; aspect-ratio: 4 / 4.4; }
	.w-gd { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.w-gd__left, .w-gd__right { text-align: center; }
	.w-gd__arch { width: min(76%, 340px); }
	.w-gd__place { justify-content: center; }
	.w-hero--garden .w-progs, .w-hero--garden .btn-row, .w-hero--garden .w-gift { justify-content: center; }
	.w-hero--garden .countdown { margin-inline: auto; }
}
@media (max-width: 600px) {
	.w-royal__card { padding: 36px 20px 30px; }
	.w-royal__card::before { inset: 7px; }
	.w-royal__card::after { inset: 11px; }
	.w-royal__crest { width: 80px; }
	.w-hero--royal .w-names { font-size: clamp(2.3rem, 11vw, 3rem); }
	.w-royal__date { gap: 10px; font-size: .74rem; letter-spacing: .16em; }
	.w-royal__date::before, .w-royal__date::after { flex-basis: 28px; }
	.w-royal__frame { box-shadow: 0 0 0 7px var(--w-primary), 0 0 0 8px var(--w-accent); }
	.w-hero--editorial .w-names { font-size: clamp(2.8rem, 15vw, 4rem); }
	.w-ed__text { padding: 26px 18px 30px; }
	.w-hero--editorial .countdown span { padding: 2px 10px; }
	.w-hero--garden .w-names { font-size: clamp(2.4rem, 12vw, 3.2rem); }
	.w-hero--garden .countdown span { aspect-ratio: auto; border-radius: 16px; }
	.w-progs li { padding-right: 10px; }
	.wpage--lux .w-nav a { padding: .95em .8em; letter-spacing: .14em; }
}
