/* patch.css — only the spots named in the v4 restore brief.
   Accordions, four male scenes, gift link already in gift-correction.css,
   and a quiet YouTube fallback that does not restyle the modal frame. */

.card-details{margin:0}
.card-details>summary.card-more{cursor:pointer;list-style:none}
.card-details>summary.card-more::-webkit-details-marker{display:none}
.card-source{padding-top:12px;text-align:left}
.card-source p,.source-body p{font-size:13px;line-height:1.65;min-height:0;margin:0 0 10px;color:#e7eee9}
.source-more{margin-top:16px}
.source-more>summary{cursor:pointer;color:#dfbe86;letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:800;list-style:none}
.source-more>summary::-webkit-details-marker{display:none}
.source-body{padding-top:12px;max-width:680px}
.source-body h3{font:600 22px/1.3 var(--serif);color:#f3e0b8;margin:16px 0 8px}

.program-card--ancestry{
  background-image:linear-gradient(180deg,#081114d8 0%,#08111455 42%,#08111418 100%),url("assets/men/rod-memory.webp");
  background-size:cover;
  background-position:center 30%;
}
.program-card--practice{
  background-image:linear-gradient(180deg,#071314d0 0%,#08111540 46%,#08111518 100%),url("assets/men/practice.webp");
  background-size:cover;
  background-position:center 28%;
}
.program-card--blood{
  background-image:linear-gradient(180deg,#0b121788 0%,#0d182166 42%,#051019ee 100%),url("assets/men/blood-card.webp") !important;
  background-size:cover !important;
  background-position:center 12% !important;
}
.program-card--ancestry:before,
.program-card--practice:before,
.program-card--blood:before{
  background:linear-gradient(0deg,#081114f0 0%,#0811148a 26%,#0b151600 58%) !important;
}
.program-card--ancestry .card-icon,
.program-card--practice .card-icon{opacity:.2}

/* Fourth scene: left rim of the existing blood medallion. Rune video stays above it. */
#blood .blood-sage{
  position:absolute;
  z-index:2;
  left:0;
  bottom:0;
  height:90%;
  width:38%;
  object-fit:cover;
  object-position:72% 18%;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,#000 0 58%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0 58%,transparent 100%);
}
#blood .blood-arcontan{z-index:1}
#blood .blood-rune-video-wrap{z-index:4}
#blood .blood-caption{z-index:5}

.video-external{
  position:absolute;
  top:22px;
  left:22px;
  z-index:5;
  color:#f4c977;
  font-size:12px;
  letter-spacing:.08em;
  text-decoration:underline;
  text-underline-offset:3px;
}
.video-external:hover{color:#fff1cb}

@media(max-width:680px){
  #blood .blood-sage{width:46%;height:70%}
  .card-source p,.source-body p{font-size:15px;line-height:1.7}
}

/* Nine precise patches. Existing motion stays. */

.hero-ark-stage{
  position:absolute;
  z-index:1;
  top:9%;
  right:9%;
  width:min(47vw,640px);
  aspect-ratio:1;
  pointer-events:none;
}
.hero-ark-stage .hero-ark{
  position:relative;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 18px 16px #000c) drop-shadow(0 0 18px #e8b864) drop-shadow(0 0 56px #c8892ecc) saturate(1.48) contrast(1.08) brightness(1.05);
  animation:arkHover 16s ease-in-out infinite, arkMetal 7.5s ease-in-out infinite;
}
@keyframes arkMetal{
  0%,100%{filter:drop-shadow(0 18px 16px #000c) drop-shadow(0 0 14px #e6b15a) saturate(1.35) brightness(1)}
  50%{filter:drop-shadow(0 24px 18px #000a) drop-shadow(0 0 42px #ffe09a) saturate(1.62) brightness(1.16)}
}
.ark-volume{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:conic-gradient(from 0deg, transparent 0 86%, #fff6d2 93%, #ffcf6a 96%, transparent 100%);
  mix-blend-mode:screen;
  -webkit-mask-image:radial-gradient(circle, transparent 61%, #000 70%, #000 88%, transparent 94%);
  mask-image:radial-gradient(circle, transparent 61%, #000 70%, #000 88%, transparent 94%);
  animation:arkSheen 11s linear infinite;
  opacity:.95;
}
.ark-gems{position:absolute;inset:0}
.ark-gems i{
  position:absolute;width:7px;height:7px;border-radius:50%;
  background:#fff8dc;box-shadow:0 0 8px #ffe7a8,0 0 16px #e7b15a;
  animation:gemTwinkle 2.6s ease-in-out infinite;
}
.ark-gems i:nth-child(1){left:48%;top:7%}
.ark-gems i:nth-child(2){left:78%;top:18%;animation-delay:.3s}
.ark-gems i:nth-child(3){left:90%;top:48%;animation-delay:.6s}
.ark-gems i:nth-child(4){left:76%;top:78%;animation-delay:.9s}
.ark-gems i:nth-child(5){left:48%;top:90%;animation-delay:1.2s}
.ark-gems i:nth-child(6){left:18%;top:76%;animation-delay:1.5s}
.ark-gems i:nth-child(7){left:6%;top:46%;animation-delay:1.8s}
.ark-gems i:nth-child(8){left:18%;top:16%;animation-delay:2.1s}
@keyframes gemTwinkle{0%,100%{opacity:.25;transform:scale(.7)} 50%{opacity:1;transform:scale(1.35)}}
.hero-vedunya .vedunya-base{width:100%;height:auto;display:block}
.hero-vedunya .vedunya-hair{
  position:absolute;left:0;top:0;width:100%;height:100%;
  object-fit:fill;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,#000 0 12%,transparent 26% 74%,#000 88%);
  mask-image:linear-gradient(90deg,#000 0 12%,transparent 26% 74%,#000 88%);
  animation:hairDrift 6.5s ease-in-out infinite;
  transform-origin:50% 18%;
}
@keyframes hairDrift{0%,100%{transform:translateX(0) rotate(0deg)} 50%{transform:translateX(4px) rotate(.4deg)}}
@keyframes arkSheen{to{transform:rotate(360deg)}}

.path-more{
  max-width:840px;margin:26px auto 0;text-align:left;
  padding:6px 26px 20px;
  border:1px solid #e6c98a66;
  background:linear-gradient(180deg,#162430f2,#0c1418f5);
  box-shadow:inset 0 1px 0 #f3d7a255,0 22px 50px #0007;
}
.path-more>summary{display:inline-flex;margin-top:14px;font-size:13px;letter-spacing:.18em}
.path-more .source-body{margin:0 auto;max-width:none}
.path-more h3{color:#f6e2b4}
.path-more ul{margin:0 0 12px;padding-left:1.2em}
.path-more li{color:#f3f6f4;font-size:17px;line-height:1.75;margin:0 0 8px}
.path-more li::marker{color:#e7c27a}
.source-more>summary::after{content:" ↗"}
.card-more b{margin-left:4px}

.program-card .card-bottom p{font-size:16px;line-height:1.7;color:#f4f7f4}
.program-card .card-bottom h3{line-height:1.12;position:relative;z-index:2}
.program-card .card-icon{
  position:absolute;
  top:48px;
  right:16px;
  left:auto;
  width:74px;
  height:74px;
  margin:0;
  opacity:.9;
  z-index:1;
  pointer-events:none;
}
.program-card .card-icon svg{width:100%;height:100%;display:block;overflow:visible}
.rune-glyph img,.program-card--blood .card-icon img{width:74px;height:74px}
.program-card--ancestry:before,
.program-card--practice:before,
.program-card--blood:before{
  background:linear-gradient(0deg,#081114f0 0%,#08111466 24%,#0b151600 55%) !important;
}
.program-card--breath .card-icon{opacity:1;overflow:visible;border-radius:0;background:transparent}
.program-card--breath .card-icon img{width:100%;height:100%;object-fit:contain;display:block;background:transparent;animation:lungsBreath 4.2s ease-in-out infinite;transform-origin:50% 12%}

.lungs-live{
  position:absolute;
  z-index:3;
  width:24%;
  aspect-ratio:1.05;
  left:6%;
  bottom:16%;
  top:auto;
  background:transparent;
  pointer-events:none;
  filter:drop-shadow(0 0 14px #f0c56a88);
}
.lungs-live .lungs-body{
  position:absolute;
  inset:0;
  transform-origin:50% 8%;
  animation:lungsBreath 4.2s ease-in-out infinite;
}
.lungs-live img{width:100%;height:100%;object-fit:contain;display:block}
.lungs-live .air{
  position:absolute;
  width:7px;
  height:7px;
  margin:-3px 0 0 -3px;
  border-radius:50%;
  background:#fff6d4;
  box-shadow:0 0 8px #ffe7a8;
}
.lungs-live .air-a{left:50%;top:24%;animation:airA 4.2s ease-in-out infinite}
.lungs-live .air-b{left:34%;top:48%;animation:airB 4.2s ease-in-out infinite}
.lungs-live .air-c{left:66%;top:48%;animation:airC 4.2s ease-in-out infinite}
.lungs-live .air-d{left:28%;top:68%;animation:airD 4.2s ease-in-out infinite .2s}
.lungs-live .air-e{left:72%;top:68%;animation:airE 4.2s ease-in-out infinite .2s}
@keyframes lungsBreath{
  0%,100%{transform:scale(.88,.84)}
  50%{transform:scale(1.06,1.14)}
}
@keyframes airA{0%,100%{opacity:.15;transform:translate(0,-10px)} 45%{opacity:1;transform:translate(0,16px)} 70%{opacity:.45;transform:translate(0,4px)}}
@keyframes airB{0%,100%{opacity:.1;transform:translate(8px,-18px)} 48%{opacity:1;transform:translate(-6px,14px)} 74%{opacity:.4;transform:translate(2px,-6px)}}
@keyframes airC{0%,100%{opacity:.1;transform:translate(-8px,-18px)} 48%{opacity:1;transform:translate(6px,14px)} 74%{opacity:.4;transform:translate(-2px,-6px)}}
@keyframes airD{0%,100%{opacity:0;transform:translate(10px,-24px)} 50%{opacity:.95;transform:translate(-4px,10px)}}
@keyframes airE{0%,100%{opacity:0;transform:translate(-10px,-24px)} 50%{opacity:.95;transform:translate(4px,10px)}}

#blood.blood-section{
  background-color:#07111a;
  background-image:
    linear-gradient(90deg,rgba(7,13,20,.12) 0%,rgba(7,13,20,0) 34%,rgba(7,13,20,.42) 58%,rgba(7,13,20,.78) 100%),
    url("assets/men/blood-sanctum.webp");
  background-size:cover;
  background-position:22% center;
  background-repeat:no-repeat;
}
#blood.blood-section:before{opacity:0}
#blood .blood-visual{
  min-height:0;
  height:auto;
  width:100%;
  max-width:640px;
  margin-inline:auto;
  display:block;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
#blood .blood-chernobog{
  position:relative;
  inset:auto;
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:3/4;
  object-fit:contain;
  object-position:center center;
  transform:none;
  background:transparent;
  z-index:1;
  -webkit-mask-image:
    linear-gradient(180deg,transparent 0%,#000 4%,#000 97.5%,transparent 100%),
    linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(180deg,transparent 0%,#000 4%,#000 97.5%,transparent 100%),
    linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%);
  mask-composite:intersect;
}
#blood .blood-caption{
  position:static;
  height:auto;
  margin:12px 0 0;
  display:block;
  text-align:center;
  background:transparent;
  z-index:6;
}
#blood .blood-aura{
  position:absolute;
  z-index:2;
  left:16%;
  right:16%;
  top:8%;
  bottom:18%;
  border-radius:50%;
  background:radial-gradient(circle, #f6c56a44, transparent 68%);
  filter:blur(10px);
  animation:auraPulse 4.6s ease-in-out infinite;
  pointer-events:none;
}
@keyframes auraPulse{0%,100%{opacity:.45;transform:scale(.96)} 50%{opacity:.95;transform:scale(1.05)}}
#blood .blood-rune-video-wrap{
  z-index:5;
  width:17%;
  left:50%;
  top:64%;
  transform:translate(-50%,-50%);
}
#blood .blood-caption{z-index:6}
.lesson-ol{margin:0;padding-left:1.2em}
.lesson-ol li{color:#e7eee9;font-size:15px;line-height:1.65;margin:0 0 8px}

.bonus-icon--logo{width:124px;height:124px;font-size:0;line-height:0;filter:drop-shadow(0 0 18px #e7b15aaa)}
.bonus-icon--logo img{width:100%;height:100%;object-fit:contain}

.offer{
  background-color:#070d14;
}
.offer-card{
  background:
    radial-gradient(circle at 80% 0%, #e7c27a33, transparent 36%),
    linear-gradient(165deg, #14243a, #0c1828 58%, #081018);
  box-shadow:inset 0 1px 0 #f3d7a266, 0 28px 70px #000a;
}
.offer-mark{width:74px;height:74px;object-fit:contain;margin:0 0 12px;filter:drop-shadow(0 8px 16px #0008)}
.join-card{box-shadow:0 0 0 1px #e6c98a, 0 24px 60px #0008}
.checkout-summary strong,.offer-price{text-shadow:0 0 18px #e7b15a55}

@media(max-width:1250px){
  .hero-ark-stage{width:53vw;right:0}
}
@media(max-width:1000px){
  .hero-ark-stage{width:58vw;right:-6%}
  .lungs-live{width:34%;left:3%;top:auto;bottom:18%}
}
@media(max-width:680px){
  .hero-ark-stage{top:auto;bottom:4%;width:90vw;right:-20%}
  .program-card{min-height:420px}
  .program-card .card-bottom p,.program-card--water p{font-size:14px !important;line-height:1.6 !important}
  .card-bottom h3{font-size:24px !important}
  .program-card .card-icon{width:54px;height:54px;top:40px;right:10px}
  .rune-glyph img,.program-card--blood .card-icon img{width:54px;height:54px}
  #blood .blood-rune-video-wrap{width:22%;top:66%}
  .lungs-live{width:30%;left:3%;top:auto;bottom:20%}
  .bonus-icon--logo{width:96px;height:96px}
}
.card-rune{position:absolute;top:34px;right:8px;z-index:4;width:92px;height:124px;pointer-events:none;perspective:720px}
.card-rune img{width:100%;height:100%;object-fit:contain;display:block;background:transparent;transform-origin:50% 50%;animation:cardRuneYaw 9s linear infinite;filter:drop-shadow(0 0 7px #ffd56ad0)}
@keyframes cardRuneYaw{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
.program-card--water{
  background-image:linear-gradient(180deg,#041018c4 0%,#04101833 46%,#041018f0 100%),url("assets/men/waterfall.webp") !important;
  background-size:cover !important;
  background-position:center 35% !important;
}
.water-section{
  background:
    linear-gradient(90deg,#06141cee 0%,#06141c99 34%,#06303855 100%),
    url("assets/men/waterfall.webp") 72% 28%/cover !important;
}
.water-bg{opacity:.2}
#water .water-scene-rune{animation:none;filter:none;perspective:520px}
#water .water-scene-rune img{width:100%;height:auto;object-fit:contain;display:block;background:transparent;transform-origin:50% 50%;animation:cardRuneYaw 9s linear infinite;filter:drop-shadow(0 0 8px #ffd56ad0)}

#blood .blood-caption{z-index:6}

@media(max-width:680px){
  .card-rune{width:64px;height:86px;top:28px;right:4px}
  .lungs-live{width:24%;left:5%;bottom:20%}
}
@media(prefers-reduced-motion:reduce){
  .ark-volume,.ark-gems i,.lungs-live .lungs-body,.lungs-live .air,.vedunya-hair{animation:none !important}
}

#philosophy.philosophy{
  background-color:#07111c;
  background-image:
    linear-gradient(90deg,rgba(7,14,24,.08) 0%,rgba(7,14,24,.12) 46%,rgba(5,12,22,.5) 70%,rgba(5,12,22,.68) 100%),
    url("assets/backgrounds/bg-31.webp");
  background-size:cover;
  background-position:left center;
  background-repeat:no-repeat;
}
#program.program{
  background-color:#071018;
  background-image:
    linear-gradient(180deg,rgba(6,12,20,.62) 0%,rgba(6,12,20,.4) 16%,rgba(6,12,20,.22) 36%,rgba(6,12,20,.2) 100%),
    url("assets/backgrounds/bg-32.webp");
  background-size:100% auto;
  background-position:center top;
  background-repeat:no-repeat;
}
#breath.breath-section{
  background-color:#061018;
  background-image:
    linear-gradient(90deg,rgba(5,12,22,.68) 0%,rgba(5,12,22,.48) 34%,rgba(5,12,22,.12) 58%,rgba(5,12,22,0) 100%),
    url("assets/backgrounds/bg-33.webp");
  background-size:cover;
  background-position:right center;
  background-repeat:no-repeat;
}
#format.experience{
  background-color:#071018;
  background-image:
    linear-gradient(90deg,rgba(4,8,14,.97) 0%,rgba(4,8,14,.94) 46%,rgba(4,8,14,.86) 56%,rgba(6,12,20,.28) 70%,rgba(6,12,20,.08) 86%,rgba(6,12,20,.05) 100%),
    url("assets/backgrounds/bg-34.webp");
  background-size:cover;
  background-position:42% center;
  background-repeat:no-repeat;
}
#reviews.reviews{
  background-color:#071018;
  background-image:
    linear-gradient(180deg,rgba(6,12,20,.58) 0%,rgba(6,12,20,.22) 30%,rgba(6,12,20,.28) 100%),
    url("assets/backgrounds/bg-35.webp");
  background-size:cover;
  background-position:left center;
  background-repeat:no-repeat;
}
#offer.offer{
  background-color:#071018;
  background-image:
    linear-gradient(90deg,rgba(6,10,18,.16) 0%,rgba(6,10,18,.28) 34%,rgba(5,10,20,.48) 58%,rgba(5,10,20,.58) 100%),
    url("assets/backgrounds/bg-36.webp");
  background-size:cover;
  background-position:left center;
  background-repeat:no-repeat;
}
.path-more[open] .source-body{animation:pathOpen .45s ease}
@keyframes pathOpen{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.section-accent{margin:8px 0 18px;color:#f0d7a4;font-size:15px;line-height:1.65}
@media(max-width:1000px){
  #philosophy.philosophy{background-position:left center}
  #program.program{background-size:100% auto;background-position:center top}
  #breath.breath-section{background-position:72% center}
  #format.experience{background-position:42% center}
  #reviews.reviews{background-position:left center}
  #offer.offer{background-position:left center}
}
@media(max-width:750px){
  #philosophy.philosophy{
    background-image:
      linear-gradient(180deg,rgba(7,14,24,.18) 0%,rgba(7,14,24,.35) 46%,rgba(5,12,22,.72) 72%),
      url("assets/backgrounds/bg-31.webp");
    background-size:cover;
    background-position:left top;
  }
  #breath.breath-section{
    background-image:
      linear-gradient(180deg,rgba(5,12,22,.7) 0%,rgba(5,12,22,.45) 55%,rgba(5,12,22,.25) 100%),
      url("assets/backgrounds/bg-33.webp");
    background-position:right center;
  }
  #format.experience{
    background-image:
      linear-gradient(180deg,rgba(4,8,14,.96) 0%,rgba(4,8,14,.92) 62%,rgba(5,10,16,.38) 80%,rgba(5,10,16,.1) 100%),
      url("assets/backgrounds/bg-34.webp");
    background-size:cover;
    background-position:center top;
  }
}

#philosophy .philosophy-image{
  background-image:
    linear-gradient(180deg,rgba(8,14,18,0) 0%,rgba(8,14,18,0) 70%,rgba(8,14,18,.62) 100%),
    url("assets/foreground/fg-38.webp");
  background-size:cover;
  background-position:center 38%;
  background-repeat:no-repeat;
  filter:none;
}
#format .experience-grid{grid-template-columns:1fr .98fr}
#format .experience-text{order:1}
#format .experience-image{order:2}
#format .experience-image-inner{
  background-image:
    linear-gradient(180deg,rgba(7,12,16,0) 0%,rgba(7,12,16,0) 74%,rgba(7,12,16,.55) 100%),
    url("assets/foreground/fg-39.webp");
  background-size:cover;
  background-position:center 30%;
  background-repeat:no-repeat;
  filter:none;
}
@media(max-width:750px){
  #philosophy .philosophy-image{
    background-image:
      linear-gradient(180deg,rgba(8,14,18,0) 0%,rgba(8,14,18,0) 58%,rgba(8,14,18,.78) 100%),
      url("assets/foreground/fg-38.webp");
    background-position:center 46%;
  }
  #format .experience-image-inner{background-position:center 22%}
}
