/* ============ SHARED PASTEL THEME ============ */
:root {
  --magenta: #E83A7E;
  --electric: #2D9CDB;
  --sun: #F9C846;
  --grass: #6BB04D;
  --tangerine: #F26B3A;
  --purple: #8B4FBF;
  --red: #E63946;
  --black: #1F1A24;
  --cream: #FFE8B0;
  --cream-soft: #FFDD92;
  --cream-deep: #FFD073;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--magenta); color: var(--cream); }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}
h1, h2, h3, .display { font-family: 'DM Serif Display', serif; }

/* ============ CURSOR ============ */
.cursor {
  position: fixed;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--magenta);
  border: 3px solid var(--black);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-trail {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: trailFade 0.9s ease-out forwards;
  border: 2px solid var(--black);
}
@keyframes trailFade {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--cream);
  border: 3px solid var(--black);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 5px 5px 0 var(--black);
  pointer-events: auto;
}
.nav-blob {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s;
}
.nav-blob img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-blob:hover {
  transform: scale(1.05);
}
.nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  transition: all 0.25s;
}
.nav-link:hover {
  background: var(--black);
  color: var(--cream);
}
.nav-link.active {
  background: var(--black);
  color: var(--cream);
}
.nav-book {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 16px;
  background: var(--magenta);
  color: var(--cream);
  border: 3px solid var(--black);
  border-radius: 50px;
  padding: 14px 28px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 24px;
  top: 0;
  pointer-events: auto;
}
.nav-book:hover {
  background: var(--sun);
  color: var(--black);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}
.ball-spin {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--electric);
  border: 2px solid var(--black);
  animation: ballRoll 3s linear infinite;
}
@keyframes ballRoll {
  0% { transform: rotate(0deg); background: var(--electric); }
  25% { background: var(--grass); }
  50% { background: var(--tangerine); }
  75% { background: var(--purple); }
  100% { transform: rotate(360deg); background: var(--electric); }
}

/* MOBILE HAMBURGER BUTTON - hidden on desktop, shown on mobile */
.nav-hamburger {
  display: none;
  width: 50px;
  height: 50px;
  background: var(--cream);
  border: 3px solid var(--black);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--black);
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 0;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--black);
  position: relative;
}
.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2.5px;
  background: var(--black);
}
.nav-hamburger span::before { top: -7px; }
.nav-hamburger span::after { top: 7px; }

/* MOBILE FULLSCREEN MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 80px 32px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu .mobile-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--cream);
  border: 3px solid var(--black);
  border-radius: 50%;
  cursor: pointer;
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1;
  color: var(--black);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.mobile-menu a {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--black);
  text-decoration: none;
  padding: 12px 0;
}
.mobile-menu a:hover { color: var(--magenta); }
.mobile-menu .mobile-book {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  background: var(--magenta);
  color: var(--cream);
  border: 3px solid var(--black);
  border-radius: 50px;
  padding: 18px 36px;
  box-shadow: 5px 5px 0 var(--black);
  margin-top: 16px;
}

@media (max-width: 900px) {
  nav {
    justify-content: flex-start;
    padding: 0 16px;
  }
  .nav-link { display: none; }
  .nav-book { display: none; }
  .nav-hamburger { display: flex; right: 16px; }
  .nav-pill { padding: 6px; }
}

/* ============ BALLS ============ */
.ball {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--black);
  pointer-events: none;
}
@keyframes bounce1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-45px) rotate(180deg); }
}
@keyframes bounce2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-60px) rotate(-180deg); }
}
@keyframes bounce3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-35px) rotate(360deg); }
}

/* ============ BUTTONS ============ */
.big-cta {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 22px;
  padding: 18px 32px;
  background: var(--magenta);
  color: var(--cream);
  border: 4px solid var(--black);
  border-radius: 60px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  box-shadow: 6px 6px 0 var(--black);
}
.big-cta:hover {
  background: var(--sun);
  color: var(--black);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--black);
}
.big-cta.alt { background: var(--electric); }
.big-cta.alt:hover { background: var(--grass); color: var(--cream); }
.big-cta .arrow { display: inline-block; transition: transform 0.2s; }
.big-cta:hover .arrow { transform: translateX(6px); }

/* ============ PAGE HERO (sub pages) ============ */
.page-hero {
  padding: 160px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 24px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--magenta);
}
.page-hero p {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
  color: var(--black);
  opacity: 0.85;
}

/* ============ FOOTER ============ */
footer {
  background: var(--cream-deep);
  color: var(--black);
  padding: 80px 40px 30px;
  border-top: 3px solid var(--black);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 18px;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 8px 28px 8px 8px;
}
.footer-logo .blob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--magenta);
  border: 2px solid var(--black);
  position: absolute;
  top: 0;
  left: 0;
  animation: blobOrbit 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes blobOrbit {
  0%   { top: 4px;   left: 0;     background: var(--magenta); }
  20%  { top: -4px;  left: 60%;   background: var(--electric); }
  40%  { top: 6px;   left: 100%;  background: var(--sun); }
  60%  { top: 80%;   left: 95%;   background: var(--grass); }
  80%  { top: 75%;   left: 25%;   background: var(--purple); }
  100% { top: 4px;   left: 0;     background: var(--magenta); }
}
.footer-col p, .footer-col a {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(58,51,46,0.75);
  text-decoration: none;
  line-height: 1.7;
  display: block;
}
.footer-col a:hover { color: var(--magenta); }
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-hours-row {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(58, 51, 46, 0.18);
  border-bottom: 1px solid rgba(58, 51, 46, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: rgba(58, 51, 46, 0.78);
}
.footer-hours-row strong {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-hours-row span {
  white-space: nowrap;
}
@media (max-width: 900px) {
  .footer-hours-row {
    flex-direction: column;
    gap: 8px;
    padding: 24px 16px;
    text-align: center;
  }
  .footer-hours-row strong {
    margin-bottom: 4px;
  }
}
.footer-meta {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(58,51,46,0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-meta-left,
.footer-meta-center,
.footer-meta-right {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(58,51,46,0.65);
}
.footer-meta-left { flex: 1; text-align: left; }
.footer-meta-center { text-align: center; flex: 1; }
.footer-meta-right { flex: 1; text-align: right; }
.footer-meta-right a {
  color: rgba(58,51,46,0.65);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-meta-right a:hover { color: var(--magenta); }
.foxsignal-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ============ COMMON RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-meta { flex-direction: column; gap: 20px; align-items: center; }
  .footer-meta-left, .footer-meta-right { text-align: center; }
}
@media (max-width: 900px) {
  /* Hide bouncing balls in all sections except hero and final-cta */
  .ball { display: none; }
  .hero .ball,
  .final-cta .ball { display: block; opacity: 0.4; }
  /* Reduce hero ball density on mobile - hide smaller/middle balls */
  .hero .ball-4,
  .hero .ball-8,
  .hero .ball-11,
  .hero .ball-13,
  .hero .ball-14,
  .hero .ball-16,
  .hero .ball-17,
  .hero .ball-18 { display: none; }
  /* Reduce final-cta ball density */
  .final-cta .ball-c5,
  .final-cta .ball-c6,
  .final-cta .ball-c7,
  .final-cta .ball-c8 { display: none; }
}
@media (max-width: 640px) {
  nav { top: 12px; }
  .nav-pill { padding: 6px; }
  .nav-blob { height: 42px; padding: 0 10px; }
  .nav-blob img { height: 30px; }
  .nav-hamburger { width: 42px; height: 42px; right: 12px; }
  .page-hero { padding: 130px 20px 60px; }
}

/* ============ CONTACT FORM (shared) ============ */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream);
  border: 4px solid var(--black);
  border-radius: 28px;
  box-shadow: 12px 12px 0 var(--black);
  padding: 44px 48px;
  text-align: left;
  position: relative;
  z-index: 2;
}
.contact-form .cf-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 20px;
  text-align: center;
}
.contact-form .cf-quick {
  background: var(--cream-deep);
  border: 2.5px solid var(--black);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 0 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form .cf-quick-phone {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.1;
  transition: color 0.2s;
}
.contact-form .cf-quick-phone:hover { color: var(--magenta); }
.contact-form .cf-quick-phone::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4587B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}
.contact-form .cf-quick-hours {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--black);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.contact-form .cf-quick-or {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: var(--black);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 6px 0;
  position: relative;
}
.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form .cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.contact-form .cf-row .cf-field {
  margin-bottom: 0;
}
.contact-form label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-form label .req {
  color: var(--magenta);
  margin-left: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--black);
  background: var(--cream-soft);
  border: 2.5px solid var(--black);
  border-radius: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--magenta);
  box-shadow: 3px 3px 0 var(--magenta);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: 'Nunito', sans-serif;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%233A332E'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233A332E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}
.contact-form .cf-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form .cf-radio {
  position: relative;
}
.contact-form .cf-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-form .cf-radio label {
  display: block;
  padding: 14px 18px;
  background: var(--cream-soft);
  border: 2.5px solid var(--black);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.contact-form .cf-radio input[type="radio"]:checked + label {
  background: var(--magenta);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--black);
}
.contact-form .cf-conditional {
  display: none;
}
.contact-form .cf-conditional.active {
  display: flex;
}
.contact-form .cf-submit {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 20px;
  padding: 16px 32px;
  background: var(--magenta);
  color: var(--cream);
  border: 3px solid var(--black);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--black);
  transition: all 0.2s;
  margin-top: 12px;
  width: 100%;
}
.contact-form .cf-submit:hover {
  background: var(--sun);
  color: var(--black);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--black);
}
.contact-form .cf-note {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--black);
  opacity: 0.6;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .contact-form { padding: 32px 24px; }
  .contact-form .cf-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .cf-row .cf-field { margin-bottom: 16px; }
  .contact-form .cf-radio-group { grid-template-columns: 1fr; }
}

/* Netlify form: honeypot hidden from humans */
.contact-form .cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Success / error states */
.contact-form .cf-success,
.contact-form .cf-error {
  text-align: center;
  padding: 24px 8px 8px;
}
.contact-form .cf-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grass);
  color: var(--cream);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
}
.contact-form .cf-success h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--black);
  margin: 0 0 12px;
  line-height: 1.1;
}
.contact-form .cf-success p,
.contact-form .cf-error p {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--black);
  opacity: 0.78;
  line-height: 1.6;
  margin: 0;
}
.contact-form .cf-success a,
.contact-form .cf-error a {
  color: var(--magenta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form .cf-error {
  padding-top: 12px;
}
.contact-form .cf-error p {
  background: rgba(228, 88, 123, 0.08);
  border: 2px solid var(--magenta);
  border-radius: 12px;
  padding: 14px 18px;
}

/* Loading state on submit button */
.contact-form .cf-submit.is-submitting {
  background: var(--cream-deep);
  color: var(--black);
  cursor: wait;
  opacity: 0.85;
}
.contact-form .cf-submit.is-submitting::after {
  content: '...';
  display: inline-block;
  margin-left: 4px;
}

/* When form is in success state, hide the input fields */
.contact-form.is-submitted .cf-quick,
.contact-form.is-submitted .cf-quick-or,
.contact-form.is-submitted .cf-field,
.contact-form.is-submitted .cf-row,
.contact-form.is-submitted .cf-submit,
.contact-form.is-submitted .cf-note {
  display: none;
}
