

*{ 
  box-sizing: border-box; 
  }
html,body { height: 100%; margin: 0; font-family: 'DM Sans', sans-serif; background: #000; color: #fff; }


.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.72);
  background-color: #000;
}


.masthead {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
}


.masthead-inner {
  width: 100%;
  display: flex;
  justify-content: flex-start; 
}


.left-panel {
  max-width: 720px;
  margin: 6vh 0;               
  padding-left: 6vw;          
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
}


.life-script p {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(18px);
  
}


.life-script .word {
  display: inline-block;
  transition: color 0.28s ease, transform 0.18s ease;
  cursor: default;
}


.life-script .word:hover {
  transform: translateY(-3px);
}


.contact-section {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.email-input {
  padding: 0.7rem 0.9rem;
  width: 260px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.10);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.03);
  font-size: 1rem;
}

.email-input::placeholder { color: rgba(255,255,255,0.65); }


.contact-btn {
  background: linear-gradient(90deg,#00b33c,#00e676);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 0.68rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(0,217,100,0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,217,100,0.22);
}


.contact-btn.glow {
  box-shadow: 0 0 28px 8px rgba(0,255,120,0.55);
  transform: scale(1.03);
}

.social-rail {
  position: fixed;
  right: 28px;
  top: 10vh;                    
  bottom: 10vh;                 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  gap: 1rem;
  z-index: 2;
  pointer-events: auto;
}


.social-link {
  text-decoration: none;
  display: block;
}


.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.9);   
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transform: translateX(40px);   
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.9,.3,1), box-shadow .18s ease;
}


.social-circle i {
  font-size: 0.95rem;
  line-height: 1;
}


.social-link:hover .social-circle {
  box-shadow: 0 10px 30px rgba(255,255,255,0.06);
  transform: translateX(0) scale(1.04);
}


.social-circle.visible {
  transform: translateX(0);
  opacity: 1;
}


@media (max-width: 900px) {
  .left-panel { padding-left: 4vw; max-width: 560px; }
  .social-rail { right: 14px; }
  .social-circle { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  .left-panel { padding-left: 6vw; margin-top: 5vh; margin-bottom: 5vh; }
  .email-input { width: 170px; }
}

