/* Bash: a piñata-bright party invite. Tokens below; Titan One for bubbly headlines, Fredoka for body text. */
:root {
  --bg: #ffffff;          /* page ground */
  --ink: #1d1239;         /* text, outlines and hard shadows */
  --pink: #ff2e8b;        /* hero ground, piñata stripe, card shadow */
  --sun: #ffd400;         /* tiles, buttons, headline fill on pink */
  --aqua: #17c3e8;        /* map band and tile */
  --tangerine: #ff7a1a;   /* wishlist hero and tile */
  --violet: #6f3cf0;      /* closing band and tile */
  --font-display: 'Titan One', 'Arial Rounded MT Bold', Arial, sans-serif; /* bubbly headlines */
  --font-body: 'Fredoka', Arial, sans-serif; /* rounded body text */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.5; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1; }
h3 { font-size: 24px; line-height: 1.15; }
a { color: inherit; }
dd, dt { margin: 0; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -90px; z-index: 30; padding: 10px 16px; background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.lede { font-size: clamp(19px, 2vw, 22px); max-width: 34em; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 4px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); font-family: var(--font-display); font-size: 19px; line-height: 1.1; text-decoration: none; box-shadow: 0 6px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-ghost { background: #ffffff; }
.btn-ink { background: var(--ink); color: #ffffff; box-shadow: 0 6px 0 #ffffff; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 17px; box-shadow: 0 4px 0 var(--ink); max-width: 100%; text-align: center; }
.bubble { color: var(--sun); -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--ink), 0 .12em 0 var(--ink); letter-spacing: .01em; }
.bubble-ink { color: var(--pink); }
.bubble-violet { color: var(--violet); }
.bubble-white { color: #ffffff; }

/* header and mobile menu (a details disclosure; script.js opens it on wide screens) */
.top { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, calc((100% - 1200px) / 2)); background: var(--ink); color: #ffffff; }
.wordmark { font-family: var(--font-display); font-size: 24px; color: var(--sun); text-decoration: none; }
@media (max-width: 767px) { .top > .btn-small { display: none; } }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 3px solid #ffffff; border-radius: 999px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 12px); z-index: 20; min-width: 210px; padding: 8px; background: var(--sun); color: var(--ink); border: 4px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--pink); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; min-height: 44px; line-height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--ink); color: var(--sun); }
.menu.is-wide summary { display: none; }
.menu.is-wide nav { position: static; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.menu.is-wide ul { display: flex; gap: 6px; }
.menu.is-wide a { color: #ffffff; }
.menu.is-wide a:hover, .menu.is-wide a[aria-current="page"] { background: var(--pink); color: var(--ink); }

/* hero */
.hero { position: relative; overflow: clip; background: var(--pink); padding: 56px 0 80px; border-bottom: 4px solid var(--ink); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.hero .kicker, .hero .lede { color: var(--ink); }
.hero h1.bubble { font-size: clamp(52px, 12vw, 176px); }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pinata-btn { position: relative; justify-self: center; width: min(78vw, 380px); padding: 0; border: 0; background: none; cursor: pointer; }
.pinata { width: 100%; height: auto; transform-origin: 50% 0; }
.pinata-btn.is-hit .pinata { animation: whack .6s ease-in-out; }
.pinata-note { position: absolute; right: -6px; bottom: 6px; padding: 4px 14px; background: #ffffff; border: 3px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 15px; transform: rotate(-6deg); }
.balloons { position: absolute; top: -10px; right: -20px; z-index: 0; width: 120px; animation: bob 7s ease-in-out infinite; }
@keyframes whack { 0% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .pinata-btn { width: min(100%, 460px); }
  .balloons { width: 260px; top: -40px; right: -30px; }
}

/* details tiles */
.details { padding: 88px 0; }
.details .bubble { margin-bottom: 44px; font-size: clamp(44px, 6vw, 84px); }
.tiles { display: grid; gap: 28px; }
@media (min-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { padding: 26px; background: var(--sun); border: 4px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); }
.tile:nth-child(odd) { transform: rotate(-1.2deg); }
.tile:nth-child(even) { transform: rotate(1deg); }
.tile-aqua { background: var(--aqua); }
.tile-tangerine { background: var(--tangerine); }
.tile-violet { background: var(--violet); color: #ffffff; }
.tile h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-body); font-weight: 600; }
.tile .big { margin-top: 12px; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; }
.tile p + p { margin-top: 12px; }

/* map band */
.map { background: var(--aqua); padding: 88px 0; border-bottom: 4px solid var(--ink); }
.map-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1fr 1.1fr; } }
.map .bubble { font-size: clamp(40px, 5vw, 72px); margin-bottom: 20px; }
.map address { font-style: normal; font-size: 20px; font-weight: 600; margin: 20px 0; }
.map-img { border: 4px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); background: #ffffff; }

/* closing band */
.closing { padding: 96px 0; background: var(--violet); color: #ffffff; text-align: center; overflow: clip; }
.closing .bubble { font-size: clamp(44px, 7vw, 96px); }
.closing p { max-width: 30em; margin: 22px auto 0; font-size: 20px; }
.closing .btn { margin-top: 32px; }

/* page heroes (rsvp, wishlist, photos, faq, privacy, 404) */
.page-hero { padding: 72px 0 80px; border-bottom: 4px solid var(--ink); }
.page-hero .bubble { font-size: clamp(50px, 9vw, 128px); }
.hero-sun { background: var(--sun); }
.hero-sun .bubble { color: var(--violet); }
.hero-tangerine { background: var(--tangerine); }
.hero-aqua { background: var(--aqua); }
.hero-tangerine .bubble, .hero-aqua .bubble { color: #ffffff; }
.hero-tangerine .kicker, .hero-tangerine .lede, .hero-aqua .kicker, .hero-aqua .lede, .hero-sun .kicker, .hero-sun .lede { color: var(--ink); }
.rsvp-section, .faq-section, .steps-section, .shots-section, .gifts, .prose { padding: 72px 0; }
.rsvp-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .rsvp-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.rsvp-section h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 18px; }
.rsvp-section p { font-size: 19px; max-width: 32em; }
.card { padding: 28px; background: #ffffff; border: 4px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); }
.card p + p { margin-top: 14px; }
.card-title { font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.big-link { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); color: var(--ink); text-decoration: none; }
.big-link:hover { color: var(--pink); }
.card a { font-weight: 600; }

.rsvp-form { display: grid; gap: 10px; padding: 28px; background: #ffffff; border: 4px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); }
.rsvp-form label, .rsvp-form legend { font-weight: 600; }
.rsvp-form input:not([type="radio"]), .rsvp-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; background: #ffffff; }
.rsvp-form fieldset { margin: 8px 0; padding: 0; border: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; }
.rsvp-form input[type="radio"] { width: 24px; height: 24px; accent-color: var(--pink); }
.rsvp-form button { justify-self: start; min-height: 52px; padding: 12px 26px; border: 4px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); font: 19px/1.1 var(--font-display); box-shadow: 0 6px 0 var(--ink); cursor: pointer; }

/* wishlist tags */
.gifts h2 { font-size: clamp(40px, 5vw, 68px); }
.tags { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 30px; }
@media (min-width: 700px) { .tags { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tags { grid-template-columns: repeat(3, 1fr); } }
.tag { position: relative; padding: 40px 24px 26px; background: #ffffff; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--pink); }
.tag:nth-child(3n+2) { background: var(--sun); }
.tag:nth-child(3n) { background: var(--aqua); }
.tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border: 4px solid var(--ink); border-radius: 50%; background: #ffffff; }
.tag p + p { margin-top: 12px; }
.tag .price { font-family: var(--font-display); font-size: 28px; }
.tag a { font-weight: 600; }
.gifts .note { margin-top: 36px; font-size: 19px; }

/* photos */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 34px 24px 26px; background: #ffffff; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border: 4px solid var(--ink); border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--font-display); font-size: 24px; }
.steps li p { margin-top: 12px; }
.step-title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.shots { display: grid; gap: 22px; }
@media (min-width: 800px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 4px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); }
.shots-section { padding-top: 0; }

/* faq */
.faq { display: grid; gap: 14px; max-width: 46em; }
.faq dt { font-family: var(--font-display); font-size: 24px; line-height: 1.2; margin-top: 18px; color: var(--pink); }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin-top: 6px; font-size: 19px; }
.faq a { font-weight: 600; }

/* prose (privacy, 404) */
.prose p { max-width: 40em; margin-top: 18px; font-size: 20px; }
.prose .btn { margin-top: 28px; }

/* footer */
.foot { padding: 56px 0 64px; background: var(--ink); color: #ffffff; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; align-items: end; } }
.foot a { color: var(--sun); }
.foot-title { font-family: var(--font-display); font-size: 30px; color: var(--sun); }
.foot address { font-style: normal; margin-top: 12px; font-size: 18px; }
.foot .small { margin-top: 16px; font-size: 16px; }
.foot .btn { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
