/* =============================================
   CREED PAGE — cp- prefix
   ============================================= */

/* NAV */
.cp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(28, 16, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 133, 58, 0.15);
}

.cp-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-nav__brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #F0EDE6;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.cp-nav__back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #8A8A9A;
  text-decoration: none;
  transition: color 0.2s;
}

.cp-nav__back:hover {
  color: #C9853A;
}

/* HERO */
.cp-hero {
  position: relative;
  padding-top: 60px;
  background: #1C1008;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cp-hero__mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.cp-hero__mountain svg {
  width: 100%;
  height: auto;
  display: block;
}

.cp-hero__poster {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.cp-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* EMAIL GATE */
.cp-gate {
  background: #1C1008;
  padding: 96px 24px;
}

.cp-gate__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.cp-gate__icon {
  margin-bottom: 24px;
}

.cp-gate__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F0EDE6;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cp-gate__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #8A8A9A;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cp-gate__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-gate__input-row {
  display: flex;
  gap: 10px;
}

.cp-gate__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 133, 58, 0.25);
  border-radius: 3px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #F0EDE6;
  outline: none;
  transition: border-color 0.2s;
}

.cp-gate__input::placeholder {
  color: #5A5A6A;
}

.cp-gate__input:focus {
  border-color: #C9853A;
}

.cp-gate__input.error {
  border-color: #E05252;
}

.cp-gate__btn {
  background: #C9853A;
  color: #0B0A0F;
  border: none;
  border-radius: 3px;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cp-gate__btn:hover:not(:disabled) {
  background: #D4954A;
}

.cp-gate__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cp-gate__privacy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #5A5A6A;
  margin-top: 4px;
}

.cp-gate__error {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #E05252;
  margin-top: 4px;
}

.cp-gate__success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #C9853A;
  margin-top: 24px;
}

/* PURCHASE NOTE — inline text link below email success */
.cp-purchase-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A5A6A;
  margin-top: 40px;
  line-height: 1.6;
}

.cp-purchase-note a {
  color: #C9853A;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 133, 58, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.cp-purchase-note a:hover {
  color: #D4954A;
  border-color: #D4954A;
}

/* FOOTER */
.cp-footer {
  background: #1C1008;
  border-top: 1px solid rgba(201, 133, 58, 0.2);
  padding: 48px 24px;
}

.cp-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cp-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cp-footer__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #F0EDE6;
}

.cp-footer__tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #5A5A6A;
  letter-spacing: 0.1em;
}

.cp-footer__links {
  display: flex;
  gap: 32px;
}

.cp-footer__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #5A5A6A;
  text-decoration: none;
  transition: color 0.2s;
}

.cp-footer__link:hover {
  color: #C9853A;
}

.cp-footer__copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #3A3A4A;
}

.cp-footer__motto {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-style: italic;
  color: #C9853A;
  letter-spacing: 0.02em;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 540px) {
  .cp-gate__input-row {
    flex-direction: column;
  }

  .cp-gate__btn {
    width: 100%;
  }

  .cp-hero__poster {
    padding: 60px 20px 80px;
  }

  .cp-footer__links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
