/* HERA, code-drawn document covers for the PCOS mini-site: the four documents, the checklist and the guide drawn in the look of the
   site itself (white page on the tint, ink type, one serif word, pale blue for the tags), so no page shows a gradient placeholder where the product should be.
   A real photo can still replace any of them later. Also: the compact phone layout of the document cards and the coach cards. */
.cover,.cover-stack{position:absolute;inset:0;background:var(--tint);overflow:hidden}
.cover::before,.cover-stack::before{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 20% 10%,rgba(255,255,255,.6),transparent 55%)}
.cover{display:flex;align-items:flex-end;justify-content:center;padding:12% 14% 0;container-type:size}
/* on the document cards the tag pill sits top left, so the page starts lower */
.pack .cover{padding:20% 10% 0}
.pack .cover .cover-page{width:min(100%,80cqh)}  /* cq units measure the content box, below the padding */
.cover-page{position:relative;width:min(100%,76cqh);max-width:250px;aspect-ratio:1/1.24;background:var(--white);color:var(--ink);border-radius:8px 8px 0 0;box-shadow:0 0 0 1px rgba(21,35,43,.06),0 30px 50px -28px rgba(16,35,46,.38);display:flex;flex-direction:column;overflow:hidden;transform:translateY(5%);font-size:10px;line-height:1.3;text-align:left}
.cover-head{color:var(--ink);border-bottom:1px solid var(--line);padding:5.5% 8%;display:flex;justify-content:space-between;align-items:center;gap:6px}
.cover-head b{font-size:8.5px;letter-spacing:.9px;text-transform:uppercase;font-weight:600;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.cover-head b svg{width:9px;height:9px}
.cover-head span{font-size:7.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cover-title{padding:8% 8% 2%;font-size:14.5px;letter-spacing:-.35px;font-weight:500;line-height:1.12}
.cover-title em{font-family:var(--serif);font-style:italic;color:var(--ink-hover);font-size:1.08em;font-weight:400}
.cover-sub{padding:0 8% 6%;font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cover-rows{padding:0 8%;display:flex;flex-direction:column}
.cover-row{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:4% 0;border-top:1px solid var(--line);font-size:8.5px;white-space:nowrap}
.cover-row>span{overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:5px;min-width:0}
.cover-row i{font-style:normal;font-size:6px;letter-spacing:.4px;text-transform:uppercase;color:var(--ink-hover);font-weight:600;white-space:nowrap;flex:none;background:var(--tint);padding:2px 5px;border-radius:999px}
.cover-row s{color:var(--muted)}
.cover-check{width:8px;height:8px;border:1px solid var(--ink-3);border-radius:2px;flex:none;display:inline-block}
.cover-num{font-size:7.5px;color:var(--muted);font-weight:600;flex:none;width:11px}
.cover-grid{padding:0 8%;display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-bottom:5%}
.cover-grid span{aspect-ratio:1/1.35;border-radius:3px;background:var(--tint);display:flex;align-items:flex-end;justify-content:center;font-size:6.5px;color:var(--ink-3);padding-bottom:2px}
.cover-grid span.s{background:var(--ink);color:var(--pale)}
.cover-grid span.w{background:var(--accent)}
.cover-days{padding:0 8%;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:5%}
.cover-day{border-top:1px solid var(--line);padding-top:4px;display:flex;flex-direction:column;gap:3px;font-size:7.5px;color:var(--ink-3)}
.cover-day b{font-size:6.5px;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);font-weight:600}
.cover-day span{display:block;height:4px;border-radius:2px;background:rgba(21,35,43,.08)}
.cover-day span:nth-child(3){width:70%}
.cover-day span:nth-child(4){width:85%}
/* the fanned stack of the four documents */
.cover-stack .cover-page{position:absolute;left:50%;bottom:-7%;width:46%;max-width:250px;transform-origin:50% 100%;transform:translate(calc(-50% + var(--x)),0) rotate(var(--r));box-shadow:0 0 0 1px rgba(21,35,43,.06),0 24px 40px -24px rgba(16,35,46,.36)}
.cover-stack .cover-page:nth-child(1){--x:-34%;--r:-9deg}
.cover-stack .cover-page:nth-child(2){--x:-12%;--r:-3deg}
.cover-stack .cover-page:nth-child(3){--x:12%;--r:3deg}
.cover-stack .cover-page:nth-child(4){--x:34%;--r:9deg}
.media:has(.cover) .ph,.media:has(.cover-stack) .ph{display:none}
/* the chip reads over the cover */
.media:has(.cover) .chip,.media:has(.cover-stack) .chip{z-index:2}
/* coach cards on the method page: portraits come from a real shoot later; until then the monogram card is shorter */
.page--pcos .coach .media{aspect-ratio:4/3}
/* phone: the four document cards as rows, so the sales page loses about 1,500 px of height */
@media (max-width:600px){
  .pc-doccards .pack{display:grid;grid-template-columns:112px minmax(0,1fr);gap:6px 14px;padding:10px;align-items:start}
  .pc-doccards .pack .media{grid-row:1 / span 2;aspect-ratio:3/4!important;align-self:stretch}
  .pc-doccards .pack .media .tag{display:none}
  .pc-doccards .pack .cover{padding:14% 12% 0}
  .pc-doccards .pack-info{padding:4px 0 0}
  .pc-doccards .pack .btn{grid-column:2;width:auto;justify-self:start;height:40px;padding:0 16px;font-size:14px;margin-top:2px}
  .pc-doccards .pack-for{margin-top:4px}
  .pc-doccards .feature .media{aspect-ratio:16/10}
}
