/* ========== SECTION 01 — HERO (FIXED NAV + EDGE + OVERLAP) ========== */

/* Universal reset so navbar stretches edge-to-edge */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Frosted Sticky Nav Bar */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 0.5px); /* subtle right-edge fix */
  height: 60px; /* keep your same height */
  padding: 0.8rem 1.2rem;
  background: rgba(20, 24, 32, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.navbar .brand {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.navbar .signin {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.navbar .signin:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
#s01-hero {
  position: relative;
  height: 50vh; /* square-like ratio */
  width: 100%;  /* fixed white-edge issue (was 100vw) */
  margin-top: -40px; /* slight overlap for fade-through effect */
  overflow: hidden;
  color: #e7eef7;
  font-family: "Poppins", "Segoe UI", -apple-system, system-ui, Roboto, Arial, sans-serif;
}

/* Hero Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay Content — centered and slightly raised */
.hero-overlay {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  transform: translateY(-8%);
}

/* Hero Text */
.hero-overlay h1 {
  font-family: "Playfair Display", "Poppins", serif;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.hero-overlay h1 span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ffffff;
}

/* Subtext */
.hero-overlay p {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0.8rem auto 1.6rem;
  color: rgba(200, 210, 225, 0.8);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* MicroDeed Button (transparent, light blur) */
.hero-overlay .cta {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(2px) saturate(160%);
  -webkit-backdrop-filter: blur(2px) saturate(160%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15),
              0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.hero-overlay .cta:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.25),
              0 6px 16px rgba(0, 0, 0, 0.35);
  transform: scale(1.02);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  #s01-hero { height: 55vh; }
  .hero-overlay h1 { font-size: 1.7rem; }
  .hero-overlay p { font-size: 0.85rem; }
  .cta { padding: 0.75rem 1.3rem; font-size: 0.9rem; }
}