/* Mistyriouz Homepage */
:root { --pine: #16352B; --pine-deep: #0f1e19; --mist: #F5F5F2; --fog: #c7d1cc; --lime: #8FAF3C; --lime-bright: #def815; --ink: #1a202c; --slate: #4a5568; --card: #ffffff; }
.mp-homepage { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.55; color: var(--ink); }
.mp-homepage * { margin: 0; padding: 0; box-sizing: border-box; }
.mp-homepage img, .mp-homepage svg { display: block; max-width: 100%; }
.mp-hero { position: relative; height: 100svh; min-height: 560px; width: 100%; overflow: hidden; background: linear-gradient(180deg, #0f1e19 0%, #1a332d 55%, #274539 100%); display: flex; align-items: center; justify-content: center; }
.mp-hero__mountains { position: absolute; inset: 0; width: 100%; height: 100%; }
#fog-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; touch-action: none; }
.mp-hero__content { position: relative; z-index: 4; text-align: center; padding: 0 22px; max-width: 640px; }
.mp-hero__content h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(34px, 9vw, 68px); color: var(--mist); line-height: 1.08; letter-spacing: -0.01em; }
.mp-hero__content h1 em { color: var(--lime-bright); font-style: italic; }
.mp-hero__sub { margin-top: 16px; font-size: 15.5px; color: var(--fog); font-weight: 500; }
.mp-hero__hint { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 4; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fog); display: flex; flex-direction: column; align-items: center; gap: 6px; animation: mp-bob 2.6s ease-in-out infinite; }
@keyframes mp-bob { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; } 50% { transform: translateX(-50%) translateY(6px); opacity: 1; } }
.mp-section { padding: 64px 20px; max-width: 1200px; margin: 0 auto; }
.mp-section__head { margin-bottom: 32px; max-width: 560px; }
.mp-section__head h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(26px, 6vw, 40px); margin-top: 8px; color: var(--pine); line-height: 1.08; }
.mp-section__head p { margin-top: 14px; color: var(--slate); font-size: 15px; }
.mp-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.mp-eyebrow--light { color: #5f7a2e; }
.mp-towns-scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; -webkit-overflow-scrolling: touch; }
.mp-towns-scroller::-webkit-scrollbar { display: none; }
.mp-town-card { scroll-snap-align: start; flex: 0 0 78%; max-width: 320px; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(26,51,45,0.25); border: 1px solid rgba(26,51,45,0.06); transition: transform 0.3s ease; }
.mp-town-card:hover { transform: translateY(-4px); }
@media (min-width: 640px) { .mp-town-card { flex-basis: 42%; } }
@media (min-width: 960px) { .mp-town-card { flex-basis: 31%; } }
.mp-town-card__art { height: 150px; background: var(--pine); position: relative; overflow: hidden; }
.mp-town-card__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-town-card__body { padding: 18px 18px 20px; }
.mp-town-card__body h3 { font-family: 'Fraunces', Georgia, serif; font-size: 21px; color: var(--pine); font-weight: 600; }
.mp-town-card__body p { margin-top: 8px; font-size: 13.5px; color: var(--slate); line-height: 1.6; }
.mp-town-card__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--pine); padding: 10px 0; text-decoration: none; }
.mp-town-card__link:hover { color: var(--lime); }
.mp-section--listings { background: var(--pine); color: var(--mist); border-radius: 0; max-width: none; }
.mp-section--listings .mp-section__head p { color: var(--fog); }
.mp-search-mock { background: var(--card); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4); max-width: 600px; }
.mp-search-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 11px; background: #f4f6f4; }
.mp-search-row svg { width: 18px; height: 18px; color: var(--slate); flex-shrink: 0; }
.mp-search-row input { border: none; background: none; outline: none; font-size: 14.5px; color: var(--ink); width: 100%; font-family: inherit; }
.mp-search-row input::placeholder { color: #8a9691; }
.mp-search-submit { background: var(--lime); color: var(--pine-deep); font-weight: 700; font-size: 14px; border: none; border-radius: 11px; padding: 13px; min-height: 46px; cursor: pointer; }
.mp-search-submit:hover { background: var(--lime-bright); }
.mp-cat-chips { display: flex; gap: 10px; overflow-x: auto; margin-top: 20px; padding-bottom: 6px; }
.mp-cat-chip { flex: 0 0 auto; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: var(--mist); padding: 10px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; text-decoration: none; }
.mp-cat-chip:hover { background: rgba(255,255,255,0.18); }
.mp-list-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mp-btn-lime { background: var(--lime); color: var(--pine-deep); font-weight: 700; font-size: 14px; padding: 14px 22px; border-radius: 30px; min-height: 46px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mp-btn-lime:hover { background: var(--lime-bright); }
.mp-list-cta small { color: var(--fog); font-size: 12.5px; }
.mp-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mp-event-card { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(22,53,43,0.08); border: 1px solid rgba(22,53,43,0.06); }
.mp-event-card__image { display: block; height: 180px; overflow: hidden; }
.mp-event-card__image img { width: 100%; height: 100%; object-fit: cover; }
.mp-event-card__body { padding: 18px; }
.mp-event-card__body h3 { font-family: 'Fraunces', Georgia, serif; font-size: 18px; color: var(--pine); font-weight: 600; margin-bottom: 6px; }
.mp-event-card__body h3 a { color: inherit; text-decoration: none; }
.mp-event-card__date { font-size: 12.5px; color: var(--lime); font-weight: 600; margin-bottom: 8px; }
.mp-events-empty { border: 1.5px dashed rgba(26,51,45,0.25); border-radius: 16px; padding: 36px 24px; text-align: center; }
.mp-events-empty h3 { font-size: 19px; color: var(--pine); font-family: 'Fraunces', Georgia, serif; }
.mp-events-empty p { margin-top: 8px; color: var(--slate); font-size: 13.5px; max-width: 340px; margin-left: auto; margin-right: auto; }
.mp-events-empty a { margin-top: 16px; display: inline-flex; color: var(--pine); font-weight: 700; font-size: 13.5px; border-bottom: 2px solid var(--lime); padding-bottom: 2px; text-decoration: none; }
.mp-section--sponsors { padding-top: 24px; padding-bottom: 64px; }
.mp-section--sponsors h2 { font-size: 15px; text-align: center; color: var(--slate); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.mp-sponsor-track-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.mp-sponsor-track { display: flex; gap: 36px; width: max-content; animation: mp-scrollx 22s linear infinite; }
.mp-sponsor-chip { height: 48px; padding: 0 20px; display: flex; align-items: center; border-radius: 8px; background: #e9ede9; color: #4a5568; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.mp-sponsor-chip img { max-height: 32px; width: auto; }
@keyframes mp-scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mp-town-listings { margin-top: 48px; padding: 32px 0; border-top: 1px solid #e2e8e4; }
.mp-town-listings h2 { font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: var(--pine); margin-bottom: 20px; }
.mp-town-listings__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.mp-town-listing-card { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(22,53,43,0.06); border: 1px solid rgba(22,53,43,0.06); }
.mp-town-listing-card__image { display: block; height: 160px; overflow: hidden; }
.mp-town-listing-card__image img { width: 100%; height: 100%; object-fit: cover; }
.mp-town-listing-card__body { padding: 14px 16px; }
.mp-town-listing-card__body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.mp-town-listing-card__body h3 a { color: var(--pine); text-decoration: none; }
.mp-town-listing-card__body p { font-size: 13px; color: var(--slate); line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .mp-homepage * { animation: none !important; transition: none !important; } }
