/* DinnTro – home page only: photo hero + party search. Loaded after site.css. */

/* =========================================================
   HERO — full-screen photo, "Welcome in." (follows the intro)
   ========================================================= */
.photo-hero { position: relative; height: 92vh; height: 92svh; min-height: 560px; overflow: hidden; color: #fff; background: #1d1723; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;  }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: none; } }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.3) 62%, rgba(0,0,0,0.82) 100%); }
.photo-hero-copy { position: absolute; left: 0; right: 0; bottom: calc(3.25rem + 7vh); z-index: 1; text-align: center; padding: 0 1.25rem; }
.pill-tag { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(34,211,165,0.18); border: 1px solid rgba(34,211,165,0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.9rem; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22d3a5; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,165,0.6); } 70% { box-shadow: 0 0 0 12px rgba(34,211,165,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,165,0); } }
.welcome { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1; font-size: clamp(3rem, 8.5vw, 7.5rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.3); margin: 0; }
.welcome em { font-style: normal; }
.through-sub { margin-top: 0.75rem; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,0.88); }
.in-1, .in-2, .in-3 { opacity: 0; animation: up 0.6s ease forwards; }
.in-1 { animation-delay: 0.2s; } .in-2 { animation-delay: 0.35s; } .in-3 { animation-delay: 0.5s; }
@keyframes up { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 560px) { .photo-hero { height: 78svh; } .photo-hero-copy { bottom: calc(2rem + 5vh); } }

/* ---------- Search bar (overlaps the hero edge) ---------- */
.finder { position: relative; z-index: 5; margin-top: -3.25rem; }
.search {
  display: grid; grid-template-columns: 1.1fr 1.1fr 1.4fr auto; align-items: end; gap: 1rem;
  padding: 1.1rem 1.25rem; background: #fff; border-radius: 10px;
  border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field label, .flabel { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 46px; padding: 0 0.9rem; border: 1px solid #d6d1ca; border-radius: 6px;
  background: #fff; font-size: 0.97rem; color: var(--ink); outline: none; transition: border-color 200ms, background 200ms;
}
.field input:focus, .field select:focus { border-color: var(--primary); background: #fff; }
.chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip { height: 46px; padding: 0 0.95rem; border-radius: 6px; border: 1px solid #d6d1ca; background: #fff; font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); transition: all 200ms; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.search .btn { height: 46px; border-radius: 6px; padding: 0 1.4rem; }
.search-msg { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 6px; background: var(--bg-soft); color: var(--ink-soft); font-size: 0.95rem; }
.search-msg a { color: var(--primary); font-weight: 600; }
@media (max-width: 980px) {
  .search { grid-template-columns: 1fr 1fr; }
  .field.when, .search .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .search { grid-template-columns: 1fr; } .finder { margin-top: -2rem; } }

@media (prefers-reduced-motion: reduce) {
  .photo-hero > img { animation: none; }
  .in-1, .in-2, .in-3 { opacity: 1 !important; transform: none !important; animation: none; }
}
