/* Policy pages (Gift Terms, Refund Policy, Privacy, Contact) — layered on shop.css. */
.policy{padding:clamp(3.4rem,8vh,5.5rem) 0 clamp(1rem,3vh,2rem);}
.policy .wrap{max-width:820px;}
.policy__body{font-family:var(--book);color:rgba(237,231,218,.84);font-size:clamp(1.02rem,1.3vw,1.14rem);line-height:1.85;text-wrap:pretty;}
.policy__body > :first-child{margin-top:0;}
.policy__body p{margin:0 0 1.25rem;}
/* lead line = the homepage .statement pull-quote ("The suggestion ends here.") */
.policy__body p.policy__lead{font-family:var(--serif);font-weight:400;font-style:normal;letter-spacing:.005em;line-height:1.2;font-size:clamp(1.3rem,2.7vw,1.95rem);color:var(--ivory);margin-bottom:2.2rem;}
.policy__body p.policy__lead em{font-style:italic;color:var(--crimson);}
.policy__body p.policy__lead:has(+ .policy__intro){margin-bottom:1.1rem;}
.policy__body p.policy__intro{margin-bottom:2.2rem;}
.policy__body h2{font-family:var(--serif);font-weight:400;color:var(--ivory);font-size:clamp(1.3rem,2vw,1.6rem);margin:2.6rem 0 1rem;}
.policy__body strong{font-weight:400;color:var(--gold);text-transform:uppercase;letter-spacing:.18em;font-size:.72em;}
.policy__body ul{margin:0 0 1.4rem;padding-left:1.1rem;}
.policy__body li{margin:0 0 .7rem;}
.policy__body li::marker{color:var(--crimson);}
.policy__body a{color:var(--gold);text-decoration:none;border-bottom:1px solid rgba(195,154,84,.35);transition:border-color .3s;}
.policy__body a:hover{border-color:var(--gold);}
.policy__body .policy__sign{font-family:var(--serif);font-style:italic;color:var(--dim);margin-top:2.4rem;}
/* Library essays (page-essay.php) — the policy prose, plus a byline and the list of other essays. */
.essay__byline{font-family:var(--book);text-transform:uppercase;letter-spacing:.24em;font-size:.6rem;color:var(--dim);margin:-.6rem 0 2.4rem;}
.essay__body p:last-child{font-family:var(--serif);font-style:italic;color:var(--dim);margin-top:2.4rem;}
.essay__body em{font-style:italic;}
.essay__more{margin:3.6rem 0 0;padding-top:1.8rem;border-top:1px solid rgba(195,154,84,.18);}
.essay__more-k{font-family:var(--book);text-transform:uppercase;letter-spacing:.24em;font-size:.6rem;color:var(--gold);margin:0 0 1rem;}
.essay__more ul{list-style:none;margin:0;padding:0;}
.essay__more li{margin:0 0 .6rem;font-family:var(--serif);font-size:1.15rem;}
.essay__more a{color:var(--ivory);text-decoration:none;border-bottom:1px solid rgba(195,154,84,.35);}
.essay__more a:hover{border-color:var(--gold);}
/* Section index (page-index.php): The Library and The Academy, as cards (her pick, 26 Oct). */
.ix__intro p{font-family:var(--serif);font-size:clamp(1.15rem,2.2vw,1.55rem);line-height:1.35;color:var(--ivory);margin:0 0 2.4rem;max-width:40ch;}
.ix__join{border:1px solid rgba(195,154,84,.25);padding:1.2rem 1.3rem;margin:0 0 2.6rem;font-family:var(--book);color:rgba(237,231,218,.84);font-size:1rem;line-height:1.7;}
.ix__join p{margin:0 0 1rem;}
.ix__join-k{font-size:.6rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin:0 0 .5rem!important;}
.ix__btns{display:flex;flex-wrap:wrap;gap:.8rem;}
.ix__btn{font-family:var(--book);text-transform:uppercase;letter-spacing:.22em;font-size:.62rem;color:var(--gold);border:1px solid rgba(195,154,84,.6);padding:.8rem 1.2rem;text-decoration:none;transition:background .3s;}
.ix__btn:hover{background:rgba(195,154,84,.08);}
.ix__cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.2rem;}
.ix__card{display:flex;flex-direction:column;border:1px solid rgba(195,154,84,.22);padding:1.4rem 1.3rem 1.2rem;min-height:15rem;text-decoration:none;background:rgba(255,255,255,.012);transition:border-color .3s;}
a.ix__card:hover{border-color:rgba(195,154,84,.6);}
.ix__card.is-soon{opacity:.62;}
.ix__n{font-family:var(--serif);font-size:2.6rem;line-height:1;color:var(--crimson);}
.ix__k{font-family:var(--book);font-size:.58rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin:.9rem 0 .5rem;}
.ix__t{font-family:var(--serif);font-size:1.3rem;line-height:1.2;color:var(--ivory);}
.ix__d{font-family:var(--book);color:var(--dim);font-size:.95rem;margin:.6rem 0 1rem;flex:1;}
.ix__date{font-family:var(--book);font-size:.58rem;letter-spacing:.22em;text-transform:uppercase;color:var(--dim);}
.ix__none{font-family:var(--book);font-style:italic;color:var(--dim);}
/* Pull-quote opening, the same as The Shop's (her rule, 26 Oct): large serif line, one crimson word, italic line under it. */
.vv-tagline{font-family:var(--serif);font-weight:400;font-optical-sizing:auto;font-size:clamp(2rem,4.4vw,3.3rem);line-height:1.14;letter-spacing:.005em;margin:0 auto;max-width:none;text-align:center;color:var(--ivory);}
.vv-tagline em{font-style:italic;}
.vv-tagline .tg-me{color:var(--crimson);}
.vv-sub{font-family:var(--book);font-style:italic;color:rgba(237,231,218,.66);font-size:clamp(1rem,1.4vw,1.2rem);margin:1.4rem auto 0;text-align:center;}
.vv-sub a{font-style:normal;color:inherit;text-decoration:underline;text-decoration-color:rgba(195,154,84,.5);text-decoration-thickness:1px;text-underline-offset:.22em;}
.vv-sub a:hover{color:var(--gold);text-decoration-color:var(--gold);}
.ix__intro--sub{text-align:center;}
.ix__intro--sub p{font-family:var(--book);font-style:italic;color:rgba(237,231,218,.66);font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.55;max-width:none;margin:1.4rem auto clamp(2.6rem,5vw,3.6rem);}
/* The quote takes The Shop's full width even inside a narrower column. */
.vv-tagline,.vv-sub{width:min(1100px,calc(100vw - 32px));position:relative;left:50%;transform:translateX(-50%);text-wrap:balance;}
.ix__intro--sub{width:min(1100px,calc(100vw - 32px));position:relative;left:50%;transform:translateX(-50%);}
/* Section indexes open like The Shop (26 Oct): the Library takes the bookshelf; the Academy waits for its own cover. */
.ix-hero .shop-intro__bg{display:none;}
.ix-hero--library .shop-intro__bg{display:block;background:url("../library/books.jpg") center 18%/cover no-repeat;background-image:image-set(url("../library/books.avif") type("image/avif"), url("../library/books.jpg") type("image/jpeg"));filter:sepia(.58) saturate(.82) brightness(.40) contrast(1.02);opacity:.31;}
.ix__sub p{margin:0;}
.ix.policy{padding-top:clamp(1rem,3vh,2rem);}
.ix__join--plain{border:0;padding:0;}
/* The Academy's cover (Canva, approved concept 'the lecture hall', 26 Oct). */
.ix-hero--academy .shop-intro__bg{display:block;background:url("../academy/hall.jpg") center 40%/cover no-repeat;background-image:image-set(url("../academy/hall.avif") type("image/avif"), url("../academy/hall.jpg") type("image/jpeg"));}
/* Section indexes: the body column matches the header's width, like The Shop (her note, 26 Oct). */
.ix.policy .wrap{max-width:1200px;}
.ix__join p{max-width:68ch;}
/* Signposts to the other two sections, the same lines and style as The Vex Files (26 Oct). */
.ix__signposts{margin-top:1.1rem;}
.ix__signposts a{font-style:normal;color:inherit;text-decoration:underline;text-decoration-color:rgba(195,154,84,.5);text-decoration-thickness:1px;text-underline-offset:.22em;}
.ix__signposts a:hover{color:var(--gold);text-decoration-color:var(--gold);}
/* Gap under the italic line matches The Shop's. */
.ix.policy{padding-top:clamp(2rem,5vh,3.4rem);}
/* The Academy's cover a touch more visible (her note, 26 Oct 18:46). */
.ix-hero--academy .shop-intro__bg{filter:sepia(.55) saturate(.85) brightness(.6) contrast(1.03);opacity:.44;}
/* Academy paid links (her layout, 26 Oct): full-width centred copy, then two buttons side by side in the centre,
   styled like the home page's Present Yourself button (gold type, crimson frame, small grey second line). */
.ix-join{margin:0 0 clamp(2.6rem,5vw,3.6rem);text-align:center;}
.ix-join__copy{font-family:var(--book);color:rgba(237,231,218,.84);font-size:clamp(1.02rem,1.4vw,1.18rem);line-height:1.7;margin:0 auto 1.8rem;max-width:none;}
.ix-join__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:1.1rem;}
.ix-join__btn{display:inline-block;font-family:var(--book);text-transform:uppercase;letter-spacing:.3em;font-size:.8rem;color:var(--gold);background:transparent;border:1px solid var(--crimson);padding:1rem 2.6rem;text-decoration:none;transition:background .3s,border-color .3s;}
.ix-join__btn:hover{background:rgba(138,30,20,.16);border-color:#a8271b;}
.ix-join__btn small{display:block;font-size:.5rem;letter-spacing:.3em;font-weight:600;color:rgba(148,137,122,.9);margin-top:.42rem;}
@media(max-width:480px){ .ix-join__btn{padding:1rem 1.6rem;} }
/* All three buttons identical and on one line (her rule, 26 Oct); they stack only on small phones. */
.ix-join__btns{flex-wrap:nowrap;}
.ix-join__btn{flex:0 1 15rem;min-width:0;padding:1rem .9rem;}
@media(max-width:620px){ .ix-join__btn{letter-spacing:.2em;font-size:.72rem;} }
@media(max-width:520px){ .ix-join__btns{flex-wrap:wrap;} .ix-join__btn{flex:1 1 100%;max-width:18rem;} }

/* The Academy: a course after the first gets the same space above its bar (her rule, 26 Oct: each course has its own bar). */
.ix__cards + .ix__course{margin-top:clamp(2.6rem,5vw,3.6rem);}

/* Long lesson titles wrap on phones instead of widening the page (found 27 Oct: it pushed the whole layout, and the card, off the side). */
@media(max-width:620px){ .essay .lib-plate .k{white-space:normal;line-height:1.7;} }
/* Essay and lesson headings in gold (her call, 28 Oct). */
.essay .policy__body h2{color:var(--gold);}

/* The essay header (her notes, 28 Oct), set like The Academy's course bars: the course or section on the left, the
   lesson number at the far end of the line (and Completed beside it once she has finished), the title, then the
   byline in gold. The top line and the byline share one size and sit the same distance from the title. */
.essay-plate{margin-bottom:1.5rem;}
.essay-plate .k,.essay-plate__r,.essay .essay__byline{font-family:var(--book);text-transform:uppercase;letter-spacing:.3em;font-size:.66rem;line-height:1.4;}
.essay-plate .line{flex:1 1 auto;}
.essay-plate__r{color:var(--dim);white-space:nowrap;}
.essay-plate__done{color:var(--gold);}
.essay-plate__done:not(:empty)::before{content:"\00b7";color:var(--dim);margin:0 .7em;}
.essay__title{font-family:var(--serif);font-weight:400;font-optical-sizing:auto;font-size:clamp(2.1rem,4.6vw,3.2rem);line-height:1.1;letter-spacing:.005em;color:var(--ivory);margin:0;text-wrap:balance;}
.essay__title .essay__accent{color:var(--crimson);}
.essay .essay__byline{color:var(--gold);margin:1.5rem 0 clamp(2.4rem,4.4vw,3rem);}
@media(max-width:620px){
  .essay-plate{flex-wrap:wrap;row-gap:.55rem;margin-bottom:1.2rem;}
  .essay .essay-plate .k{white-space:nowrap;}
  .essay-plate .line{min-width:1.5rem;}
  .essay .essay__byline{margin-top:1.2rem;}
}
/* The sign-off V, always red (her rule, 28 Oct). */
.vv-v{color:var(--crimson);}
