/* ==========================================================================
   Additional styles for The Anchored Life Year-End Challenge sales page.
   The page keeps Interpersonal Wellness' own stylesheet, so this file is
   loaded afterwards and carries the redesigned hero, the testimonial video
   and premium blocks, the exit-gift popup and the small runtime utilities.
   ========================================================================== */

:root {
  --burg: #5b0f2f;
  --deep: #1e040f;
  --berry: #8c1d46;
  --berry-light: #b23350;
  --gold: #d8a84e;
  --gold-deep: #8c1d46;
  --gold-light: #f0cf7a;
  --cream: #fbf7f9;
  --cream-2: #f5edf1;
  --ink: #2b0716;
  --muted: #6e4c5b;
  --line: #e6d5dd;
  --white: #fff;
  --shadow-sm: 0 8px 24px rgba(43, 7, 22, .07);
  --shadow: 0 22px 65px rgba(43, 7, 22, .12);
  --shadow-lg: 0 40px 90px rgba(30, 4, 15, .28);
  --radius: 14px;
  --radius-lg: 24px;
  --wrap: min(1180px, calc(100% - 44px));
  --font: Montserrat, "Segoe UI", Arial, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

/* --------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(880px 520px at 92% -10%, rgba(216, 168, 78, .16), transparent 62%),
    radial-gradient(760px 480px at 2% 6%, rgba(178, 51, 80, .06), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #fffdfb 62%, #fdf7f5 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 46px;
  align-items: center;
  padding: 44px 0 50px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #a27035;
}

.hero-kicker {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--berry);
  margin: 20px 0 4px;
}

.hero-title {
  font-size: clamp(2.45rem, 5.1vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.058em;
  line-height: .98;
  color: var(--burg);
  margin: 4px 0 16px;
}

.hero-sub {
  font-size: clamp(1.22rem, 2.1vw, 1.78rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 36ch;
  margin: 0 0 18px;
}

.hero-para {
  font-size: .88rem;
  line-height: 1.68;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 11px;
}
.hero-para-strong { font-weight: 600; color: var(--ink); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.hero-chips span {
  border: 1px solid rgba(91, 15, 47, .18);
  background: #fbf7f9;
  border-radius: 5px;
  padding: 9px 13px;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--burg);
  white-space: nowrap;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.hero-cta {
  text-transform: uppercase;
  letter-spacing: .055em;
  font-size: .76rem;
  padding: 18px 28px;
  min-height: 56px;
}
.hero-check {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: 700 .82rem var(--font);
  color: var(--burg);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-align: left;
}
.hero-check:hover { color: #a27035; }

.welcome-check {
  display: inline-block;
  background: none; border: 0; padding: 2px 0; margin: 0;
  cursor: pointer;
  font: 800 .84rem var(--font);
  letter-spacing: .01em;
  color: var(--burg);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.welcome-check:hover, .welcome-check:focus-visible { color: var(--gold-deep); text-decoration-color: currentColor; }

.hero-note {
  font-size: .74rem;
  font-weight: 700;
  color: #a27035;
  margin: 15px 0 0;
  letter-spacing: .01em;
}

/* portrait */
.hero-photo { position: relative; align-self: stretch; display: flex; align-items: center; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px -16px 18px 18px;
  border: 1px solid rgba(216, 168, 78, .55);
  border-radius: 300px 300px 14px 14px;
  transform: rotate(1.2deg);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  max-height: 600px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 300px 300px 12px 12px;
  border: 2px solid #d8a84e;
  box-shadow: 0 30px 70px rgba(43, 7, 22, .18);
}
.photo-tag {
  position: absolute;
  left: -40px;
  bottom: 26px;
  background: #fff;
  color: var(--burg);
  padding: 18px 22px;
  max-width: 312px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(43, 7, 22, .14);
  border-radius: 2px;
  font-size: .8rem;
  line-height: 1.5;
}
.photo-tag b { display: block; font-size: .84rem; font-weight: 800; color: #2b0716; margin-bottom: 3px; }
.photo-tag span { display: block; font-weight: 500; color: #6e4c5b; }

/* the caption over the portrait is a pull quote rather than a name card */
.photo-quote { max-width: 336px; padding: 20px 24px 20px 22px; border-left: 5px solid #d8a84e; }
.photo-quote p {
  margin: 0;
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  color: #5b0f2f;
}

/* nav variant used above the hero */
.nav-cta { text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; padding: 13px 20px; }

/* the page's own sheet pins .hero h1 sizing with !important, so restate it */
.hero {
  min-height: 0;
}
.hero-photo { height: auto; }
.hero .hero-title {
  font-size: clamp(2.45rem, 5.1vw, 4.2rem) !important;
  font-weight: 900 !important;
  line-height: .98 !important;
  letter-spacing: -.058em !important;
  margin: 4px 0 16px !important;
  color: var(--burg) !important;
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 44px 0 54px; }
  .hero-photo { height: auto; max-width: 440px; margin-inline: auto; }
  .hero-photo::before { inset: -10px -12px 16px 14px; }
  .photo-tag { left: -10px; bottom: 18px; max-width: 300px; }
  .hero-sub { max-width: none; }
}

@media (max-width: 760px) {
  .hero-grid { padding: 34px 0 46px; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-sub { font-size: 1.3rem; max-width: none; }
  .hero-para { font-size: .9rem; }
  .hero-photo { height: auto; max-width: 360px; flex-direction: column; align-items: stretch; }
  .photo-tag { position: static; margin-top: -26px; margin-left: 12px; margin-right: 12px; max-width: none; }
  .photo-quote { width: auto; max-width: none; }
  .hero-actions { gap: 14px; }
  .hero-cta { width: 100%; }
  .hero-check { font-size: .78rem; }
}

/* -------------------------------- popup --------------------------------- */

.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 3, 9, .74);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.popup-backdrop.show { opacity: 1; visibility: visible; }
.popup {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fdf9fb;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  transform: translateY(18px) scale(.98);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1);
  border: 1px solid #e2cdd8;
}
.popup-backdrop.show .popup { transform: none; }
.popup-visual { position: relative; background: linear-gradient(160deg, #5b0f2f, #1e040f); overflow: hidden; }
.popup-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.popup-visual .badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  font-family: var(--font); font-size: 1.12rem; font-weight: 800; color: #f0cf7a;
  letter-spacing: .004em; line-height: 1.3; text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
.popup-body { padding: 36px 34px 32px; }
.popup-body h3 { font-family: var(--font); font-size: clamp(1.4rem, 2.5vw, 1.95rem); font-weight: 900; color: var(--burg); line-height: 1.16; letter-spacing: -.02em; margin: 10px 0 12px; }
.popup-body p { font-size: .87rem; color: var(--muted); line-height: 1.7; }
.popup-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.popup-list li { font-size: .79rem; font-weight: 700; color: var(--ink); padding-left: 22px; position: relative; }
.popup-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #8c1d46; font-weight: 900; }
.popup-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.popup-meta span { font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #e0ccd6; border-radius: 100px; padding: 5px 10px; color: #8c1d46; background: #faf1f5; }
.popup-close {
  position: absolute; top: 10px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .86);
  color: #5b0f2f; font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
}
.popup-dismiss { display: block; width: 100%; margin-top: 10px; background: none; border: 0; font: 700 .72rem var(--font); color: #8a6f7b; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------- toast ---------------------------------- */

.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 300;
  background: #2b0716;
  color: #f7e6bf;
  border: 1px solid rgba(216, 168, 78, .4);
  border-radius: 10px;
  padding: 13px 20px;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: min(420px, calc(100% - 32px));
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------- utility ------------------------------- */

[hidden] { display: none !important; }
.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;
}
.btn-block { width: 100%; }

/* ----------------------------- testimonials ------------------------------ */

.video-wrap { max-width: 820px; margin: 34px auto 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #8c1d46, #2b0716);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cover {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.video-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s ease, transform .6s ease; }
.video-cover:hover img, .video-cover:focus-visible img { opacity: .96; transform: scale(1.02); }
.video-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%;
  background: #fff9ed; color: var(--burg);
  display: grid; place-items: center;
  font-size: 1.55rem; line-height: 1;
  box-shadow: 0 18px 40px rgba(22, 0, 9, .44);
}
.video-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 42px 18px 16px;
  background: linear-gradient(transparent, rgba(30, 4, 15, .84));
  color: #f0cf7a; font-size: .7rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}

.testi .mono {
  width: 44px; height: 44px; border-radius: 50%;
  background: #f6e4c5; color: var(--burg);
  display: grid; place-items: center;
  font-size: .76rem; font-weight: 900; letter-spacing: .04em;
  margin-bottom: 14px;
}
@media (max-width: 760px) {
  .video-play { width: 62px; height: 62px; font-size: 1.15rem; }
}

/* -------------------------------- gift cards ----------------------------- */

/* the gift cards carry the photographed wrapping rather than the drawn boxes */
.gift-visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transition: transform .55s ease;
}
.gift-card:hover .gift-visual img { transform: scale(1.05); }
.gift-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(30, 4, 15, .2) 0%, rgba(30, 4, 15, .05) 38%, rgba(30, 4, 15, .55) 62%, rgba(30, 4, 15, .9) 100%);
  pointer-events: none;
}
.gift-visual::before { z-index: 3; }
.gift-visual-label {
  z-index: 4;
  text-shadow: 0 2px 14px rgba(22, 0, 9, .6);
}
.gift-button-gold {
  background: linear-gradient(118deg, #f3d58c 0%, #d8a84e 52%, #c4933f 100%);
  color: #310d19;
  box-shadow: 0 12px 26px rgba(25, 0, 0, .22);
}
.gift-button-gold:hover { filter: brightness(1.06); }

/* ------------------------------ seven secrets ---------------------------- */

.secrets {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(900px 520px at 50% -6%, rgba(124, 34, 73, .9), transparent 68%),
    radial-gradient(680px 460px at 8% 96%, rgba(74, 20, 78, .62), transparent 70%),
    radial-gradient(620px 420px at 94% 88%, rgba(60, 18, 74, .5), transparent 72%),
    linear-gradient(168deg, #4d0c28 0%, #3d0a22 46%, #2b0716 100%);
  overflow: hidden;
}
/* the seven-colour rule that caps the section */
.secrets::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #e23b4e 0%, #f0a93b 17%, #d9c94a 33%, #45a85a 50%, #2aa5a0 66%, #4f7fd8 83%, #7b5bd6 100%);
}
.secrets-wrap { position: relative; z-index: 1; max-width: 1000px; }

.secrets-eyebrow {
  color: #f0cf7a;
  letter-spacing: .28em;
  font-size: .68rem;
}

.secrets-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 14px;
}
.secrets-dots span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .84rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 6px 16px rgba(16, 2, 9, .38);
}
.secrets-dots span:nth-child(1) { background: #e23b4e; }
.secrets-dots span:nth-child(2) { background: #f0a93b; }
.secrets-dots span:nth-child(3) { background: #2aa5a0; }
.secrets-dots span:nth-child(4) { background: #45a85a; }
.secrets-dots span:nth-child(5) { background: #e8823a; }
.secrets-dots span:nth-child(6) { background: #7b5bd6; }
.secrets-dots span:nth-child(7) { background: #3e7bd6; }

.secrets-title {
  max-width: 960px;
  margin: 8px auto 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.secrets-title em {
  display: block;
  font-style: normal;
  color: #f0cf7a;
}

.secrets-sub {
  max-width: 620px;
  margin: 16px auto 0;
  color: #e2c3ce;
  font-size: .95rem;
  line-height: 1.7;
}

.secrets-list {
  list-style: none;
  margin: 34px auto 0;
  padding: 0;
  max-width: 700px;
  display: grid;
  gap: 11px;
  text-align: left;
}
.secret {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px 17px 20px;
  border-radius: 11px;
  border-left: 5px solid #fff;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 10px 26px rgba(16, 2, 9, .22);
}
.secret p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: #fff;
}
.secret strong { font-weight: 900; }
.secret-dot {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 900;
  color: #fff;
}
.secret.s1 { border-left-color: #e23b4e; }
.secret.s1 .secret-dot { background: #e23b4e; }
.secret.s2 { border-left-color: #f0a93b; }
.secret.s2 .secret-dot { background: #f0a93b; }
.secret.s3 { border-left-color: #2aa5a0; }
.secret.s3 .secret-dot { background: #2aa5a0; }
.secret.s4 { border-left-color: #45a85a; }
.secret.s4 .secret-dot { background: #45a85a; }
.secret.s5 { border-left-color: #7b5bd6; }
.secret.s5 .secret-dot { background: #7b5bd6; }

.secrets-fine {
  margin: 26px auto 0;
  color: #b8929f;
  font-size: .72rem;
  line-height: 1.7;
}
.secrets-note {
  margin: 14px auto 0;
  max-width: 720px;
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.6;
}
.secrets-cta { margin-top: 26px; }
.secrets-deadline {
  margin: 14px 0 0;
  color: #f0cf7a;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .01em;
}

@media (max-width: 760px) {
  .secrets { padding-top: 66px; padding-bottom: 70px; }
  .secrets-dots span { width: 26px; height: 26px; font-size: .76rem; }
  .secrets-dots { gap: 7px; }
  .secret { padding: 15px 16px; gap: 12px; }
  .secret p { font-size: .9rem; }
  .secrets-note { font-size: .88rem; }
}

/* ------------------------------ closing band ----------------------------- */

/* the closing band keeps the page's own layout, with the deep wine gradient
   the challenge page has always used for its final call to action */
.end {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 440px at 50% 0%, #7c2249 0%, rgba(124, 34, 73, 0) 72%),
    radial-gradient(620px 380px at 88% 108%, rgba(178, 51, 80, .30) 0%, rgba(178, 51, 80, 0) 70%),
    linear-gradient(165deg, #2b0716 0%, #1e040f 58%, #150209 100%);
}
.end::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 14% 26%, rgba(240, 207, 122, .38), transparent),
    radial-gradient(1px 1px at 72% 18%, rgba(240, 207, 122, .3), transparent),
    radial-gradient(1.5px 1.5px at 38% 74%, rgba(240, 207, 122, .22), transparent),
    radial-gradient(1px 1px at 88% 62%, rgba(240, 207, 122, .28), transparent);
}
.end > .wrap { position: relative; z-index: 1; }

/* ----------------------------- seat compare ------------------------------ */

.seat-compare {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 800;
  color: var(--muted);
}
.seat-compare-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8a6f7b; }
.seat-compare a { color: var(--burg); text-decoration: underline; text-underline-offset: 3px; }
.seat-compare a:hover { color: #a27035; }
