/* ================= v10.7 · the Contents spread, organized and in the book's own language =================
   Jenny (10 Nov): "how do we make it so that the contents tab is much more organized and actually fits in with the
   theme?" Same copy, same metrics, same links: only hierarchy and styling change.
   Left: centered title with a gold ornament; each chapter gets a pastel number chip in its own tab colour (sampled
   from the v8 tab art) with a gold rim, a dotted gold leader to its page number, rows spread evenly down the leaf.
   Right: 800M+ leads (as in the approved board/GIF), the other three sit in a ruled row of three on paper (no pink
   boxes), logos and the Now/Before line are centered bands with the same gold ornament.
   The Contents tab wears the same gold-rimmed tab art as the chapters, tinted champagne. */

/* chapter colours = the v8 tab art (rest state), so the list and the tabs read as one set */
.toc li:nth-child(1){--chip:#EFCBD7;--chip-hi:#F8E3EA;--wash:rgba(239,203,215,.38)}
.toc li:nth-child(2){--chip:#BFD2EB;--chip-hi:#DDE8F6;--wash:rgba(191,210,235,.38)}
.toc li:nth-child(3){--chip:#F4D2DD;--chip-hi:#FBE8EE;--wash:rgba(244,210,221,.38)}
.toc li:nth-child(4){--chip:#C6D9F0;--chip-hi:#E1EBF8;--wash:rgba(198,217,240,.38)}
.toc li:nth-child(5){--chip:#DBD0EA;--chip-hi:#EDE7F5;--wash:rgba(219,208,234,.42)}
.toc li:nth-child(6){--chip:#EDDDD3;--chip-hi:#F7EEE8;--wash:rgba(237,221,211,.5)}

/* a small gold ornament: hairline · diamond · hairline */
html body .page .t1-contents .pg-display::after{content:"";display:block;width:168px;height:10px;margin:12px auto 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='10' viewBox='0 0 168 10'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C9A55A' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23C9A55A'/%3E%3Cstop offset='1' stop-color='%23C9A55A' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect y='4.5' width='168' height='1' fill='url(%23g)'/%3E%3Cpath d='M84 .5 88.5 5 84 9.5 79.5 5Z' fill='%23FBF5EC' stroke='%23B8913F' stroke-width='1'/%3E%3Ccircle cx='84' cy='5' r='1.3' fill='%23B8913F'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- left leaf: Contents ---------- */
html body .page .t1-contents{display:flex;flex-direction:column;height:100%}
html body .page .t1-contents > .pg-display{text-align:center}
html body .page .t1-contents > .pg-display{margin-bottom:6px!important}
html body .page .toc{flex:1;display:flex;flex-direction:column;justify-content:space-evenly;margin:6px 0 0!important}
html body .page .toc a{grid-template-columns:46px auto minmax(36px,1fr);column-gap:14px;align-items:center;
  padding:10px 10px 10px 8px!important;border:0!important;border-radius:8px;transition:background-color .25s var(--ease,ease)}
html body .page .toc li + li a{box-shadow:0 -1px 0 rgba(169,132,63,.2)}
html body .page .toc li:hover + li a,html body .page .toc li:has(a:focus-visible) + li a{box-shadow:none}
html body .page .toc a:hover,html body .page .toc a:focus-visible{background:var(--wash);box-shadow:none!important;outline:none}
html body .page .toc a:focus-visible{box-shadow:inset 0 0 0 1.5px #B8913F!important}
html body .page .toc .toc-n{display:grid;place-items:center;width:46px;height:28px;margin-top:0;border-radius:999px;
  background:linear-gradient(180deg,var(--chip-hi),var(--chip));color:var(--plum,#4E2A45)!important;font-size:15px!important;line-height:1!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 0 0 1.5px #C9A55A,0 0 0 2.5px rgba(255,248,232,.9),0 3px 6px -3px rgba(92,60,46,.45);
  transition:transform .25s var(--ease,ease)}
html body .page .toc a:hover .toc-n{transform:translateY(-1px) scale(1.04)}
html body .page .toc .toc-t{font-size:20px!important;line-height:1.25!important;letter-spacing:.08em!important;text-decoration:none!important}
/* dotted gold leader runs from the title to its page number, on the title's line */
html body .page .toc .toc-p{display:flex;align-items:center;gap:8px;height:22px;color:var(--gold-ink,#8A6A2E)!important;font-size:15px!important}
html body .page .toc .toc-p::before{content:"";flex:1;min-width:14px;height:0;border-bottom:1.6px dotted rgba(169,132,63,.6);transform:translateY(2px)}

/* ---------- right leaf: professional impact (v11.0: no label, no Now / Before line; 800M+ leads, larger) ---------- */
html body .page .t1-impact{display:flex;flex-direction:column;justify-content:center;gap:52px;height:100%}
/* the logo band label: centered between two fading gold hairlines */
html body .page .impact-logos .il-k{display:flex!important;align-items:center;justify-content:center!important;gap:14px;text-align:center!important;width:100%}
html body .page .impact-logos .il-k::before,html body .page .impact-logos .il-k::after{content:"";flex:1;max-width:90px;height:1px;
  background:linear-gradient(90deg,rgba(201,165,90,0),#C9A55A)}
html body .page .impact-logos .il-k::after{background:linear-gradient(90deg,#C9A55A,rgba(201,165,90,0))}

html body .page .impact-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;background:none!important;border:0!important;
  margin:0!important;padding:0!important;border-radius:0}
html body .page .impact-grid .metric{padding:12px 10px!important;border:0!important;text-align:center}
html body .page .impact-grid .metric b{display:block}
html body .page .impact-grid .metric span{display:block;margin-top:6px;font-size:12px!important;line-height:1.35!important}
/* the hero number leads, full width, between two gold hairlines */
html body .page .impact-grid .metric:nth-child(2){order:-1;grid-column:1/-1;padding:26px 0 24px!important;
  border-top:1px solid rgba(201,165,90,.5)!important;border-bottom:1px solid rgba(201,165,90,.5)!important;
  background:radial-gradient(60% 90% at 50% 50%,rgba(239,203,215,.32),rgba(239,203,215,0))}
html body .page .impact-grid .metric:nth-child(2) b{font-size:88px!important;line-height:1!important}
html body .page .impact-grid .metric:nth-child(2) span{margin-top:10px;font-size:12.5px!important;letter-spacing:.16em;text-transform:uppercase}
html body .page .impact-grid .metric:not(:nth-child(2)) b{font-size:38px!important;line-height:1.05!important}
html body .page .impact-grid .metric:nth-child(3),html body .page .impact-grid .metric:nth-child(4){border-left:1px solid rgba(201,165,90,.38)!important}
html body .page .impact-grid .metric:not(:nth-child(2)){border-bottom:1px solid rgba(201,165,90,.5)!important;padding-top:18px!important;padding-bottom:18px!important}

/* v11.1: the numbers open their proof pages; quiet until hovered or focused (no "click here" copy) */
html body .page .impact-grid a.metric-proof{color:inherit;text-decoration:none;cursor:pointer;border-radius:2px;transition:background-color .15s var(--ease)}
html body .page .impact-grid a.metric-proof span{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .15s var(--ease)}
html body .page .impact-grid a.metric-proof:hover span,html body .page .impact-grid a.metric-proof:focus-visible span{text-decoration-color:#C9A55A}
html body .page .impact-grid a.metric-proof:focus-visible{outline:2px solid var(--gold-ink,#8A6A2E);outline-offset:2px}
html body .page .impact-logos{margin:0!important;padding-top:0}
html body .page .impact-logos .il-row{justify-content:center;gap:12px 26px!important;margin-top:14px!important}

/* the Contents tab (gold-rimmed About art, champagne wash): css/hoj-v11-nav.css */

/* ---------- phones / single leaf ---------- */
html body.single .page .t1-impact{justify-content:flex-start;gap:20px}
html body.single .page .toc a{grid-template-columns:40px 1fr;column-gap:12px;padding:10px 6px!important}
html body.single .page .toc .toc-n{width:40px;height:25px;font-size:13px!important}
html body.single .page .toc .toc-t{font-size:15px!important}
html body.single .page .impact-grid .metric:nth-child(2) b{font-size:48px!important}
html body.single .page .impact-grid .metric:not(:nth-child(2)) b{font-size:26px!important}
html body.single .page .impact-grid .metric span{font-size:10.5px!important}
@media (prefers-reduced-motion:reduce){html body .page .toc a,html body .page .toc .toc-n{transition:none}}

/* ================= v10.7 · the "Start here" panel the side Contents tab opens: a gilded page of the same book ========
   Jenny (10 Nov 19:06 ET): "and for when you open the side tab contents?" Same lenses, same pages, same links and
   order; only styling: paper inside a lavender cloth frame with a gold rule, centered title + ornament, gold-rimmed
   lens cards, chapter headings with the same pastel number chips as the Contents leaf, chapter-colour hover, a
   champagne "you are here", and the utility links as a centered gold-dotted row. */
#menu.menu{border:10px solid transparent!important;border-radius:14px!important;padding:0!important;
  background:url(../assets/scene/reader/paper-right.webp?v=10.2) center/cover padding-box,linear-gradient(#FBF6EE,#FBF6EE) padding-box,
    url(../assets/scene/reader/cloth-lavender.webp?v=10.2) 0 0/108px 128px border-box,#D3AEBC!important;
  box-shadow:0 0 0 1px rgba(201,165,90,.9),0 40px 80px -30px rgba(70,36,56,.55),0 12px 30px -16px rgba(70,36,56,.35)!important;
  scrollbar-width:thin;scrollbar-color:rgba(184,145,63,.55) transparent}
#menu.menu::backdrop{background:rgba(78,42,69,.26);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
#menu .menu-in{margin:8px;padding:26px 30px 22px!important;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(201,165,90,.6),inset 0 0 0 4px rgba(255,250,240,.5),inset 0 0 0 5px rgba(201,165,90,.25)}
#menu .menu-head{position:relative;justify-content:center!important;margin-bottom:2px}
#menu .menu-title{text-align:center;font-size:34px!important;letter-spacing:.16em!important}
#menu .menu-title::after{content:"";display:block;width:168px;height:10px;margin:12px auto 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='10' viewBox='0 0 168 10'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C9A55A' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23C9A55A'/%3E%3Cstop offset='1' stop-color='%23C9A55A' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect y='4.5' width='168' height='1' fill='url(%23g)'/%3E%3Cpath d='M84 .5 88.5 5 84 9.5 79.5 5Z' fill='%23FBF5EC' stroke='%23B8913F' stroke-width='1'/%3E%3Ccircle cx='84' cy='5' r='1.3' fill='%23B8913F'/%3E%3C/svg%3E") center/contain no-repeat}
#menu .menu-close{position:absolute;right:0;top:50%;transform:translateY(-62%);min-height:44px!important;padding:0 16px!important;
  background:linear-gradient(180deg,#FFFDF8,#F6ECDA)!important;border:1px solid #C9A55A!important;color:var(--gold-ink,#7A5C24)!important;
  font:600 11px/1 var(--clean,var(--sans))!important;letter-spacing:.16em;text-transform:uppercase;box-shadow:0 2px 6px -3px rgba(92,60,46,.4)}
#menu .menu-close:hover,#menu .menu-close:focus-visible{background:linear-gradient(180deg,#FFF8EA,#F1E1C0)!important}
#menu .menu-intro{text-align:center;margin:12px 0 18px!important;font:italic 400 17px/1.4 var(--caps-serif,var(--serif))!important;color:var(--ink-2,#6E604F)}

/* the six lenses: gold-rimmed paper cards */
#menu .lens-list{gap:12px!important;margin-bottom:22px!important}
#menu .lens-list li{display:flex}
#menu .lens{flex:1;justify-content:flex-start!important}
#menu .lens{position:relative;min-height:70px!important;padding:13px 16px 13px 34px!important;border:1px solid rgba(201,165,90,.75)!important;border-radius:10px!important;
  background:linear-gradient(180deg,rgba(255,253,248,.92),rgba(249,240,226,.92))!important;
  box-shadow:inset 0 0 0 3px rgba(255,251,242,.7),inset 0 0 0 4px rgba(201,165,90,.22),0 3px 8px -5px rgba(92,60,46,.35);
  transition:transform .2s var(--ease,ease),box-shadow .2s var(--ease,ease),background-color .2s}
#menu .lens::before{content:"";position:absolute;left:15px;top:20px;width:7px;height:7px;transform:rotate(45deg);
  background:linear-gradient(135deg,#E9CF8E,#B8913F)}
#menu .lens b{font:600 18px/1.2 var(--caps-serif,var(--serif))!important;color:var(--plum,#4E2A45)}
#menu .lens span{font-size:12.5px!important;color:var(--ink-2,#6E604F)}
#menu .lens:hover,#menu .lens:focus-visible{transform:translateY(-2px);border-color:#B8913F!important;outline:none;
  box-shadow:inset 0 0 0 3px rgba(255,251,242,.7),inset 0 0 0 4px rgba(201,165,90,.35),0 0 0 3px rgba(233,207,142,.35),0 8px 16px -8px rgba(92,60,46,.4)}

/* every page, by chapter */
#menu .page-list{column-gap:34px!important;column-rule:1px solid rgba(201,165,90,.28);border-top:0!important;padding-top:4px!important}
#menu .page-list::before{content:"";display:block;column-span:all;height:1px;margin:0 0 14px;background:linear-gradient(90deg,rgba(201,165,90,0),#C9A55A 20%,#C9A55A 80%,rgba(201,165,90,0))}
#menu .pl-ch{margin:0 0 18px!important}
#menu .pl-ch:nth-child(1){--chip:#EBDDBA;--chip-hi:#F8F0DA;--wash:rgba(235,221,186,.38)}
#menu .pl-ch:nth-child(2){--chip:#EFCBD7;--chip-hi:#F8E3EA;--wash:rgba(239,203,215,.38)}
#menu .pl-ch:nth-child(3){--chip:#BFD2EB;--chip-hi:#DDE8F6;--wash:rgba(191,210,235,.38)}
#menu .pl-ch:nth-child(4){--chip:#F4D2DD;--chip-hi:#FBE8EE;--wash:rgba(244,210,221,.38)}
#menu .pl-ch:nth-child(5){--chip:#C6D9F0;--chip-hi:#E1EBF8;--wash:rgba(198,217,240,.38)}
#menu .pl-ch:nth-child(6){--chip:#DBD0EA;--chip-hi:#EDE7F5;--wash:rgba(219,208,234,.42)}
#menu .pl-ch:nth-child(7){--chip:#EDDDD3;--chip-hi:#F7EEE8;--wash:rgba(237,221,211,.5)}
#menu .pl-h{display:flex;align-items:center;gap:12px;margin:4px 0 8px!important;font:500 13px/1.2 var(--caps-serif,var(--serif))!important;letter-spacing:.2em!important;color:var(--plum,#4E2A45)!important}
#menu .pl-h::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(201,165,90,.6),rgba(201,165,90,0))}
#menu .pl-h .n{display:grid;place-items:center;flex:none;width:40px;height:24px;margin:0!important;border-radius:999px;
  background:linear-gradient(180deg,var(--chip-hi),var(--chip));color:var(--plum,#4E2A45)!important;font-size:12.5px!important;letter-spacing:.04em!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 0 0 1.5px #C9A55A,0 2px 5px -3px rgba(92,60,46,.45)}
#menu .pl-ch li + li a{box-shadow:0 -1px 0 rgba(201,165,90,.18)}
#menu .pl-ch a{padding:9px 10px!important;border-radius:8px!important;transition:background-color .2s}
#menu .pl-ch a:hover,#menu .pl-ch a:focus-visible{background:var(--wash)!important;box-shadow:none!important;outline:none}
#menu .pl-ch a:focus-visible{box-shadow:inset 0 0 0 1.5px #B8913F!important}
#menu .pl-t{font:600 17px/1.25 var(--caps-serif,var(--serif))!important;color:var(--plum,#4E2A45)}
#menu .pl-b{font-size:13px!important;margin-top:2px}
#menu .pl-tag{font:600 9.5px/1 var(--clean,var(--sans))!important;letter-spacing:.12em!important;color:var(--gold-ink,#8A6A2E)!important;padding-top:6px!important}
/* where you are: a champagne wash with a gold bar, and a small gold label */
#menu .pl-ch a[aria-current]{background:linear-gradient(90deg,rgba(241,227,196,.85),rgba(241,227,196,.25))!important;box-shadow:inset 3px 0 0 #C9A55A!important}
#menu .pl-ch a[aria-current] .pl-t::after{content:"you are here"!important;display:inline-block;margin-left:10px;padding:2px 8px 3px;vertical-align:2px;border-radius:999px;
  font:600 9px/1.2 var(--clean,var(--sans))!important;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink,#7A5C24);
  background:#FFF8EA;box-shadow:inset 0 0 0 1px #C9A55A}

/* Résumé · Contact · LinkedIn · House of Jenny: one centered row, gold dots between */
#menu .menu-util{justify-content:center;gap:0!important;margin-top:8px!important;padding-top:16px!important;border-top:0!important;position:relative}
#menu .menu-util::before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,rgba(201,165,90,0),#C9A55A 20%,#C9A55A 80%,rgba(201,165,90,0))}
#menu .menu-util a{display:inline-flex;align-items:center;min-height:44px;border:0!important;padding:0 4px!important;font:600 11px/1 var(--clean,var(--sans))!important;letter-spacing:.16em;text-transform:uppercase;color:var(--plum,#4E2A45)}
#menu .menu-util a + a::before{content:"";display:inline-block;width:4px;height:4px;margin:0 16px;vertical-align:2px;transform:rotate(45deg);background:#C9A55A}
#menu .menu-util a:hover{color:var(--gold-ink,#7A5C24)}

/* phones: the dialog is the v11.0 chapter sheet (css/hoj-v11-nav.css §4); only the utility row is set here */
@media (max-width:700px){
  #menu .menu-util{flex-wrap:wrap;gap:0 22px!important}
  #menu .menu-util a{white-space:nowrap;font-size:10.5px!important}
  #menu .menu-util a + a::before{display:none}
}
@media (prefers-reduced-motion:reduce){#menu .lens{transition:none}#menu .lens:hover{transform:none}}

/* ================= v10.7 · simpler: Jenny (19:21 ET) "still looks like too many text, can we simplify" ===========
   The panel keeps every link, in the same order, but shows only names: lens notes, page one-liners and content tags
   are no longer drawn (they stay in content.js and can come back with one line). */
#menu .lens span,#menu .pl-b,#menu .pl-tag{display:none!important}
#menu .menu-intro{margin:10px 0 16px!important}
#menu .lens-list{gap:10px!important;margin-bottom:20px!important}
#menu .lens{min-height:50px!important;padding:0 16px 0 36px!important;justify-content:center!important}
#menu .lens::before{top:50%;margin-top:-3.5px}
#menu .lens b{font-size:18px!important}
#menu .pl-ch{margin:0 0 14px!important}
#menu .pl-ch a{display:flex!important;align-items:center;min-height:44px;padding:0 10px!important}
#menu .pl-t{font-size:17px!important}
#menu .pl-ch a[aria-current] .pl-t::after{vertical-align:1px}
