/* ========================================================
   Landing page only — the three doors.
   ======================================================== */

body.home {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0a0b0f;
  color: #fff;
}

/* ---------- Name bar ---------- */
.home-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.home-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.home-right { display: flex; align-items: center; gap: 20px; }
.home-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
}
.home-past {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 12px;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.home-past:hover { border-color: #fff; color: #fff; }

/* ---------- The doors ---------- */
.doors {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 0;
}

.door {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.door + .door { border-left: 1px solid rgba(255,255,255,0.12); }

/* background image sits on its own layer so it can scale on hover */
.door::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
  z-index: -2;
}
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,6,10,0.42) 0%, rgba(4,6,10,0.68) 100%);
  transition: background .35s ease;
  z-index: -1;
}
.door:hover::before,
.door:focus-visible::before { transform: scale(1.09); }
.door:hover::after,
.door:focus-visible::after {
  background: linear-gradient(180deg, rgba(4,6,10,0.24) 0%, rgba(4,6,10,0.52) 100%);
}

.door-phoneless::before  { background-image: url("phoneless/images/cover.webp"); background-position: center 40%; }
.door-bangladesh::before { background-image: url("bangladesh/images/camp.webp"); background-position: center 58%; }

.door-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 26ch;
}
.door-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: -6px;
}
.door-label {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.12;
  text-wrap: balance;
}
.door-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.door-cta {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  transition: gap .2s ease;
}
.door-phoneless  .door-cta { color: #b9c6dc; }
.door-bangladesh .door-cta { color: #ffcf8f; }

/* ---------- Newsletter strip ---------- */
.home-strip {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.strip-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.home-strip .newsletter-form {
  margin: 0;
  max-width: none;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.home-strip .newsletter-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.home-strip .newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.home-strip .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  background: #fff;
  color: #0a0b0f;
}
.home-strip .form-message { color: rgba(255,255,255,0.65); margin: 0; text-align: left; }

/* ---------- Mobile: three stacked thirds ---------- */
@media (max-width: 820px) {
  .doors {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(40vh, 1fr);
  }
  .door + .door {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .home-strip { justify-content: center; text-align: center; }
  .home-strip .newsletter-form { justify-content: center; }
}

@media (max-width: 480px) {
  .home-bar { padding: 14px 18px; }
  .home-name { font-size: 0.85rem; letter-spacing: 0.1em; }
  .home-tagline { display: none; }
}
