/* WERK STREETWEAR — MAIN STYLES */

:root {
  --yellow: #e8b33c;
  --white: #f5f1e8;
  --black: #171717;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

button, input {
  font: inherit;
}

.storefront {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

/* WERK STOREFRONT PHOTO */

.storefront-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("werk-storefront.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dark overlay makes text readable */

.overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.45) 52%,
    rgba(0,0,0,0.15) 100%
  );
}

/* TOP NAVIGATION */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5%;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -2px;
}

#sound-toggle {
  background: rgba(0,0,0,0.6);
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  padding: 12px 18px;
  cursor: pointer;
}

/* MAIN LAUNCH CONTENT */

.launch-content {
  width: min(650px, 90%);
  margin: auto 5%;
  padding: 60px 0;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 4px;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -2px;
  margin: 18px 0;
  font-weight: 900;
}

.subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 430px;
}

.countdown-section {
  margin-top: 34px;
  color: var(--yellow);
  font-weight: bold;
  letter-spacing: 1px;
}

#countdown {
  margin-top: 10px;
  color: white;
  font-size: 1.1rem;
}

/* EMAIL WAITLIST */

#waitlist-form {
  margin-top: 36px;
}

#waitlist-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.email-field {
  display: flex;
  max-width: 530px;
}

.email-field input {
  flex: 1;
  min-width: 0;
  padding: 17px;
  border: 0;
  border-radius: 0;
  background: white;
  color: black;
}

.email-field button {
  background: var(--yellow);
  color: black;
  border: 0;
  padding: 16px 20px;
  font-weight: 900;
  cursor: pointer;
}

#form-message {
  min-height: 1.5em;
  font-size: 0.85rem;
}

/* FOOTER */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5%;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* MOBILE */

@media (max-width: 700px) {
  .storefront-image {
    background-position: 58% center;
  }

  .overlay {
    background: rgba(0,0,0,0.60);
  }

  .site-header {
    padding: 20px 6%;
  }

  .launch-content {
    width: 88%;
    margin: auto 6%;
    padding: 50px 0;
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .email-field {
    flex-direction: column;
    gap: 8px;
  }

  .email-field button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding: 20px 6%;
  }
}

