/* Fuzzy Wixmas — built from the Fuzzy Wixmas brand kit tokens */
@font-face { font-family: Bungee; src: url(/fonts/bungee.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 400; src: url(/fonts/montserrat-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 500; src: url(/fonts/montserrat-500.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 600; src: url(/fonts/montserrat-600.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 700; src: url(/fonts/montserrat-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 800; src: url(/fonts/montserrat-800.woff2) format('woff2'); font-display: swap; }

:root {
  --wix-pink: #FC3AA2; --pink-deep: #C91574; --wix-teal: #86D5D9; --lilac: #C86CF0;
  --night-navy: #16162A; --night-plum: #4A1F63; --santa-red: #E8173F; --tinsel-gold: #FFD84D;
  --bulb-blue: #2EB8FF; --fuzzy-ink: #0D0D0D; --snow: #FFFFFF; --blush: #FFF0F7; --cream: #FFF6EE;
  --font-display: Bungee, 'Arial Black', Impact, sans-serif;
  --font-sans: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --midnight: linear-gradient(160deg, #16162A 0%, #241838 55%, #4A1F63 100%);
  --snow-bg: linear-gradient(135deg, #FFF0F7 0%, #FFF6EE 100%);
}
/* Snow = light theme */
.theme-snow {
  --surface: #FFF0F7; --surface-raised: #FFFFFF; --ink: #0D0D0D; --ink-muted: #5F5F5F; --line: #F0DCE7;
  --accent: #FC3AA2; --accent-text: #C91574; --on-accent: #0D0D0D; --focus: #0B7FC4;
  --success: #0F7A6E; --danger: #C8102E; --shadow-card: 0 4px 16px rgba(201, 21, 116, .08);
  background-color: #FFF0F7; background-image: var(--snow-bg);
}
/* Midnight = dark theme (the lead look) */
.theme-midnight {
  --surface: #16162A; --surface-raised: #241838; --ink: #FFFFFF; --ink-muted: #B8B8CC; --line: #3A2E52;
  --accent: #FC3AA2; --accent-text: #FF7AC0; --on-accent: #0D0D0D; --focus: #64F0FF;
  --success: #86D5D9; --danger: #FF6B81; --shadow-card: none; --drift: var(--snow);
  background-color: #16162A; background-image: var(--midnight);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { background: #16162A; }
body { margin: 0; font-family: var(--font-sans); font-weight: 500; font-size: 16px; line-height: 24px; color: var(--ink); min-height: 100vh; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 18px; font-weight: 600; }
.mt { margin-top: var(--space-6); }
.link { color: var(--accent-text); font-weight: 700; text-underline-offset: 3px; }

/* type */
.eyebrow { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 var(--space-2); }
.theme-midnight .eyebrow { color: var(--wix-teal); }
.display-lg, .display-md, .display-sm { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; margin: 0 0 var(--space-3); }
.display-lg { font-size: clamp(30px, 6vw, 40px); line-height: 1.05; }
.display-md { font-size: clamp(26px, 4.5vw, 34px); line-height: 1.1; }
.display-sm { font-size: 22px; line-height: 26px; }
.lead { font-size: 18px; line-height: 28px; color: var(--ink-muted); margin: 0 0 var(--space-6); }
.narrow { max-width: 680px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 12px 26px; border-radius: var(--radius-pill); border: 2px solid transparent; font: 800 16px/20px var(--font-sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(252, 58, 162, .35); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(252, 58, 162, .45); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0 var(--space-4); }
.actions.center { justify-content: center; }

/* hero / decoration */
.hero { position: relative; overflow: hidden; text-align: center; color: #fff; }
.lights { position: absolute; top: -8px; left: 0; right: 0; height: 72px; background: url(/img/brand/fairy-light-strand.svg) repeat-x; background-size: 450px 60px; z-index: 2; animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { filter: brightness(1); } to { filter: brightness(1.25) saturate(1.2); } }
.snowfall { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.snowfall i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o); animation: drift var(--d) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(-6px); } to { transform: translateY(10px); } }
.hero-guest { padding: 72px var(--space-4) 8px; }
.hero-logo { position: relative; z-index: 1; display: inline-block; }
.hero-guest .logo { width: min(300px, 70vw); }
.hero-info { padding: 88px var(--space-4) 0; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding-bottom: 150px; }
.logo-hero { width: min(520px, 88vw); margin: var(--space-2) auto 0; display: block; }
.tagline { font-weight: 800; font-size: clamp(20px, 3.5vw, 26px); line-height: 1.25; text-transform: lowercase; margin: var(--space-4) 0 var(--space-6); }
.tagline .dot { color: var(--wix-pink); }
.hero-note { font-weight: 600; color: var(--ink-muted); }
.drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 150px; z-index: 1; }
.hero-trees { position: absolute; left: 0; right: 0; bottom: 92px; height: 0; z-index: 1; }
.tr { position: absolute; bottom: -14px; height: auto; }
.tr1 { left: 2%; width: 74px; } .tr2 { left: 8.5%; width: 48px; bottom: -6px; }
.tr3 { right: 8.5%; width: 52px; bottom: -6px; } .tr4 { right: 2%; width: 82px; }
@media (max-width: 640px) { .hero-trees { bottom: 100px; } .tr1 { width: 46px; } .tr2 { width: 30px; left: 13%; } .tr3 { width: 32px; right: 13%; } .tr4 { width: 50px; } }
@media (prefers-reduced-motion: reduce) { .lights, .snowfall i { animation: none; } .btn { transition: none; } }

/* details strip */
.details { display: grid; grid-template-columns: 1fr 1fr 1.3fr; margin: var(--space-6) 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface-raised) 70%, transparent); text-align: center; }
.details > div { padding: var(--space-4) var(--space-3); border-left: 1px solid var(--line); }
.details > div:first-child { border-left: 0; }
.details dt { margin: 0 0 4px; }
.details dd { margin: 0; font-weight: 800; font-size: 17px; line-height: 22px; color: var(--ink); }
.details small { display: block; font-weight: 600; font-size: 13px; color: var(--ink-muted); }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; } .details > div { border-left: 0; border-top: 1px solid var(--line); } .details > div:first-child { border-top: 0; } }

/* cards */
.card { border-radius: var(--radius-md); padding: var(--space-6); }
.card-raised { background: var(--surface-raised); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.card-light { background: #fff; color: #0D0D0D; border: 1px solid #F0DCE7; box-shadow: 0 4px 16px rgba(201, 21, 116, .08); }
@media (min-width: 640px) { .card { padding: var(--space-8); } }

/* guest pages */
.guest-main { position: relative; z-index: 1; max-width: 640px; margin: var(--space-6) auto var(--space-12); padding: 0 var(--space-4); }
.status { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 700; }
.status-yes { background: rgba(134, 213, 217, .12); color: var(--success); }
.status-no { background: rgba(255, 107, 129, .1); color: var(--danger); }
.deadline { color: var(--ink-muted); }
.summary { margin: 0 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.summary div { display: flex; gap: var(--space-4); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line); }
.summary div:first-child { border-top: 0; }
.summary dt { width: 90px; flex: none; color: var(--ink-muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 700; word-break: break-word; }
.alert { background: rgba(255, 107, 129, .12); color: var(--danger); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-weight: 700; }

/* forms */
.form { display: grid; gap: var(--space-4); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 14px; padding: 0; }
.field em { font-weight: 500; font-style: normal; color: var(--ink-muted); }
.field small { color: var(--ink-muted); font-size: 13px; }
input, textarea, select { font: 500 16px/22px var(--font-sans); color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; width: 100%; }
.card-light input, .card-light textarea, .card-light select, .theme-snow input, .theme-snow select { background: #fff; color: #0D0D0D; border-color: #E9CFDD; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
textarea { resize: vertical; }
input.readonly { opacity: .75; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.chip { font: 700 13px/16px var(--font-sans); padding: 8px 14px; border-radius: var(--radius-pill); border: 2px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.form-msg { margin: 0; min-height: 20px; font-weight: 700; font-size: 14px; }
.form-msg.ok { color: var(--success); }
.form-msg.bad { color: var(--danger); }

/* info page */
.info-main { background: var(--snow-bg); color: #0D0D0D; --ink: #0D0D0D; --ink-muted: #5F5F5F; --accent-text: #C91574; --line: #F0DCE7; --focus: #0B7FC4; }
.info-main .eyebrow { color: #C91574; }
.section { max-width: 1080px; margin: 0 auto; padding: var(--space-12) var(--space-4); }
.section-tint { max-width: none; background: #fff; }
.section-tint > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.cards-3, .cards-2 { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-icon { width: 36px; height: 36px; margin-bottom: var(--space-3); }
.card p { margin: 0; }
.badge { display: inline-block; font: 700 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--blush); color: var(--pink-deep); margin-bottom: var(--space-3); }
.badge-fuzzy { background: #0D0D0D; color: #fff; }
.badge-wixguys { background: #FFE0F0; color: var(--pink-deep); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-8); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.address { font-weight: 800; font-size: 18px; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius-md); box-shadow: 0 4px 16px rgba(201, 21, 116, .12); }
.faq details { background: #fff; border: 1px solid #F0DCE7; border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); margin-top: var(--space-3); }
.section-tint .faq details { background: var(--blush); }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: var(--space-2) 0 0; color: #5F5F5F; }
.btn-on-dark { color: #fff; border-color: #fff; }

/* footer + hosts */
.site-footer { position: relative; z-index: 1; text-align: center; padding: var(--space-8) var(--space-4) var(--space-12); }
.site-footer-dark { background: var(--midnight); color: #fff; }
.hosts { display: inline-flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }
.hosts .eyebrow { margin: 0; color: var(--ink-muted); }
.site-footer-dark .hosts .eyebrow, .theme-midnight .site-footer .hosts .eyebrow { color: #B8B8CC; }
.host-fl { height: 34px; width: auto; }
.host-wg { height: 44px; width: auto; }
.amp { font-family: var(--font-display); color: var(--wix-pink); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: var(--space-4); }
.login-card { width: min(420px, 100%); }
.logo-login { width: 220px; display: block; margin: 0 auto var(--space-4); }
.sent .display-sm { margin-top: var(--space-4); }
.demo-note { background: var(--blush); border-radius: var(--radius-sm); padding: var(--space-3); margin-top: var(--space-4); }

/* dashboard */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-6); background: #fff; border-bottom: 1px solid #F0DCE7; position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
.logo-top { width: 120px; display: block; }
.topnav { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; font-weight: 700; font-size: 14px; }
.topnav a, .linkish { color: #0D0D0D; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.topnav a:hover, .linkish:hover { color: var(--pink-deep); }
.who .badge { margin: 0 0 0 4px; vertical-align: middle; }
.inline { display: inline; }
.banner { background: #16162A; color: #fff; padding: var(--space-3) var(--space-6); font-weight: 600; font-size: 14px; }
.banner a { color: var(--wix-teal); }
.banner-warn { background: #FFF4D6; color: #5A4200; }
.admin { max-width: 1240px; margin: 0 auto; padding: var(--space-6) var(--space-4) var(--space-16); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid #F0DCE7; border-radius: var(--radius-md); padding: var(--space-4); display: flex; flex-direction: column; }
.stat-n { font-family: var(--font-display); font-size: 34px; line-height: 38px; }
.stat-l { font-weight: 700; font-size: 13px; color: #5F5F5F; }
.stat-yes { background: #16162A; color: #fff; border-color: #16162A; }
.stat-yes .stat-l { color: var(--wix-teal); }
.stat-wait .stat-n { color: var(--pink-deep); }
.admin-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.place { margin-top: var(--space-4); }
.place-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); font-size: 14px; }
.place .badge { margin: 0; }
.bar { height: 12px; border-radius: var(--radius-pill); background: #F7E6EF; margin-top: var(--space-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wix-pink), var(--lilac)); }
.steps { padding-left: 18px; margin: 0; color: #5F5F5F; }
.steps li { margin-bottom: 6px; }
.guests-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.guests-head h2 { margin: 0; }
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.filters select, .filters input { width: auto; min-width: 170px; padding: 9px 12px; font-size: 14px; }
.seg { display: inline-flex; background: var(--blush); border-radius: var(--radius-pill); padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button, .seg a { font: 700 13px/16px var(--font-sans); border: 0; background: transparent; padding: 8px 14px; border-radius: var(--radius-pill); cursor: pointer; color: #0D0D0D; text-decoration: none; }
.seg [aria-pressed="true"] { background: #0D0D0D; color: #fff; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.table th { text-align: left; font: 700 11px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #5F5F5F; padding: var(--space-2) var(--space-3); border-bottom: 2px solid #F0DCE7; white-space: nowrap; }
.table td { padding: var(--space-3); border-bottom: 1px solid #F6E6EE; vertical-align: top; }
.table .sub { display: block; font-size: 12px; color: #5F5F5F; font-weight: 600; }
.table .badge { margin: 0; white-space: nowrap; }
.table .notes { max-width: 240px; }
.table .wa { color: #0F7A6E; }
.pill { display: inline-block; font: 800 12px/16px var(--font-sans); padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.pill-attending { background: #DDF4F5; color: #0F7A6E; }
.pill-invited { background: #FFF0F7; color: #C91574; }
.pill-declined { background: #FDE4E8; color: #C8102E; }
.row-actions { width: 40px; text-align: right; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 20px; line-height: 20px; padding: 6px 10px; border-radius: var(--radius-sm); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--blush); }
.menu-list { position: absolute; right: 0; top: 100%; z-index: 4; background: #fff; border: 1px solid #F0DCE7; border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgba(22, 22, 42, .15); min-width: 220px; padding: 6px; display: grid; }
.menu-list button { text-align: left; font: 600 14px/20px var(--font-sans); border: 0; background: none; padding: 8px 10px; border-radius: 6px; cursor: pointer; color: #0D0D0D; }
.menu-list button:hover { background: var(--blush); }
.menu-list .danger { color: #C8102E; }
.empty { text-align: center; color: #5F5F5F; padding: var(--space-8); }
@media (max-width: 760px) {
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 2px solid #F0DCE7; padding: var(--space-2) 0; position: relative; }
  .table td { display: flex; gap: var(--space-3); border: 0; padding: 4px var(--space-2); }
  .table td::before { content: attr(data-label); flex: 0 0 90px; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5F5F5F; }
  .table td:first-child { display: block; } .table td:first-child::before { display: none; }
  .row-actions { position: absolute; top: 4px; right: 0; width: auto; }
  .row-actions::before { display: none; }
  .filters, .filters select, .filters input { width: 100%; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); opacity: 0; visibility: hidden; background: #16162A; color: #fff; padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 700; transition: transform .25s ease; z-index: 10; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast.bad { background: #C8102E; }
.email-frame { width: 100%; height: 1100px; border: 1px solid #F0DCE7; border-radius: var(--radius-md); margin-top: var(--space-4); background: #16162A; }
