/* ===== Escapeer Community House — page styles ==============================
   Layered on top of styles.css; only what this page adds lives here. */

/* ---- Hero ---- */
.house-hero {
  position: relative;
  z-index: 2;
  padding: 150px 0 70px;
}
.house-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.house-hero-text h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 18px 0 16px;
}
.house-hero-text .status-badge { margin-bottom: 0; }
.house-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 460px;
}
.house-hero-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
/* Taller than a typical banner: the hero clip is a portrait 9:16 phone video,
   so a tall frame keeps far more of it than a wide letterbox would. */
.house-hero-media img,
.house-hero-video {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  background: var(--surface-2);
}

/* ---- Generic section rhythm ---- */
.house-section {
  position: relative;
  z-index: 2;
  padding: 56px 0;
}
.house-section .section-head { margin-bottom: 40px; }

/* ---- Two-column text + image ---- */
.house-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.house-split.reverse .house-split-media { order: -1; }
.house-split-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  letter-spacing: -0.025em;
  margin: 14px 0 16px;
}
.house-split-text p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}
.house-split-text em { color: var(--ink); font-style: italic; }
.house-split-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.house-split-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-split-media:hover img { transform: scale(1.04); }

.house-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.house-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.house-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--coral));
}

/* ---- Weekly lineup ---- */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lineup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.lineup-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lineup-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.lineup-card:hover::before { opacity: 1; }
.lineup-day {
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.lineup-card h3 { font-size: 1.22rem; margin: 10px 0 8px; }
.lineup-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* ---- Bookable events ---- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.event-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.event-icon { font-size: 1.7rem; }
.event-card h3 { font-size: 1.1rem; }
.event-when {
  font-family: var(--fm);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.event-card .trip-cta { margin-top: 8px; }
.event-card:hover .trip-cta { gap: 10px; }

.events-cta {
  margin-top: 36px;
  text-align: center;
}
.events-cta p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* ---- Story cards (2x2) ---- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}
.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(45, 212, 191, 0.10), transparent 46%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.story-card:hover::after { opacity: 1; }
.story-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.6rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.story-card h3 {
  font-size: 1.16rem;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.story-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Visit ---- */
.house-visit-section { padding-bottom: 90px; }
.house-visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 44px 42px;
}
.house-visit h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
}
.house-visit p { color: var(--ink-soft); }
.visit-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.visit-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.visit-link:hover { border-color: var(--amber); transform: translateX(3px); }
.visit-label {
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.visit-value {
  font-family: var(--fm);
  font-weight: 600;
  color: var(--ink);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .house-hero { padding: 120px 0 50px; }
  .house-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  /* Portrait clip on a portrait screen — give it real height rather than
     squashing it into a letterbox strip */
  .house-hero-media img,
  .house-hero-video { height: 62vh; height: 62svh; min-height: 380px; max-height: 560px; }
  .house-split { grid-template-columns: 1fr; gap: 28px; }
  /* Keep the image after the copy on narrow screens, whichever side it sits on */
  .house-split.reverse .house-split-media { order: 0; }
  .house-split-media img { height: 280px; }
  .lineup-grid, .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-visit { grid-template-columns: 1fr; padding: 34px 26px; }
}

@media (max-width: 620px) {
  .lineup-grid, .events-grid, .story-grid { grid-template-columns: minmax(0, 1fr); }
  .house-section { padding: 40px 0; }
  .house-visit-section { padding-bottom: 64px; }
}
