* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

body {
  background: #fff;
}

/* ---------- Splash / first screenshot ---------- */

.splash-page {
  width: 100%;
  min-height: 100vh;
  padding: 15px 31px 0;
  overflow: hidden;
}

.splash-frame {
  position: relative;
  width: 100%;
  height: 650px;
  min-height: 600px;
  border: 2px solid #999;
  background:
    linear-gradient(
      to bottom,
      #fff 0%,
      #fff 27%,
      #f8f8f8 33%,
      #bdbdbd 50%,
      #ededed 62%,
      #fff 64%,
      #fff 100%
    );
}

.splash-content {
  position: absolute;
  inset: 0;
}

.enter-site {
  position: absolute;
  right: 20px;
  bottom: 9px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.intro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 174px;
  background: rgba(255, 255, 255, 0.92);
}

.intro-copy {
  position: absolute;
  left: 2px;
  bottom: 13px;
  width: 735px;
}

.intro-heading {
  display: flex;
  align-items: baseline;
  gap: 17px;
  white-space: nowrap;
}

.thrive {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -1px;
}

.intro-heading strong {
  font-size: 19px;
  line-height: 1.1;
}

.intro-copy p {
  margin: 20px 0 0;
  font-size: 15.5px;
  line-height: 1.25;
  font-weight: 700;
}

.home-photos {
  position: absolute;
  right: 111px;
  bottom: 3px;
  width: 300px;
  height: 190px;
  object-fit: contain;
}

.music-control {
  position: fixed;
  right: 29px;
  bottom: 12px;
  width: 58px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #222;
  cursor: pointer;
  text-align: center;
  font-size: 17px;
  line-height: 1.08;
  font-weight: 700;
}

.music-control .speaker {
  display: block;
  width: 31px;
  height: 28px;
  margin: 0 auto 5px;
  font-size: 39px;
  line-height: 20px;
  transform: rotate(-20deg);
  font-weight: 400;
}

.music-control.muted .speaker {
  opacity: 0.55;
}

/* ---------- Main/contact screenshot ---------- */

.site-page {
  min-height: 662px;
  overflow: hidden;
  background: #fff;
  border-bottom: 6px solid #333;
}

.top-nav {
  height: 25px;
  background: #333;
  color: #fff;
}

.top-nav nav {
  height: 25px;
  display: flex;
  align-items: center;
  gap: 29px;
  padding-left: 21px;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 25px;
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a.active {
  text-decoration: underline;
}

.contact-stage {
  position: relative;
  height: 631px;
  overflow: hidden;
  background:
    linear-gradient(
      to bottom,
      #fff 0%,
      #fff 27%,
      #f7f7f7 31%,
      #bcbcbc 50%,
      #efefef 64%,
      #fff 66%,
      #fff 100%
    );
}

.logo {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 560px;
  height: 165px;
  object-fit: contain;
  object-position: center;
}

.contact-email {
  position: absolute;
  top: 184px;
  left: 58.5%;
  font-size: 14px;
}

.contact-panel {
  position: absolute;
  top: 191px;
  left: 37.2%;
  width: 430px;
  height: 345px;
}

.contact-image-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 205px;
  height: 300px;
  overflow: hidden;
}

.contact-image-wrap img {
  width: 205px;
  height: 300px;
  object-fit: cover;
  opacity: 0.52;
  filter: blur(0.6px);
}

.contact-form {
  position: absolute;
  left: 159px;
  top: 66px;
  width: 351px;
}

.field-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 31px;
}

.field-row label {
  width: 75px;
  padding-right: 8px;
  text-align: left;
  font-size: 14px;
  color: #333;
}

.field-row input,
.field-row textarea {
  width: 277px;
  border: 1px solid #777;
  border-radius: 16px;
  outline: none;
  background: linear-gradient(#fff 20%, #eef4e7 100%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.field-row input {
  height: 28px;
  padding: 3px 11px;
}

.message-row {
  align-items: flex-start;
}

.message-row label {
  padding-top: 7px;
}

.field-row textarea {
  height: 121px;
  resize: none;
  border-radius: 14px;
  padding: 8px 11px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  width: 342px;
  margin: 75px 0 0 13px;
}

.form-actions button {
  min-width: 104px;
  height: 24px;
  padding: 1px 17px;
  border: 1px solid #aaa;
  border-radius: 7px;
  background: linear-gradient(#fff, #e9e9e9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

.form-actions button:hover {
  background: linear-gradient(#fff, #ddd);
}

.contact-music {
  right: 28px;
  bottom: 28px;
}

/* Keep the old desktop composition, but avoid clipping on smaller screens. */
@media (max-width: 900px) {
  .splash-page {
    padding: 8px;
  }

  .splash-frame {
    height: calc(100vh - 16px);
    min-height: 560px;
  }

  .intro-copy {
    width: 58%;
  }

  .intro-heading {
    gap: 8px;
  }

  .thrive {
    font-size: 24px;
  }

  .intro-heading strong {
    font-size: 15px;
  }

  .intro-copy p {
    font-size: 12px;
  }

  .home-photos {
    right: 65px;
    width: 250px;
  }

  .top-nav nav {
    gap: 14px;
    padding-left: 10px;
    overflow-x: auto;
  }

  .top-nav a {
    font-size: 12px;
  }

  .logo {
    right: 0;
    width: 470px;
  }

  .contact-panel {
    left: 25%;
  }
}

@media (max-width: 650px) {
  .splash-page {
    padding: 0;
  }

  .splash-frame {
    min-height: 100vh;
    height: 100vh;
    border: 0;
  }

  .intro {
    height: 235px;
  }

  .intro-copy {
    left: 18px;
    bottom: 12px;
    width: calc(100% - 36px);
  }

  .intro-heading {
    display: block;
    white-space: normal;
  }

  .intro-heading strong {
    display: block;
    margin-top: 6px;
  }

  .intro-copy p {
    margin-top: 12px;
  }

  .home-photos {
    right: 12px;
    top: 8px;
    bottom: auto;
    width: 220px;
    height: 140px;
  }

  .enter-site {
    right: 12px;
    bottom: 245px;
  }

  .music-control {
    right: 8px;
    bottom: 8px;
  }

  .contact-stage {
    min-height: calc(100vh - 25px);
  }

  .logo {
    top: 5px;
    right: 5px;
    width: 390px;
    height: 125px;
  }

  .contact-email {
    top: 142px;
    left: auto;
    right: 110px;
  }

  .contact-panel {
    top: 145px;
    left: 50%;
    transform: translateX(-50%);
    width: 430px;
  }
}
