.ww-event-page,
.ww-event-page * {
box-sizing: border-box;
}
.ww-event-page {
–ww-ink: #f8f1e7;
–ww-muted: rgba(248, 241, 231, 0.74);
–ww-muted-strong: rgba(248, 241, 231, 0.88);
–ww-charcoal: #101315;
–ww-charcoal-2: #171b1d;
–ww-navy: #111a22;
–ww-amber: #d7a15b;
–ww-champagne: #f4d8a5;
–ww-copper: #b66b3f;
–ww-green: #2f6d42;
–ww-glass: rgba(255, 255, 255, 0.09);
–ww-line: rgba(244, 216, 165, 0.22);
–ww-radius: 22px;
–ww-radius-sm: 14px;
–ww-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
–ww-transition: 220ms ease;
–ww-max: 1180px;
position: relative;
isolation: isolate;
overflow: clip;
margin: 0;
color: var(–ww-ink);
background:
radial-gradient(circle at 18% 8%, rgba(215, 161, 91, 0.18), transparent 26rem),
radial-gradient(circle at 78% 16%, rgba(47, 109, 66, 0.18), transparent 24rem),
linear-gradient(180deg, #0c1012 0%, #121719 42%, #17130f 100%);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, “Segoe UI”, sans-serif;
line-height: 1.5;
scroll-behavior: smooth;
}
.ww-event-page img {
display: block;
max-width: 100%;
}
.ww-event-page a {
color: inherit;
}
.ww-event-page .ww-shell {
width: min(100%, var(–ww-max));
margin: 0 auto;
padding-inline: clamp(18px, 4vw, 34px);
}
.ww-event-page .ww-hero {
position: relative;
min-height: min(820px, calc(100vh – 32px));
display: grid;
align-items: end;
overflow: hidden;
border-bottom: 1px solid var(–ww-line);
}
.ww-event-page .ww-hero-media {
position: absolute;
inset: 0;
z-index: -3;
}
.ww-event-page .ww-hero-media img {
width: 100%;
height: 100%;
object-fit: cover;
filter: saturate(0.95) contrast(1.08);
transform: scale(1.02);
}
.ww-event-page .ww-hero::before,
.ww-event-page .ww-hero::after {
content: “”;
position: absolute;
inset: 0;
pointer-events: none;
}
.ww-event-page .ww-hero::before {
z-index: -2;
background:
linear-gradient(90deg, rgba(5, 7, 8, 0.92), rgba(9, 12, 14, 0.72) 48%, rgba(12, 16, 18, 0.32)),
linear-gradient(180deg, rgba(5, 7, 8, 0.36), rgba(5, 7, 8, 0.08) 44%, #101315 100%);
}
.ww-event-page .ww-hero::after {
z-index: -1;
background-image:
linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
background-size: 76px 76px;
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
}
.ww-event-page .ww-hero-inner {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
gap: clamp(28px, 5vw, 62px);
align-items: end;
padding-block: clamp(84px, 12vw, 154px) clamp(38px, 7vw, 78px);
}
.ww-event-page .ww-kicker,
.ww-event-page .ww-label {
margin: 0;
color: var(–ww-champagne);
font-size: 0.78rem;
font-weight: 850;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.ww-event-page .ww-hero-title {
max-width: 820px;
margin: 16px 0 20px;
color: #fff8ed;
font-family: Georgia, “Times New Roman”, serif;
font-size: clamp(3.2rem, 8vw, 7.8rem);
font-weight: 700;
line-height: 0.88;
letter-spacing: 0;
text-wrap: balance;
}
.ww-event-page .ww-hero-copy {
max-width: 650px;
margin: 0 0 30px;
color: var(–ww-muted-strong);
font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}
.ww-event-page .ww-hero-meta {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 0 0 28px;
padding: 0;
list-style: none;
}
.ww-event-page .ww-hero-meta li {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 38px;
padding: 8px 12px;
border: 1px solid var(–ww-line);
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.86);
backdrop-filter: blur(12px);
}
.ww-event-page .ww-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.ww-event-page .ww-button {
display: inline-flex;
min-height: 52px;
align-items: center;
justify-content: center;
gap: 10px;
border: 1px solid transparent;
border-radius: 999px;
padding: 14px 22px;
color: #11100e;
font-weight: 850;
line-height: 1;
text-decoration: none;
transition: transform var(–ww-transition), border-color var(–ww-transition), background var(–ww-transition), color var(–ww-transition), box-shadow var(–ww-transition);
}
.ww-event-page .ww-button:hover,
.ww-event-page .ww-button:focus {
transform: translateY(-2px);
text-decoration: none;
}
.ww-event-page .ww-button:focus-visible,
.ww-event-page button:focus-visible {
outline: 3px solid rgba(244, 216, 165, 0.45);
outline-offset: 4px;
}
.ww-event-page .ww-button-primary {
background: linear-gradient(135deg, var(–ww-champagne), var(–ww-amber));
box-shadow: 0 16px 42px rgba(215, 161, 91, 0.32);
}
.ww-event-page .ww-button-primary:hover {
box-shadow: 0 20px 54px rgba(215, 161, 91, 0.42);
}
.ww-event-page .ww-button-secondary {
border-color: var(–ww-line);
background: rgba(255, 255, 255, 0.08);
color: var(–ww-ink);
backdrop-filter: blur(14px);
}
.ww-event-page .ww-button-secondary:hover {
background: rgba(255, 255, 255, 0.14);
}
.ww-event-page .ww-countdown-card {
align-self: end;
padding: 24px;
border: 1px solid var(–ww-line);
border-radius: var(–ww-radius);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
rgba(9, 12, 14, 0.58);
box-shadow: var(–ww-shadow);
backdrop-filter: blur(22px);
}
.ww-event-page .ww-countdown-card h2 {
margin: 8px 0 18px;
color: #fff;
font-family: Georgia, “Times New Roman”, serif;
font-size: clamp(1.75rem, 3vw, 2.45rem);
line-height: 1;
letter-spacing: 0;
}
.ww-event-page .ww-countdown {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.ww-event-page .ww-timebox {
min-width: 0;
padding: 14px 10px;
border: 1px solid rgba(244, 216, 165, 0.18);
border-radius: 16px;
background: rgba(0, 0, 0, 0.28);
text-align: center;
}
.ww-event-page .ww-timebox strong {
display: block;
color: #fff6e9;
font-size: clamp(1.6rem, 4vw, 2.45rem);
line-height: 1;
font-variant-numeric: tabular-nums;
}
.ww-event-page .ww-timebox span {
display: block;
margin-top: 7px;
color: var(–ww-muted);
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.ww-event-page .ww-countdown-status {
min-height: 24px;
margin: 16px 0 0;
color: var(–ww-champagne);
font-weight: 800;
}
.ww-event-page .ww-flow {
position: relative;
background:
linear-gradient(180deg, rgba(16, 19, 21, 0), rgba(19, 16, 14, 0.92) 12%, rgba(17, 24, 22, 0.96) 52%, #101315 100%);
}
.ww-event-page .ww-section {
position: relative;
padding-block: clamp(64px, 9vw, 118px);
}
.ww-event-page .ww-section + .ww-section {
margin-top: -28px;
}
.ww-event-page .ww-section-head {
display: grid;
grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
gap: clamp(22px, 5vw, 68px);
align-items: end;
margin-bottom: clamp(26px, 5vw, 48px);
}
.ww-event-page .ww-section-title {
margin: 10px 0 0;
color: #fff9ef;
font-family: Georgia, “Times New Roman”, serif;
font-size: clamp(2.15rem, 5vw, 4rem);
line-height: 1;
letter-spacing: 0;
text-wrap: balance;
}
.ww-event-page .ww-section-copy {
margin: 0;
color: var(–ww-muted);
font-size: clamp(1rem, 1.5vw, 1.13rem);
}
.ww-event-page .ww-detail-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.ww-event-page .ww-card {
position: relative;
min-height: 230px;
padding: 24px;
border: 1px solid var(–ww-line);
border-radius: var(–ww-radius);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
rgba(255, 255, 255, 0.05);
box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
backdrop-filter: blur(16px);
overflow: hidden;
}
.ww-event-page .ww-card::after {
content: “”;
position: absolute;
inset: auto 18px 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(244, 216, 165, 0.48), transparent);
}
.ww-event-page .ww-card h3 {
margin: 18px 0 10px;
color: #fff;
font-size: 1.18rem;
line-height: 1.2;
letter-spacing: 0;
}
.ww-event-page .ww-card p {
margin: 0;
color: var(–ww-muted);
}
.ww-event-page .ww-card-mark {
display: inline-flex;
width: 42px;
height: 42px;
align-items: center;
justify-content: center;
border: 1px solid rgba(244, 216, 165, 0.26);
border-radius: 50%;
background: rgba(215, 161, 91, 0.12);
color: var(–ww-champagne);
font-weight: 900;
}
.ww-event-page .ww-experience {
display: grid;
grid-template-columns: 0.86fr 1.14fr;
gap: clamp(22px, 5vw, 58px);
align-items: center;
}
.ww-event-page .ww-experience-photo {
position: relative;
min-height: 560px;
border-radius: var(–ww-radius);
overflow: hidden;
box-shadow: var(–ww-shadow);
}
.ww-event-page .ww-experience-photo img {
width: 100%;
height: 100%;
min-height: 560px;
object-fit: cover;
}
.ww-event-page .ww-experience-photo::after {
content: “”;
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 44%, rgba(16, 19, 21, 0.64));
}
.ww-event-page .ww-feature-list {
display: grid;
gap: 14px;
}
.ww-event-page .ww-feature {
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
gap: 18px;
padding: 20px;
border: 1px solid var(–ww-line);
border-radius: var(–ww-radius-sm);
background: rgba(255, 255, 255, 0.055);
backdrop-filter: blur(14px);
}
.ww-event-page .ww-feature strong {
display: block;
margin-bottom: 5px;
color: #fff;
font-size: 1.05rem;
}
.ww-event-page .ww-feature p {
margin: 0;
color: var(–ww-muted);
}
.ww-event-page .ww-gallery-grid {
display: grid;
grid-template-columns: 1.18fr 0.82fr 1fr;
grid-auto-rows: 220px;
gap: 14px;
}
.ww-event-page .ww-gallery-item {
position: relative;
overflow: hidden;
border: 1px solid var(–ww-line);
border-radius: var(–ww-radius);
background: rgba(255, 255, 255, 0.06);
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}
.ww-event-page .ww-gallery-item:nth-child(1) {
grid-row: span 2;
}
.ww-event-page .ww-gallery-item:nth-child(4) {
grid-column: span 2;
}
.ww-event-page .ww-gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 700ms ease, filter 700ms ease;
}
.ww-event-page .ww-gallery-item:hover img {
transform: scale(1.045);
filter: saturate(1.08);
}
.ww-event-page .ww-location-panel {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
gap: 0;
overflow: hidden;
border: 1px solid var(–ww-line);
border-radius: var(–ww-radius);
background:
linear-gradient(135deg, rgba(244, 216, 165, 0.12), rgba(255, 255, 255, 0.045)),
rgba(255, 255, 255, 0.06);
box-shadow: var(–ww-shadow);
}
.ww-event-page .ww-location-copy {
padding: clamp(28px, 5vw, 56px);
}
.ww-event-page .ww-location-copy h2,
.ww-event-page .ww-rsvp h2 {
margin: 10px 0 18px;
color: #fff9ef;
font-family: Georgia, “Times New Roman”, serif;
font-size: clamp(2.1rem, 4.6vw, 3.75rem);
line-height: 1;
letter-spacing: 0;
}
.ww-event-page .ww-address {
margin: 22px 0 28px;
color: var(–ww-champagne);
font-style: normal;
font-weight: 850;
}
.ww-event-page .ww-location-image img {
width: 100%;
height: 100%;
min-height: 420px;
object-fit: cover;
}
.ww-event-page .ww-rsvp {
text-align: center;
padding-bottom: clamp(92px, 12vw, 156px);
}
.ww-event-page .ww-rsvp-card {
width: min(100%, 980px);
margin: 0 auto;
padding: clamp(32px, 6vw, 68px);
border: 1px solid var(–ww-line);
border-radius: calc(var(–ww-radius) + 8px);
background:
radial-gradient(circle at 22% 0%, rgba(215, 161, 91, 0.22), transparent 28rem),
linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.052)),
rgba(7, 9, 10, 0.72);
box-shadow: var(–ww-shadow);
}
.ww-event-page .ww-rsvp p {
max-width: 680px;
margin: 0 auto 28px;
color: var(–ww-muted);
font-size: clamp(1.03rem, 1.7vw, 1.18rem);
}
.ww-event-page .ww-copy-code {
border: 0;
cursor: pointer;
}
.ww-event-page .ww-sticky {
position: fixed;
left: 50%;
bottom: 22px;
z-index: 999;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 18px;
align-items: center;
width: min(calc(100% – 42px), 1000px);
padding: 12px;
border: 1px solid rgba(244, 216, 165, 0.24);
border-radius: 999px;
background: rgba(13, 17, 19, 0.86);
box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
backdrop-filter: blur(18px);
transform: translate(-50%, 120%);
opacity: 0;
pointer-events: none;
transition: transform var(–ww-transition), opacity var(–ww-transition);
}
.ww-event-page .ww-sticky.is-visible {
transform: translate(-50%, 0);
opacity: 1;
pointer-events: auto;
}
.ww-event-page .ww-sticky-title {
display: block;
color: #fff;
font-weight: 900;
}
.ww-event-page .ww-sticky-meta {
display: block;
color: var(–ww-muted);
font-size: 0.86rem;
}
.ww-event-page .ww-sticky-actions {
display: flex;
gap: 8px;
}
.ww-event-page .ww-sticky .ww-button {
min-height: 42px;
padding: 11px 16px;
font-size: 0.92rem;
}
.ww-event-page .ww-toast {
position: fixed;
right: 22px;
bottom: 96px;
z-index: 1000;
max-width: 320px;
padding: 12px 15px;
border: 1px solid var(–ww-line);
border-radius: 14px;
background: rgba(13, 17, 19, 0.92);
color: #fff;
box-shadow: var(–ww-shadow);
opacity: 0;
transform: translateY(12px);
transition: opacity var(–ww-transition), transform var(–ww-transition);
pointer-events: none;
}
.ww-event-page .ww-toast.is-visible {
opacity: 1;
transform: translateY(0);
}
.ww-event-page .ww-reveal {
opacity: 0;
transform: translateY(22px);
transition: opacity 700ms ease, transform 700ms ease;
}
.ww-event-page .ww-reveal.is-visible {
opacity: 1;
transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
.ww-event-page,
.ww-event-page * {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
.ww-event-page .ww-reveal {
opacity: 1;
transform: none;
}
}
@media (max-width: 1024px) {
.ww-event-page .ww-hero-inner,
.ww-event-page .ww-section-head,
.ww-event-page .ww-experience,
.ww-event-page .ww-location-panel {
grid-template-columns: 1fr;
}
.ww-event-page .ww-countdown-card {
max-width: 620px;
}
.ww-event-page .ww-detail-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ww-event-page .ww-experience-photo,
.ww-event-page .ww-experience-photo img {
min-height: 420px;
}
}
@media (max-width: 760px) {
.ww-event-page .ww-hero {
min-height: 860px;
}
.ww-event-page .ww-hero-inner {
padding-block: 72px 34px;
}
.ww-event-page .ww-hero-meta li {
width: 100%;
}
.ww-event-page .ww-actions .ww-button,
.ww-event-page .ww-rsvp .ww-button {
width: 100%;
}
.ww-event-page .ww-countdown {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ww-event-page .ww-detail-grid,
.ww-event-page .ww-gallery-grid {
grid-template-columns: 1fr;
}
.ww-event-page .ww-gallery-grid {
grid-auto-rows: 250px;
}
.ww-event-page .ww-gallery-item:nth-child(1),
.ww-event-page .ww-gallery-item:nth-child(4) {
grid-row: auto;
grid-column: auto;
}
.ww-event-page .ww-feature {
grid-template-columns: 1fr;
}
.ww-event-page .ww-location-image img {
min-height: 280px;
}
.ww-event-page .ww-sticky {
left: 12px;
right: 12px;
bottom: 12px;
width: auto;
transform: translateY(120%);
grid-template-columns: 1fr;
border-radius: 20px;
}
.ww-event-page .ww-sticky.is-visible {
transform: translateY(0);
}
.ww-event-page .ww-sticky-copy {
display: none;
}
.ww-event-page .ww-sticky-actions {
display: grid;
grid-template-columns: 1fr 1fr;
}
.ww-event-page .ww-sticky .ww-button {
min-height: 48px;
}
.ww-event-page .ww-toast {
left: 16px;
right: 16px;
bottom: 88px;
max-width: none;
}
}
@media (max-width: 380px) {
.ww-event-page .ww-shell {
padding-inline: 14px;
}
.ww-event-page .ww-hero-title {
font-size: 2.84rem;
}
.ww-event-page .ww-countdown-card {
padding: 18px;
}
.ww-event-page .ww-timebox strong {
font-size: 1.55rem;
}
}
An Evening at The Westwater
Content & Cocktails
Join us for an elevated afternoon of conversation, content, cocktails, and connection at The Westwater Kitchen & Lounge in Olympia.
Event Details
A polished content session with room to connect.
Come ready for professional headshots, social media support, self-service content stations, networking, giveaways, and a Westwater happy hour for anyone who wants to stay.
When
Thursday, June 11, 2026 from 12:00 PM-2:00 PM. Happy hour starts at 2:30 PM.
Where
The Westwater Kitchen & Lounge in Olympia, Washington.
What to Expect
Complimentary headshots, content stations, coaching from a social media director, and networking.
Reserve
Text SOCIAL to 35620. RSVPs are due by Thursday, June 4.
The Experience
Content creation, elevated by a lounge setting.
Refresh your profile, website bio, email signature, and social channels with a complimentary headshot.
Capture short-form video, personal-brand clips, and photo content with light coaching available.
Enjoy The Westwater’s exclusive menu for snacks and cocktails, purchased separately.
Meet local professionals, connect with the BHGRE Northwest Home Team, and stay for giveaways.
Gallery
A warm, modern backdrop for content that feels current.
Venue imagery is staged editorially for review now. Swap these URLs with Moxi-hosted event photos when upload access is enabled.





Location
The Westwater Kitchen & Lounge
A modern Olympia restaurant and lounge with Pacific Northwest hospitality, polished interiors, cocktails, and a memorable setting for content and connection.
2402 Lakeridge Way SWOlympia, WA 98502
Ready to join us?
Reserve your spot for Content & Cocktails at The Westwater.
Text SOCIAL to 35620 to RSVP by Thursday, June 4. Space is limited for headshots and content stations.
(function () {
const EVENT_CONFIG = {
eventName: “Content & Cocktails”,
venueName: “The Westwater Kitchen & Lounge”,
eventStartISO: “2026-06-11T12:00:00-07:00”,
eventEndISO: “2026-06-11T16:30:00-07:00”,
primaryCtaLabel: “RSVP Now”,
primaryCtaUrl: “#ww-rsvp”,
secondaryCtaLabel: “Get Directions”,
secondaryCtaUrl: “https://www.google.com/maps/search/?api=1&query=The+Westwater+Kitchen+and+Lounge+Olympia+WA”
};
const root = document.querySelector(“.ww-event-page”);
if (!root) return;
const start = new Date(EVENT_CONFIG.eventStartISO).getTime();
const end = new Date(EVENT_CONFIG.eventEndISO).getTime();
const countdown = root.querySelector(“[data-countdown]”);
const status = root.querySelector(“[data-countdown-status]”);
const stickyMeta = root.querySelector(“[data-sticky-meta]”);
const fields = {
days: root.querySelector(“[data-days]”),
hours: root.querySelector(“[data-hours]”),
minutes: root.querySelector(“[data-minutes]”),
seconds: root.querySelector(“[data-seconds]”)
};
function pad(value) {
return String(Math.max(0, value)).padStart(2, “0”);
}
function setCountdownValues(days, hours, minutes, seconds) {
fields.days.textContent = pad(days);
fields.hours.textContent = pad(hours);
fields.minutes.textContent = pad(minutes);
fields.seconds.textContent = pad(seconds);
}
function updateCountdown() {
const now = Date.now();
if (Number.isNaN(start) || Number.isNaN(end)) {
status.textContent = “Event date coming soon.”;
if (stickyMeta) stickyMeta.textContent = “Date coming soon”;
setCountdownValues(0, 0, 0, 0);
return;
}
if (now >= end) {
status.textContent = “This event has ended.”;
if (stickyMeta) stickyMeta.textContent = “This event has ended”;
setCountdownValues(0, 0, 0, 0);
return;
}
if (now >= start) {
status.textContent = “Event is happening now.”;
if (stickyMeta) stickyMeta.textContent = “Happening now at The Westwater”;
setCountdownValues(0, 0, 0, 0);
return;
}
const diff = start – now;
const days = Math.floor(diff / 86400000);
const hours = Math.floor((diff % 86400000) / 3600000);
const minutes = Math.floor((diff % 3600000) / 60000);
const seconds = Math.floor((diff % 60000) / 1000);
setCountdownValues(days, hours, minutes, seconds);
status.textContent = “RSVPs are due by Thursday, June 4.”;
if (stickyMeta) stickyMeta.textContent = `${days} days until June 11`;
}
updateCountdown();
window.setInterval(updateCountdown, 1000);
root.querySelectorAll(‘a[href^=”#”]’).forEach((link) => {
link.addEventListener(“click”, (event) => {
const target = root.querySelector(link.getAttribute(“href”));
if (!target) return;
event.preventDefault();
target.scrollIntoView({ behavior: “smooth”, block: “start” });
});
});
const hero = root.querySelector(“[data-ww-hero]”);
const sticky = root.querySelector(“[data-sticky-event-bar]”);
if (hero && sticky && “IntersectionObserver” in window) {
const heroObserver = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
sticky.classList.toggle(“is-visible”, !entry.isIntersecting);
});
}, { threshold: 0.08 });
heroObserver.observe(hero);
}
const revealItems = root.querySelectorAll(“.ww-reveal”);
if (“IntersectionObserver” in window) {
const revealObserver = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add(“is-visible”);
revealObserver.unobserve(entry.target);
}
});
}, { threshold: 0.14, rootMargin: “0px 0px -8% 0px” });
revealItems.forEach((item, index) => {
item.style.transitionDelay = `${Math.min(index % 5, 4) * 70}ms`;
revealObserver.observe(item);
});
} else {
revealItems.forEach((item) => item.classList.add(“is-visible”));
}
const toast = root.querySelector(“[data-ww-toast]”);
const copyButtons = root.querySelectorAll(“[data-copy-rsvp]”);
function showToast(message) {
if (!toast) return;
toast.textContent = message;
toast.classList.add(“is-visible”);
window.clearTimeout(showToast.timeout);
showToast.timeout = window.setTimeout(() => toast.classList.remove(“is-visible”), 2600);
}
copyButtons.forEach((button) => {
button.addEventListener(“click”, async () => {
const text = “SOCIAL to 35620”;
try {
await navigator.clipboard.writeText(text);
showToast(“RSVP code copied: SOCIAL to 35620”);
} catch (error) {
showToast(“RSVP code: SOCIAL to 35620”);
}
});
});
})();