/* Hill Station newsletter + launch popup */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hs-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.hs-newsletter-status.is-error {
  color: #c45c5c;
}

.hs-newsletter-status.is-success {
  color: #A88750;
}

.hs-newsletter-submit.is-loading,
.hs-popup__submit.is-loading,
.hs-launch-form__submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.hs-newsletter-submit .hs-spin,
.hs-popup__submit .hs-spin,
.hs-launch-form__submit .hs-spin {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.4em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.1em;
  animation: hs-spin 0.7s linear infinite;
}

@keyframes hs-spin {
  to { transform: rotate(360deg); }
}

.hs-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 22, 17, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hs-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 640px) {
  .hs-popup-overlay {
    align-items: center;
    padding: 1.5rem;
  }
}

.hs-popup {
  position: relative;
  width: 100%;
  max-width: 24rem;
  max-height: min(88vh, 32rem);
  overflow: auto;
  background: #F6F6F4;
  color: #181818;
  border: 1px solid rgba(168, 135, 80, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 1.15rem 1.15rem 1rem;
}

@media (min-width: 640px) {
  .hs-popup {
    max-width: 25rem;
    padding: 1.25rem 1.35rem 1.1rem;
  }
}

.hs-popup__kicker {
  margin: 0 0 0.35rem;
  padding-right: 2rem;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A88750;
}

.hs-popup__title {
  margin: 0 0 0.65rem;
  padding-right: 1.75rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.25;
  color: #1E3D31;
}

.hs-popup__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  border: 0;
  background: transparent;
  color: #1E3D31;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hs-popup label {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #434843;
}

.hs-popup input {
  width: 100%;
  margin-bottom: 0.55rem;
  border: 1px solid rgba(30, 61, 49, 0.22);
  background: #fff;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  color: #181818;
  outline: none;
}

.hs-popup input:focus {
  border-color: #A88750;
}

.hs-popup__submit {
  width: 100%;
  margin-top: 0.2rem;
  border: 0;
  background: #1E3D31;
  color: #fff;
  padding: 0.7rem 1rem;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.hs-popup__submit:hover {
  background: #163028;
}

.hs-popup__consent {
  margin: 0.55rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #666;
}

.hs-popup__status {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.hs-popup__status.is-success {
  color: #1E3D31;
}

.hs-popup__status.is-error {
  color: #a33;
}

.hs-popup__dismiss {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.45rem 0.5rem;
  border: 0;
  background: transparent;
  color: #666;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.hs-popup__dismiss:hover {
  color: #1E3D31;
}

/* Celebration success */
.hs-celebration {
  position: relative;
  text-align: center;
  padding: 1.25rem 0.5rem 0.5rem;
  overflow: hidden;
  animation: hs-celebration-in 0.45s ease both;
}

.hs-celebration--compact {
  padding: 0.75rem 0.25rem 0.25rem;
}

@keyframes hs-celebration-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hs-celebration__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hs-celebration__particle {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 1px;
  opacity: 0;
  animation: hs-confetti-burst 1.35s ease-out forwards;
  animation-delay: calc(var(--i) * 0.025s);
}

.hs-celebration__particle:nth-child(3n) {
  background: #A88750;
}
.hs-celebration__particle:nth-child(3n + 1) {
  background: #ffffff;
}
.hs-celebration__particle:nth-child(3n + 2) {
  background: #b4cdb8;
}

@keyframes hs-confetti-burst {
  0% {
    opacity: 1;
    transform: rotate(calc(var(--i) * 13deg)) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(calc(var(--i) * 13deg)) translateY(calc(-90px - (var(--i) % 5) * 12px)) scale(0.4);
  }
}

.hs-celebration__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: rgba(168, 135, 80, 0.18);
  color: #A88750;
  font-size: 1.65rem;
  line-height: 1;
  animation: hs-celebrate-pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hs-celebration__icon .material-symbols-outlined {
  font-size: 1.85rem;
}

@keyframes hs-celebrate-pop {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hs-celebration__headline {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.25;
  color: #1E3D31;
}

.hs-celebration__message {
  position: relative;
  z-index: 1;
  margin: 0 auto 0.75rem;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #434843;
}

.hs-celebration__close-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  border: 0;
  background: #1E3D31;
  color: #fff;
  padding: 0.65rem 1.15rem;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.hs-celebration__close-btn:hover {
  background: #163028;
}

/* Homepage launch section */
.hs-launch-section {
  position: relative;
  background-color: #1E3D31;
  color: #fff;
}

.hs-launch-section__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 61, 49, 0.92), rgba(30, 61, 49, 0.92)),
    url("/assets/hill-station-brand-pattern-crop-greenbackground.png");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hs-launch-section__inner {
  position: relative;
  z-index: 1;
}

.hs-launch-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 768px) {
  .hs-launch-form {
    padding: 1.5rem;
  }
}

.hs-launch-form label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hs-launch-form input {
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.6rem 0.75rem;
  font-size: 0.92rem;
  color: #181818;
  outline: none;
}

.hs-launch-form input:focus {
  border-color: #A88750;
}

.hs-launch-form__submit {
  width: 100%;
  margin-top: 0.15rem;
  border: 0;
  background: #A88750;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hs-launch-form__submit:hover {
  background: #927443;
}

.hs-launch-form__consent {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.hs-launch-section .hs-newsletter-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hs-launch-section .hs-newsletter-status.is-error {
  color: #ffb4b4;
}

.hs-launch-section__form-wrap {
  position: relative;
  width: 100%;
}

.hs-launch-section .hs-celebration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 1.25rem;
  text-align: center;
  min-height: 16rem;
}

.hs-launch-section .hs-celebration__headline {
  color: #fff;
  margin: 0 0 0.65rem;
}

.hs-launch-section .hs-celebration__message {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  max-width: 26rem;
}

.hs-launch-section .hs-celebration__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

/* Launch landing page */
.hs-launch-standalone {
  margin: 0;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  background-color: #1E3D31;
  color: #fff;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}

.hs-launch-standalone .hs-launch-landing {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
}

.hs-launch-landing {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: #1E3D31;
  color: #fff;
}

.hs-launch-landing__hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5.5rem 1.25rem 2.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hs-launch-landing__hero {
    padding: 6.5rem 2rem 3rem;
  }
}

.hs-launch-landing__logo {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  line-height: 0;
}

.hs-launch-landing__logo img {
  width: clamp(7.5rem, 22vw, 10rem);
  height: auto;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .hs-launch-landing__logo {
    top: 1.35rem;
    left: 1.75rem;
    transform: none;
  }
}

.hs-launch-landing__hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 61, 49, 0.88), rgba(30, 61, 49, 0.94)),
    url("/assets/hill-station-brand-pattern-crop-greenbackground.png");
  background-size: cover;
  background-position: center;
}

.hs-launch-landing__hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("/assets/Facilities/outdoor/Gatehouse_5_-_Photo.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.hs-launch-landing__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding-top: 3.25rem;
}

@media (min-width: 768px) {
  .hs-launch-standalone .hs-launch-landing__wrap {
    padding-top: 0;
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .hs-launch-landing__wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hs-launch-standalone .hs-launch-landing__title {
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  margin-bottom: 0.65rem;
}

.hs-launch-standalone .hs-launch-landing__desc {
  font-size: clamp(0.85rem, 2vw, 0.98rem);
  line-height: 1.55;
}

.hs-launch-standalone .hs-launch-landing__card {
  padding: 1rem;
}

.hs-launch-standalone .hs-launch-form input {
  margin-bottom: 0.55rem;
  padding: 0.52rem 0.7rem;
  font-size: 0.88rem;
}

.hs-launch-standalone .hs-launch-form__consent {
  margin-top: 0.5rem;
  font-size: 0.66rem;
}

@media (max-height: 700px) {
  .hs-launch-standalone .hs-launch-landing {
    align-items: flex-start;
    overflow-y: auto;
    height: auto;
    min-height: 100svh;
  }

  .hs-launch-standalone .hs-launch-landing__wrap {
    padding-top: 4rem;
    padding-bottom: 1rem;
  }
}

.hs-launch-landing__kicker {
  margin: 0 0 0.75rem;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A88750;
}

.hs-launch-landing__title {
  margin: 0 0 1rem;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.hs-launch-landing__desc {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.hs-launch-landing__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.35rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .hs-launch-landing__card {
    padding: 1.75rem;
  }
}

.hs-launch-landing__card .hs-launch-form {
  background: transparent;
  border: 0;
  padding: 0;
  backdrop-filter: none;
}

.hs-launch-landing .hs-newsletter-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.hs-launch-landing .hs-newsletter-status.is-error {
  color: #ffb4b4;
}

.hs-launch-landing .hs-celebration {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hs-launch-landing .hs-celebration__headline {
  color: #fff;
}

.hs-launch-landing .hs-celebration__message {
  color: rgba(255, 255, 255, 0.88);
}

.hs-launch-landing .hs-celebration__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hs-launch-landing__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.hs-launch-landing__back:hover {
  color: #A88750;
}
