/* ============================================================
   THE SCRIPTORIUM OF THE DESERT
   Contemplative Foundation for Young Men
   A monastic working-manual aesthetic: a vellum leaf on desert
   ground, iron-gall ink, rubricated (red) facilitator instructions,
   and the eight-pointed star of the eight thoughts.
   ============================================================ */

:root {
  /* — ground & vellum — */
  --ground:    #1b150c;   /* desert-night umber (warmer than black) */
  --ground-2:  #271d10;
  --vellum:    #f4ecd6;   /* aged parchment page */
  --vellum-2:  #ece0c2;   /* inset panel */
  --vellum-3:  #e4d6b3;   /* deeper inset / edge */

  /* — inks — */
  --ink:       #2a2110;   /* iron-gall brown-black, body text */
  --ink-soft:  #645735;   /* faded ink, secondary */
  --ink-faint: #8c7d57;   /* captions, rules */

  /* — sacred colors — */
  --rubric:      #9b2a1c; /* manuscript red: rubrics & instructions */
  --rubric-deep: #7c1f12;
  --gold:        #a07d2c; /* ochre gold: rules & ornament */
  --gold-soft:   #cdb066;
  --lapis:       #2c4a60; /* faded lapis: the one rare sacred accent */

  /* — type — */
  --display: 'IM Fell English', Georgia, 'Times New Roman', serif;
  --caps:    'IM Fell English SC', 'IM Fell English', Georgia, serif;
  --body:    'Spectral', Georgia, 'Times New Roman', serif;
  --sacred:  'Cormorant Garamond', 'Spectral', Georgia, serif;

  --measure: 44rem;
  --edge: clamp(1.1rem, 5vw, 3.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--ground-2) 0%, var(--ground) 70%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: clamp(0rem, 3vw, 2.6rem) clamp(0rem, 3vw, 2.6rem) 0;
}

/* The vellum leaf the whole text rests on */
.leaf {
  position: relative;
  width: 100%;
  max-width: calc(var(--measure) + var(--edge) * 2);
  margin: 0 auto;
  background:
    /* faint paper grain */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f7f0dd 0%, var(--vellum) 18%, var(--vellum) 82%, #efe6cd 100%);
  box-shadow:
    0 0 0 1px rgba(10,7,3,.55),
    0 1.5rem 4rem rgba(0,0,0,.5),
    inset 0 0 7rem rgba(120,86,30,.10);
  padding: clamp(2rem, 6vw, 4.5rem) var(--edge) clamp(2.4rem, 7vw, 5rem);
}

/* Thin gilt keyline just inside the leaf */
.leaf::before {
  content: "";
  position: absolute;
  inset: clamp(.5rem, 2.2vw, 1.1rem);
  border: 1px solid rgba(160,125,44,.42);
  pointer-events: none;
}

/* ---------- top matter / breadcrumb ---------- */
.topmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-family: var(--caps);
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(1.6rem, 5vw, 2.6rem);
  text-align: center;
}
.topmark a { color: var(--rubric); text-decoration: none; border-bottom: 1px solid rgba(155,42,28,.35); }
.topmark a:hover { color: var(--rubric-deep); border-bottom-color: var(--rubric); }
.topmark .star { color: var(--gold); }

/* ---------- the eight-pointed star ornament ---------- */
.star { display: inline-block; line-height: 0; vertical-align: middle; }
.star svg { display: block; width: 1em; height: 1em; }

.rule-star {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(2.2rem, 6vw, 3.2rem) auto;
  color: var(--gold);
  max-width: 30rem;
}
.rule-star::before, .rule-star::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 60%, transparent);
}
.rule-star .star svg { width: 1.15rem; height: 1.15rem; }

/* ---------- headings ---------- */
.eyebrow {
  font-family: var(--caps);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rubric);
}

h1.title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: .005em;
  color: var(--ink);
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
h1.title .red { color: var(--rubric); }

.kicker {
  text-align: center;
  font-family: var(--sacred);
  font-style: italic;
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  color: var(--ink-soft);
  margin-top: .9rem;
}

/* ---------- rubricated section ---------- */
.section { margin-top: clamp(2.4rem, 7vw, 3.6rem); }

.rubric {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .96rem;
  color: var(--rubric);
  margin-bottom: 1.1rem;
}
.rubric .num {
  font-family: var(--display);
  font-style: italic;
  letter-spacing: 0;
  font-size: 1.05rem;
  color: var(--gold);
  text-transform: none;
}
.rubric .star { color: var(--gold); font-size: .8em; align-self: center; }

/* a "red-ink" instruction to the one who leads */
.instruction {
  font-family: var(--sacred);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--rubric-deep);
}
.instruction.small { font-size: 1rem; }

/* ---------- body prose ---------- */
.prose p { margin-top: 1rem; }
.prose p:first-child { margin-top: 0; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }

/* illuminated drop-cap opens the lesson */
.dropcap::first-letter {
  font-family: var(--display);
  color: var(--rubric);
  font-size: 3.5em;
  line-height: .68;
  float: left;
  margin: .04em .1em -.04em 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

/* ---------- scripture panel ---------- */
.scripture {
  background:
    linear-gradient(180deg, var(--vellum-2), var(--vellum-3));
  border: 1px solid rgba(160,125,44,.5);
  box-shadow: inset 0 0 2.5rem rgba(120,86,30,.10);
  padding: clamp(1.4rem, 5vw, 2.2rem);
}
.beatitude {
  font-family: var(--sacred);
  font-size: clamp(1.5rem, 5vw, 2.05rem);
  line-height: 1.34;
  color: var(--ink);
  text-align: center;
}
.beatitude .lapis {
  font-family: var(--display);
  color: var(--lapis);
  font-size: 1.5em;
  line-height: 0;
  margin-right: .04em;
}
/* the whole-Beatitudes set (the Scripture-meditation week) */
.beatitudes-list { text-align: center; }
.beatitudes-list .beat-line {
  font-family: var(--sacred);
  font-style: italic;
  font-size: clamp(1.02rem, 3.1vw, 1.28rem);
  line-height: 1.4;
  color: var(--ink);
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px solid rgba(160,125,44,.22);
}
.beatitudes-list .beat-line:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.beatitudes-list .beat-line:first-letter { color: var(--lapis); }

.beatitude-ref {
  display: block;
  text-align: center;
  margin-top: .8rem;
  font-family: var(--caps);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--rubric);
}
.verses { margin-top: 1.6rem; border-top: 1px solid rgba(160,125,44,.35); padding-top: 1.3rem; }
.verse { margin-top: 1rem; }
.verse:first-child { margin-top: 0; }
.verse .vtext { font-style: italic; color: #3a2f17; }
.verse .vref {
  display: block;
  margin-top: .25rem;
  font-family: var(--caps);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--ink-soft);
}

/* ---------- the opposite passion ---------- */
.passion {
  border-left: 3px solid var(--rubric);
  padding-left: clamp(1rem, 4vw, 1.6rem);
}
.passion .greek {
  font-family: var(--sacred);
  font-style: italic;
  color: var(--rubric);
  font-size: 1.1rem;
}
.passion .pname {
  font-family: var(--display);
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
}
.passion .faculty {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--ink-soft);
  margin-top: .35rem;
}
.passion .aim {
  margin-top: 1rem;
  font-style: italic;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(160,125,44,.3);
  padding-bottom: 1rem;
}

/* ---------- church-history quotes ---------- */
.quotes { display: grid; gap: 1.3rem; }
.quote {
  background: rgba(160,125,44,.07);
  border-top: 1px solid rgba(160,125,44,.4);
  padding: 1.2rem 1.2rem 1.1rem;
}
.quote blockquote {
  font-family: var(--sacred);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.45;
  color: #362c14;
}
.quote .openq {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.5em;
  line-height: 0;
  margin-right: .08em;
}
.quote .attrib {
  margin-top: .7rem;
  font-family: var(--body);
  font-size: .9rem;
  color: var(--ink-soft);
}
.quote .attrib .who { color: var(--rubric); font-weight: 600; }
.quote .attrib .src { font-style: italic; }
.quote .attrib .dates { color: var(--ink-faint); }

/* ---------- discussion questions ---------- */
.questions { counter-reset: q; }
.question {
  position: relative;
  padding-left: 2.6rem;
  margin-top: 1.1rem;
  min-height: 1.6rem;
}
.question:first-child { margin-top: 0; }
.question::before {
  counter-increment: q;
  content: counter(q);
  position: absolute;
  left: 0;
  top: -.05em;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--rubric);
  border: 1px solid var(--rubric);
  border-radius: 50%;
}
.question p { font-size: 1.05rem; }

/* ---------- life theme ---------- */
.lifetheme {
  background: linear-gradient(180deg, rgba(44,74,96,.05), rgba(44,74,96,.02));
  border: 1px solid rgba(44,74,96,.28);
  padding: clamp(1.3rem, 5vw, 2rem);
}

/* ---------- generic links / buttons ---------- */
a { color: var(--lapis); }
.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: clamp(2.2rem, 6vw, 3rem);
}
.btn {
  flex: 1 1 14rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-align: center;
  padding: .95rem 1.3rem;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .84rem;
  text-decoration: none;
  color: var(--vellum);
  background: var(--rubric);
  border: 1px solid var(--rubric-deep);
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--rubric-deep); }
.btn.ghost {
  color: var(--rubric);
  background: transparent;
  border: 1px solid var(--rubric);
}
.btn.ghost:hover { background: rgba(155,42,28,.08); }
.btn .star svg { width: .9rem; height: .9rem; }

/* ============================================================
   INDEX PAGE
   ============================================================ */
.hero { text-align: center; }
.hero .shield { width: clamp(64px, 16vw, 92px); margin: 0 auto 1.6rem; color: var(--rubric); }
.hero .shield svg { width: 100%; height: auto; display: block; }
.hero .for-whom {
  margin-top: 1.4rem;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .8rem;
  color: var(--ink-soft);
}

.lead {
  max-width: 38rem;
  margin: clamp(1.8rem,5vw,2.4rem) auto 0;
  font-size: 1.12rem;
}
.lead .dropcap::first-letter { font-size: 3.2em; }

.rhythm { margin-top: clamp(2.2rem, 6vw, 3.2rem); }
.rhythm-grid { display: grid; gap: 1rem; margin-top: 1.3rem; }
.rhythm-item {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .9rem;
  align-items: start;
}
.rhythm-item .ico { color: var(--gold); }
.rhythm-item .ico svg { width: 1.7rem; height: 1.7rem; }
.rhythm-item h3 {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--rubric);
}
.rhythm-item p { font-size: 1rem; color: var(--ink-soft); margin-top: .15rem; }

/* the table of weeks */
.weeks { margin-top: 1.4rem; display: grid; gap: 0; }
.weekrow {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem .4rem;
  border-top: 1px solid rgba(160,125,44,.38);
  text-decoration: none;
  color: var(--ink);
  transition: background .16s ease;
}
.weeks .weekrow:last-child { border-bottom: 1px solid rgba(160,125,44,.38); }
.weekrow:hover { background: rgba(160,125,44,.08); }
.weekrow .wn {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--rubric);
  text-align: center;
  line-height: 1;
}
.weekrow .wn small {
  display: block;
  font-family: var(--caps);
  font-size: .56rem;
  letter-spacing: .12em;
  color: var(--ink-faint);
  margin-top: .1rem;
}
.weekrow .wt { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; color: var(--ink); }
.weekrow .wmeta {
  margin-top: .25rem;
  font-size: .86rem;
  color: var(--ink-soft);
}
.weekrow .wmeta .vs { color: var(--rubric); }
.weekrow .arrow { color: var(--gold); font-size: 1.4rem; }
.weekrow:hover .arrow { color: var(--rubric); }

.practice-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  color: var(--lapis);
  text-decoration: none;
}
.practice-link:hover { color: var(--rubric); }

/* ============================================================
   PRACTICE PAGE
   ============================================================ */
.practice-hero { text-align: center; }
.practice-activity {
  background: linear-gradient(180deg, var(--vellum-2), var(--vellum-3));
  border: 1px solid rgba(160,125,44,.5);
  padding: clamp(1.4rem, 5vw, 2.2rem);
  font-size: 1.1rem;
}
.steps { counter-reset: s; margin-top: 1.4rem; display: grid; gap: 1rem; }
.step { position: relative; padding-left: 2.7rem; }
.step::before {
  counter-increment: s;
  content: counter(s, upper-roman);
  position: absolute; left: 0; top: 0;
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.daily {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(160,125,44,.35);
  padding-top: 1.2rem;
}
.daily .rubric { margin-bottom: .6rem; }
.blessing {
  margin-top: clamp(2.2rem, 6vw, 3rem);
  text-align: center;
  font-family: var(--sacred);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--rubric-deep);
  line-height: 1.45;
}

/* ============================================================
   FOOTER
   ============================================================ */
.colophon {
  margin-top: clamp(2.6rem, 7vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(160,125,44,.4);
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
}
.colophon .star { color: var(--gold); display: block; margin: 0 auto .8rem; }
.colophon .star svg { width: 1.2rem; height: 1.2rem; margin: 0 auto; }
.colophon em { font-style: italic; }
.colophon a { color: var(--rubric); text-decoration: none; }

.pagefoot {
  text-align: center;
  padding: 1.6rem 0 2.4rem;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .72rem;
  color: rgba(204,176,102,.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 540px) {
  body { font-size: 1.02rem; }
  .weekrow { grid-template-columns: 2.7rem 1fr; }
  .weekrow .arrow { display: none; }
  .rhythm-item { grid-template-columns: 1fr; }
  .rhythm-item .ico { display: none; }
  .btn { flex-basis: 100%; }
}

@media (min-width: 760px) {
  .rhythm-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
}

/* ============================================================
   MOTION & FOCUS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .leaf { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

a:focus-visible, .btn:focus-visible, .weekrow:focus-visible {
  outline: 2px solid var(--lapis);
  outline-offset: 3px;
}

::selection { background: rgba(155,42,28,.18); }

/* centered call-to-action (e.g. the Print All button on the index) */
.cta-center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
  margin: clamp(1.7rem, 5vw, 2.4rem) auto 0;
}
.cta-center .btn { flex: 0 0 auto; }

/* ============================================================
   PRINTABLE PAGE — /print  (Student Handouts + Instructor Notes)
   ============================================================ */
.printbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  justify-content: space-between;
  background: var(--ground);
  padding: .7rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(160,125,44,.4);
}
.printbar .pb-title {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  color: var(--gold-soft);
}
.printbar .pb-actions { display: flex; gap: .6rem; align-items: center; }
.printbar a, .printbar button {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  padding: .5rem .9rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-soft);
  text-decoration: none;
  cursor: pointer;
}
.printbar button.primary {
  background: var(--rubric);
  border-color: var(--rubric-deep);
  color: var(--vellum);
}

.printdoc {
  max-width: 48rem;
  margin: 0 auto;
  background: #fdfbf4;
  color: #241c0f;
  font-family: var(--body);
  line-height: 1.55;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.45);
  padding: clamp(1.4rem, 5vw, 3rem) clamp(1.2rem, 5vw, 3.2rem) 4rem;
}

.p-cover {
  text-align: center;
  padding: 1rem 0 1.4rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.6rem;
}
.p-cover h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  color: var(--ink);
  line-height: 1.08;
}
.p-cover .p-sub {
  font-family: var(--sacred);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-top: .4rem;
}
.p-cover .p-how {
  font-size: .92rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: .9rem auto 0;
  text-align: left;
}

.p-part { text-align: center; margin: 1.2rem 0 1.4rem; }
.p-part-title { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.3rem); color: var(--rubric); }
.p-part-note { font-style: italic; color: var(--ink-soft); font-size: .95rem; }

.printdoc article { margin: 0 0 2.4rem; }
.printdoc .p-wk {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  color: var(--rubric);
}
.printdoc .p-wk-i { color: var(--lapis); }
.printdoc .p-title {
  font-family: var(--display);
  font-size: 1.85rem;
  color: var(--ink);
  line-height: 1.06;
  margin: .1rem 0;
}
.printdoc .p-meta { font-style: italic; color: var(--ink-soft); margin-bottom: .4rem; font-size: .95rem; }
.printdoc .p-h {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .86rem;
  color: var(--rubric);
  margin: 1.15rem 0 .45rem;
  padding-bottom: .18rem;
  border-bottom: 1px solid rgba(160,125,44,.45);
}
.printdoc .p-greek { font-family: var(--sacred); font-style: italic; text-transform: none; letter-spacing: 0; font-size: .95em; }
.printdoc .p-beats { margin: .2rem 0; }
.printdoc .p-beat { font-family: var(--sacred); font-style: italic; font-size: 1.16rem; line-height: 1.34; color: var(--ink); }
.printdoc .p-ref {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--rubric);
  margin: .2rem 0 .5rem;
}
.printdoc .p-verse { margin: .3rem 0; font-style: italic; color: #3a2f17; }
.printdoc .p-vref { font-style: normal; font-family: var(--caps); text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; color: var(--ink-soft); }
.printdoc .p-aim { font-style: italic; color: var(--ink-soft); margin: .2rem 0 .4rem; }
.printdoc .p-quote { margin: .5rem 0; font-family: var(--sacred); font-style: italic; font-size: 1.05rem; line-height: 1.4; }
.printdoc .p-attrib { font-family: var(--body); font-style: normal; font-size: .82rem; color: var(--ink-soft); }
.printdoc .p-q { margin: .3rem 0 .3rem 1.3rem; }
.printdoc .p-q li { margin: .3rem 0; }
.printdoc .p-steps { margin: .4rem 0 .4rem 1.3rem; }
.printdoc .p-steps li { margin: .25rem 0; }
.printdoc .p-daily { margin-top: .5rem; }
.printdoc .p-blessing { font-family: var(--sacred); font-style: italic; color: var(--rubric-deep); margin-top: .6rem; font-size: 1.05rem; }
.printdoc p { margin: .5rem 0; }
.printdoc .dropcap::first-letter { font-size: 1em; float: none; margin: 0; color: var(--rubric); }

@media print {
  body { background: #fff !important; padding: 0 !important; }
  .noprint { display: none !important; }
  .printdoc {
    max-width: none;
    margin: 0;
    background: #fff;
    color: #000;
    box-shadow: none;
    padding: 0;
    font-size: 11.5pt;
    line-height: 1.5;
  }
  .printdoc .p-h,
  .printdoc .p-wk,
  .printdoc .p-wk-i,
  .printdoc .p-ref,
  .printdoc .p-part-title,
  .printdoc .p-blessing,
  .printdoc .dropcap::first-letter { color: #000 !important; }
  .printdoc .handout, .printdoc .inotes, .p-part { page-break-before: always; break-before: page; }
  .p-part + .handout, .p-part + .inotes { page-break-before: avoid; break-before: auto; }
  .p-cover { page-break-after: always; break-after: page; }
  .printdoc .p-h, .printdoc article header { page-break-after: avoid; }
  .printdoc .p-quote, .printdoc li, .printdoc .p-beat { page-break-inside: avoid; break-inside: avoid; }
  @page { margin: 0.7in 0.72in; }
}

/* ============================================================
   VIDEO-PROMPT PAGE — /week-1-video
   ============================================================ */
.promptdoc .prose { max-width: 42rem; margin: 0 auto; }
.promptdoc h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  text-align: center;
  color: var(--ink);
}
.promptdoc h2 {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 1rem;
  color: var(--rubric);
  margin: 2.2rem 0 .9rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(160,125,44,.45);
}
.promptdoc h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 1.7rem 0 .5rem;
}
.promptdoc blockquote {
  background: linear-gradient(180deg, var(--vellum-2), var(--vellum-3));
  border-left: 3px solid var(--rubric);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}
.promptdoc blockquote p { margin: .55rem 0; }
.promptdoc blockquote p:first-child { margin-top: 0; }
.promptdoc blockquote p:last-child { margin-bottom: 0; }
.promptdoc hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2.2rem 0;
}
.promptdoc ul { margin: .6rem 0 .6rem 1.3rem; }
.promptdoc li { margin: .38rem 0; }
.promptdoc code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .88em;
  background: rgba(160,125,44,.16);
  padding: .05em .35em;
  border-radius: 3px;
}

/* the paste-ready part cards */
.vparts { max-width: 46rem; margin: 1.6rem auto 0; display: grid; gap: 1.4rem; }
.vpart {
  border: 1px solid rgba(160,125,44,.5);
  background: rgba(160,125,44,.05);
  box-shadow: inset 0 0 2.5rem rgba(120,86,30,.06);
}
.vpart-head {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(160,125,44,.4);
  background: linear-gradient(180deg, var(--vellum-2), var(--vellum-3));
}
.vpart-head h3 { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.vpart-meta {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  color: var(--ink-soft);
}
.vpart-meta .ok { color: #3f7a3f; }
.vpart-meta .over { color: var(--rubric); font-weight: 600; }
.vpart-text {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .8rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 17rem;
  overflow: auto;
  margin: 0;
  padding: 1rem;
  color: #2a2110;
  background: transparent;
}
.vcopy {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(160,125,44,.4);
  background: var(--rubric);
  color: var(--vellum);
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  padding: .7rem;
  cursor: pointer;
  transition: background .16s ease;
}
.vcopy:hover { background: var(--rubric-deep); }
