/* ===== C->A combination · cream-folio half (from demo A) + hybrid + rev 2/3 blocks · wired 2026-11-03 · loaded after site.css on index only =====
   One type scale  desktop 88/88 display · 36/44 quote · 21/33 reading · 17/24 UI · 28 hand label
                   phone   48/50 display · 26/34 quote · 18/29 reading · 16/22 UI · 28 hand label
   14 px tracked eyebrows kept as metadata (outside the scale).
   One rule: 1px #c9c5b8 (ink #141c33 for a section's top rule). One corner: 2px.
   Rhythm: 112 desktop / 64 phone between sections. Gutters 96 desktop / 20 phone.
   Not touched: opening, #book ground, all JS, all timings. */

/* ---------- handwriting = annotation, 28 everywhere ---------- */
.pg .lbl{font-size:28px;line-height:1}
.pg .fqx-aside,.pg .fqx-sig{font-size:28px}

/* ---------- display ---------- */
.ax h1{font-size:88px;line-height:1;top:172px}
.bk h2{font-size:88px;line-height:1;letter-spacing:-0.02em}

/* ---------- quote tier ---------- */
[data-slot="philosophy"] .apr-pin p{font-size:36px!important;line-height:44px!important}
.fa-q{font-size:36px;line-height:44px}
.tq blockquote{font-size:36px;line-height:44px}
.fqx-note p{font-size:36px;line-height:44px}
.pk .p{font-size:36px;line-height:44px;letter-spacing:-0.01em;margin-top:20px}

/* ---------- reading tier ---------- */
.ax .bio,.phil p,.read,.faq .a,.bk .sub,.bk-done-t{font-size:21px;line-height:33px}
.qc blockquote{font-size:21px;line-height:30px}
.st .h,.pk .t,.pk-wide .t,.faq .qq,.fa-name,.l1{font-size:21px;line-height:33px}
.s-ses > div:first-child > p{font-size:21px!important;line-height:33px!important}
.faq .pm{font-size:21px}

/* ---------- UI tier ---------- */
.st .w,.pk .d,.pk .o,.pk .per,.inc li,.pk-wide .d,.tq .who,.tq .role,.fat .fa-role,.l2,.fqx-chip,.side p{font-size:17px;line-height:24px}
.fqx-chip{font-size:17px}

/* ---------- rhythm 112 ---------- */
.s-actors,.s-fac,.s-gal,.s-ses,.s-pk,.s-ts,.s-stu,.s-faq{margin-top:112px}
.s-gal + .s-ses{margin-top:112px}
.s-actors + .s-fac{margin-top:64px} /* Nomè 10-28 #8 fix 3, kept */
.s-book{margin-top:112px;padding-top:112px;padding-bottom:112px}
[data-slot="philosophy"] .apr-pin{padding-top:112px}

/* ---------- one rule language: collage ---------- */
.qb{border-color:#c9c5b8;background:linear-gradient(#c9c5b8,#c9c5b8) 270px 0/1px 100% no-repeat,linear-gradient(#c9c5b8,#c9c5b8) 270px 250px/100% 1px no-repeat}
.qb::after{display:none}
.pht{box-shadow:none;padding:0;background:transparent}
.qc{background:transparent;box-shadow:none}
.mq-set .blk:last-child .qb{border-right-color:#c9c5b8}
.tq-row{border-bottom-color:#c9c5b8!important}
.tq{border-left-color:#c9c5b8!important}

/* ---------- galleries: photographs on cream, no navy field ---------- */
.gs,.ts{background:transparent;color:#141c33}
.gs-d,.ts{padding:0}
.gs .lbl,.ts .lbl{color:#141c33}
.gs-btn{border-color:#141c33;color:#141c33}
.gs-btn:hover:not(:disabled){background:#141c33;color:#F7F6F1}
.gs-btn:disabled{border-color:#c9c5b8;color:#7d7a70}
.gs-count{color:#3b3a36}
.gs .tq-btn,.ts .tq-btn{color:#141c33}
.l1{color:#141c33}
.l2{color:#3b3a36}
.l3{color:#3b3a36}
.l4{color:#5e5747}
.gs .phd{border-color:#c9c5b8;color:#5e5747}
.gs-d .gs-track,.ts .gs-track{margin-top:40px}

/* ---------- packages: 1px rules, no floating cards ---------- */
.pk-grid{gap:0;grid-template-columns:405fr 437fr 405fr;border-top:1px solid #141c33;border-bottom:1px solid #c9c5b8}
.pk,.pk-lead,.pk-2{border-radius:0;background:transparent;color:#141c33;border:0;padding:40px 32px 40px}
.pk + .pk{border-left:1px solid #c9c5b8}
.pk-grid > .pk:first-child{padding-left:0}
.pk-grid > .pk:last-child{padding-right:0}
.pk:hover{transform:none;box-shadow:none}
.pk-badge{border-radius:2px;background:transparent;color:#141c33;border:1px solid #141c33;padding:3px 10px}
.pk-lead .btn-paper{background:#141c33;color:#F7F6F1;border-color:#141c33}
.pk-lead .btn-paper:hover{background:#2a3557}
.pk-wide{border:0;border-bottom:1px solid #c9c5b8;border-radius:0;margin-top:0;padding:32px 0}

/* ---------- one corner: 2px ---------- */
.fqx-chip{border-radius:2px}
.fqx-note{border-radius:2px}

/* =================== PHONE (designed for 360-390) =================== */
@media (max-width:600px){
  /* type */
  .ax h1{font-size:48px;line-height:50px}
  .bk h2{font-size:48px;line-height:50px}
  [data-slot="philosophy"] .apr-pin p{font-size:26px!important;line-height:34px!important}
  .fa-q,.tq blockquote,.fqx-note p,.pk .p{font-size:26px;line-height:34px}
  .ax .bio,.phil p,.read,.faq .a,.bk .sub,.bk-done-t,.qc blockquote{font-size:18px;line-height:29px}
  .st .h,.pk .t,.pk-wide .t,.faq .qq,.fa-name,.l1{font-size:18px;line-height:29px}
  .s-ses > div:first-child > p{font-size:18px!important;line-height:29px!important}
  .st .w,.pk .d,.pk .o,.pk .per,.inc li,.pk-wide .d,.tq .who,.tq .role,.fat .fa-role,.l2,.fqx-chip,.side p,.btn{font-size:16px;line-height:22px}

  /* rhythm 64 */
  .s-actors,.s-fac,.s-gal,.s-ses,.s-pk,.s-ts,.s-stu,.s-faq,.s-gal + .s-ses{margin-top:64px}
  .s-book{margin-top:64px;padding-top:64px;padding-bottom:64px}
  [data-slot="philosophy"] .apr-pin{padding-top:64px}
  .gs-d .gs-head,.ts .gs-head{gap:20px}
  .gs-d .gs-track,.ts .gs-track{margin-top:24px}

  /* with actors: each figure = viewport-width unit, two images over a full-width quote */
  .blk{width:calc(100vw - 40px);margin-right:20px!important}
  .qb{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px;padding:0 0 16px;border:0;border-bottom:1px solid #c9c5b8;background:none}
  .pp{grid-row:auto}
  .pht{aspect-ratio:4/5;max-width:100%}
  .qc{grid-column:1 / -1;padding:4px 0 0}
  .cap{padding-top:12px}
  .mq{padding:0}
  .mq-set{padding-left:20px}

  /* galleries: one photo per view at 3:2 (~350x233 at 390) */
  .gs-d .c-n04,.gs-d .c-n05,.gs-d .c-l,.ts .gcard{width:calc(100vw - 40px)}
  .gs-d .gimg,.gs-d .gph,.ts .gimg{height:auto;aspect-ratio:3/2}
  .gs-d .c-n13{width:calc((100vw - 40px) * 0.4444)}
  .gs-d .c-n13 .gimg{aspect-ratio:2/3}
  .gs-d .gs-end,.ts .gs-end{width:20px}

  /* packages stacked, divided by rules */
  .pk,.pk-lead,.pk-2,.pk-grid > .pk:first-child,.pk-grid > .pk:last-child{padding:32px 0}
  .pk-grid{border-top:0}
  .pk + .pk{border-left:0}
  .pk{border-top:1px solid #c9c5b8}
  .pk-lead{border-top:1px solid #141c33}
  .pk-wide{padding:28px 0}

  .fqx-note{padding:24px 20px 20px}
}

/* keep site.css stacking for packages below 1024 (demo.css loads later) */
@media (max-width:1023px){.pk-grid{grid-template-columns:1fr}.pk + .pk{border-left:0}.pk-grid > .pk{padding-left:0;padding-right:0}}

/* =====================================================================
   HYBRID CA · C starts it, A finishes it (Nomè 2026-11-02 20:41) · rough
   Everything above is demo A verbatim. Below: C's dark passage laid over A
   for About -> Approach -> (with actors) -> (faculty) -> (on stage), then A's
   cream folio unchanged from (sessions) on. One type scale = A's. One rhythm = A's 112 / 64.
   10x: the whole dark passage is ONE ground (#141414, About's field), on stage included.
   ===================================================================== */
.s-phil,.s-actors,.s-fac,.s-gal{background:#141414;color:#F7F6F1}
/* margins would leave cream stripes inside the dark passage: rhythm becomes padding */
.s-actors,.s-fac,.s-gal{margin-top:0}
.s-actors{padding-top:112px}
.s-actors + .s-fac{margin-top:0;padding-top:64px} /* ruled 64 kept */
.s-fac{padding-bottom:112px}
.gs-d{padding:0 0 112px}

/* approach: JS fills each character #666a78 -> #141c33; invert keeps the fill on dark (lands #EBE3CC) */
[data-slot="philosophy"] [data-chars]{filter:invert(1)}
.s-phil .phil p{color:#F7F6F1}
.s-phil .lbl,.s-actors .lbl,.s-fac .lbl,.s-gal .lbl{color:#F7F6F1}

/* (with actors) on dark: A's one-rule collage, quote text light */
.s-actors .qc,.s-actors .qc blockquote{color:#F7F6F1}
.s-actors .cap{color:#E2DFD4}
.s-actors .cap b{color:#F7F6F1}
.s-actors .mq-hint{color:#E2DFD4}

/* (faculty) on dark */
.s-fac .fa-name,.s-fac .fa-q{color:#F7F6F1}
.s-fac .fl,.s-fac .fa-role,.s-fac .fc-count{color:#E2DFD4}
.s-fac .fa-q .ph{border-color:#C9C5B8;color:#E2DFD4}

/* dark-ground controls: cream outline, cream fill on hover */
.s-actors .btn-line,.s-fac .btn-line,.s-fac .fc-btn,.s-gal .gs-btn{color:#F7F6F1;border-color:#F7F6F1;background:transparent}
.s-actors .btn-line:hover,.s-fac .btn-line:hover,.s-fac .fc-btn:hover,.s-gal .gs-btn:hover:not(:disabled){background:#F7F6F1;color:#141414}
.s-gal .gs-btn:disabled{border-color:#7d7a70;color:#7d7a70}
.s-gal .gs-count{color:#E2DFD4}
.s-gal .tq-btn{color:#F7F6F1}
.s-gal .l1{color:#F7F6F1}
.s-gal .l2{color:#E2DFD4}
.s-gal .l3,.s-gal .l4{color:#C9C5B8}
.s-gal .gcap{margin-top:24px}

/* the one turn: dark -> cream at (on stage) -> (sessions); A's 112 seam */
.s-gal + .s-ses{margin-top:112px}

@media (max-width:600px){
  .s-actors,.s-fac,.s-gal{margin-top:0}
  .s-actors{padding-top:64px}
  .s-actors + .s-fac{padding-top:64px}
  .s-fac{padding-bottom:64px}
  .gs-d{padding:0 0 64px}
  .s-gal + .s-ses{margin-top:64px}
  /* A's phone units on dark: rule under each unit stays #c9c5b8 */
  .s-actors .qc{padding-top:4px}
}

/* one turn only: #book joins the cream folio (A had left the warm-ground colour study) */
.s-book{background:none}
.s-book h2{color:#141c33}
.s-book .sub{color:#3b3a36}
.s-book .fi,.s-book .chip{border-color:#c9c5b8}
.s-book .side{border-top-color:#c9c5b8}
.s-book .side p{color:#141c33;border-bottom-color:#c9c5b8}
.s-book{padding-top:0}

/* =====================================================================
   CA REVISION 2 (consults: CONSULT-cdev-merge.md + CONSULT-nigel-merge.md)
   ===================================================================== */
/* 1. Approach paint uses real dark values in site.js (#7d7a70 -> #F7F6F1): no invert */
[data-slot="philosophy"] [data-chars]{filter:none}

/* 2. rules by ground: #3b3a36 on dark, #c9c5b8 on cream */
.s-actors .qb{border-color:#3b3a36;background:linear-gradient(#3b3a36,#3b3a36) 270px 0/1px 100% no-repeat,linear-gradient(#3b3a36,#3b3a36) 270px 250px/100% 1px no-repeat}
.s-actors .mq-set .blk:last-child .qb{border-right-color:#3b3a36}

/* 3. passages open alike: Sessions opener rhymes with Approach (36/44, phone 26/34) */
.s-ses > div:first-child > p{font-size:36px!important;line-height:44px!important}

/* 4. ground-aware chrome (data-ground set by the demo block in site.js): cream on dark, navy on cream */
.book-pin[data-ground="dark"]{background:#F7F6F1;color:#141414;border-color:#F7F6F1;box-shadow:0 0 0 1px #141414}
.book-pin[data-ground="dark"]:hover{background:#ffffff}
.mn-btn[data-ground="dark"]{background:#F7F6F1;color:#141414;border-color:#F7F6F1;box-shadow:0 0 0 1px #141414}
.mn-btn[data-ground="cream"]{background:#141c33;color:#F7F6F1;border-color:#141c33;box-shadow:0 0 0 1px #F7F6F1}
.mn-btn[data-ground="cream"]:hover{background:#2a3557}

/* 5. marquee pauses off-screen (resumes from the same offset); focus rings: #b45309 on #141414 = 3.67:1, kept */
.mq[data-off="true"] .mq-track{animation-play-state:paused}

/* 6. Book: approved warm-ground colour study restored as A kept it (closing bookend, not a turn) — undo the rev-1 cream rules */
.s-book{background:linear-gradient(#160e0b 0,#2d1e16 30%,#39251a 50%,#2d1e16 70%,#19110e 100%) right top/27% 100% no-repeat,linear-gradient(#0b0b0b 0,#141414 250px);padding-top:112px}
.s-book h2{color:#F7F6F1}
.s-book .sub{color:#E2DFD4}
.s-book .fi,.s-book .chip{border-color:#7d7a70}
.s-book .side{border-top-color:#C9C5B8}
.s-book .side p{color:#F7F6F1;border-bottom-color:#C9C5B8}

@media (max-width:600px){
  .s-actors .qb{border-bottom-color:#3b3a36;background:none}
  .s-ses > div:first-child > p{font-size:26px!important;line-height:34px!important}
  .s-book{background:linear-gradient(#0b0b0b 0,#141414 250px);padding-top:64px}
}

/* =====================================================================
   CA REVISION 3 (Codex verify, reply-design-r2.md)
   ===================================================================== */
/* 1. no-JS: Approach characters carry inline navy (index.html:59), 1.09:1 on #141414.
      Until site.js adds html.ca-js, a static cream wins; once JS runs, its inline paint wins again. */
html:not(.ca-js) [data-slot="philosophy"] [data-chars] span span{color:#F7F6F1!important}
/* 3. tablet 601-1023: the 240 label column left Approach's 36/44 statement ~300 px wide (7 lines at 768); stack label over text, 48 gutters */
@media (min-width:601px) and (max-width:1023px){
  [data-slot="philosophy"] .apr-pin,[data-slot="philosophy"] .apr-more{padding-left:48px;padding-right:48px;grid-template-columns:1fr;row-gap:28px}
  [data-slot="philosophy"] .apr-more > div:first-child{display:none}
}
