/* 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; } }

/* ---------- Bring a host (panel colour matches the edges of refer-host.webp) ---------- */
.refer { border-radius: 10px; overflow: hidden; background: #f6dff3; }
.refer-main { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: 1rem; }
.refer-copy { align-self: center; padding: clamp(1.75rem, 4vw, 3rem); }
.refer-copy h2 { font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; color: var(--primary); }
.refer-copy h2 span { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.refer-steps { margin: 0 0 1.5rem; padding-left: 1.2rem; display: grid; gap: 0.3rem; font-size: 0.95rem; color: var(--ink-soft); }
.refer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.refer-link { font-weight: 600; font-size: 0.95rem; color: var(--primary-600); text-decoration: underline; text-underline-offset: 2px; }
.refer-rate { margin: 1.25rem 0 1rem; max-width: 30rem; font-family: var(--display); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.35; color: var(--primary-600); }
.refer-rate strong { font-weight: 800; }
.refer-photo { position: relative; padding-top: 1.5rem; }
.refer-photo img { width: 100%; height: auto; }
.refer-paid { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 0.6rem 1rem; border-radius: 8px; background: var(--primary); color: #fff; text-align: center; font-family: var(--display); font-size: clamp(0.95rem, 1.35vw, 1.1rem); line-height: 1.3; }
.refer-paid strong { font-weight: 700; }
.refer-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1rem clamp(1.75rem, 4vw, 3rem); background: var(--primary); color: #fff; font-size: 0.97rem; line-height: 1.35; }
.refer-band > p:first-child { max-width: 15rem; }
.refer-scan { display: flex; align-items: center; gap: 0.9rem; }
.refer-scan img { width: 88px; height: 88px; border-radius: 6px; background: #fff; }
@media (max-width: 820px) {
  .refer-main { grid-template-columns: 1fr; gap: 0; }
  .refer-copy { padding-bottom: 0.5rem; }
  .refer-band { flex-wrap: wrap; }
  .refer-band > p:first-child { max-width: none; }
  /* Visitors here are already on their phone, so the button replaces the QR */
  .refer-scan { display: none; }
}

/* ---------- Founder speech ---------- */
.founder { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); border-radius: 10px; background: var(--dark); color: #fff; padding: clamp(1.75rem, 5vw, 3.5rem); }
.founder-copy .eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.founder-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin: 0.5rem 0 1rem; }
.founder-copy h2 em { font-family: var(--serif); font-weight: 400; }
.founder-copy p { color: var(--on-dark-muted); max-width: 32rem; }
.founder-videos { justify-self: center; width: 100%; max-width: 340px; }
.founder-video { width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; }
.founder-video[hidden] { display: none; }
.founder-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.founder-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.founder-arrow:hover, .founder-arrow:focus-visible { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.founder-dots { display: flex; gap: 0.5rem; }
.founder-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: width 0.2s, background 0.2s; }
.founder-dot.on { width: 22px; background: #fff; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-videos { max-width: 320px; } }

/* ---------- Host testimonials (same panel as founder, mirrored) ---------- */
.testimonials-panel { grid-template-columns: 0.9fr 1.1fr; background: linear-gradient(135deg, var(--dark) 55%, #3a1d5c); }
.testimonials-panel .founder-videos { order: -1; }
.t-slide { margin: 0; }
.t-slide[hidden] { display: none; }
.t-slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0.25rem 0; font-size: 0.85rem; color: var(--on-dark-muted); }
.t-insta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1rem; font-weight: 600; color: #fff; text-decoration: none; }
.t-insta svg { align-self: center; }
.t-insta:hover, .t-insta:focus-visible { color: #f2a6cf; }
.host-queue { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--on-dark-line); }
.host-queue-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 0.75rem; }
.t-count { color: #fff; font-variant-numeric: tabular-nums; margin-right: 0.4rem; }
.host-list { display: flex; flex-wrap: wrap; gap: 0.5rem; max-height: 8.5rem; overflow-y: auto; }
.host-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem 0.45rem 0.45rem; border-radius: 999px; border: 1px solid var(--on-dark-line); background: rgba(255, 255, 255, 0.04); color: var(--on-dark-muted); font: inherit; font-size: 0.875rem; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.host-chip .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.host-chip:hover, .host-chip:focus-visible { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.host-chip.on { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
.host-chip { text-decoration: none; }
.host-chip .ig { display: inline-flex; opacity: 0.6; margin-left: 0.1rem; }
.host-chip:hover .ig, .host-chip:focus-visible .ig { opacity: 1; }
.host-chip:hover .h { text-decoration: underline; text-underline-offset: 3px; }
.founder-nav[hidden] { display: none; }
@media (max-width: 820px) { .testimonials-panel { grid-template-columns: 1fr; } .testimonials-panel .founder-videos { order: 0; } }

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