/* generated by preview/one-world/_build/build.py from preview/worlds/assets/worlds.css + one.css + one-pages.css */
/* The Ecosystemic Flâneur: one living world, two design languages, two hours of the day.
   data-dir="a"  Urban Night: light, orbits, constellations, depth. Display serif, light sans body.
   data-dir="b"  Living Ecosystem: a hand-drawn living map, contours, routes, plots. Heavy sans display, serif body.
   data-sky="day|night" is the atmosphere the visitor chooses. Content, structure and behaviour stay the same. */

/* ---------- tokens ---------- */
:root {
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-serif: "Frank Ruhl Libre", "David", serif;
  --f-sans: "Heebo", system-ui, sans-serif;
}
html[data-dir="w"][data-sky="night"] {
  --bg: #060D1A; --bg-2: #0A1528; --bg-3: #0F1F3A; --ink: #EEF1F5; --ink-2: #C7D1DE; --muted: #8E9DB3;
  --line: rgba(200, 216, 238, .13); --line-2: rgba(200, 216, 238, .3);
  --surface: rgba(255, 255, 255, .035); --surface-2: rgba(255, 255, 255, .07); --solid: #0C1930;
  --gold: #E8B54D; --gold-t: #F0C66A; --teal: #5BBDB3; --terra: #DE8B66; --node: #FFF4D6;
  --glow: 0 0 18px rgba(232, 181, 77, .55); --hl: rgba(232, 181, 77, .16); --on-gold: #0A1528;
  --ill-bg: #F5EFE2; --ill-frame: 0 0 0 1px rgba(255, 236, 196, .18), 0 0 60px -10px rgba(232, 181, 77, .28), 0 30px 60px -30px rgba(0, 0, 0, .8);
  --lamp: radial-gradient(closest-side, rgba(255, 228, 170, .95), rgba(255, 214, 140, .55) 45%, rgba(232, 181, 77, .12) 75%, transparent);
  color-scheme: dark;
}
html[data-dir="w"][data-sky="day"] {
  --bg: #F3F0EA; --bg-2: #E9EDF0; --bg-3: #DFE6EC; --ink: #0D1F38; --ink-2: #263B57; --muted: #52627A;
  --line: rgba(13, 31, 56, .12); --line-2: rgba(13, 31, 56, .26);
  --surface: rgba(255, 255, 255, .6); --surface-2: rgba(255, 255, 255, .85); --solid: #FFFFFF;
  --gold: #C48F1E; --gold-t: #8A6211; --teal: #2A807A; --terra: #B5573A; --node: #0D1F38;
  --glow: 0 0 14px rgba(196, 143, 30, .35); --hl: rgba(196, 143, 30, .14); --on-gold: #0D1F38;
  --ill-bg: #FBF7EE; --ill-frame: 0 0 0 1px rgba(13, 31, 56, .1), 0 24px 50px -30px rgba(13, 31, 56, .45);
  --lamp: radial-gradient(closest-side, rgba(255, 246, 222, .9), rgba(255, 236, 196, .5) 50%, transparent);
  color-scheme: light;
}


html[data-dir="w"] { --f-display: var(--f-serif); --fw-display: 400; --f-prose: var(--f-sans); --fw-prose: 300; --ls-display: -.005em; --r: 14px; --r-sm: 10px; }


/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: var(--fw-prose) 18px/1.75 var(--f-prose);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}

/* atmosphere: night grain and depth, paper by day */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.35 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-dir="w"][data-sky="night"] body::before { opacity: .35; mix-blend-mode: screen; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--teal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
b, strong { font-weight: 600; }
html[data-dir="w"] b, html[data-dir="w"] strong { font-weight: 500; color: var(--ink); }
[hidden] { display: none !important; }
.wrap { position: relative; z-index: 1; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; font: 500 15px var(--f-sans); }
.skip:focus { top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.1rem); line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.7vw, 3rem); line-height: 1.1; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.4rem); line-height: 1.3; }
html[data-dir="w"] h1 { font-weight: 300; }
html[data-dir="w"] h3 { font-weight: 500; }

p { margin: 0 0 1em; }
.kick {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 .76rem/1.4 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
html[data-dir="w"] .kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow); flex: none; }



.lead { font-size: clamp(1.15rem, 1.9vw, 1.42rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
html[data-dir="w"] .lead { font-weight: 300; }
.quiet { color: var(--muted); }
.small { font-size: .86rem; }
.prose { max-width: 62ch; }
.prose p { color: var(--ink-2); }
.big { font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.5; color: var(--ink); font-family: var(--f-display); font-weight: var(--fw-display); }
html[data-dir="w"] .big { font-weight: 400; }

.under { position: relative; display: inline; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 92% / 100% .09em; padding-bottom: .04em; }
html[data-dir="w"][data-sky="night"] .under { background-image: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 500 1rem/1 var(--f-sans); text-decoration: none; cursor: pointer; border: 1.5px solid var(--line-2); color: var(--ink); background: transparent;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.btn.go { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
html[data-sky="night"] .btn.go { box-shadow: 0 0 0 0 rgba(232, 181, 77, .0), 0 10px 40px -12px rgba(232, 181, 77, .7); }
.btn.go:hover { box-shadow: var(--glow); }



.btn .ar { font-size: 1.1em; line-height: 1; }
.more { font: 500 .95rem var(--f-sans); color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.more::after { content: " ←"; color: var(--gold); }

/* ---------- header ---------- */
.wb { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); transition: background .9s; }
.wb-in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.02rem var(--f-sans); white-space: nowrap; color: var(--ink); }
html[data-dir="w"] .brand { font: 500 1.12rem var(--f-serif); }
.brand .fig-mini { width: 26px; height: 26px; border-radius: 50%; background: var(--lamp); display: grid; place-items: center; flex: none; }
.brand .fig-mini img { height: 22px; width: auto; }
.wb-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.wb-nav a { font: 400 .92rem var(--f-sans); text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: color .3s, background .3s; }
.wb-nav a:hover { color: var(--ink); background: var(--surface-2); }
.wb-nav a[aria-current] { color: var(--ink); }
html[data-dir="w"] .wb-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }


.sky, .terr-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 .86rem var(--f-sans); white-space: nowrap;
}

.sky:hover, .terr-btn:hover { border-color: var(--gold); }
/* the switch shows the hour: a sun on the horizon by day, a crescent by night */
.sky-ic { position: relative; width: 26px; height: 18px; overflow: hidden; flex: none; border-bottom: 1.5px solid var(--ink-2); }
.sky-ic::before { content: ""; position: absolute; left: 6px; width: 14px; height: 14px; border-radius: 50%; top: 5px; background: var(--gold); transition: top .6s var(--ease), box-shadow .6s, background .6s; }
.sky-ic::after { content: ""; position: absolute; left: 10px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); transform: translateY(14px); transition: transform .6s var(--ease), background .9s; }
html[data-sky="night"] .sky-ic::before { top: 2px; background: #F3E3B5; box-shadow: 0 0 10px rgba(243, 227, 181, .7); }
html[data-sky="night"] .sky-ic::after { transform: translateY(-2px); background: color-mix(in srgb, var(--bg) 80%, var(--surface)); }
.terr-btn .ti { width: 18px; height: 18px; flex: none; }
.terr-btn .ti circle { fill: var(--gold); } .terr-btn .ti path { stroke: var(--ink-2); fill: none; stroke-width: 1.4; }
@media (max-width: 980px) { .wb-nav { display: none; } .sky { margin-inline-start: auto; } }
@media (max-width: 420px) { .sky .sky-l, .terr-btn .tl { display: none; } .sky, .terr-btn { padding: 0 10px; } .brand { font-size: .95rem; } }

/* ---------- the twilight between the two hours ---------- */
.dusk { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; }
.dusk.to-night { background: linear-gradient(180deg, #1B2D52 0%, #6B4A6E 38%, #D98E5B 64%, #F2C27A 80%, #0A1528 100%); background-size: 100% 300%; }
.dusk.to-day { background: linear-gradient(0deg, #0A1528 0%, #3D4A78 30%, #E7A97A 62%, #F7E3B9 82%, #F5EEDF 100%); background-size: 100% 300%; }
.dusk.on { animation: dusk-in .62s var(--ease) forwards; }
.dusk.on.off { animation: dusk-out .85s var(--ease) forwards; }
@keyframes dusk-in { from { opacity: 0; background-position: 0 0; } to { opacity: .92; background-position: 0 50%; } }
@keyframes dusk-out { from { opacity: .92; background-position: 0 50%; } to { opacity: 0; background-position: 0 100%; } }

/* ---------- the threshold ---------- */
.threshold { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; background: #000; }
html.at-threshold body { overflow: hidden; }
.threshold .th-side { position: relative; overflow: hidden; border: 0; margin: 0; padding: clamp(24px, 5vw, 64px); text-align: start; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; transition: flex .9s var(--ease), opacity .6s; font: inherit; }
.threshold .th-day { background: #F5EEDF; color: #112B48; }
.threshold .th-night { background: radial-gradient(120% 90% at 50% 20%, #10213F, #050B17 70%); color: #EEF1F5; }
.threshold .th-side > *:not(.th-map) { position: relative; z-index: 2; }
.th-map { position: absolute; inset: 0; z-index: 1; opacity: .9; }
.th-map svg { width: 100%; height: 100%; }
.th-k { font: 600 .78rem var(--f-sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.th-t { font: 400 clamp(2.2rem, 5vw, 4rem)/1.05 var(--f-serif); margin: 0; }
.th-day .th-t { font: 800 clamp(2.1rem, 4.6vw, 3.7rem)/1.05 var(--f-sans); letter-spacing: -.02em; }
.th-d { font: 300 clamp(1rem, 1.6vw, 1.2rem)/1.6 var(--f-sans); max-width: 30ch; opacity: .9; margin: 0; }
.th-go { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 18px; border-radius: 999px; font: 600 .95rem var(--f-sans); background: #E8B54D; color: #0A1528; }
.th-day .th-go { border-radius: 3px; background: #112B48; color: #F5EEDF; }
.threshold .th-side:hover .th-go, .threshold .th-side:focus-visible .th-go { box-shadow: 0 0 0 4px rgba(232, 181, 77, .35); }
.th-mid { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.th-mid .th-fig { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, #FFF6DE, rgba(255, 236, 190, .85) 55%, rgba(232, 181, 77, .25) 80%, transparent); }
.th-mid .th-fig img { height: 104px; width: auto; }
.th-q { position: absolute; top: clamp(20px, 5vh, 48px); left: 50%; transform: translateX(-50%); z-index: 3; text-align: center; color: #fff; mix-blend-mode: difference; font: 400 clamp(1.2rem, 2.4vw, 1.7rem)/1.3 var(--f-serif); width: min(90vw, 560px); margin: 0; pointer-events: none; }
.threshold.go-day .th-night, .threshold.go-night .th-day { opacity: 0; }
.threshold.go-day, .threshold.go-night { animation: th-out .9s .1s var(--ease) forwards; }
@keyframes th-out { to { opacity: 0; visibility: hidden; } }
@media (max-width: 700px) {
  .threshold { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .th-mid .th-fig { width: 96px; height: 96px; } .th-mid .th-fig img { height: 76px; }
  .th-q { top: 14px; }
  .threshold .th-side { justify-content: flex-end; padding-bottom: 28px; }
  .th-night { padding-top: 70px !important; justify-content: flex-start !important; }
}
@media (prefers-reduced-motion: reduce) { .threshold.go-day, .threshold.go-night { animation: none; } }

/* ---------- the territories map ---------- */
.terr { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.terr-in { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--solid); padding: clamp(18px, 3vw, 34px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.terr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.terr-h h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.terr-close { border: 1px solid var(--line-2); background: transparent; color: var(--ink); border-radius: 999px; height: 38px; padding: 0 14px; font: 500 .88rem var(--f-sans); cursor: pointer; }
.terr-map { position: relative; aspect-ratio: 16 / 9; margin-top: 10px; }
.terr-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.terr-map .tp { fill: none; stroke: var(--line-2); stroke-width: 1.4; }

html[data-dir="w"][data-sky="night"] .terr-map .tp { stroke: rgba(232, 181, 77, .35); }
.terr-map .tc { fill: none; stroke: var(--line); }
.t-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; text-decoration: none; text-align: center; width: max-content; max-width: 170px; }
.t-node i { width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--gold); transition: transform .3s, box-shadow .3s; }
.t-node b { font: 600 .95rem/1.2 var(--f-sans); }
.t-node small { font: 400 .76rem/1.3 var(--f-sans); color: var(--muted); }
.t-node:hover i, .t-node:focus-visible i { transform: scale(1.3); box-shadow: var(--glow); background: var(--gold); }
.t-node[aria-current] i { background: var(--gold); box-shadow: var(--glow); width: 22px; height: 22px; }
.t-node[aria-current] b::after { content: " · אתם כאן"; font-weight: 400; color: var(--teal); }


@media (max-width: 640px) {
  .terr-map { aspect-ratio: auto; display: grid; gap: 4px; }
  .terr-map svg { display: none; }
  .t-node { position: static; transform: none; grid-template-columns: 22px 1fr; justify-items: start; text-align: start; max-width: none; width: 100%; padding: 10px 6px; border-bottom: 1px solid var(--line); column-gap: 10px; }
  .t-node i { grid-row: span 2; align-self: center; }
}

/* ---------- the spine: where you are on the page ---------- */
.spine { display: none; }
@media (min-width: 1440px) {
  .spine { display: flex; position: fixed; z-index: 30; top: 50%; transform: translateY(-50%); inset-inline-end: max(14px, calc((100vw - var(--max)) / 2 - 92px)); flex-direction: column; gap: 22px; padding: 6px 0; }
  .spine::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 6px; border-inline-start: 1px solid var(--line-2); }
  
  .spine a { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 .74rem var(--f-sans); color: var(--muted); }
  .spine a i { width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); flex: none; transition: all .4s; }
  .spine a span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
  .spine a:hover span, .spine a.here span { opacity: 1; transform: none; }
  .spine a.here i { background: var(--gold); border-color: var(--gold); box-shadow: var(--glow); }
  .spine a.here { color: var(--ink); }
}

/* ---------- sections ---------- */
main { position: relative; z-index: 1; }
.sec { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.sec.alt { background: var(--bg-2); }
.sec.deep { background: var(--bg-3); }
.sec-h { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-h .lead { margin-top: 16px; }
.num { font: 500 .78rem var(--f-sans); letter-spacing: .2em; color: var(--teal); }
/* between territories: a seam drawn in each language */
.seam { position: relative; z-index: 1; height: 54px; margin-block: -27px; pointer-events: none; }
.seam svg { width: 100%; height: 100%; display: block; }
html[data-dir="w"] .seam path { fill: none; stroke: var(--line-2); stroke-width: 1; }
html[data-dir="w"] .seam circle { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }


.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* reveal: only with motion allowed; content is always there without JS */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.js .rv.in { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .field { position: absolute; inset: 0; z-index: 0; }
.eco-cv { position: absolute; inset: 0; display: block; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: min(80vh, 700px); padding-block: clamp(40px, 7vw, 88px); pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.hero.inner .wrap { min-height: min(62vh, 540px); }
.hero-text { position: relative; z-index: 2; }
.hero-text .lead { margin-top: 22px; }
.hero-text .sub { margin-top: 14px; color: var(--muted); max-width: 52ch; }
/* the text sits on a quiet pool so the city around it can stay alive */
.hero-text::before { content: ""; position: absolute; inset: -70px -110px; z-index: -1; background: radial-gradient(closest-side, var(--bg) 55%, color-mix(in srgb, var(--bg) 70%, transparent) 75%, transparent); pointer-events: none; }
.hero-fig { position: relative; justify-self: center; width: min(300px, 70%); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.hero-fig::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lamp); }

.hero-fig img { position: relative; height: 74%; width: auto; }
.hero-cap { position: absolute; bottom: -6px; inset-inline: 0; text-align: center; font: 400 .74rem var(--f-sans); color: var(--muted); }
.hero-hint { position: absolute; z-index: 2; bottom: 16px; inset-inline-end: var(--gut); font: 400 .76rem var(--f-sans); color: var(--muted); pointer-events: none; margin: 0; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; padding-block: 30px 44px; }
  .hero.inner .wrap { min-height: 0; }
  .hero-fig { width: min(200px, 52vw); order: -1; justify-self: start; margin-bottom: -6px; }
  .hero-hint { display: none; }
}

/* ---------- surfaces: windows by night, plots on the map ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.card { position: relative; padding: 24px 24px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .4s var(--ease), box-shadow .4s, background .4s; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); margin-bottom: .6em; font-size: .98em; }
.card .k { font: 500 .74rem var(--f-sans); letter-spacing: .12em; color: var(--teal); margin-bottom: 10px; display: block; }
html[data-dir="w"] .card::before { content: ""; position: absolute; inset-inline: 20%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .5s; }
html[data-dir="w"] .card:hover { border-color: var(--line-2); transform: translateY(-2px); }
html[data-dir="w"] .card:hover::before { opacity: 1; }



a.card { display: block; text-decoration: none; color: inherit; }

/* illustrations: lit windows at night, plates on the map by day */
.ill { margin: 0; }
.ill .frame { border-radius: var(--r-sm); overflow: hidden; background: var(--ill-bg); box-shadow: var(--ill-frame); }
.ill img { width: 100%; }
.ill figcaption { margin-top: 12px; font: 400 .84rem/1.5 var(--f-sans); color: var(--muted); }
.ill figcaption b { color: var(--ink); font-weight: 600; display: block; font-size: .98rem; margin-bottom: 2px; }
html[data-sky="night"] .ill img { filter: saturate(.92) brightness(.97); }

/* quotes and moments */
.pull { margin: clamp(30px, 5vw, 56px) 0; padding: 0; border: 0; max-width: 32ch; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.3; color: var(--ink); }
html[data-dir="w"] .pull { font-weight: 300; }
html[data-dir="w"] .pull::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); box-shadow: var(--glow); margin-bottom: 20px; }

.pull p { margin: 0; }
.pull p + p { color: var(--ink-2); }
.moment { position: relative; max-width: 620px; margin: 28px 0 0; padding: 22px 24px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.moment .mk { display: inline-flex; align-items: center; gap: 8px; font: 600 .76rem var(--f-sans); letter-spacing: .14em; color: var(--terra); margin-bottom: 8px; }
html[data-dir="w"] .moment .mk::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 10px var(--terra); }


.moment p { color: var(--ink-2); margin-bottom: .5em; }

/* ---------- explorable models ---------- */
/* seven movements: an orbit by night, a route on the map by day (same markup) */
.moves { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.mv-ring { position: relative; aspect-ratio: 1; width: min(460px, 100%); justify-self: center; }
.mv-ring svg.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mv-ring .o1 { fill: none; stroke: var(--line-2); stroke-width: 1; }
.mv-ring .o2 { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 2 8; opacity: .7; }


@media (prefers-reduced-motion: no-preference) { .mv-ring .o2 { animation: spin 90s linear infinite; transform-origin: 50% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.mv-ring button { --a: calc(var(--i) * 51.43deg - 90deg); position: absolute; left: calc(50% + 42% * cos(var(--a))); top: calc(50% + 42% * sin(var(--a))); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; border: 0; background: none; color: var(--ink); cursor: pointer; font: 500 .98rem var(--f-sans); padding: 6px; }
.mv-ring button i { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: all .4s var(--ease); }
.mv-ring button[aria-pressed="true"] i { background: var(--gold); border-color: var(--gold); box-shadow: var(--glow); transform: scale(1.35); }
.mv-ring button small { font: 400 .7rem var(--f-sans); color: var(--muted); letter-spacing: .06em; }


.mv-center { position: absolute; inset: 30%; display: grid; place-items: center; text-align: center; border-radius: 50%; }
.mv-center::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: var(--lamp); opacity: .55; }

.mv-center img { position: relative; height: 70%; width: auto; }
.pk { min-height: 150px; }
.pk .pk-n { display: block; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 10px; color: var(--ink); }
.pk .pk-d { font-size: 1.14rem; color: var(--ink-2); margin: 0 0 18px; }
.seq { font: 400 .92rem/1.8 var(--f-sans); color: var(--muted); }
.seq .ltr { display: block; font-size: .8rem; letter-spacing: .04em; }
@media (max-width: 860px) { .moves { grid-template-columns: minmax(0, 1fr); } .mv-ring { width: min(380px, 100%); } }

/* five insights: a constellation around the middle measure */
.five { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a . b" ". m ." "c . d"; gap: 14px 20px; position: relative; }
.five .card { padding: 20px; }
.five .m { grid-area: m; text-align: center; border-color: var(--gold); }
html[data-dir="w"] .five .m { box-shadow: 0 0 60px -20px var(--gold); }

.five .c1 { grid-area: a; } .five .c2 { grid-area: b; } .five .c3 { grid-area: c; } .five .c4 { grid-area: d; }
.five svg.ties { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.five svg.ties path { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .45; stroke-dasharray: 2 6; }
.five .card { z-index: 1; background: var(--solid); }
@media (max-width: 860px) { .five { grid-template-columns: minmax(0, 1fr); grid-template-areas: "m" "a" "b" "c" "d"; } .five svg.ties { display: none; } }

/* personal, shared, co-creation: the approved widening circles */
.widen-box { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; }
.widen-box svg { width: 100%; height: auto; overflow: visible; }
.widen-box .rp circle:not(.me) { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.widen-box .r1 circle:not(.me) { stroke: var(--gold); }
.widen-box .r2 circle:first-child { stroke: var(--teal); }
.widen-box .r3 > circle:first-child { stroke: var(--terra); }
.widen-box .weave { fill: none; stroke: var(--terra); stroke-width: 1; opacity: .55; stroke-dasharray: 3 5; }
.widen-box .ties { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .7; }
.widen-box .pts circle { fill: var(--bg); stroke: var(--ink-2); stroke-width: 1.4; }
.widen-box .me { fill: var(--gold); }
html[data-sky="night"] .widen-box .me { filter: drop-shadow(0 0 6px var(--gold)); }
@media (prefers-reduced-motion: no-preference) {
  .widen-box .rp { transform-origin: 130px 130px; animation: breathe 7s ease-in-out infinite; }
  .widen-box .r2 { animation-delay: -2.3s; } .widen-box .r3 { animation-delay: -4.6s; }
}
@keyframes breathe { 50% { transform: scale(1.025); } }
.widen { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.widen li { display: grid; gap: 2px; padding-inline-start: 18px; border-inline-start: 2px solid var(--line-2); }
.widen li:nth-child(1) { border-color: var(--gold); } .widen li:nth-child(2) { border-color: var(--teal); } .widen li:nth-child(3) { border-color: var(--terra); }
.widen b { font: 600 1.05rem var(--f-sans); } .widen span { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 560px) { .widen-box { grid-template-columns: minmax(0, 1fr); } .widen-box svg { max-width: 220px; } }

/* the triad of the discerning wanderer */
.triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.triad > div { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.triad span { display: block; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.35rem; color: var(--gold-t); }
.triad b { font-weight: 400; color: var(--ink-2); }
@media (max-width: 640px) { .triad { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home: the journey between worlds ---------- */
.web-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.web { position: relative; aspect-ratio: 1.08; width: 100%; }
.web svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.web svg.links path { fill: none; stroke: var(--line); stroke-width: 1; transition: stroke .5s, stroke-width .5s, opacity .5s; }
.web svg.links path.known { stroke: var(--line-2); }
.web svg.links path.on { stroke: var(--gold); stroke-width: 1.6; }
html[data-sky="night"] .web svg.links path.on { filter: drop-shadow(0 0 4px var(--gold)); }


.wn { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; border: 0; background: none; color: var(--ink-2); cursor: pointer; padding: 4px; font: 400 .86rem/1.2 var(--f-sans); text-align: center; z-index: 1; }
.wn .d { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); transition: all .4s var(--ease); }
.wn b { font-weight: 600; color: var(--ink); font-size: .92rem; }
.wn small { color: var(--muted); font-size: .74rem; }
.wn.seen .d { border-color: var(--gold); }
.wn.lnk .d { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 30%, var(--bg)); }
.wn[aria-pressed="true"] .d { background: var(--gold); border-color: var(--gold); box-shadow: var(--glow); transform: scale(1.4); }

.wn.hub .d { width: 74px; height: 74px; background: var(--lamp); border: 0; display: grid; place-items: center; transform: none !important; box-shadow: none !important; }

.wn.hub .d img { height: 58px; width: auto; }
.wn.hub[aria-pressed="true"] .d { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 860px) { .web-wrap { grid-template-columns: minmax(0, 1fr); } .wn small { display: none; } .web { aspect-ratio: .92; width: 94%; margin-inline: auto; } .wn b { font-size: .76rem; max-width: 76px; } .wn.hub .d { width: 58px; height: 58px; } .wn.hub .d img { height: 44px; } }
.web-meta { display: flex; justify-content: space-between; gap: 12px; font: 400 .82rem var(--f-sans); color: var(--muted); margin-top: 8px; }
.story { display: none; }
.story.on { display: block; animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .story.on { animation: none; } }
.story .k { font: 500 .76rem var(--f-sans); letter-spacing: .14em; color: var(--teal); }
.story h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 6px 0 12px; }
.story p { color: var(--ink-2); }
.ties { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 400 .84rem var(--f-sans); color: var(--muted); margin-top: 16px; }
.ties button { border: 1px solid var(--line-2); background: transparent; color: var(--ink); border-radius: 999px; padding: 4px 12px; font: 500 .82rem var(--f-sans); cursor: pointer; }

.ties button:hover { border-color: var(--gold); }

/* ---------- constellation of lights (the Wanderer page) ---------- */
.lights { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sky-map { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; }
.sky-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sky-map .route { fill: none; stroke: var(--gold); stroke-width: 1.3; opacity: .6; vector-effect: non-scaling-stroke; }
.sky-map .halo { vector-effect: non-scaling-stroke; }

.sky-map .halo { fill: none; stroke: var(--line); }
.sky-map button { max-width: 110px; line-height: 1.25; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); border: 0; background: none; color: var(--ink-2); cursor: pointer; display: grid; justify-items: center; gap: 4px; font: 500 .84rem var(--f-sans); padding: 4px; }
.sky-map button i { width: 12px; height: 12px; border-radius: 50%; background: var(--node); opacity: .75; transition: all .4s; }
html[data-sky="night"] .sky-map button i { box-shadow: 0 0 10px var(--node); }

.sky-map button[aria-pressed="true"] { color: var(--ink); }
.sky-map button[aria-pressed="true"] i { background: var(--gold); opacity: 1; transform: scale(1.5); box-shadow: var(--glow); border-color: var(--gold); }
.light-card .era { font: 500 .76rem var(--f-sans); letter-spacing: .12em; color: var(--teal); margin-bottom: 6px; }
.light-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.light-card .role { font-family: var(--f-display); font-weight: var(--fw-display); color: var(--gold-t); font-size: 1.15rem; margin: 4px 0 14px; }

.light-card .known, .light-card .reading { color: var(--ink-2); }
.light-card .known span, .light-card .reading span { display: block; font: 600 .74rem var(--f-sans); letter-spacing: .12em; margin-bottom: 4px; color: var(--muted); }
.light-card .reading span { color: var(--terra); }
.light-card blockquote { margin: 0 0 14px; padding: 14px 18px; border-inline-start: 2px solid var(--gold); font-family: var(--f-serif); font-size: 1.15rem; color: var(--ink); }
.light-card blockquote cite { display: block; font: 400 .8rem var(--f-sans); color: var(--muted); margin-top: 6px; font-style: normal; }
.light { display: none; } .light.on { display: block; animation: rise .6s var(--ease); }
@media (max-width: 860px) { .lights { grid-template-columns: minmax(0, 1fr); } .sky-map { max-width: 360px; } }

/* compass of opposites */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin: 24px 0; }
.pairs div { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); font: 500 .9rem var(--f-sans); background: var(--surface); }
.pairs div span:last-child { color: var(--muted); }

/* lists */
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); }


/* timeline (professional page) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 10px; }
.steps::before { content: ""; position: absolute; top: 9px; inset-inline: 0; border-top: 1px solid var(--line-2); }

.steps > div { position: relative; padding: 32px 0 0; padding-inline-end: 22px; }
.steps > div::before { content: ""; position: absolute; top: 2px; inset-inline-start: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.steps > div:last-child::before { background: var(--gold); box-shadow: var(--glow); }
.steps b { display: block; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.steps span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 4px; } .steps::before { top: 0; bottom: 0; inset-inline: 7px auto; border-top: 0; border-inline-start: 1px solid var(--line-2); } .steps > div { padding: 0 0 18px; padding-inline-start: 32px; } }

/* questions */
.qs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.qs li { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.12rem; line-height: 1.45; }

.qs li::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-inline-end: 10px; font: 600 .8rem var(--f-sans); background: var(--hl); color: var(--gold-t); vertical-align: 2px; }

/* the library as a field of places */
.lib-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.lib-tools input { flex: 1 1 220px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 400 1rem var(--f-sans); }

.lib-tools button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 .88rem var(--f-sans); cursor: pointer; }
.lib-tools button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.idea-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.idea > button { width: 100%; text-align: start; display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; align-items: baseline; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .3s, background .3s; }
.idea > button .d { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--node); opacity: .7; align-self: center; }
html[data-sky="night"] .idea > button .d { box-shadow: 0 0 8px var(--node); }


.idea > button b { font: 600 .98rem/1.35 var(--f-sans); }
.idea > button small { font: 400 .78rem var(--f-sans); color: var(--muted); }
.idea > button:hover { border-color: var(--gold); }
.idea.open > button { border-color: var(--gold); background: var(--surface-2); }
.idea.open > button .d { background: var(--gold); border-color: var(--gold); box-shadow: var(--glow); }
.idea-body { padding: 12px 16px 4px; }
.idea-body .inv { color: var(--ink-2); font-size: .98rem; }
.idea-body .src { font: 400 .78rem var(--f-sans); color: var(--muted); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doors .card b.l { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); font: 700 1rem var(--f-sans); margin-bottom: 12px; color: var(--gold-t); }
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* the mechanism stage, in the new world */
.lc-stage .field-wrap { position: relative; }
.lc-cv { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.lc-stage .field { position: relative; filter: none !important; }
html[data-sky="night"] .lc-stage .field-wrap { filter: drop-shadow(0 0 60px rgba(232, 181, 77, .12)); }
html[data-dir="w"][data-sky="night"] .lc-stage .field-wrap::before { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 1px solid rgba(200, 216, 238, .08); box-shadow: inset 0 0 0 26px rgba(10, 21, 40, .0); pointer-events: none; }
html[data-dir="w"] .lc-stage .field-wrap::after { content: ""; position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed var(--line); pointer-events: none; }

html[data-sky="day"] .lc-stage .f-center { color: var(--ink); }
.lc-stage .f-center .walker-fig { display: none; }
.lc-stage .f-center::before { content: ""; width: 92px; height: 92px; border-radius: 50%; background: var(--lamp); position: absolute; z-index: -1; top: 50%; left: 50%; transform: translate(-50%, -78%); }
.lc-stage .f-center { z-index: 2; isolation: isolate; }
.lc-stage .f-center .fig { height: 64px; width: auto; margin-bottom: 4px; }
html[data-sky="night"] .lc-stage .f-center b { text-shadow: 0 0 18px rgba(4, 10, 22, .9); }

/* the Wanderer page: verbs, motto, and the noise of a world that keeps telling us where to look */
.verbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; padding-inline-start: 22px; border-inline-start: 1.5px dashed var(--gold); }
.verbs li { display: grid; padding: 8px 0; }
.verbs b { font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
html[data-dir="w"] .verbs b { font-weight: 400; }
.verbs li:nth-child(2) b { color: var(--teal); } .verbs li:nth-child(3) b { color: var(--terra); } .verbs li:nth-child(4) b { color: var(--gold-t); }
.verbs span { color: var(--muted); font-size: .95rem; }
h2 em, .subh em { font-style: normal; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 85% / 100% .32em; }
.subh { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: clamp(36px, 5vw, 60px) 0 18px; }
.noise { position: relative; overflow: hidden; white-space: nowrap; margin: 0 0 clamp(30px, 5vw, 56px); font: 400 .95rem var(--f-sans); color: var(--muted); opacity: .6; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.noise span { display: inline-block; padding-inline-end: 2em; }
@media (prefers-reduced-motion: no-preference) { .noise span { animation: noise 60s linear infinite; } }
@keyframes noise { to { transform: translateX(50%); } }
.ticks li > b:first-child { margin-inline-end: .35em; }
.w-src summary { cursor: pointer; }
.w-src details[open] summary { margin-bottom: 14px; }
.w-src details p, .w-src details li { color: var(--ink-2); font-size: .92rem; }
.mrow { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mrow.mh { font: 600 .82rem var(--f-sans); color: var(--muted); }
.srcl { font: 400 .84rem/1.6 var(--f-sans); color: var(--muted); border-inline-start: 2px solid var(--line-2); padding-inline-start: 12px; }
.mth .prose, .acd .prose { max-width: 66ch; }
.mth details.card, .mth .card { margin-bottom: 10px; }
.mth summary, .acd summary { cursor: pointer; font-weight: 600; }
.dlx { display: grid; gap: 14px; } .dlx dt { font-weight: 600; color: var(--ink); } .dlx dd { margin: 0; color: var(--ink-2); }
.acd .cards .card a.btn, .acd a.btn { margin-top: 8px; }

/* ---------- footer ---------- */
.wf { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); font: 400 .88rem var(--f-sans); color: var(--muted); }
.wf .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.wf a { color: var(--ink-2); text-decoration: none; }
.wf a:hover { color: var(--ink); text-decoration: underline; }
.wf .wf-brand { font: 500 1rem var(--f-display); color: var(--ink); margin-inline-end: auto; }


/* ======================================================================
   ONE WORLD. Day and night are two atmospheres of the same place.
   Typography follows Osim Kehila (osimkehila.co.il) exactly: Heebo only,
   300 for reading and for large headings, 400 for navigation and buttons,
   500 for section headings, small labels and emphasis.
   ====================================================================== */
:root {
  --f-serif: "Heebo", system-ui, sans-serif;   /* no second family anywhere */
  --f-sans: "Heebo", system-ui, sans-serif;
  --navy: #0F2D4A; --must: #D4A72C; --cream: #F7F2E8; --warm: #9A4E2C; --sand: #F2E6D2;
}
html[data-dir="w"] {
  --f-display: var(--f-sans); --fw-display: 300; --f-prose: var(--f-sans); --fw-prose: 300; --ls-display: 0; --r: 14px; --r-sm: 10px;
}
/* night: the same navy as Osim Kehila's footer, deepened; mustard lamps; cream text */
html[data-dir="w"][data-sky="night"], .tsk[data-sky="night"] {
  --bg: #0A1E33; --bg-2: #0F2D4A; --bg-3: #143757; --ink: #F7F2E8; --ink-2: #D9DEE4; --muted: #A3B1C0;
  --line: rgba(247, 242, 232, .12); --line-2: rgba(247, 242, 232, .28);
  --surface: rgba(247, 242, 232, .04); --surface-2: rgba(247, 242, 232, .08); --solid: #0F2944;
  --gold: #D4A72C; --gold-t: #E6C056; --teal: #6DB8AF; --terra: #D98B64; --node: #FFF3D2;
  --glow: 0 0 18px rgba(212, 167, 44, .5); --hl: rgba(212, 167, 44, .16); --on-gold: #0F2D4A;
  --ill-bg: #F7F2E8; --ill-frame: 0 0 0 1px rgba(247, 242, 232, .16), 0 0 60px -12px rgba(212, 167, 44, .26), 0 30px 60px -30px rgba(0, 0, 0, .7);
  --lamp: radial-gradient(closest-side, rgba(255, 232, 176, .95), rgba(240, 206, 120, .5) 45%, rgba(212, 167, 44, .12) 75%, transparent);
  color-scheme: dark;
}
/* day: Osim Kehila's cream page and navy ink; the city as a map */
html[data-dir="w"][data-sky="day"], .tsk[data-sky="day"] {
  --bg: #F7F2E8; --bg-2: #F2E6D2; --bg-3: #E6EBF0; --ink: #0F2D4A; --ink-2: #263F5B; --muted: #4D5E70;
  --line: rgba(15, 45, 74, .12); --line-2: rgba(15, 45, 74, .26);
  --surface: rgba(255, 255, 255, .55); --surface-2: rgba(255, 255, 255, .85); --solid: #FFFDF8;
  --gold: #D4A72C; --gold-t: #8A6A12; --teal: #2F7F78; --terra: #9A4E2C; --node: #0F2D4A;
  --glow: 0 0 14px rgba(212, 167, 44, .32); --hl: rgba(212, 167, 44, .16); --on-gold: #0F2D4A;
  --ill-bg: #FFFDF8; --ill-frame: 0 0 0 1px rgba(15, 45, 74, .1), 0 24px 50px -30px rgba(15, 45, 74, .4);
  --lamp: radial-gradient(closest-side, rgba(255, 248, 228, .95), rgba(242, 230, 210, .55) 55%, transparent);
  color-scheme: light;
}

/* ---- reading ---- */
body { font: 300 18px/1.65 var(--f-sans); }
b, strong, html[data-dir="w"] b, html[data-dir="w"] strong { font-weight: 500; }
em, i { font-style: normal; }
.prose p, p { text-wrap: pretty; }

/* ---- headings: large and light like Osim Kehila's hero, 500 for section heads ---- */
h1, h2, h3 { font-family: var(--f-sans); letter-spacing: 0; }
h1, html[data-dir="w"] h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 300; line-height: 1.2; }
h1 small { display: block; font-size: .4em; font-weight: 300; color: var(--muted); margin-top: .5em; line-height: 1.4; }
h2 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; line-height: 1.2; }
h3, html[data-dir="w"] h3 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; line-height: 1.3; }
.lead, html[data-dir="w"] .lead { font-size: clamp(19px, 1.7vw, 22px); font-weight: 300; line-height: 1.6; }
.big, html[data-dir="w"] .big { font-family: var(--f-sans); font-weight: 300; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.5; }

/* ---- eyebrow (Osim Kehila flâneur page: 16px Hebrew, .04em, accent) ---- */
.kick { font: 400 16px/1.4 var(--f-sans); letter-spacing: .04em; text-transform: none; color: var(--gold-t); }
html[data-sky="night"] .kick { color: var(--gold); }
.kick .en, .en { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }

/* ---- navigation and buttons (Osim Kehila: nav 400/16, pill 400/17, primary mustard 500) ---- */
.brand, html[data-dir="w"] .brand { font: 300 21px/1 var(--f-sans); letter-spacing: 0; }
.wb-nav a { font: 400 15.5px var(--f-sans); }
.sky, .terr-btn { font: 400 15px var(--f-sans); }
.btn { font: 400 17px/1 var(--f-sans); padding: 12px 26px; min-height: 48px; border-radius: 999px; }
.btn.go { font-weight: 500; }
.more { font: 400 16px var(--f-sans); }

/* ---- captions, small labels, quotes ---- */
figcaption, .hero-cap { font: 300 14px/1.55 var(--f-sans); color: var(--muted); }
figcaption b { font-weight: 500; color: var(--ink); }
.small { font-size: 14.5px; }
.pull, html[data-dir="w"] .pull { font: 300 clamp(22px, 2.4vw, 30px)/1.45 var(--f-sans); padding-inline-start: 22px; border-inline-start: 2px solid var(--gold); }
.pull::before, html[data-dir="w"] .pull::before { display: none; }
blockquote { font-size: 19px; color: var(--muted); border-inline-start: 2px solid var(--gold); padding-inline-start: 18px; margin-inline: 0; }
html[data-sky="night"] blockquote { color: var(--ink-2); }
.wf { border-top: 3px solid var(--terra); }
.wf .wf-brand { font-weight: 300; font-size: 21px; }

/* ---- type samples on the system page ---- */
.ts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ts > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ts dt { font: 400 14px/1.5 var(--f-sans); color: var(--muted); }
.ts dt b { display: block; color: var(--ink); font-weight: 500; }
.ts dd { margin: 0; min-width: 0; }
@media (max-width: 700px) { .ts > div { grid-template-columns: 1fr; gap: 8px; } }
.sw { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sw span { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); width: 116px; }
.sw i { display: block; height: 54px; border-radius: 12px; border: 1px solid var(--line-2); }
.hero-cap { font-size: 12.5px; bottom: -16px; white-space: nowrap; }
@media (max-width: 860px) { .hero-fig { margin-bottom: 14px; } }
/* the day is one tap away: the switch keeps its words on phones, and glows softly until a visitor has used it */
@media (max-width: 420px) {
  .sky .sky-l { display: inline; }
  .sky { padding: 0 12px 0 10px; gap: 6px; font-size: 14px; }
  .brand, html[data-dir="w"] .brand { font-size: 17px; gap: 7px; }
  .wb-in { gap: 8px; }
}
@media (max-width: 350px) { .brand .fig-mini { display: none; } }
.sky.beckon { animation: beckon 2.8s ease-in-out 1s 4; }
@keyframes beckon { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 167, 44, 0); } 50% { box-shadow: 0 0 0 6px rgba(212, 167, 44, .22), 0 0 22px rgba(212, 167, 44, .35); border-color: var(--gold); } }
@media (prefers-reduced-motion: reduce) { .sky.beckon { animation: none; border-color: var(--gold); } }
/* the weights stay inside Osim Kehila's range: 300 / 400 / 500 */
.th-t { font-weight: 300 !important; letter-spacing: 0; }
.th-k, .th-go, .moment .mk, h4, summary, dt, .lib .l, b.l, .q-k { font-weight: 500 !important; }
.q-k { letter-spacing: .04em !important; font-size: 14px !important; }
.mrow.mh span { font-weight: 500; }

/* ---------- star map as discovery (the Wanderer page) ---------- */
.lights.disc .sky-map .route { display: none; }
.sky-map .hist { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 2s var(--ease); }
.sky-map .hist.on { opacity: 1; }
.sky-map .mine { fill: none; stroke: var(--teal); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .75; stroke-linejoin: round; }
.sky-map .tie { stroke: var(--gold); stroke-width: 2.2; vector-effect: non-scaling-stroke; opacity: 0; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: opacity .6s, stroke-dashoffset 1.8s var(--ease); }
html[data-sky="night"] .sky-map .tie { filter: drop-shadow(0 0 4px rgba(212, 167, 44, .8)); }
.sky-map .tie.on { opacity: .95; stroke-dashoffset: 0; }
.lights.disc .sky-map button i { opacity: .28; transform: scale(.8); }
.lights.disc .sky-map button span { opacity: .55; transition: opacity .5s; }
.lights.disc .sky-map button:not(.seen) i { animation: twinkle 3.6s ease-in-out infinite; animation-delay: calc(var(--x) * .04s); }
.lights.disc .sky-map button.seen i { opacity: 1; transform: scale(1.05); background: var(--node); }
.lights.disc .sky-map button.seen span { opacity: 1; }
.lights.disc .sky-map button.tied i { background: var(--gold); box-shadow: var(--glow); }
.lights.disc .sky-map button[aria-pressed="true"] i { background: var(--gold); opacity: 1; transform: scale(1.6); box-shadow: var(--glow); }
.lights.disc .sky-map button:hover span, .lights.disc .sky-map button:focus-visible span { opacity: 1; }
@keyframes twinkle { 0%, 100% { opacity: .22; } 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .lights.disc .sky-map button i { animation: none !important; } .sky-map .tie { transition: none; } }
.lt-side { display: grid; gap: 14px; justify-items: center; }
.lt-count { color: var(--muted); max-width: 44ch; text-align: center; margin: 0; }
.lt-count b { color: var(--ink); font-weight: 500; }
.lt-done { color: var(--ink-2); text-align: center; margin: 0; }
.tie-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 480px; }
.tie-note { border: 1px solid var(--line-2); border-inline-start: 2px solid var(--gold); border-radius: 12px; padding: 12px 16px; font-size: 15.5px; color: var(--ink-2); background: var(--surface); transition: box-shadow 1s, background 1s; }
.tie-note b { display: block; color: var(--gold-t); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
html[data-sky="night"] .tie-note b { color: var(--gold); }
.tie-note.fresh { box-shadow: var(--glow); background: var(--hl); }
.light-card .era { font: 400 14px var(--f-sans); letter-spacing: .04em; color: var(--teal); }
.light-card h3 { font-weight: 300; font-size: clamp(28px, 3vw, 38px); }
.light-card .role { font: 400 18px var(--f-sans); }
.light-card .known span, .light-card .reading span { font: 500 13.5px var(--f-sans); letter-spacing: .04em; }
.light-card blockquote { font: 300 19px/1.6 var(--f-sans); }

/* ---------- echoes (five insights) ---------- */
.hero.short .wrap { min-height: 0; }
.echo-door { margin-top: 26px; text-align: center; }
.kinds { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kinds li { font-size: 15px; color: var(--muted); padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.kinds b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 15.5px; margin-bottom: 4px; }
.kinds i, .ech i, .ep-e .tag::before { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.kinds .k-root i, .k-root > i, .ep-e.k-root .tag::before { background: var(--gold); box-shadow: 0 0 0 3px var(--hl); }
.kinds .k-aff i, .k-aff > i, .ep-e.k-aff .tag::before { background: transparent; border: 1.5px solid var(--teal); }
.kinds .k-ours i { background: var(--terra); }
.kinds li i { margin: 0; }
@media (max-width: 760px) { .kinds { grid-template-columns: 1fr; } }
.echo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 28px; }
@media (max-width: 900px) { .echo { grid-template-columns: minmax(0, 1fr); } }
.echo-map { display: grid; gap: 14px; justify-items: center; position: sticky; top: 80px; }
@media (max-width: 900px) { .echo-map { position: static; } }
.echo-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; }
.echo-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.echo-stage .halo { fill: none; stroke: var(--line); vector-effect: non-scaling-stroke; }
.echo-stage .ray { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .8s; }
.echo-stage .ray.known { opacity: .35; }
.echo-stage .ray.lit { opacity: 1; stroke: var(--teal); }
.echo-stage .tie { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: opacity .6s, stroke-dashoffset 2s var(--ease); }
.echo-stage .tie.on { opacity: .9; stroke-dashoffset: 0; }
html[data-sky="night"] .echo-stage .tie.on { filter: drop-shadow(0 0 4px rgba(212, 167, 44, .8)); }
.echo-stage button { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); border: 0; background: none; color: var(--ink-2); cursor: pointer; display: grid; justify-items: center; gap: 6px; padding: 4px; font: 400 15px/1.25 var(--f-sans); }
.echo-stage .ins { z-index: 2; max-width: 120px; }
.echo-stage .ins i { width: 18px; height: 18px; border-radius: 50%; background: var(--node); box-shadow: 0 0 0 6px var(--hl); transition: transform .5s var(--ease), box-shadow .5s; }
html[data-sky="night"] .echo-stage .ins i { box-shadow: 0 0 0 6px var(--hl), 0 0 18px var(--node); }
.echo-stage .ins span { font-weight: 500; color: var(--ink); }
.echo-stage .ins.mid i { width: 26px; height: 26px; background: var(--gold); }
.echo-stage .ins[aria-pressed="true"] i { transform: scale(1.3); background: var(--gold); box-shadow: 0 0 0 10px var(--hl), var(--glow); }
.echo-stage:not(.started) .ins i { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 12px var(--hl), var(--glow); } }
.echo-stage .ech { opacity: 0; pointer-events: none; transition: opacity .7s, transform .7s var(--ease); max-width: 96px; font-size: 13.5px; }
.echo-stage .ech span { opacity: 0; transition: opacity .5s; }
.echo-stage .ech.known { opacity: .45; pointer-events: auto; }
.echo-stage .ech.lit { opacity: 1; pointer-events: auto; }
.echo-stage .ech.lit span, .echo-stage .ech:hover span { opacity: 1; }
.echo-stage .ech.hi i { transform: scale(1.5); }
.echo-stage .ech i { transition: transform .4s; }
.echo-panel { min-height: 220px; }
.echo-panel.in { animation: rise .6s var(--ease); }
.ep-hint { color: var(--muted); font-size: 17px; border: 1px dashed var(--line-2); border-radius: 14px; padding: 22px; text-align: center; }
.ep-t { font-weight: 300; font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.ep-ours { color: var(--ink); font-size: 19px; padding-inline-start: 16px; border-inline-start: 2px solid var(--terra); }
.ep-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ep-e { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .5s, box-shadow .5s; }
.ep-e.hi { border-color: var(--gold); box-shadow: var(--glow); }
.ep-e .tag { display: inline-flex; align-items: center; gap: 7px; font: 500 13.5px var(--f-sans); color: var(--muted); margin-bottom: 6px; }
.ep-e.k-root .tag { color: var(--gold-t); }
html[data-sky="night"] .ep-e.k-root .tag { color: var(--gold); }
.ep-e .nm { display: block; font-size: 20px; font-weight: 500; }
.ep-e .wk { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ep-e blockquote { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.ep-e p { margin: 0 0 6px; color: var(--ink-2); }
.echo-map .tie-notes { max-width: 560px; }

/* ---------- system page ---------- */
.two-sky { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .two-sky { grid-template-columns: 1fr; } }
.tsk { position: relative; overflow: hidden; border-radius: 18px; min-height: 380px; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); display: flex; align-items: flex-end; }
.tsk .field { position: absolute; inset: 0; }
.tsk-t { position: relative; z-index: 1; padding: 22px; background: linear-gradient(to top, var(--bg) 55%, transparent); width: 100%; }
.tsk-t h3 { font-size: 26px; font-weight: 300; }
.tsk-t p { color: var(--ink-2); margin: 6px 0 0; }
.tsk .sw span { color: var(--muted); }
@media (max-width: 760px) { .kinds { gap: 6px; } .kinds li { padding: 9px 12px; font-size: 14px; } .kinds b { margin: 0; display: inline-flex; margin-inline-end: 6px; } }
.sw { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sw span { width: auto; font-size: 12.5px; }
.sw i { height: 40px; border-radius: 10px; }
.sw bdi { font-size: 11.5px; opacity: .8; }
/* light cards: the name is the large, light heading; era and role stay small */
html[data-dir="w"] .light-card h3 { font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin: 2px 0 4px; }
.light-card > p:first-child { font: 400 14px var(--f-sans); letter-spacing: .04em; color: var(--teal); margin-bottom: 4px; }
.light-card > h3 + p { font: 400 18px var(--f-sans); color: var(--gold-t); margin-bottom: 14px; }
html[data-sky="night"] .light-card > h3 + p { color: var(--gold); }

/* the five insights on the methodology page: the middle measure at the centre */
#five .cards { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a m b" "c m d"; align-items: stretch; }
#five .cards > :nth-child(1) { grid-area: a; } #five .cards > :nth-child(2) { grid-area: b; }
#five .cards > :nth-child(3) { grid-area: m; align-self: center; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--glow); }
#five .cards > :nth-child(4) { grid-area: c; } #five .cards > :nth-child(5) { grid-area: d; }
@media (max-width: 760px) { #five .cards { grid-template-columns: minmax(0, 1fr); grid-template-areas: "m" "a" "b" "c" "d"; } }

/* echoes: editorial title rendering and verification flag */
.ep-e .wk bdi{font-style:normal}
.ep-e .wk .tr{opacity:.8}
.ep-src{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline}
.ep-src .ep-flag{flex-basis:100%;font-size:14px;font-weight:300;opacity:.85;margin-top:4px}
.kinds-note{font-size:14px;font-weight:300;opacity:.8;margin:14px 0 0;max-width:62ch}

/* the mechanism as a phone app */
.app-install { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.app-install button { font: 400 16px/1 var(--f-sans); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.app-install button:hover { border-color: var(--gold); }
.app-install button svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.app-install .app-how { flex-basis: 100%; margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- a ten-minute wandering (/try/) */
.pg-try .try-hero .hero-text h1 small{display:block}
#try .wrap{max-width:720px}
.try-steps{list-style:none;margin:0 0 22px;padding:0;display:flex;gap:8px;flex-wrap:wrap;font:400 15px/1.3 var(--f-sans);color:var(--muted)}
.try-steps li{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 14px;border:1px solid var(--line);border-radius:999px}
.try-steps li i{font-style:normal;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid var(--line-2);font-size:13px}
.try-steps li.on{color:var(--ink);border-color:var(--gold)}
.try-steps li.on i{background:var(--gold);border-color:var(--gold);color:var(--on-gold)}
.try-steps li.done i{border-color:var(--gold);color:var(--gold)}
.try-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:clamp(22px,4vw,36px);display:flex;flex-direction:column;gap:14px}
.try-card h2{margin:0;outline:none}
.try-card p{margin:0}
.try-t{font:400 15px var(--f-sans);color:var(--gold-t,var(--gold));letter-spacing:.04em}
.try-ex{font-size:clamp(20px,2.4vw,24px);line-height:1.55;font-weight:300}
.try-card textarea{width:100%;box-sizing:border-box;font:300 19px/1.5 var(--f-sans);color:var(--ink);background:var(--bg);border:1px solid var(--line-2);border-radius:var(--r-sm,10px);padding:12px 14px;resize:vertical}
.try-card textarea:focus{outline:2px solid var(--gold);outline-offset:1px}
.try-card label{font-weight:400}
.try-help{border-inline-start:2px solid var(--line-2);padding-inline-start:14px}
.try-help summary{cursor:pointer;color:var(--ink-2);font-weight:400}
.try-help p{margin-top:10px;font-size:16px;color:var(--ink-2)}
.try-release,.try-close{font-style:normal;color:var(--ink-2)}
.try-q-echo{font-size:20px;border-inline-start:3px solid var(--gold);padding-inline-start:12px}
.try-sum{margin:0;display:grid;gap:12px}
.try-sum dt{font:400 14px var(--f-sans);color:var(--muted);letter-spacing:.04em}
.try-sum dd{margin:4px 0 0;font-size:21px;line-height:1.5}
.try-note{font-size:14px;color:var(--muted)}
.try-card .btns{margin:6px 0 0}
@media (max-width:560px){.try-steps{flex-wrap:nowrap;gap:5px;font-size:13.5px}.try-steps li{padding:5px 8px 5px 10px;gap:5px;white-space:nowrap}.try-steps li i{width:19px;height:19px;font-size:12px}}
.try-what{margin:4px 0 18px;max-width:56ch}
.try-what summary{cursor:pointer;color:var(--gold-t,var(--gold));font-weight:400}
.try-what p{margin:8px 0 0;font-size:16px;color:var(--ink-2)}
.try-what a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.mth #serendipity{margin:34px 0 6px;font-size:clamp(20px,2.2vw,24px);scroll-margin-top:90px}
/* library B: the participatory tools shelf */
.tl-pur { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.tl-pur button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 400 .9rem var(--f-sans); cursor: pointer; }
.tl-pur button[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--gold); }
.tool-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; align-items: start; }
.tl { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); scroll-margin-top: 90px; transition: border-color .3s; }
.tl.is-method { border-color: var(--line-2); }
.tl.open { grid-column: 1 / -1; border-color: var(--gold); background: var(--surface-2); }
.tl-h { width: 100%; text-align: start; display: grid; gap: 2px; padding: 16px 18px; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; border-radius: var(--r); }
.tl-h:hover { background: var(--surface-2); }
.tl-k { font: 400 .8rem var(--f-sans); letter-spacing: .04em; color: var(--teal); display: flex; gap: 10px; align-items: baseline; }
.tl-k em { font-style: normal; color: var(--gold-t); }
html[data-sky="night"] .tl-k em { color: var(--gold); }
.tl-h b { font: 500 1.15rem/1.3 var(--f-sans); margin-top: 2px; }
.tl-h small { font: 400 .8rem var(--f-sans); color: var(--muted); direction: ltr; text-align: end; }
.tl-e { color: var(--ink-2); font-size: .95rem; margin-top: 6px; font-weight: 300; }
.tl.open .tl-e { font-size: 1.02rem; }
.tl-body { padding: 0 18px 18px; max-width: 760px; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tl-chip { font: 400 .78rem var(--f-sans); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.tl-facts { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 6px; font-size: .9rem; }
.tl-facts div { display: flex; gap: 6px; } .tl-facts dt { color: var(--muted); } .tl-facts dd { margin: 0; color: var(--ink-2); }
.tl-f h4 { font: 500 .95rem var(--f-sans); color: var(--ink); margin: 16px 0 6px; }
.tl-f p, .tl-f li { color: var(--ink-2); font-size: .97rem; }
.tl-f ol, .tl-f ul { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 6px; }
.tl-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-link { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 400 .88rem var(--f-sans); cursor: pointer; }
.tl-link:hover { border-color: var(--gold); }
.tl-src { margin: 18px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font: 400 .85rem var(--f-sans); color: var(--muted); }
.tl-none { color: var(--muted); padding: 12px 0; }
.tl-note { margin: 22px 0 0; max-width: 62ch; font-size: .95rem; font-weight: 300; color: var(--ink-2); }
@media (max-width: 760px) { .tl-pur { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); } .tl-pur button { flex: 0 0 auto; } }
.tl:not(.open) .tl-e { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
