.container {
  margin-top: 100px;
  width: 1280px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  cursor: default;
}

.container h1 {
  font-size: 10vw;
  font-family: Impact;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

.container p {
  font-size: 2vw;
  font-family: Gabriola;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

@media screen and (max-width: 1280px) {
  .container {
    width: 90%;
  }
}


/* === Hero typography & mobile centering tweaks === */
.container { 
  width: min(100%, 1100px);
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.container h1{
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.container p{
  font-family: 'Caveat', Gabriola, 'Segoe Script', cursive;
  text-shadow: none;
  text-align: center;
  line-height: 1.15;
  text-wrap: balance;
}

/* Mobile: keep the tagline on one line and center perfectly */
@media (max-width: 600px){
  .container { margin-top: 68px; }
  .container h1{ font-size: clamp(12vw, 16vw, 18vw); }
  .container p{
    white-space: nowrap;
    font-size: clamp(14px, 4.3vw, 22px);
    max-width: 100%;
  }
}


/* Mobile overflow fix for hero tagline */
@media (max-width: 600px){
  .container p{
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-size: clamp(12px, 3.6vw, 20px);
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 auto;
  }
  .container{
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    align-items: center;
  }
}


/* Desktop hero compactness */
@media (min-width: 1200px){
  .container{ margin-top: 60px; }
  .container h1{ 
    font-size: clamp(64px, 7.5vw, 120px) !important;
  }
  .container p{
    font-size: clamp(16px, 1.4vw, 22px) !important;
    max-width: 1100px;
  }
}
