/* ==========================================================================
   Confetti Club — joyful primary-color party styles
   Palette:
     Sunshine yellow  #FFD23F   (dark text only)
     Cherry red       #D62828   (white text OK, 5.0:1)
     Sky blue (deep)  #1565C0   (white text OK, 5.4:1)
     Sky blue (light) #56B8FF   (decorative)
     Grass green      #2E7D32   (white text OK, 5.1:1)
     Grass green (lt) #58C95E   (decorative)
     Ink              #2D2A55   (primary text)
     Cream            #FFF7E0   (section background)
     Sky tint         #E8F3FF   (section background)
   ========================================================================== */

:root {
  --yellow: #FFD23F;
  --yellow-deep: #D9A800;
  --red: #D62828;
  --red-deep: #A61E1E;
  --blue: #1565C0;
  --blue-deep: #0D4A8F;
  --blue-light: #56B8FF;
  --green: #2E7D32;
  --green-light: #58C95E;
  --ink: #2D2A55;
  --cream: #FFF7E0;
  --sky-tint: #E8F3FF;
  --white: #FFFFFF;

  --font-display: "Fredoka", "Comic Sans MS", system-ui, sans-serif;
  --font-body: "Nunito", "Trebuchet MS", system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 8px 0 rgba(45, 42, 85, 0.12);
  --shadow-pop: 0 14px 0 rgba(45, 42, 85, 0.14);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--white);
  /* confetti sprinkle pattern: dots + squiggle, very low density */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Ccircle cx='30' cy='40' r='4' fill='%23FFD23F' opacity='0.5'/%3E%3Ccircle cx='200' cy='80' r='3.5' fill='%2356B8FF' opacity='0.45'/%3E%3Ccircle cx='120' cy='200' r='4' fill='%23D62828' opacity='0.32'/%3E%3Crect x='160' y='190' width='8' height='8' rx='2' fill='%2358C95E' opacity='0.4' transform='rotate(18 164 194)'/%3E%3Crect x='70' y='120' width='8' height='8' rx='2' fill='%23FFD23F' opacity='0.45' transform='rotate(-14 74 124)'/%3E%3Cpath d='M190 30 q5 -6 10 0 t10 0' stroke='%23D62828' stroke-width='2.5' fill='none' stroke-linecap='round' opacity='0.3'/%3E%3Cpath d='M30 230 q5 -6 10 0 t10 0' stroke='%231565C0' stroke-width='2.5' fill='none' stroke-linecap='round' opacity='0.3'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }

ul { padding-left: 1.2em; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease-out;
}
.skip-link:focus { top: 0; color: var(--white); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-blue :focus-visible,
.site-footer :focus-visible { outline-color: var(--yellow); }

/* ---------- Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 4px solid var(--yellow);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-nav a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
}
.primary-nav a:hover { background: var(--cream); color: var(--ink); }

.primary-nav .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 1.1rem;
}
.primary-nav .nav-cta:hover { background: var(--red-deep); color: var(--white); }

/* Mobile nav toggle — hidden everywhere by default; the small-screen media
   query reveals it only when JS has added html.js. No-JS visitors (mobile or
   desktop) always get the full inline nav and never see the button. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
}
.nav-toggle-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* burger morphs into a ✕ while the party overlay is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 781px) {
  .nav-toggle { display: none !important; } /* never a dead button on desktop */
}

body.nav-open { overflow: hidden; }

@media (max-width: 780px) {
  /* Without JS the nav simply renders as a stacked list under the header. */
  .primary-nav { width: 100%; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 0 0.75rem; }
  .primary-nav a { display: block; text-align: center; font-size: 1.1rem; padding: 0.65rem; }

  /* With JS (html.js): the toggle appears and the nav becomes a full-screen
     party overlay. It sits *below* the sticky header (z-index 40 vs 50) so
     the logo and the morphing ✕ button stay visible and tappable on top. */
  html.js .nav-toggle { display: inline-flex; }

  html.js .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 5.5rem 1.5rem 2.5rem;
    overflow-y: auto;
    background-color: var(--cream);
    /* scattered CSS confetti dots in the four brand primaries */
    background-image:
      radial-gradient(circle 6px at 12% 16%, var(--red) 98%, transparent),
      radial-gradient(circle 5px at 82% 12%, var(--blue) 98%, transparent),
      radial-gradient(circle 7px at 92% 42%, var(--yellow-deep) 98%, transparent),
      radial-gradient(circle 5px at 6% 48%, var(--green) 98%, transparent),
      radial-gradient(circle 6px at 76% 84%, var(--red) 98%, transparent),
      radial-gradient(circle 5px at 22% 88%, var(--blue) 98%, transparent),
      radial-gradient(circle 6px at 52% 7%, var(--green) 98%, transparent),
      radial-gradient(circle 5px at 90% 68%, var(--yellow-deep) 98%, transparent),
      radial-gradient(circle 4px at 38% 26%, var(--yellow-deep) 98%, transparent),
      radial-gradient(circle 4px at 64% 56%, var(--green) 98%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
  }

  html.js .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  html.js .primary-nav ul {
    width: min(20rem, 100%);
    gap: 0.75rem;
    padding: 0;
  }

  /* big rounded chips cycling through the four brand primaries */
  html.js .primary-nav a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    border: 3px solid var(--ink);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-card);
  }

  html.js .primary-nav li:nth-child(4n + 1) a { background: var(--red); }
  html.js .primary-nav li:nth-child(4n + 2) a { background: var(--blue); }
  html.js .primary-nav li:nth-child(4n + 3) a { background: var(--green); }
  html.js .primary-nav li:nth-child(4n + 4) a { background: var(--yellow); color: var(--ink); }

  html.js .primary-nav a:hover { color: var(--white); filter: brightness(1.08); }
  html.js .primary-nav li:nth-child(4n + 4) a:hover { color: var(--ink); }

  html.js .primary-nav li {
    opacity: 0;
    transform: scale(0.6);
  }

  html.js .primary-nav.is-open li {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  text-align: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 3px solid transparent;
}

.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 5px 0 var(--red-deep); }
.btn-primary:hover { background: var(--red-deep); color: var(--white); }

.btn-secondary { background: var(--blue); color: var(--white); box-shadow: 0 5px 0 var(--blue-deep); }
.btn-secondary:hover { background: var(--blue-deep); color: var(--white); }

.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 var(--yellow-deep); }
.btn-yellow:hover { background: #FFDE6B; color: var(--ink); }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }

/* ---------- Sections & dividers ---------- */
.section { position: relative; padding: 4.5rem 0 0; }
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4.5rem;
}

.section-lead {
  max-width: 46rem;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.section-cream { background: var(--cream); }
.section-sky { background: var(--sky-tint); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h2 { color: var(--white); }
.section-blue a { color: var(--yellow); }
.section-blue a:hover { color: var(--white); }

.divider { line-height: 0; }
.divider svg { display: block; width: 100%; height: 44px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 63, 0.35) 0 90px, transparent 91px),
    radial-gradient(circle at 88% 70%, rgba(86, 184, 255, 0.3) 0 110px, transparent 111px),
    radial-gradient(circle at 75% 12%, rgba(88, 201, 94, 0.25) 0 70px, transparent 71px),
    var(--white);
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  transform: rotate(-2deg);
}

.hero-lead { font-size: 1.2rem; max-width: 36rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.4rem;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.hero-badges li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  background: var(--white);
  border: 2.5px dashed var(--green);
  color: var(--ink);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}

.balloons { width: 100%; display: block; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) { .card-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

.card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-card);
}

.tilt-left { transform: rotate(-1.4deg); }
.tilt-right { transform: rotate(1.4deg); }

/* ---------- Packages ---------- */
.package-card { padding-top: 2.6rem; }
.package-featured { border-color: var(--red); border-width: 4px; }

.ribbon {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-badge {
  position: absolute;
  top: -1.4rem;
  right: -0.9rem;
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.75);
  outline: 3px solid var(--ink);
  transform: rotate(8deg);
  box-shadow: 0 4px 0 rgba(45, 42, 85, 0.2);
}
.badge-red { background: var(--red); }
.badge-blue { background: var(--blue); }
.badge-green { background: var(--green); }

.package-tagline {
  font-style: italic;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.package-list { margin: 0 0 1.2rem; padding-left: 1.1em; }
.package-list li { margin-bottom: 0.45em; }

.package-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

/* ---------- Add-ons ---------- */
.addon-icon { width: 64px; height: 64px; margin-bottom: 0.6rem; }
.addon-price { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }

/* ---------- Themes ---------- */
.theme-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 880px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .theme-grid { grid-template-columns: 1fr; } }

.theme-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  padding: 1.1rem 0.8rem;
  border-radius: var(--radius-md);
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 rgba(45, 42, 85, 0.15);
}
.theme-chip:nth-child(odd) { transform: rotate(-1.2deg); }
.theme-chip:nth-child(even) { transform: rotate(1.2deg); }

.chip-yellow { background: var(--yellow); color: var(--ink); }
.chip-red { background: var(--red); color: var(--white); }
.chip-blue { background: var(--blue); color: var(--white); }
.chip-green { background: var(--green); color: var(--white); }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) { .about-inner { grid-template-columns: 1fr; } }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.stat-card {
  border-radius: var(--radius-md);
  border: 3px solid var(--ink);
  padding: 1.2rem 1rem;
  text-align: center;
  display: grid;
  gap: 0.2rem;
  box-shadow: 0 5px 0 rgba(45, 42, 85, 0.15);
}
.stat-card:nth-child(odd) { transform: rotate(-1.5deg); }
.stat-card:nth-child(even) { transform: rotate(1.5deg); }

.stat-number { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; }
.stat-label { font-size: 0.92rem; font-weight: 700; }

.stat-yellow { background: var(--yellow); color: var(--ink); }
.stat-blue { background: var(--blue); color: var(--white); }
.stat-red { background: var(--red); color: var(--white); }
.stat-green { background: var(--green); color: var(--white); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 880px; }

.faq-list { display: grid; gap: 1rem; }

.faq-item {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.4rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-size: 1.15rem;
  margin: 0;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}
.faq-item[open] summary::after { content: "–"; background: var(--red); }

.faq-item summary:hover { background: var(--cream); }

.faq-answer { padding: 0 1.4rem 1.1rem; }
.faq-answer p { margin: 0; }

/* ---------- Hours & location ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

address { font-style: normal; margin-bottom: 1rem; line-height: 1.8; }

.hours-list { margin: 0 0 1rem; }
.hours-row { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0.4rem 0; border-bottom: 2px dashed rgba(45, 42, 85, 0.25); }
.hours-row dt { font-weight: 800; min-width: 9.5rem; }
.hours-row dd { margin: 0; }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-lead { margin-inline: auto; }
.contact-phone { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.contact-note { max-width: 40rem; margin: 0 auto 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.site-footer a { color: var(--yellow); }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin-bottom: 0.4em; }
.footer-fine { opacity: 0.75; font-size: 0.9rem; margin-top: 1.2rem; }

/* ---------- Motion (opt-in only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .card,
  .theme-chip,
  .price-badge,
  .nav-cta,
  .stat-card {
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease-out;
  }

  .btn:hover { transform: translateY(-3px) scale(1.04); }
  .btn:active { transform: translateY(1px) scale(0.98); }

  .card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--shadow-pop); }
  .package-card:hover .price-badge { transform: rotate(-4deg) scale(1.12); }

  .theme-chip:hover { transform: rotate(0deg) scale(1.06); }
  .stat-card:hover { transform: rotate(0deg) scale(1.04); }

  @keyframes float-up-down {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
  }
  .balloons .float-1 { animation: float-up-down 3.2s ease-in-out infinite alternate; }
  .balloons .float-2 { animation: float-up-down 2.7s ease-in-out 0.4s infinite alternate; }
  .balloons .float-3 { animation: float-up-down 3.6s ease-in-out 0.9s infinite alternate; }

  /* Mobile party overlay: quick scale+fade burst, then link chips pop in
     staggered with a tiny spring. With reduced motion none of these
     transitions exist, so the overlay and chips appear instantly. */
  html.js .primary-nav {
    transition:
      opacity 0.2s ease-out,
      transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
      visibility 0s linear 0.22s;
  }

  html.js .primary-nav.is-open {
    transition:
      opacity 0.2s ease-out,
      transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
      visibility 0s linear;
  }

  html.js .primary-nav li {
    transition:
      opacity 0.18s ease-out,
      transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  html.js .primary-nav.is-open li:nth-child(1) { transition-delay: 0.05s; }
  html.js .primary-nav.is-open li:nth-child(2) { transition-delay: 0.1s; }
  html.js .primary-nav.is-open li:nth-child(3) { transition-delay: 0.15s; }
  html.js .primary-nav.is-open li:nth-child(4) { transition-delay: 0.2s; }
  html.js .primary-nav.is-open li:nth-child(5) { transition-delay: 0.25s; }
  html.js .primary-nav.is-open li:nth-child(6) { transition-delay: 0.3s; }
  html.js .primary-nav.is-open li:nth-child(7) { transition-delay: 0.35s; }

  /* burger ⇄ ✕ morph */
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    transition: transform 0.18s ease, top 0.18s ease, background-color 0.18s ease;
  }
}

/* Social links (fictional .example profiles) */
.social-links { display: flex; gap: 1.2rem; list-style: none; justify-content: center; padding: 0 1.5rem; margin: 1.5rem auto 0; }
.social-links a { display: inline-flex; color: inherit; opacity: 0.85; }
.social-links a:hover, .social-links a:focus-visible { opacity: 1; }
.social-links svg { width: 1.3rem; height: 1.3rem; }


/* Anchor targets clear the sticky header instead of sliding under it */
[id] {
  scroll-margin-top: 133px;
}

/* Floating balloon — the mobile shortcut to date-checking */
.fab-balloon {
  position: fixed;
  right: 0.9rem;
  bottom: 1rem;
  z-index: 65;
  display: none;
  width: 5.2rem;
  text-decoration: none;
  filter: drop-shadow(0 6px 10px rgba(45, 42, 85, 0.3));
}

.fab-balloon svg { width: 100%; height: auto; display: block; }

.fab-balloon span {
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.15;
  transform: rotate(-6deg);
}

@media (max-width: 720px) {
  .fab-balloon { display: block; }
}

/* Guard against sideways scroll from rotated badges */
html, body { overflow-x: clip; }
