/* ==========================================================================
   Jobair Universe v26 — home sections (original palette, Noto Serif only)
   ========================================================================== */

/* ---------- 1. hero: looping farm B-roll, words on top ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); overflow: hidden; background: var(--forest); color: var(--paper); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 46%, rgba(23, 62, 46, .42), transparent 75%), linear-gradient(180deg, rgba(23, 62, 46, .5) 0%, rgba(23, 62, 46, .18) 36%, rgba(23, 62, 46, .32) 62%, rgba(23, 62, 46, .9) 100%); }
.hero-content { display: grid; place-items: center; text-align: center; padding: clamp(36px, 7vh, 90px) var(--gutter) 16px; }
.hero-quote { display: grid; justify-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 2.2vh; font-size: 13px; letter-spacing: 1.5px; color: var(--pale); }
.hero-kicker .live-dot { background: var(--gold); margin: 0; }
.hq-line { display: block; font-size: clamp(28px, 3.6vw, 54px); font-weight: 500; line-height: 1.45; text-shadow: 0 2px 24px rgba(23, 62, 46, .5); }
.hq-gold { color: var(--gold); }
.hero-number { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 .35em; margin-top: .5vh; }
.hn-glyphs { font-size: clamp(70px, min(14vw, 25vh), 230px); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; color: var(--gold); text-shadow: 0 6px 40px rgba(23, 62, 46, .45); }
.hn-word { font-size: clamp(28px, min(3.6vw, 6.5vh), 58px); font-weight: 600; }
.hero-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: 0 var(--gutter) clamp(22px, 4vh, 40px); }
.hero-identity h1 { font-size: 25px; line-height: 1.4; }
.hero-identity p { font-size: 15px; margin-top: 2px; color: var(--pale); }
.hero-identity small { display: block; font-size: 11px; color: rgba(250, 246, 239, .72); }
.hero-identity .button-row { margin-top: 16px; }
.hero .button:not(.filled) { color: var(--paper); border-color: rgba(250, 246, 239, .5); }
.hero .button:not(.filled):hover { border-color: var(--gold); }
@keyframes cue { to { top: 110%; } }
.hero-tools { justify-self: end; display: flex; align-items: center; gap: 8px; margin-bottom: 62px; } /* clears the ask button below */
.hero-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(250, 246, 239, .45); border-radius: 10px; background: rgba(23, 62, 46, .35); color: var(--paper); transition: border-color .25s; }
.hero-btn:hover { border-color: var(--gold); }
.hero-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hero-btn .i-play { display: none; fill: currentColor; stroke: none; }
.hero-btn[aria-pressed=true] .i-pause { display: none; }
.hero-btn[aria-pressed=true] .i-play { display: block; }
.sound-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 16px 9px 13px; border: 1px solid rgba(250, 246, 239, .45); border-radius: 10px; background: rgba(23, 62, 46, .35); color: var(--paper); font-size: 13px; transition: border-color .25s; }
.sound-toggle:hover, .sound-toggle[aria-pressed=true] { border-color: var(--gold); }
.sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.sound-bars b { width: 2px; height: 4px; border-radius: 2px; background: var(--gold); }
.sound-toggle[aria-pressed=true] .sound-bars b { animation: eq 1s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed=true] .sound-bars b:nth-child(2) { animation-delay: -.4s; } .sound-toggle[aria-pressed=true] .sound-bars b:nth-child(3) { animation-delay: -.7s; } .sound-toggle[aria-pressed=true] .sound-bars b:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { from { height: 3px; } to { height: 13px; } }

/* entrance: the footage fades up, then the words rise one by one */
html.enter .hero-poster { animation: enter-zoom 1.6s var(--ease) both; }
html.enter .hero-kicker { animation: enter-up .8s var(--ease) .15s both; }
html.enter .hq-line { animation: enter-up .8s var(--ease) .28s both; }
html.enter .hq-gold { animation-delay: .4s; }
html.enter .hero-number { animation: enter-up .9s var(--ease) .52s both; }
html.enter .hero-foot > * { animation: enter-up .8s var(--ease) .7s both; }
html.enter .hero-foot > :last-child { animation-delay: .8s; }

/* ---------- 6. mission: the village map, on paper ---------- */
.mission { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) var(--gutter); background: radial-gradient(55% 60% at 75% 50%, var(--pale), rgba(252, 239, 210, 0) 70%), var(--paper); border-bottom: 1px solid var(--line); }
.mission-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.mission-head h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.5; }
.mission-head h2 em { font-style: normal; color: var(--field); }
.mission-head > p:not(.kicker) { margin-top: 14px; max-width: 520px; font-size: 16px; color: var(--muted); }
.mission-counter { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 28px; }
.mission-counter strong { font-size: clamp(60px, 7vw, 104px); font-weight: 700; line-height: 1.1; color: var(--gold); }
.mission-counter span { font-size: clamp(24px, 2.6vw, 36px); color: var(--forest); }
.mission-counter small { width: 100%; font-size: 12px; color: var(--muted); }
.mission-bar { position: relative; height: 2px; margin: 18px 0 6px; border-radius: 2px; background: var(--line); }
.mission-bar i { position: absolute; left: 0; top: -2px; height: 6px; width: max(8px, calc(var(--w, 0) * 100%)); border-radius: 6px; background: var(--gold); }
.mission-bar-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.mission-panel { margin-top: 26px; padding: 22px 24px; min-height: 150px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 18px 40px -30px rgba(23, 62, 46, .4); }
.mission-panel .kicker { margin-bottom: 6px; }
.mission-panel p { font-size: 15px; color: var(--muted); }
.mission-panel .button { margin-top: 14px; }
.mp-legend { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.mp-legend span { display: flex; align-items: center; gap: 10px; }
.mp-legend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.mp-legend .lit { background: var(--gold); }
.mp-legend .dim { border: 1px solid #b9b2a3; }
.mp-hint { margin-top: 12px; font-size: 14px; color: var(--field) !important; }
.mp-farm { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; }
.mp-farm img { width: 104px; height: 104px; object-fit: cover; border-radius: 14px; }
.mp-farm h3 { font-size: 24px; }
.mp-farm p { font-size: 13.5px !important; line-height: 1.75; }
.mp-farm .place { font-size: 12px !important; color: #b8732a !important; }
.mp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 16px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.mp-stats div { padding: 10px 14px; background: var(--white); }
.mp-stats dt { font-size: 11.5px; color: var(--muted); }
.mp-stats dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--forest); }
.mp-stats dd.pending { font-size: 13px; font-weight: 400; color: #a39b8c; }
.mission .mp-link { margin-top: 12px; }

.mission-map { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.bd-map { display: block; width: 100%; height: auto; aspect-ratio: 773 / 1060; max-height: 78vh; margin: 0 auto; overflow: visible; }
.bd-map path { vector-effect: non-scaling-stroke; }
.map-country { fill: none; stroke: var(--forest); stroke-width: 1.3; stroke-opacity: .55; }
.map-district { fill: rgba(62, 124, 79, .07); stroke: rgba(23, 62, 46, .28); stroke-width: .7; cursor: default; transition: fill .3s, opacity .6s; }
.map-district:hover { fill: rgba(62, 124, 79, .16); }
.map-district.is-lit { fill: var(--gold); stroke: #b77c0c; cursor: pointer; animation: lit 2.6s ease-in-out infinite; }
.map-district.is-lit:focus-visible { outline: none; stroke: var(--forest); stroke-width: 2.5; }
@keyframes lit { 50% { fill: #f2c46a; } }
.map-upazila { fill: rgba(62, 124, 79, .06); stroke: rgba(23, 62, 46, .35); stroke-width: .8; opacity: 0; pointer-events: none; transition: opacity .6s, fill .3s; }
.map-upazila.is-lit { fill: var(--gold); stroke: #b77c0c; cursor: pointer; animation: lit 2.6s ease-in-out infinite; }
.lvl-1 .map-upazila, .lvl-2 .map-upazila, .lvl-3 .map-upazila { opacity: 1; pointer-events: auto; }
.lvl-1 .map-upazila:not(.is-lit):hover { fill: rgba(62, 124, 79, .16); }
.lvl-1 .map-district:not(.is-lit), .lvl-2 .map-district:not(.is-lit), .lvl-3 .map-district:not(.is-lit) { opacity: .35; }
.lvl-1 .map-district.is-lit, .lvl-2 .map-district.is-lit, .lvl-3 .map-district.is-lit { fill: transparent; animation: none; pointer-events: none; }
.lvl-2 .map-upazila:not(.is-lit), .lvl-3 .map-upazila:not(.is-lit) { opacity: .4; }
.lvl-2 .map-upazila.is-lit, .lvl-3 .map-upazila.is-lit { fill: rgba(233, 162, 26, .22); animation: none; }
.map-pin { cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .6s; }
.lvl-2 .map-pin, .lvl-3 .map-pin { opacity: 1; pointer-events: auto; }
.map-pin circle.core { fill: var(--forest); }
.map-pin circle.ring { fill: none; stroke: var(--gold); stroke-width: 1.5; animation: ping 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.map-pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; animation: ping 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.lvl-1 .map-pulse, .lvl-2 .map-pulse, .lvl-3 .map-pulse { display: none; }
.map-label { font-family: var(--font); font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-linejoin: round; pointer-events: none; transition: opacity .5s; }
.lvl-3 .map-pin text { opacity: 0; }
.vdots { pointer-events: none; transition: opacity .6s; }
.vdots circle { fill: rgba(23, 62, 46, .28); }
.lvl-1 .vdots, .lvl-2 .vdots, .lvl-3 .vdots { opacity: 0; }
.map-crumbs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.map-crumbs button { min-height: 34px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--muted); font-size: 12px; }
.map-crumbs button.is-active { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.map-crumbs button:disabled { opacity: .45; cursor: default; }
.map-tip { position: absolute; z-index: 3; padding: 6px 12px; border-radius: 10px; pointer-events: none; background: var(--forest); color: var(--paper); font-size: 13px; line-height: 1.5; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .2s; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.map-tip small { display: block; font-size: 11px; color: var(--pale); }
.map-tip.on { opacity: 1; }
.map-farm-view { position: absolute; inset: 10% 4%; z-index: 2; display: grid; place-items: center; opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.lvl-3 .map-farm-view { opacity: 1; transform: none; pointer-events: auto; }
.map-farm-view figure { position: relative; width: min(100%, 420px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold), 0 30px 60px -30px rgba(23, 62, 46, .6); }
.map-farm-view img { width: 100%; height: 100%; object-fit: cover; }
.map-farm-view figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 30px; text-align: center; background: linear-gradient(transparent, rgba(23, 62, 46, .9)); }
.map-farm-view figcaption span { display: block; font-size: 12px; color: var(--pale); }
.map-farm-view figcaption strong { font-size: 26px; color: var(--paper); }
.lvl-3 .bd-map { opacity: .3; transition: opacity .6s; }

/* ---------- 2. roadmap: one line down the middle fills as you scroll ---------- */
.journey { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.journey-head { max-width: 860px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) var(--gutter) 20px; text-align: center; }
.journey-formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--field); }
.journey-formula > span:not(:first-child)::before, .journey-formula > b::before { content: '→'; margin-right: 12px; color: var(--gold); }
.journey-formula b { color: #b8732a; }
.journey-head h2 { font-size: clamp(30px, 3.4vw, 46px); }
.journey-head h2 em { font-style: normal; color: var(--field); }
.journey-head .lead { margin-top: 14px; font-size: 17px; color: var(--muted); }
.road { position: relative; max-width: 1120px; margin: 0 auto; padding: 30px var(--gutter) 10px; }
.road-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--line); }
.road-line i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--fill, 0) * 100%); border-radius: 2px; background: var(--gold); }
.road-line i::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(233, 162, 26, .2); }
.road-stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: center; padding: clamp(26px, 4vw, 46px) 0; }
.road-dot { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid #cdc3ae; transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.road-stop.is-on .road-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 7px rgba(233, 162, 26, .18); transform: scale(1.1); }
.road-card, .road-media { grid-row: 1; }
.road-stop--left .road-card { grid-column: 1; text-align: right; }
.road-stop--left .road-media { grid-column: 3; }
.road-stop--right .road-card { grid-column: 3; }
.road-stop--right .road-media { grid-column: 1; justify-self: end; }
.road-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: #b8732a; }
.road-time { display: inline-block; margin: 6px 0 8px; padding: 2px 12px; border-radius: 99px; background: var(--pale); color: var(--field); font-size: 12px; font-weight: 600; }
.road-card h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; margin-bottom: 8px; }
.road-card p { font-size: 15.5px; color: var(--muted); }
.road-card p strong { color: var(--forest); }
.road-card .editorial-link { margin-top: 8px; }
.road-media { position: relative; display: grid; place-items: center; width: 100%; max-width: 380px; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 18px; background: #e8eddf; }
.road-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.road-stop:hover .road-media img { transform: scale(1.04); }
.road-media .lineart { width: 70%; height: 70%; stroke-width: 1.3; }
.road-media--art:nth-of-type(odd) { background: var(--pale); }
.road-media figcaption { position: absolute; left: 12px; bottom: 10px; z-index: 1; padding: 3px 10px; border-radius: 99px; background: rgba(250, 246, 239, .92); color: var(--forest); font-size: 11px; }
.road-media--books { display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 8% 6%; }
.road-media--books img { position: relative; inset: auto; width: 17%; height: auto; aspect-ratio: 260 / 372; box-shadow: 5px 8px 12px rgba(33, 26, 18, .25); transform: rotate(-3deg); }
.road-media--books img:nth-child(even) { transform: rotate(3deg) translateY(-6px); }
.road-media--dream { background: var(--forest); }
.road-media--dream::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 62, 46, .1), rgba(23, 62, 46, .7)); }
.road-media--dream .dream-num { position: relative; z-index: 1; font-size: clamp(44px, 5vw, 72px); font-weight: 700; color: var(--gold); text-shadow: 0 4px 24px rgba(23, 62, 46, .6); }
.road-stop--wide .road-card h3 { color: #b8732a; }
.road-stop--wide .fail-archive { grid-column: 1 / -1; grid-row: 2; justify-self: center; position: relative; z-index: 1; width: min(100%, 760px); margin-top: 26px; padding: 6px clamp(16px, 2.4vw, 28px) 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.road.is-live .road-card, .road.is-live .road-media, .road.is-live .fail-archive { opacity: .2; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.road.is-live .road-stop.is-on .road-card, .road.is-live .road-stop.is-on .road-media, .road.is-live .road-stop.is-on .fail-archive { opacity: 1; transform: none; }
.journey-foot { max-width: 1120px; margin: 0 auto; padding: 20px var(--gutter) 60px; text-align: center; }

/* ---------- beliefs + awards: quiet village motifs ---------- */
.beliefs { overflow: hidden; }
.beliefs > :not(.deco-alpona) { position: relative; z-index: 1; }
.deco-alpona { position: absolute; z-index: 0; right: -5%; top: 50%; width: min(42vw, 480px); height: auto; aspect-ratio: 1; transform: translateY(-50%); opacity: .16; pointer-events: none; }
.awards-section { overflow: hidden; }
.awards-section > :not(.deco-kolosh) { position: relative; z-index: 1; }
.deco-kolosh { position: absolute; z-index: 0; left: 1%; bottom: 20px; width: 120px; height: 170px; opacity: .18; pointer-events: none; color: #b8732a; }

/* ---------- 5. Jobair Universe — a calm constellation ---------- */
.universe { max-width: none; background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.universe > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.universe .section-head { text-align: center; margin-bottom: 10px; }
.cosmos { position: relative; height: min(76vh, 680px); min-height: 560px; }
.cosmos-stage { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1s var(--ease), opacity .6s; }
.cosmos canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cosmos-core { position: absolute; left: 50%; top: 50%; z-index: 1; width: 0; height: 0; pointer-events: none; transition: opacity .5s; }
/* the portrait steps out of its circle: legs inside, hat and thumbs-up outside */
.cc-ring { position: absolute; left: -80px; top: -80px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #f3cf7c, #e9a21a 80%); box-shadow: 0 0 0 8px rgba(233, 162, 26, .16), 0 0 0 18px rgba(252, 239, 210, .8); }
.cc-pop { position: absolute; left: -125px; top: -253px; width: 250px; height: 333px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 253px no-repeat, radial-gradient(circle 80px at 50% 253px, #000 98%, transparent 100%);
  mask: linear-gradient(#000 0 0) top / 100% 253px no-repeat, radial-gradient(circle 80px at 50% 253px, #000 98%, transparent 100%); }
.cc-pop img { position: absolute; left: 50%; bottom: 0; width: 250px; max-width: none; height: auto; transform: translateX(-50%); filter: drop-shadow(0 0 1px rgba(23, 62, 46, .45)) drop-shadow(0 14px 18px rgba(23, 62, 46, .22)); }
.cosmos-core strong { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); padding: 3px 14px; border-radius: 99px; white-space: nowrap; background: var(--forest); color: var(--paper); font-size: 14px; font-weight: 600; }
.node { position: absolute; left: 0; top: 0; z-index: 2; display: grid; justify-items: center; gap: 6px; padding: 6px; border: 0; background: none; color: var(--ink); transform: translate3d(0, 0, 0) translate(-50%, -50%); transition: opacity .4s; }
.node-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--forest); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.node-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.node small { display: none; }
.node:hover .node-ic, .node.is-hot .node-ic, .node:focus-visible .node-ic { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.08); }
.node.is-dim { opacity: .4; }
.cosmos.is-zoomed .node:not(.is-target), .cosmos.is-zoomed .cosmos-core { opacity: 0; }
.cosmos-world { position: absolute; inset: 4% 4%; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 30px 70px -30px rgba(23, 62, 46, .45); opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cosmos.is-open .cosmos-world { opacity: 1; transform: none; pointer-events: auto; }
.cosmos-world figure { margin: 0; overflow: hidden; }
.cosmos-world figure img { width: 100%; height: 100%; object-fit: cover; }
.cosmos-world .cw-copy { padding: clamp(24px, 4vw, 52px); align-self: center; }
.cosmos-world .cw-copy small { font-size: 11px; letter-spacing: 2px; color: var(--field); text-transform: uppercase; }
.cosmos-world h3 { margin: 8px 0 12px; font-size: clamp(28px, 3vw, 42px); }
.cosmos-world p { color: var(--muted); }
.cosmos-world .button-row { margin-top: 22px; }
.cosmos-world .cw-path { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.cosmos-world .cw-path b { color: var(--forest); }
.cosmos-hint { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); margin: 0; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- 9. library: featured book + a wooden shelf ---------- */
.library { max-width: none; background: linear-gradient(180deg, var(--paper), #f4ecdb); border-top: 1px solid var(--line); overflow: hidden; }
.library > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.library .section-head { text-align: center; }
.library .section-head h2 em { font-style: normal; color: var(--field); }
.lib-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.lib-stage { position: relative; display: grid; place-items: center; min-height: clamp(380px, 38vw, 480px); }
.lib-glow { position: absolute; width: min(400px, 86%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--pale) 0 56%, rgba(252, 239, 210, 0) 70%); }
.lib-stage::after { content: ''; position: absolute; bottom: 8%; left: 50%; width: 240px; height: 26px; margin-left: -120px; border-radius: 50%; background: radial-gradient(rgba(33, 26, 18, .3), transparent 70%); }
.lib-book { position: relative; z-index: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1400px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.book3d-big { --w: clamp(180px, 19vw, 240px); }
.book3d-mini { --w: clamp(88px, 9.4vw, 132px); }
.book3d-big, .book3d-mini { --h: calc(var(--w) * 1.43); --d: calc(var(--w) * .13); position: relative; display: block; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateY(-28deg); transition: transform .7s var(--ease); }
.book3d-big img, .book3d-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px 4px 4px 2px; transform: translateZ(calc(var(--d) / 2)); }
.book3d-big::before, .book3d-mini::before { content: ''; position: absolute; top: 3px; left: 0; width: calc(var(--d) - 2px); height: calc(var(--h) - 6px); transform: translateX(calc(var(--w) - var(--d) / 2 - 3px)) rotateY(90deg); background: linear-gradient(90deg, #fff, #efe6d2 12%, #fff 24%, #efe6d2 36%, #fff 48%, #efe6d2 60%, #fff 72%, #efe6d2 84%, #fff); }
.book3d-big::after, .book3d-mini::after { content: ''; position: absolute; inset: 0; border-radius: 2px 4px 4px 2px; background: var(--h2, #2a2117); transform: translateZ(calc(var(--d) / -2)); box-shadow: -16px 8px 32px 2px rgba(33, 26, 18, .3); }
.lib-book:hover .book3d-big, .lib-book:focus-visible .book3d-big { transform: rotateY(-10deg); }
.lib-book:focus-visible { outline: 3px solid var(--gold); outline-offset: 10px; border-radius: 6px; }
.lib-book.is-swapping .book3d-big { animation: book-swap .7s var(--ease); }
@keyframes book-swap { from { opacity: 0; transform: rotateY(-75deg) translateX(-40px); } }
.lib-count { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: #b8732a; }
.lib-info h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.4; }
.lib-byline { margin-top: 4px; font-size: 14px; color: var(--muted); }
.lib-deck { margin-top: 14px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--forest); }
.lib-summary { margin-top: 10px; font-size: 16px; color: var(--muted); }
.lib-info .button-row { margin: 22px 0 6px; }
.lib-info.is-swapping > * { animation: enter-up .55s var(--ease) both; }
.lib-info.is-swapping > :nth-child(2) { animation-delay: .05s; } .lib-info.is-swapping > :nth-child(3) { animation-delay: .1s; } .lib-info.is-swapping > :nth-child(4) { animation-delay: .15s; } .lib-info.is-swapping > :nth-child(5) { animation-delay: .2s; } .lib-info.is-swapping > :nth-child(n+6) { animation-delay: .25s; }
.shelf-unit { position: relative; margin-top: clamp(36px, 5vw, 64px); padding: 22px clamp(18px, 4vw, 54px) 0; border: 12px solid #b8895a; border-bottom: 0; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, #efe3c8, #e8d9ba); box-shadow: inset 0 18px 26px -16px rgba(60, 40, 20, .4), inset 0 -40px 50px -40px rgba(60, 40, 20, .25); }
.shelf-label { margin: 0 0 6px; text-align: center; font-size: 12px; letter-spacing: 1px; color: #8a6a44; }
.shelf { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; gap: clamp(18px, 3.6vw, 52px); margin-bottom: -6px; padding: 26px 10px 0; perspective: 1200px; }
.shelf-book { position: relative; display: block; flex: none; transition: transform .45s var(--ease); }
.shelf-book::after { content: ''; position: absolute; left: 6%; right: -6%; bottom: -5px; z-index: -1; height: 12px; border-radius: 50%; background: radial-gradient(rgba(33, 26, 18, .45), transparent 70%); }
.shelf-book:hover, .shelf-book:focus-visible { transform: translateY(-10px); outline: none; }
.shelf-book:hover .book3d-mini, .shelf-book:focus-visible .book3d-mini { transform: rotateY(-12deg); }
.shelf-book.is-active { transform: translateY(-14px); }
.shelf-book.is-active .book3d-mini { transform: rotateY(-8deg); }
.shelf-book.is-active .book3d-mini img { box-shadow: 0 0 0 3px var(--gold); }
.shelf-book:focus-visible .book3d-mini img { box-shadow: 0 0 0 3px var(--field); }
.shelf-plank { position: relative; height: 26px; margin: 0 calc(-1 * clamp(18px, 4vw, 54px) - 12px); border-radius: 3px; background: linear-gradient(180deg, #d8b386 0 9px, #b6875a 9px, #946538 100%); box-shadow: 0 24px 30px -18px rgba(60, 40, 20, .65); }
.shelf-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--muted); }
.shelf-note a { color: var(--field); text-decoration: underline; text-underline-offset: 4px; }

.reader { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.reader::backdrop { background: rgba(23, 62, 46, .9); }
.reader[open] { animation: fade-in .35s ease; }
@keyframes fade-in { from { opacity: 0; } }
.reader-top { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(16px, 3vw, 36px); color: var(--paper); }
.reader-top p { font-size: 18px; font-weight: 600; }
.reader-top p small { display: block; font-size: 11px; font-weight: 400; color: var(--gold); }
.reader-close { width: 44px; height: 44px; border: 1px solid rgba(252, 239, 210, .4); border-radius: 50%; background: transparent; color: var(--paper); font-size: 20px; }
.reader-close:hover { border-color: var(--gold); }
.reader-stage { position: absolute; inset: 70px 0 84px; }
.book3d { --pw: min(420px, 40vw, calc((100dvh - 190px) / 1.42)); position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: calc(var(--pw) * 2); height: calc(var(--pw) * 1.42); perspective: 2400px; transition: transform .9s var(--ease); }
.book3d.is-closed { transform: translateX(-25%); }
.book3d.is-ended { transform: translateX(25%); }
.book3d .board { position: absolute; top: -5px; bottom: -5px; width: calc(50% + 5px); border-radius: 3px 10px 10px 3px; background: #7a5a32; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transition: opacity .5s; }
.book3d .board.right { left: 50%; }
.book3d .board.left { right: 50%; border-radius: 10px 3px 3px 10px; opacity: 0; }
.book3d:not(.is-closed) .board.left { opacity: 1; }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.65, 0, .35, 1); }
.leaf.is-turned { transform: rotateY(-180deg); }
.leaf .face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: clamp(20px, 3vw, 40px) clamp(18px, 2.8vw, 36px); border-radius: 0 6px 6px 0; background: linear-gradient(90deg, rgba(33, 26, 18, .1), transparent 7%), var(--white); }
.leaf .face.back { transform: rotateY(180deg); border-radius: 6px 0 0 6px; background: linear-gradient(270deg, rgba(33, 26, 18, .1), transparent 7%), var(--white); }
.leaf .face::after { content: attr(data-page); position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.leaf .face.cover-face { padding: 0; background: var(--forest); }
.leaf .face.cover-face img { width: 100%; height: 100%; object-fit: cover; }
.leaf .face.end-face { display: grid; place-items: center; text-align: center; background: var(--h1, var(--forest)); color: var(--pale); }
.leaf .face.end-face span { font-size: 20px; font-weight: 600; }
.leaf .face.end-face small { display: block; font-size: 11px; margin-top: 6px; }
.leaf .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .14), transparent 45%); opacity: 0; transition: opacity .5s; }
.leaf.is-turning .shade { opacity: 1; }
.pg h4 { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--field); }
.pg h5 { margin: 0 0 10px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; }
.pg p { font-size: clamp(13px, 1.05vw, 15px); line-height: 1.9; color: #4d463c; }
.pg .deck { font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.pg dl { display: grid; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.pg dt { font-size: 11px; color: var(--muted); }
.pg dd { margin: 0; font-size: 16px; font-weight: 600; }
.pg ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: idea; }
.pg ol li { position: relative; padding-left: 36px; counter-increment: idea; }
.pg ol li::before { content: '০' counter(idea); position: absolute; left: 0; top: 0; font-size: 18px; font-weight: 700; color: var(--gold); }
.pg ol b { display: block; font-size: 16px; }
.pg ol p { margin: 0; }
.pg blockquote { margin: 0 0 16px; padding-left: 14px; border-left: 3px solid var(--gold); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.75; }
.pg .note { font-size: 11px; color: var(--muted); margin-top: 8px; }
.pg .pg-actions { display: grid; gap: 8px; margin-top: 16px; }
.pg .pg-actions a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; transition: border-color .25s; }
.pg .pg-actions a.primary { background: var(--gold); border-color: var(--gold); }
.pg .pg-actions a:hover { border-color: var(--field); }
.pg .author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.pg .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: #e8eddf; }
.pg .author span { font-size: 12px; line-height: 1.6; color: var(--muted); }
.reader-ui { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--paper); }
.reader-ui button { min-width: 44px; height: 44px; padding: 0 16px; border: 1px solid rgba(252, 239, 210, .4); border-radius: 10px; background: transparent; color: var(--paper); font-size: 14px; }
.reader-ui button:hover:not(:disabled) { border-color: var(--gold); }
.reader-ui button:disabled { opacity: .3; cursor: default; }
.reader-ui output { min-width: 100px; text-align: center; font-size: 13px; color: var(--pale); }
.reader-tap { position: absolute; top: 0; bottom: 0; z-index: 4; width: 11%; border: 0; background: none; cursor: pointer; }
.reader-tap.prev { left: 0; } .reader-tap.next { right: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
}
@media (max-width: 920px) {
  .mission-inner { grid-template-columns: 1fr; }
  .mission-map { max-width: 460px; }
  .cosmos-world { grid-template-columns: 1fr; grid-template-rows: 36% 1fr; }
  .lib-feature { grid-template-columns: 1fr; text-align: center; }
  .lib-stage { min-height: 360px; }
  .lib-info .button-row { justify-content: center; }
  .road-line { left: calc(var(--gutter) + 9px); }
  .road-stop { grid-template-columns: 40px minmax(0, 1fr); align-items: start; padding: 22px 0; }
  .road-dot { grid-column: 1; justify-self: start; margin-top: 8px; }
  .road-stop--left .road-card, .road-stop--right .road-card { grid-column: 2; grid-row: 1; text-align: left; }
  .road-stop--left .road-media, .road-stop--right .road-media { grid-column: 2; grid-row: 2; justify-self: stretch; max-width: 520px; margin-top: 14px; aspect-ratio: 16 / 10; }
  .road-stop--wide .fail-archive { grid-column: 2; }
}
@media (max-width: 760px) {
  .hero-content { padding-top: 30px; }
  .hq-line { font-size: clamp(24px, 7.2vw, 34px); }
  .hn-glyphs { font-size: clamp(64px, 20vw, 120px); }
  .hero-foot { grid-template-columns: 1fr; gap: 12px; padding-bottom: 78px; } /* room for the ask button */
  .hero-identity h1 { font-size: 21px; }
  .hero-identity .button-row { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-tools { position: absolute; top: 14px; right: var(--gutter); }
  .sound-toggle span:not(.sound-bars) { display: none; }
  .sound-toggle { padding: 9px 13px; }
  .mp-farm { grid-template-columns: 80px 1fr; }
  .mp-farm img { width: 80px; height: 80px; }
  .road { padding-top: 10px; }
  .road-card h3 { font-size: 22px; }
  .road-card p { font-size: 15px; }
  .cosmos { height: 600px; min-height: 0; }
  .node-ic { width: 40px; height: 40px; }
  .road-stop--wide .fail-archive { padding: 4px 12px 12px; }
  .node-ic svg { width: 19px; height: 19px; }
  .node b { font-size: 13px; }
  .node small { display: none; }
  .cosmos-core { transform: scale(.72); }
  .cosmos-world { inset: 0; }
  .lib-stage { min-height: 320px; }
  .shelf-unit { border-width: 8px; padding: 16px 0 0; }
  .shelf { justify-content: flex-start; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 24px 0; scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf-book { scroll-snap-align: center; }
  .shelf-plank { margin: 0 -8px; }
  .book3d { --pw: min(86vw, calc((100dvh - 180px) / 1.42)); transform: translateX(-25%) !important; }
  .reader-tap { width: 16%; }
  .deco-alpona { width: 70vw; opacity: .1; }
}
@media (prefers-reduced-motion: reduce) {
  .lib-book { animation: none; }
}

/* ---------- যে কথাগুলো পথ দেখায় — ১০টি উক্তি ---------- */
.belief-grid--quotes { grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
.belief-grid--quotes article {
  display: grid; grid-template-columns: 34px 1fr; gap: 0 14px;
  padding: 22px 24px 22px 20px; border-radius: 14px;
  background: var(--white); border: 1px solid #d9e2d2; border-left: 3px solid var(--gold);
}
.belief-grid--quotes article > span { margin: 5px 0 0; font-size: 12px; color: var(--field); font-weight: 600; }
.belief-grid--quotes blockquote {
  margin: 0; font-size: 19px; line-height: 1.85; color: var(--forest); font-weight: 500;
}
.belief-foot { max-width: 1280px; margin: 26px auto 0; }
@media (max-width: 1000px) { .belief-grid--quotes { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .belief-grid--quotes { gap: 14px; }
  .belief-grid--quotes article { padding: 18px 18px 18px 16px; border-bottom: 1px solid #d9e2d2; }
  .belief-grid--quotes article:last-child { border: 1px solid #d9e2d2; border-left: 3px solid var(--gold); }
  .belief-grid--quotes blockquote { font-size: 17px; }
  .belief-foot { margin-top: 20px; }
}

/* ---------- পরিসংখ্যান এখন তিনটি ---------- */
.impact-strip { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .impact-strip > div:nth-child(3n) { border-right: 0; }
  .impact-strip > div { border-bottom: 0; }
}
