/* ════════════════════════════════════════════════════════════════════════
   OUR TEACHERS — two lines, one source
   [JAY 20 Oct] "show 2 paramparas coming to Chaitanya Mahaprabhu": the
   Jyotish line (Lalita → Boris Burovin → K. N. Rao → … → Mahaprabhu  [JAY 19 Nov]) and
   the line of our practice (us → Chaitanya Chandra Charan prabhu →
   Jayapataka Swami → Srila Prabhupada → … → Mahaprabhu).
   Mahaprabhu at the top, the founders at the bottom, two gold threads between.
   The beads on each thread hold the teachers between (a mala, not a chain:
   the Jyotish thread is dotted — a line of devotion, not of initiations).
   Rendered by assets/teachers.js into <section class="tch" data-tch="home|about">.
   Tokens: luminous-site.css (day / night follow the phone).
   ════════════════════════════════════════════════════════════════════════ */
.tch{--tch-ph:84px;--tch-top:112px;--tch-us:104px;--tch-thread:var(--gold-lift,#C9A653);
  position:relative;padding:72px 16px 80px;max-width:820px;margin:0 auto;text-align:center;color:var(--ink,#F4EDDE);
  font-family:var(--sans,Inter,system-ui,sans-serif)}
.tch *{box-sizing:border-box}
.tch-head{max-width:560px;margin:0 auto 36px}
.tch-eyebrow{margin:0 0 12px;font:600 11px/1.2 var(--sans,Inter,sans-serif);letter-spacing:.22em;text-transform:uppercase;color:var(--gold,#D4BC6D)}
.tch-title{margin:0 0 14px;font:400 clamp(30px,7.4vw,44px)/1.12 var(--display,"Playfair Display",Georgia,serif);letter-spacing:-.012em;text-wrap:balance;color:var(--ink,#F4EDDE)}
.tch-title em{font-style:italic;background:var(--gold-text,linear-gradient(100deg,#D9C27A,#F1DDA4 60%,#D9C27A));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.tch-lead{margin:0;font:400 16px/1.62 var(--sans,Inter,sans-serif);color:var(--ink-2,#C8C1B2);text-wrap:pretty}

/* ── the tree ─────────────────────────────────────────────────────────── */
.tch-tree{position:relative;display:flex;flex-direction:column;align-items:center}
.tch-node{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
.tch-ph{position:relative;display:block;width:var(--tch-ph);height:var(--tch-ph);border-radius:50%;padding:2px;
  background:linear-gradient(140deg,#F1DDA4,#C9A653 45%,#8A6A1E 80%,#E8D08A);box-shadow:var(--shadow,0 12px 36px rgba(0,0,0,.25))}
.tch-ph img,.tch-ph .tch-mono{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--base,#070B24);background:var(--solid,#121937)}
.tch-mono{display:grid!important;place-content:center;font:400 calc(var(--tch-ph)*.26)/1 var(--display,"Playfair Display",serif);letter-spacing:.02em;
  color:var(--gold,#D4BC6D);background:radial-gradient(circle at 50% 35%,var(--glass,rgba(255,255,255,.06)),transparent 70%),var(--solid,#121937)!important}
.tch-node figcaption{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:22ch;padding:0 2px}
.tch-hon{font:600 10.5px/1.3 var(--sans,Inter,sans-serif);letter-spacing:.16em;text-transform:uppercase;color:var(--gold,#D4BC6D)}
.tch-name{font:400 17px/1.22 var(--display,"Playfair Display",Georgia,serif);color:var(--ink,#F4EDDE);text-wrap:balance}
.tch-sub{font:italic 400 13px/1.3 var(--display,"Playfair Display",Georgia,serif);color:var(--ink-2,#C8C1B2)}
.tch-role{margin-top:3px;font:400 12.5px/1.45 var(--sans,Inter,sans-serif);color:var(--ink-3,#A7A296);text-wrap:pretty}

/* the source */
.tch-node--top{--tch-ph:var(--tch-top);isolation:isolate}
.tch-node--top .tch-ph{box-shadow:0 0 0 6px rgba(212,188,109,.10),0 0 46px 6px rgba(226,203,130,.38),var(--shadow,0 12px 36px rgba(0,0,0,.25))}
.tch-node--top .tch-ph::before{content:"";position:absolute;inset:-22px;border-radius:50%;z-index:-1;pointer-events:none;
  background:repeating-conic-gradient(from 0deg,rgba(226,203,130,.22) 0 1.2deg,transparent 1.2deg 12deg);
  -webkit-mask:radial-gradient(circle,transparent 58%,#000 60%,transparent 74%);mask:radial-gradient(circle,transparent 58%,#000 60%,transparent 74%)}
.tch-node--top .tch-name{font-size:21px}
.tch-node--us{--tch-ph:var(--tch-us)}
.tch-node--us .tch-name{font-size:19px}

/* forks: one thread splits into two, two meet again */
.tch-fork{display:block;width:100%;height:46px;overflow:visible}
.tch-fork path{fill:none;stroke:var(--tch-thread);stroke-width:1.2;vector-effect:non-scaling-stroke;opacity:.85}
.tch-fork--up{margin-top:-1px}

.tch-cols{display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;align-items:stretch}   /* no gap: column centres sit at 25% / 75%, where the forks land  [reviewer] */
.tch-col{display:flex;flex-direction:column;align-items:center;min-width:0;padding:0 4px}
.tch-col-h{margin:0;padding:5px 11px;max-width:100%;border-radius:99px;border:1px solid var(--line-gold,rgba(212,188,109,.32));
  background:var(--glass,rgba(255,255,255,.06));font:600 10.5px/1.25 var(--sans,Inter,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:var(--gold,#D4BC6D)}

/* the thread between two teachers, with what links them */
.tch-link{display:flex;flex-direction:column;align-items:center;margin:0;padding:0 4px;min-height:70px}
.tch-link::before,.tch-link::after{content:"";display:block;width:1.2px;flex:1 0 14px;background:var(--tch-thread);opacity:.75}
.tch-link span{display:block;padding:4px 2px;max-width:20ch;font:italic 400 12.5px/1.35 var(--display,"Playfair Display",Georgia,serif);color:var(--gold-ink,#D9C27A);text-wrap:balance}
.tch-link--end{flex:1}               /* the last thread of each column runs down to the fork */

/* the beads: the teachers between (tap → their names) */
.tch-beads{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:8px;padding:2px 6px 0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tch-beads:focus-visible{outline:2px solid var(--gold-lift,#C9A653);outline-offset:4px;border-radius:12px}
.tch-str{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;height:104px;padding:8px 0}
.tch-str::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1.2px;margin-left:-.6px;background:var(--tch-thread);opacity:.75}
.tch-col--jy .tch-str::before{background:repeating-linear-gradient(var(--tch-thread) 0 2px,transparent 2px 7px);opacity:.9}
.tch-b{position:relative;display:block;width:7px;height:7px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#FFF4CF,#E2CB82 45%,#A8842F);box-shadow:0 0 0 2px var(--base,#070B24),0 0 8px rgba(226,203,130,.55)}
.tch-col--jy .tch-b{width:9px;height:9px}
.tch-bl{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;border:1px solid var(--line-gold,rgba(212,188,109,.32));
  background:var(--glass,rgba(255,255,255,.06));font:400 12px/1.25 var(--sans,Inter,sans-serif);color:var(--ink-2,#C8C1B2);max-width:19ch;text-wrap:balance;transition:border-color .2s,background .2s}
.tch-plus{font:500 14px/1 var(--sans,Inter,sans-serif);color:var(--gold,#D4BC6D)}
.tch-beads:hover .tch-bl{border-color:var(--gold-lift,#C9A653)}
.tch-link--gap{min-height:22px}
.tch-link--gap span{display:none}
.tch-tap{margin:2px 0 0;font:400 11px/1.3 var(--sans,Inter,sans-serif);color:var(--ink-3,#A7A296)}

/* K. N. Rao's own words */
.tch-q{margin:2px 0 0;padding:0 2px;max-width:24ch}
.tch-q p{margin:0;font:italic 400 13px/1.45 var(--display,"Playfair Display",Georgia,serif);color:var(--ink-2,#C8C1B2);text-wrap:pretty}
.tch-q cite{display:block;margin-top:5px;font:normal 400 11px/1.35 var(--sans,Inter,sans-serif);letter-spacing:.02em;color:var(--ink-3,#A7A296)}

/* the names between, in a sheet */
.tch-dlg:not([open]){display:none}   /* browsers without <dialog> would show both sheets  [reviewer] */
.tch-dlg--fb{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999}
.tch-dlg{width:min(460px,calc(100% - 24px));max-height:min(78vh,640px);margin:auto;padding:26px 22px 22px;border:1px solid var(--edge,rgba(255,255,255,.12));
  border-radius:22px;background:var(--solid,#121937);color:var(--ink,#F4EDDE);box-shadow:var(--shadow-lift,0 22px 56px rgba(0,0,0,.4));text-align:left;overflow:auto}
.tch-dlg::backdrop{background:rgba(7,11,36,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.tch-dlg h3{margin:0 0 6px;font:400 23px/1.2 var(--display,"Playfair Display",Georgia,serif);color:var(--ink,#F4EDDE)}
.tch-dlg .tch-note{margin:0 0 16px;font:400 13.5px/1.5 var(--sans,Inter,sans-serif);color:var(--ink-2,#C8C1B2)}
.tch-dlg ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:0;counter-reset:b}
.tch-dlg li{position:relative;padding:9px 0 9px 26px;font:400 15px/1.45 var(--sans,Inter,sans-serif);color:var(--ink,#F4EDDE);border-top:1px solid var(--line,rgba(255,255,255,.08))}
.tch-dlg li::before{content:"";position:absolute;left:4px;top:16px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FFF4CF,#E2CB82 45%,#A8842F)}
.tch-dlg li b{font-weight:600}
.tch-dlg .tch-ends{font:italic 400 15px/1.4 var(--display,"Playfair Display",Georgia,serif);color:var(--gold-ink,#D9C27A);border-top:0}
.tch-dlg .tch-ends::before{background:none;border:1px solid var(--gold-lift,#C9A653)}
.tch-x{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:var(--glass,rgba(255,255,255,.06));
  color:var(--ink-2,#C8C1B2);font:400 20px/1 var(--sans,Inter,sans-serif);cursor:pointer}
.tch-x:focus-visible{outline:2px solid var(--gold-lift,#C9A653)}

/* About: the story, the honesty line, sources and credits */
.tch-story{max-width:600px;margin:40px auto 0;text-align:left}
.tch-story p{margin:0 0 14px;font:400 16px/1.68 var(--sans,Inter,sans-serif);color:var(--ink-2,#C8C1B2)}
.tch-refs{max-width:600px;margin:26px auto 0;text-align:left;display:grid;gap:18px}
.tch-refs h3{margin:0 0 6px;font:600 10.5px/1.2 var(--sans,Inter,sans-serif);letter-spacing:.18em;text-transform:uppercase;color:var(--gold,#D4BC6D)}
.tch-refs ul{margin:0;padding:0;list-style:none;display:grid;gap:5px}
.tch-refs li{font:400 12.5px/1.5 var(--sans,Inter,sans-serif);color:var(--ink-3,#A7A296)}
.tch-refs a{color:var(--ink-2,#C8C1B2);text-decoration:underline;text-decoration-color:var(--line-gold,rgba(212,188,109,.32));text-underline-offset:3px}
.tch-more{display:inline-block;margin-top:34px;padding:11px 20px;border-radius:99px;border:1px solid var(--line-gold,rgba(212,188,109,.32));
  background:var(--glass,rgba(255,255,255,.06));color:var(--ink,#F4EDDE);font:500 14.5px/1 var(--sans,Inter,sans-serif);text-decoration:none}
.tch-more:hover{border-color:var(--gold-lift,#C9A653)}

@media (min-width:640px){
  .tch{--tch-ph:100px;--tch-top:132px;--tch-us:120px;padding:96px 24px 104px}
  .tch-col{padding:0 20px}
  .tch-name{font-size:19px}
  .tch-fork{height:60px}
  .tch-node figcaption{max-width:26ch}
}
@media (prefers-reduced-motion:no-preference){
  .tch-node--top .tch-ph::before{animation:tchTurn 90s linear infinite}
  @keyframes tchTurn{to{transform:rotate(360deg)}}
}
