.habit-panel{--habit-red:#7b1827;--habit-ink:#261d1b}
.panel.active.habit-panel{display:block;max-width:1180px;margin:0 auto}
.habit-heading{max-width:780px;margin-bottom:2rem}
.habit-usage{display:grid;grid-template-columns:.85fr 1.15fr;gap:3rem;padding:2.2rem 0 3rem;border-top:1px solid var(--line)}
.habit-usage-intro h3{font-family:"Libre Caslon Display",serif;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.05;margin:.35rem 0 1.15rem;color:var(--habit-ink)}
.habit-usage-intro p{line-height:1.7}
.habit-usage-steps{border-top:1px solid var(--line)}
.habit-usage-steps article{display:grid;grid-template-columns:44px 1fr;gap:1rem;padding:1.25rem 0;border-bottom:1px solid var(--line)}
.habit-usage-steps span{font-size:.72rem;font-weight:600;letter-spacing:.12em;color:var(--habit-red)}
.habit-usage-steps h4{font-family:"Libre Caslon Display",serif;font-size:1.35rem;margin:0 0 .35rem}
.habit-usage-steps p{margin:0;line-height:1.65}
.habit-hero{margin:0 0 3rem;position:relative}
.habit-hero img{display:block;width:100%;max-height:680px;object-fit:cover;object-position:center;border-radius:18px}
.habit-hero figcaption,.historic-mantillette figcaption{margin-top:.65rem;color:var(--muted);font-size:.86rem}
.habit-story{display:grid;grid-template-columns:1.3fr .8fr;gap:2rem;align-items:center;padding:2rem 0 3rem;border-bottom:1px solid var(--line)}
.habit-story h3,.section-title h3,.historic-mantillette h3,.transmission-note h3{font-family:"Libre Caslon Display",serif;font-size:clamp(1.6rem,3vw,2.35rem);margin:.2rem 0 1rem;color:var(--habit-ink)}
.habit-story blockquote{margin:0;padding:1.5rem 1.7rem;border-left:4px solid var(--habit-red);background:#f7f1ef;font-family:"Libre Caslon Display",serif;font-size:1.35rem;line-height:1.45}
.habit-pieces,.mantillette-section{padding:3rem 0;border-bottom:1px solid var(--line)}
.section-title{max-width:780px;margin-bottom:1.5rem}
.habit-pieces details{border-top:1px solid var(--line)}
.habit-pieces details:last-child{border-bottom:1px solid var(--line)}
.habit-pieces summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1.15rem .25rem;cursor:pointer;font-family:"Libre Caslon Display",serif;font-size:1.35rem;color:var(--habit-ink)}
.habit-pieces summary span{font-family:Inter,sans-serif;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--habit-red)}
.rite-text{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;padding:.25rem .25rem 1.5rem}
.rite-text p{margin:0;line-height:1.7}
.mantillette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.mantillette-card{padding:1.5rem;border:1px solid var(--line);border-radius:14px;background:#fff}
.mantillette-card h4{font-family:"Libre Caslon Display",serif;font-size:1.5rem;margin:0 0 .8rem}
.mantillette-card p,.mantillette-card li{line-height:1.65}
.mantillette-card ul{padding-left:1.2rem}
.mantillette-card img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;margin-top:.6rem}
.mourning{background:#292525;color:#f7f2ef}
.mourning h4{color:#fff}
.sisters{border-top:5px solid #c6a24f}
.feast{border-top:5px solid var(--habit-red)}
.historic-mantillette{display:grid;grid-template-columns:minmax(260px,.75fr) 1.25fr;gap:2.2rem;align-items:center;padding:3rem 0}
.historic-mantillette figure{margin:0}
.historic-mantillette img{display:block;width:100%;max-height:640px;object-fit:cover;border-radius:14px}
.transmission-note{padding:1.7rem 2rem;border-radius:14px;background:var(--habit-red);color:#fff}
.transmission-note h3{color:#fff;font-size:1.65rem}
.transmission-note p{margin-bottom:0;line-height:1.65}
@media(max-width:800px){.habit-usage,.habit-story,.historic-mantillette,.rite-text{grid-template-columns:1fr}.habit-usage{gap:1.25rem}.mantillette-grid{grid-template-columns:1fr}.habit-hero img{max-height:520px}.habit-pieces summary{align-items:flex-start;flex-direction:column}.historic-mantillette{gap:1.25rem}}
