/* ==========================================================================
   Gay Christmas: Last Night on Earth
   Crimson-black glow · metallic glitter type · neon script · disco + tinsel
   ========================================================================== */

:root {
  --ink: #070103;
  --night: #120205;
  --blood: #3d0009;
  --crimson: #8f0016;
  --red: #e0102c;
  --neon: #ff2442;
  --neon-hot: #ffd5da;
  --gold: #e8c46a;
  --gold-deep: #9c7426;
  --silver: #e7eaee;
  --text: #f6e9ea;
  --muted: #c9a9ad;
  --line: rgba(232, 196, 106, 0.28);
  --card: rgba(20, 3, 6, 0.72);
  --radius: 18px;

  --f-display: "Limelight", "Didot", "Bodoni 72", serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --f-body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --metal: linear-gradient(
    100deg,
    #8b6a2b 0%,
    #f7e7b1 12%,
    #c39a3a 24%,
    #fff8e1 33%,
    #a7acb3 44%,
    #f4f6f8 52%,
    #8e949b 60%,
    #f2d991 72%,
    #b0852b 84%,
    #fff3c9 94%,
    #8b6a2b 100%
  );
  --sparkle:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.95) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 70% 75%, rgba(255, 250, 220, 0.85) 0 0.6px, transparent 1.2px),
    radial-gradient(circle at 55% 15%, rgba(255, 255, 255, 0.7) 0 0.5px, transparent 1px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 60% at 50% -5%, rgba(224, 16, 44, 0.55), transparent 60%),
    radial-gradient(80% 50% at 0% 40%, rgba(143, 0, 22, 0.45), transparent 70%),
    radial-gradient(70% 45% at 100% 70%, rgba(143, 0, 22, 0.4), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(110, 0, 16, 0.6), transparent 70%),
    linear-gradient(180deg, var(--night), var(--ink) 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}

::selection { background: var(--neon); color: #fff; }

a { color: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.muted { color: var(--muted); }

/* ---------- atmosphere layers ---------- */
.glitterfall {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.layout {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px 48px;
}

/* ==========================================================================
   Glitter + neon type
   ========================================================================== */
.glitter {
  display: inline-block;
  background-image: var(--sparkle), var(--metal);
  background-size: 9px 11px, 13px 7px, 6px 9px, 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
  filter:
    drop-shadow(0 1px 0 rgba(60, 30, 0, 0.9))
    drop-shadow(0 0 10px rgba(255, 36, 66, 0.45))
    drop-shadow(0 0 28px rgba(224, 16, 44, 0.35));
}

@keyframes shimmer {
  from { background-position: 0 0, 0 0, 0 0, 0% 50%; }
  to   { background-position: 18px 22px, -13px 14px, 6px -18px, 100% 50%; }
}

.neon {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 400;
  color: var(--neon-hot);
  text-shadow:
    0 0 1px #fff,
    0 0 4px var(--neon),
    0 0 10px var(--neon),
    0 0 22px var(--red),
    0 0 44px var(--red),
    0 0 80px rgba(224, 16, 44, 0.8);
  animation: flicker 6s infinite;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.55; text-shadow: 0 0 2px var(--neon), 0 0 8px var(--red); }
}

/* ==========================================================================
   FLYER
   ========================================================================== */
.flyer-wrap { position: relative; }

.flyer {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(65% 45% at 50% 30%, rgba(255, 36, 66, 0.55), transparent 70%),
    radial-gradient(120% 80% at 50% 100%, #4a000b, transparent 70%),
    linear-gradient(180deg, #1c0207 0%, #0a0103 55%, #2a0008 100%);
  box-shadow:
    0 0 0 1px rgba(232, 196, 106, 0.35),
    0 30px 80px -20px rgba(224, 16, 44, 0.65),
    0 0 120px -10px rgba(143, 0, 22, 0.7);
  animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* the flyer artwork, with its printed RSVP button made tappable */
.flyer__art { position: relative; }
.flyer__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1199 / 1312;
}
.flyer__rsvp {
  position: absolute;
  left: 34.5%;
  top: 82.8%;
  width: 31.5%;
  height: 9.6%;
  border-radius: 10px;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow .25s ease, background-color .25s ease;
}
.flyer__rsvp:hover { background: rgba(255, 215, 130, 0.08); box-shadow: 0 0 28px 4px rgba(255, 196, 90, 0.45); }
.flyer__rsvp:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* date + place strip under the artwork */
.flyer__when {
  margin: 0;
  padding: 12px 16px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 12px;
  border-top: 1px solid rgba(232, 196, 106, 0.35);
  background: linear-gradient(180deg, #1a0206, #0b0103);
  font-family: var(--f-display);
  font-size: clamp(0.95rem, 4.4vw, 1.15rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  text-align: center;
}
.flyer__when b { color: var(--neon); font-weight: 400; text-shadow: 0 0 10px var(--neon); font-size: 0.8em; }
.flyer__when small {
  flex-basis: 100%;
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--f-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a0306;
  background: var(--metal);
  background-size: 220% 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 10px 30px -8px rgba(224, 16, 44, 0.8),
    0 0 24px rgba(255, 36, 66, 0.35);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-position .6s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta:hover { background-position: 100% 0; transform: translateY(-1px); }
.cta:active { transform: translateY(1px) scale(0.99); }
.cta:focus-visible { outline: 2px solid var(--neon); outline-offset: 4px; }

.cta--submit { width: 100%; margin-top: 8px; }
.cta--submit[disabled] { opacity: 0.7; cursor: progress; }
.cta--submit.is-loading .cta__label::after {
  content: "";
  display: inline-block;
  width: 1em;
  margin-left: 0.2em;
  text-align: left;
  animation: dots 1.2s steps(4) infinite;
}
@keyframes dots {
  0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; }
}

.link-btn {
  background: none;
  border: 0;
  padding: 8px 4px;
  font: inherit;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ==========================================================================
   Content sections
   ========================================================================== */
.content { padding-top: 54px; }

section { margin: 0 0 44px; }

.eyebrow {
  margin: 0 0 16px;
  font: 500 0.72rem/1 var(--f-body);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.section-title {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 9vw, 2.6rem);
  line-height: 1;
  text-align: center;
}
.section-title .neon { font-size: clamp(2.8rem, 13vw, 3.6rem); display: inline-block; transform: rotate(-3deg); }
.section-sub {
  margin: 6px auto 24px;
  max-width: 34ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

/* details */
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact {
  padding: 16px 16px 18px;
  background: linear-gradient(160deg, rgba(40, 4, 10, 0.92), rgba(14, 2, 4, 0.92));
}
.fact dt {
  margin-bottom: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(255, 36, 66, 0.6);
}
.fact dd { margin: 0; line-height: 1.35; font-weight: 450; }
.fact--dress { grid-column: 1 / -1; text-align: center; }
.dress {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 5.4vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--metal);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dress i { font-style: normal; color: var(--neon); -webkit-text-fill-color: var(--neon); }
.link { text-decoration: underline; text-decoration-color: rgba(232, 196, 106, 0.4); text-underline-offset: 3px; }
.link:hover { color: var(--gold); }

/* story */
.story {
  position: relative;
  padding: 6px 4px 0 22px;
  border-left: 1px solid var(--line);
}
.story p { margin: 0 0 1em; }
.story__lead {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 6.6vw, 1.9rem);
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 36, 66, 0.55);
}
.story__nos {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.story__big {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 6.4vw, 1.8rem);
  line-height: 1.15;
}

/* ==========================================================================
   RSVP card + form
   ========================================================================== */
.card {
  position: relative;
  padding: 28px 18px 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(224, 16, 44, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.card::before {
  /* tinsel top edge */
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: -1px;
  height: 2px;
  background: var(--metal);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(232, 196, 106, 0.5);
}

form { margin: 0; }

.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

label,
legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 550;
  font-size: 1rem;
  color: #fff;
}
.optional {
  margin-left: 6px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hint {
  margin: -4px 0 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.hint--lock { margin: 8px 0 0; font-size: 0.82rem; }

input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(232, 196, 106, 0.25);
  background: rgba(8, 1, 3, 0.75);
  color: #fff;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: rgba(201, 169, 173, 0.55); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--neon);
  background: rgba(20, 2, 6, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.22), 0 0 22px rgba(255, 36, 66, 0.25);
}
.is-invalid input[type="text"],
.is-invalid textarea { border-color: #ff6b7d; }

.error {
  margin: 6px 0 0;
  min-height: 0;
  font-size: 0.85rem;
  color: #ff8a97;
}
.error:empty { display: none; }

/* status pills */
.pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pill { margin: 0; cursor: pointer; position: relative; }
.pill input, .chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 6px;
  border-radius: 14px;
  border: 1px solid rgba(232, 196, 106, 0.25);
  background: rgba(8, 1, 3, 0.6);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  transition: all .2s ease;
}
.pill:hover span { border-color: rgba(232, 196, 106, 0.6); }
.pill input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
.pill input:checked + span {
  color: #1a0306;
  border-color: transparent;
  background: var(--metal);
  background-size: 200% 100%;
  box-shadow: 0 0 22px rgba(232, 196, 106, 0.35);
  font-weight: 650;
}
.pill--going input:checked + span {
  color: #fff;
  background: linear-gradient(160deg, #ff3550, #a3001a);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 26px rgba(255, 36, 66, 0.65);
}
.pill--cant input:checked + span {
  color: var(--text);
  background: rgba(60, 50, 52, 0.6);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.25);
}

/* attending block collapse */
.attending {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s ease, opacity .3s ease;
}
.attending > * { min-height: 0; }
.attending[disabled] {
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
}
.attending__inner { overflow: hidden; }

/* stepper */
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper input {
  width: 64px;
  text-align: center;
  padding: 12px 4px;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(232, 196, 106, 0.4);
  background: rgba(8, 1, 3, 0.7);
  color: var(--gold);
  font: 500 1.5rem/1 var(--f-body);
  cursor: pointer;
  transition: all .2s;
}
.stepper__btn:hover { border-color: var(--gold); box-shadow: 0 0 16px rgba(232, 196, 106, 0.3); }
.stepper__btn:active { transform: scale(0.94); }
.stepper__btn:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.stepper__label { color: var(--muted); font-size: 0.92rem; margin-left: 4px; }

/* chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.chip { position: relative; margin: 0; font-weight: 400; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 106, 0.3);
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(8, 1, 3, 0.5);
  transition: all .2s;
}
.chip:hover span { border-color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
.chip input:checked + span {
  color: #1a0306;
  background: var(--metal);
  background-size: 200% 100%;
  border-color: transparent;
  font-weight: 600;
}
.chip input:checked + span::before { content: "✦ "; white-space: pre; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 12px 0 0; text-align: center; color: #ff8a97; font-size: 0.92rem; }
.form-status:empty { display: none; }

/* thanks */
.thanks { text-align: center; padding: 10px 4px 4px; outline: none; }
.thanks__emoji {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  animation: sway 3s ease-in-out infinite;
  display: inline-block;
}
.thanks__title {
  margin: 12px 0 6px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 7vw, 2rem);
  line-height: 1.1;
}
.thanks__body { margin: 0 auto 18px; max-width: 34ch; color: var(--muted); }

.cta--ghost {
  min-height: 46px;
  color: var(--gold);
  background: transparent;
  box-shadow: 0 0 0 1px rgba(232, 196, 106, 0.55) inset;
}
.cta--ghost:hover { color: #1a0306; background: var(--metal); }

.link-btn--small { display: block; margin: 14px auto 0; font-size: 0.85rem; color: var(--muted); }

.editlink {
  margin: 22px 0 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(232, 196, 106, 0.45);
  background: rgba(8, 1, 3, 0.55);
  text-align: left;
}
.editlink__title { margin: 0 0 4px; font-weight: 550; color: #fff; }
.editlink__hint { margin: 0 0 12px; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.editlink__row { display: flex; gap: 8px; }
.editlink__row input[type="text"] { min-height: 44px; padding: 10px 12px; font-size: 14px; color: var(--muted); }
.editlink__copy {
  flex: none;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(232, 196, 106, 0.55);
  background: transparent;
  color: var(--gold);
  font: 600 0.8rem/1 var(--f-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.editlink__copy:hover, .editlink__copy.is-done { background: var(--gold); color: #1a0306; }

.form-switch { margin: 14px 0 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.form-switch[hidden] { display: none; }
.form-switch b { color: #fff; font-weight: 550; }
.form-status.is-info { color: var(--gold); }

/* ==========================================================================
   Guest list
   ========================================================================== */
.guests__head { text-align: center; margin-bottom: 18px; }
.guests__count {
  margin: 8px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  min-height: 1.2em;
}
.guests__count b { color: var(--neon); font-weight: 600; text-shadow: 0 0 10px rgba(255, 36, 66, 0.6); }

.guest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guest {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(232, 196, 106, 0.18);
  background: linear-gradient(150deg, rgba(38, 4, 10, 0.85), rgba(12, 2, 4, 0.85));
  animation: pop .5s cubic-bezier(.2, .8, .2, 1) both;
}
.guest::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}
.guest--maybe::before { background: var(--gold); box-shadow: 0 0 8px rgba(232, 196, 106, 0.6); opacity: 0.7; }
.guest--new { border-color: rgba(255, 36, 66, 0.55); box-shadow: 0 0 26px -6px rgba(255, 36, 66, 0.55); }

@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.guest__top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 6px;
}
.guest__name {
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  overflow-wrap: anywhere;
}
.guest__plus {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}
.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tag--maybe { color: var(--gold); border: 1px dashed rgba(232, 196, 106, 0.6); }
.tag--you { color: #fff; background: var(--neon); box-shadow: 0 0 12px rgba(255, 36, 66, 0.6); }

.guest__brings {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.guest__brings dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  padding-top: 0.25em;
}
.guest__brings dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.guest__type { color: var(--muted); font-size: 0.82rem; }

.guest--skeleton {
  height: 92px;
  border-color: rgba(232, 196, 106, 0.1);
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 0 0 / 200% 100%,
    rgba(26, 3, 7, 0.7);
  animation: sheen 1.4s linear infinite;
}
.guest--skeleton::before { display: none; }
@keyframes sheen { to { background-position: -200% 0, 0 0; } }

.guest-empty,
.guest-error {
  padding: 28px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(232, 196, 106, 0.3);
  text-align: center;
  color: var(--muted);
}
.guest-empty strong { display: block; color: #fff; font-weight: 550; margin-bottom: 4px; }

/* footer */
.foot { text-align: center; padding: 10px 0 20px; }
.foot .neon--xs { font-size: 1.7rem; margin-bottom: 6px; }
.foot .muted { margin: 0; font-size: 0.78rem; letter-spacing: 0.1em; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Larger screens: sticky flyer left, content right
   ========================================================================== */
@media (min-width: 600px) {
  .card { padding: 34px 30px 28px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact--dress { grid-column: 1 / -1; }
}

@media (min-width: 1020px) {
  .layout {
    width: min(100%, 1180px);
    display: grid;
    grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
    gap: 64px;
    padding: 40px 32px 64px;
    align-items: start;
  }
  .flyer-wrap { position: sticky; top: 32px; }
  .content { padding-top: 0; max-width: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* details grid: When + Hosts side by side, Where and Dress code full width on phones */
.fact--where { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .fact--where { grid-column: auto; }
}
