@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap");

:root {
  --ink: #1a1520;
  --wine: #5c1f2e;
  --wine-deep: #3d1420;
  --champagne: #d4b896;
  --paper: #f7f2ec;
  --paper-deep: #efe6db;
  --muted: #6b5e66;
  --line: rgba(92, 31, 46, 0.18);
  --white: #fffcf8;
  --banner: #3d1420;
  --cta: #5c1f2e;
  --cta-hover: #7a2a3d;
  --safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* —— Banner —— */
.banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--banner);
  color: var(--champagne);
  text-align: center;
  padding: calc(10px + var(--safe-top)) 14px 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 184, 150, 0.35);
}

.banner strong {
  color: var(--white);
  font-weight: 700;
}

/* —— Layout —— */
.wrap {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 22px 18px 48px;
}

.hero {
  text-align: center;
  margin-bottom: 18px;
}

.kicker {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 10px;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 6.2vw, 2.35rem);
  line-height: 1.12;
  color: var(--wine);
  margin: 0 0 12px;
}

.subhead {
  margin: 0 auto;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Video 9:16 —— */
.video-shell {
  margin: 20px auto 8px;
  width: min(100%, 420px);
  position: relative;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 184, 150, 0.45);
  box-shadow: 0 18px 40px rgba(26, 21, 32, 0.18);
}

.video-frame mux-player {
  --media-object-fit: contain;
  --controls: inline;
  --primary-color: #d4b896;
  --secondary-color: #5c1f2e;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(160deg, #2a1a22, #1a1520 55%, #3d1420);
  color: var(--paper);
  z-index: 2;
}

.video-placeholder.is-visible {
  display: flex;
}

.video-placeholder p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  color: var(--champagne);
  max-width: 22ch;
}

.unmute {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  background: rgba(26, 21, 32, 0.88);
  color: var(--champagne);
  border: 1px solid rgba(212, 184, 150, 0.5);
  padding: 12px 18px;
  border-radius: 999px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.unmute[hidden] {
  display: none !important;
}

.video-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}

/* —— CTA —— */
.cta-block {
  margin: 22px 0 10px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(180deg, var(--cta-hover), var(--cta));
  color: var(--white);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(92, 31, 46, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #8a3247, var(--cta-hover));
}

.btn:active {
  transform: translateY(0);
}

.price-line {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-line em {
  font-style: normal;
  color: var(--wine);
  font-weight: 600;
}

.offer-stack {
  margin: 14px auto 0;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
}

.offer-stack .label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.offer-stack ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-stack li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}

.offer-stack li:last-child {
  border-bottom: 0;
}

.offer-stack .tag {
  color: var(--champagne);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* —— Testimonials (Messenger-style) —— */
.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  color: var(--wine);
  text-align: center;
  margin: 36px 0 8px;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.testimonials {
  display: grid;
  gap: 14px;
}

.msg-thread {
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.msg-avatar,
.msg-avatar-sm {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e4e6eb;
}

.msg-avatar {
  width: 40px;
  height: 40px;
}

.msg-avatar-sm {
  width: 28px;
  height: 28px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.msg-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.msg-name {
  font-size: 0.92rem;
  font-weight: 650;
  color: #050505;
  line-height: 1.2;
}

.msg-meta {
  font-size: 0.72rem;
  color: #65676b;
  line-height: 1.2;
}

.msg-active {
  font-size: 0.68rem;
  color: #31a24c;
  font-weight: 600;
  white-space: nowrap;
}

.msg-body {
  padding: 12px 12px 10px;
  background: linear-gradient(180deg, #f0f2f5 0%, #e9ebee 100%);
}

.msg-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.msg-bubble {
  max-width: calc(100% - 36px);
  background: #e4e6eb;
  color: #050505;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  font-size: 0.94rem;
  line-height: 1.35;
  font-weight: 400;
  box-shadow: none;
}

.msg-time {
  display: block;
  margin: 6px 0 0 36px;
  font-size: 0.68rem;
  color: #65676b;
  font-weight: 500;
}

/* —— Guarantee —— */
.guarantee {
  margin: 28px 0 10px;
  padding: 18px 16px;
  background: rgba(212, 184, 150, 0.16);
  border: 1px solid rgba(212, 184, 150, 0.45);
  text-align: center;
}

.guarantee h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: var(--wine);
  margin: 0 0 8px;
}

.guarantee p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Footer —— */
.footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer .brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--wine);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Sticky bottom CTA (after watch progress) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  font-size: 1.05rem;
  padding: 13px 16px;
}

body.has-sticky-cta {
  padding-bottom: 84px;
}

@media (min-width: 720px) {
  .wrap {
    width: min(520px, 100%);
    padding-top: 28px;
  }

  .banner {
    font-size: 0.85rem;
  }
}
