/* ==========================================================================
   Inner pages
   ========================================================================== */
section { position: relative; }
main > section { overflow-x: clip; }

.phero { padding-top: calc(var(--hd-h) + clamp(44px, 6vw, 88px)); padding-bottom: clamp(40px, 6vw, 80px); }
.phero__head { display: grid; justify-items: center; text-align: center; gap: 20px; }
.phero__head .lead { max-width: 600px; }

/* ---------- notes: shelf ---------- */
.shelf-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-top: clamp(48px, 6vw, 80px); max-width: 1080px; }
.shelf { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 360px; padding: 0 16px; z-index: 2; }
.shelf__board { position: absolute; left: var(--gut); width: calc(50% - var(--gut) - 16px); bottom: -14px; height: 16px; border-radius: 4px; background: linear-gradient(#efece3, #d8d3c4); box-shadow: 0 1px 0 #fff inset, 0 18px 28px -14px rgba(0,0,0,.35); z-index: 1; }
.sbook {
  --c: #0f3d2a;
  position: relative; width: 62px; height: var(--h); flex: none;
  border-radius: 4px 6px 6px 4px;
  background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 14%, rgba(255,255,255,.1) 22%, transparent 34%, transparent 82%, rgba(0,0,0,.28)), var(--c);
  color: #efe6c9;
  display: flex; flex-direction: column; align-items: center; padding: 16px 0 14px; gap: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 18px 24px -14px rgba(0,0,0,.5);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out), box-shadow .4s;
  cursor: pointer;
}
.sbook:hover { transform: translateY(-14px); }
.sbook.is-on { transform: translateY(-34px) rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 40px 40px -20px rgba(0,0,0,.45); }
.sbook__band { position: absolute; left: 0; right: 0; top: 18%; height: 7px; background: linear-gradient(90deg, #a9822f, #f2d98e, #a9822f); opacity: .85; }
.sbook__band::after { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: inherit; }
.sbook__no { font: italic 600 22px/1 var(--f-serif); color: #f2d98e; margin-top: 2px; }
.sbook__t { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 15px/1 var(--f-serif); letter-spacing: .02em; margin-top: 28px; white-space: nowrap; }
.sbook__mk { margin-top: auto; width: 20px; height: 20px; --mark-bg: transparent; --mark-fg: #f2d98e; }
.sbook__mk svg { width: 100%; height: 100%; }
.vol { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 10px; }
.vcover { --c: #0f3d2a; position: relative; aspect-ratio: 1 / 1.42; border-radius: 3px 8px 8px 3px; background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.12), transparent 55%), var(--c); color: #efe6c9; display: grid; grid-template-rows: auto auto 1fr auto auto; padding: 18px 14px; gap: 4px; box-shadow: inset 5px 0 8px -5px rgba(0,0,0,.6), 0 26px 40px -18px rgba(0,0,0,.5); }
.vcover::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(231,197,106,.35); border-radius: 2px 5px 5px 2px; pointer-events: none; }
.vcover__k { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.vcover__no { font: italic 500 15px var(--f-serif); color: #f2d98e; }
.vcover__t { align-self: center; font: italic 500 25px/1 var(--f-serif); color: #f2d98e; }
.vcover__s { font-size: 11px; opacity: .8; }
.vcover__a { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.vol__title { font: 500 clamp(1.6rem, 2.4vw, 2.1rem)/1.05 var(--f-sans); letter-spacing: -.03em; margin-top: 8px; }
.vol__span { color: var(--muted); margin-top: 4px; font-size: 15px; }
.vol__ch { margin-top: 18px; display: grid; gap: 0; counter-reset: c; }
.vol__ch li { counter-increment: c; display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.vol__ch li::before { content: counter(c, decimal-leading-zero); font-size: 12px; color: var(--green); font-weight: 600; padding-top: 2px; }
.vol__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.vol__meta span:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .shelf-wrap { grid-template-columns: 1fr; }
  .shelf { height: 300px; }
  .shelf__board { width: calc(100% - var(--gut) * 2); top: 300px; bottom: auto; }
  .sbook { width: 52px; }
  .vol { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; margin-top: 18px; }
}
@media (max-width: 420px) { .sbook { width: 46px; gap: 10px; } .sbook__t { font-size: 13px; } .vol { grid-template-columns: 1fr; } .vcover { width: 150px; } }

/* ---------- notes: annotated page ---------- */
.anat2__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1100px; margin: 0 auto; }
.anat2__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.anat2__lines path { fill: none; stroke: #9da095; stroke-width: 1.2; transition: stroke .3s, stroke-width .3s; }
.anat2__lines circle { fill: #9da095; transition: fill .3s; }
.anat2__lines .is-hot { stroke: var(--green); stroke-width: 2; fill: none; }
.anat2__lines circle.is-hot { fill: var(--green); }
.anat2__labels { display: grid; gap: clamp(28px, 4vw, 48px); }
.anat2__labels li { display: flex; gap: 12px; align-items: flex-start; cursor: default; outline: none; }
.anat2__labels--l li { flex-direction: row-reverse; text-align: right; }
.anat2__labels b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-size: 12.5px; font-weight: 600; transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.anat2__labels span { display: grid; gap: 3px; font-weight: 500; font-size: 15px; }
.anat2__labels small { font-weight: 400; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.anat2__labels li.is-hot b { background: var(--green); color: #fff; box-shadow: none; transform: scale(1.12); }
.anat2__page { position: relative; aspect-ratio: 1 / 1.36; filter: drop-shadow(0 26px 30px rgba(0,0,0,.16)); }
.anat2__page [data-part] { position: relative; border-radius: 1.4cqw; transition: background-color .3s, box-shadow .3s; }
.anat2__page [data-part].is-hot { background-color: rgba(15,106,62,.08); box-shadow: 0 0 0 1.4cqw rgba(15,106,62,.08); }
.anat2__page .np-tip.is-hot { background-color: #efe7c2; }
@media (max-width: 900px) {
  .anat2__stage { grid-template-columns: 1fr; max-width: 460px; }
  .anat2__page { order: -1; }
  .anat2__labels--l li { flex-direction: row; text-align: left; }
  .anat2__labels { gap: 16px; }
  .anat2__page [data-part]::before { content: attr(data-n); position: absolute; left: -9cqw; top: 0; width: 5.6cqw; height: 5.6cqw; border-radius: 50%; background: var(--green); color: #fff; font: 600 3.2cqw/5.6cqw var(--f-sans); text-align: center; }
  .anat2__page .ncard-page { overflow: visible; }
  .anat2__page { margin-left: 8%; }
}

/* ---------- notes: quiz ---------- */
.quiz { position: relative; max-width: 640px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-card); }
.quiz__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 500; }
.quiz__score { color: var(--green); }
.quiz__bar { height: 4px; border-radius: 4px; background: var(--bg-2); margin: 14px 0 30px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; transform-origin: 0 50%; }
.quiz__body { min-height: 260px; }
.quiz__q { font: 500 clamp(1.3rem, 2.4vw, 1.8rem)/1.2 var(--f-serif); letter-spacing: -.01em; }
.quiz__opts { display: grid; gap: 10px; margin-top: 26px; }
.quiz__o { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; font-weight: 500; transition: background-color .25s, box-shadow .25s, color .25s, transform .3s var(--ease-out); }
.quiz__o span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-size: 12.5px; flex: none; transition: background-color .25s, color .25s; }
.quiz__o:not(:disabled):hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 16px -10px rgba(0,0,0,.3); transform: translateY(-1px); }
.quiz__o:disabled { cursor: default; }
.quiz__o.is-right { background: #e5f4ea; box-shadow: inset 0 0 0 1.5px #5fb07f; color: #0b4d2b; }
.quiz__o.is-right span { background: var(--green); color: #fff; box-shadow: none; }
.quiz__o.is-wrong { background: #fbe9e9; box-shadow: inset 0 0 0 1.5px #e58a8a; color: #8a1d1d; }
.quiz__o.is-wrong span { background: var(--red); color: #fff; box-shadow: none; }
.quiz__burst { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.quiz__burst i { position: absolute; border-radius: 1px; }
.quiz__end { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 6px; }
.quiz__big { font: italic 500 clamp(4rem, 9vw, 6rem)/1 var(--f-serif); color: var(--green); }
.quiz__big small { font-size: .4em; color: var(--muted); font-style: normal; margin-left: 6px; }
.quiz__msg { font-size: 17px; max-width: 420px; color: var(--ink-2); margin-bottom: 10px; }

/* ---------- notes: fit ---------- */
.fit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; }
.fit__c { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), box-shadow .4s; }
.fit__c:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(0,0,0,.35); }
.fit__n { position: absolute; right: 22px; top: 18px; font: italic 500 40px/1 var(--f-serif); color: var(--bg-2); }
.fit__i { width: 30px; height: 30px; color: var(--green); }
.fit__c h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 10px; }
.fit__c p { color: var(--muted); font-size: 15px; }
.fit__c .link { margin-top: 10px; justify-self: start; font-size: 14.5px; }
@media (max-width: 860px) { .fit__grid { grid-template-columns: 1fr; max-width: 480px; } }

/* shared CTA panel */
.getcta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; padding: clamp(32px, 5vw, 64px); max-width: 1080px; margin: 0 auto; }
.getcta .h2 { margin: 12px 0 14px; font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.getcta__btns { display: grid; gap: 10px; justify-items: stretch; }
@media (max-width: 760px) { .getcta { grid-template-columns: 1fr; } .getcta__btns { justify-items: start; } }

/* ==========================================================================
   Road to A*
   ========================================================================== */
.rhero { padding-bottom: clamp(60px, 8vw, 110px); }
.rhero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1140px; }
.rhero__txt { display: grid; gap: 22px; justify-items: start; }
.rhero__txt .h1 { font-size: clamp(3rem, 7vw, 6.4rem); line-height: .94; }
.rhero__txt .h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--green); }
.rhero__eds { display: flex; flex-wrap: wrap; gap: 8px; }
.rhero__cta { justify-content: flex-start; }
.rhero__book { position: relative; display: grid; place-items: center; height: clamp(420px, 44vw, 600px); perspective: 1800px; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.rhero__book.is-drag { cursor: grabbing; }
.rhero__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(231,197,106,.35), rgba(231,197,106,0)); filter: blur(10px); }
.rhero__book::after { content: ''; position: absolute; bottom: 6%; width: 56%; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.3), transparent); filter: blur(6px); }
.book--xl { --W: clamp(230px, 24vw, 320px); --H: calc(var(--W) * 1.4); --T: calc(var(--W) * .14); z-index: 1; }
.book__top { left: 0; top: calc(var(--T) / -2); width: calc(var(--W) - 4px); height: var(--T); transform: rotateX(90deg); background: repeating-linear-gradient(0deg, #f5f2e8 0 1px, #e2ded1 1px 2px); }
.book__back { display: grid; place-items: center; padding: 14%; color: #efe6c9; text-align: center; }
.book__back p { font: italic 400 clamp(15px, 1.6vw, 20px)/1.35 var(--f-serif); }
.book__back small { display: block; margin-top: 14px; font: 500 11px var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-style: normal; }
.rhero__hint { position: absolute; bottom: 0; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.rhero__hint svg { width: 17px; height: 17px; color: var(--green); }
@media (max-width: 860px) {
  .rhero__grid { grid-template-columns: 1fr; }
  .rhero__book { height: 470px; order: -1; }
  .book--xl { --W: 230px; }
}

/* route */
.route__map { position: relative; width: min(1000px, 100% - var(--gut) * 2); margin: 0 auto; aspect-ratio: 1000 / 2200; }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route__edge { fill: none; stroke: #dcdad1; stroke-width: 62; stroke-linecap: round; }
.route__road { fill: none; stroke: #e9e7df; stroke-width: 54; stroke-linecap: round; }
.route__lane { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 18 16; stroke-linecap: round; }
.route__done { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; opacity: .9; }
.route__car-ring { fill: rgba(15,106,62,.14); }
.route__car-dot { fill: var(--green); stroke: #fff; stroke-width: 3; }
.route__car text { font: italic 600 19px var(--f-serif); fill: var(--gold-2); }
.route.is-end .route__car-ring, .route__map.is-end .route__car-ring { animation: carping 1.6s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes carping { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.route__stops { position: absolute; inset: 0; }
.stop { position: absolute; top: var(--y); width: min(36%, 340px); transform: translateY(-50%); padding: 22px 24px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); opacity: .38; filter: grayscale(1); transition: opacity .6s, filter .6s, box-shadow .6s, transform .8s var(--ease-out); }
.stop[data-side="l"] { left: 4%; }
.stop[data-side="r"] { right: 4%; }
.stop[data-side="c"] { left: 50%; transform: translate(-50%, -50%); text-align: center; width: min(44%, 400px); }
.stop.is-on { opacity: 1; filter: none; box-shadow: 0 0 0 1px var(--line), 0 26px 40px -26px rgba(0,0,0,.4); }
.stop[data-side="l"].is-on { transform: translate(8px, -50%); }
.stop[data-side="r"].is-on { transform: translate(-8px, -50%); }
.stop__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); font: 600 13px var(--f-sans); transition: background-color .5s, color .5s; }
.stop.is-on .stop__n { background: var(--green); color: #fff; }
.stop h3 { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.02em; margin: 12px 0 6px; }
.stop p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.stop--end.is-on { background: var(--green-deep); color: #f2ecd9; }
.stop--end.is-on p { color: rgba(242,236,217,.75); }
.stop--end.is-on .stop__n { background: var(--gold-2); color: var(--green-deep); }
@media (max-width: 720px) {
  .route__map { aspect-ratio: auto; width: auto; margin: 0 var(--gut); padding-left: 40px; }
  .route__map::before { content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 14px; border-radius: 14px; background: #e6e4dc; }
  .route__map::after { content: ''; position: absolute; left: 19px; top: 8px; width: 2px; height: var(--fill, 0%); max-height: calc(100% - 16px); background: var(--green); border-radius: 2px; transition: height .2s linear; }
  .route__svg { display: none; }
  .route__stops { position: relative; display: grid; gap: 14px; }
  .stop, .stop[data-side] { position: relative; top: auto; left: auto; right: auto; width: auto; transform: none; padding: 18px; text-align: left; }
  .stop[data-side].is-on { transform: none; }
  .stop::before { content: ''; position: absolute; left: -33px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #cfcdc4; transition: background-color .4s, box-shadow .4s; }
  .stop.is-on::before { background: var(--green); box-shadow: 0 0 0 4px rgba(15,106,62,.18); }
  .stop h3 { font-size: 17px; margin: 10px 0 4px; }
  .stop p { font-size: 14px; }
}
}

/* answer anatomy */
.ans__box { max-width: 1040px; margin: 0 auto; padding: clamp(18px, 3vw, 32px); }
.ans__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 99px; background: var(--bg); width: fit-content; max-width: 100%; }
.ans__tab { padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.ans__tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 14px -8px rgba(0,0,0,.3); }
.ans__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(24px, 4vw, 48px); margin-top: 26px; }
.ans__paper { background: repeating-linear-gradient(#fff 0 33px, #e9eef5 33px 34px); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 22px clamp(18px, 3vw, 34px) 30px; position: relative; }
.ans__paper::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: #f1b8b8; }
.ans__q { font: 600 16px/1.45 var(--f-sans); margin-bottom: 14px; padding-left: 8px; }
.ans__q b { color: var(--muted); font-weight: 500; }
.ans__text { font: 400 clamp(19px, 1.9vw, 23px)/34px var(--f-hand); color: #23315e; padding-left: 8px; }
.seg { --hc: transparent; background: linear-gradient(transparent 14%, var(--hc) 14%, var(--hc) 90%, transparent 90%); border-radius: 4px; padding: 0 2px; transition: background-color .3s, opacity .4s; position: relative; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.seg.is-lit.seg--p { --hc: #fff1a8; }
.seg.is-lit.seg--e { --hc: #cfe8ff; }
.seg.is-lit.seg--v { --hc: #d3f2d9; }
.seg.is-lit.seg--j { --hc: #f7d2e6; }
.is-solo .seg:not(.is-lit) { opacity: .35; }
.ans__side { display: grid; gap: 14px; align-content: start; }
.ans__keys { display: grid; gap: 6px; }
.ans__key { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; text-align: left; box-shadow: inset 0 0 0 1px var(--line); opacity: .45; transition: opacity .3s, box-shadow .3s, background-color .3s; }
.ans__key.is-on { opacity: 1; }
.ans__key:hover { background: var(--bg); }
.ans__key i { width: 16px; height: 16px; border-radius: 5px; }
.ans__key[data-k="p"] i { background: #ffe56b; } .ans__key[data-k="e"] i { background: #8cc7ff; } .ans__key[data-k="v"] i { background: #7fd894; } .ans__key[data-k="j"] i { background: #ef9ac7; }
.ans__mark { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; border-top: 1px solid var(--line); margin-top: 6px; }
.ans__lvl { font-size: 13px; color: var(--green); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ans__pts { font: italic 500 40px/1 var(--f-serif); color: var(--red); }
.ans__pts b { font-weight: 600; }
.ans__note { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 820px) { .ans__grid { grid-template-columns: 1fr; } .ans__tab { padding: 9px 13px; font-size: 13px; } }

/* flip book */
.flipbook { display: grid; justify-items: center; gap: 20px; outline: none; }
.flipbook__book { position: relative; width: min(860px, 100%); aspect-ratio: 2 / 1.36; perspective: 2200px; -webkit-user-select: none; user-select: none; touch-action: pan-y; cursor: pointer; }
.flipbook__book::before { content: ''; position: absolute; inset: -14px -16px -18px; border-radius: 12px; background: linear-gradient(160deg, #134330, #0b2a1d); box-shadow: 0 40px 60px -30px rgba(0,0,0,.55); }
.fpage { position: absolute; top: 0; width: 50%; height: 100%; padding: 6% 5.5%; background: #fbfaf5; container-type: inline-size; overflow: hidden; color: #1b1c19; line-height: 1.45; }
.fpage > :where(p, ul, ol, div, h5) { font-size: 3.6cqw; }
.fpage::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.fpage--l { left: 0; border-radius: 6px 0 0 6px; }
.fpage--l::after { background: linear-gradient(90deg, transparent 80%, rgba(0,0,0,.12)); }
.fpage--r { left: 50%; border-radius: 0 6px 6px 0; }
.fpage--r::after { background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 18%); }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; }
.leaf .fpage { left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf__b { transform: rotateY(180deg); border-radius: 6px 0 0 6px; }
.leaf__b::after { background: linear-gradient(90deg, transparent 80%, rgba(0,0,0,.12)); }
.leaf__f::before { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; z-index: 2; }
.fp-k { font: 600 2.7cqw/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 4cqw; }
.fp-h { font: italic 500 11cqw/1 var(--f-serif); margin: 18cqw 0 3cqw; }
.fp-h2 { font: 700 7cqw/1.1 var(--f-serif); margin-bottom: 3cqw; }
.fp-moon { width: 16cqw; margin: 8cqw 0; --mark-bg: transparent; --mark-fg: var(--gold); }
.fp-sm { font-size: 3cqw; color: var(--muted); }
.fp-ol { counter-reset: f; margin-top: 4cqw; display: grid; gap: 1.6cqw; }
.fp-ol li { counter-increment: f; display: flex; gap: 3cqw; border-bottom: 1px dashed #d8d4c7; padding-bottom: 1.6cqw; }
.fp-ol li::before { content: counter(f, decimal-leading-zero); color: var(--green); font-weight: 600; }
.fp-tl { display: grid; gap: 2cqw; margin-top: 3cqw; border-left: 2px solid var(--green); padding-left: 4cqw; }
.fp-tl li { display: grid; }
.fp-tl b { font: 700 4.4cqw var(--f-serif); color: var(--green); }
.fp-box { margin: 4cqw 0; padding: 3.4cqw 4cqw; border-radius: 2cqw; background: #f3eedb; display: grid; gap: 1cqw; }
.fp-box--g { background: #e2f0e6; }
.fp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 3cqw; }
.fp-cols div { display: grid; gap: 1.6cqw; align-content: start; }
.fp-cols span { font-size: 3cqw; padding: 1.6cqw 2cqw; border-radius: 1.4cqw; background: #f1f0ea; }
.fp-check { display: grid; gap: 3cqw; margin-top: 4cqw; }
.fp-check li { display: flex; gap: 3cqw; align-items: center; font-size: 4cqw; }
.fp-check li::before { content: '✓'; width: 6cqw; height: 6cqw; border-radius: 1.2cqw; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 3.6cqw; flex: none; }
.fp-hand { font: 600 6cqw/1.3 var(--f-hand); color: #23315e; margin-top: 10cqw; }
.fp-hand span { letter-spacing: .1em; color: #8a90a6; }
.fp-hand--sm { font-size: 5cqw; margin-top: 4cqw; }
.fp-no { position: absolute; bottom: 4%; right: 6%; font-size: 2.8cqw; color: var(--faint); }
.leaf__b .fp-no { right: auto; left: 6%; }
.flipbook__nav { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.flipbook__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(0,0,0,.3); transition: transform .4s var(--ease-out); }
.flipbook__btn:hover { transform: scale(1.08); }
.flipbook__btn svg { width: 18px; height: 18px; }
[data-flip-prev] svg { transform: rotate(180deg); }

/* contents */
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); max-width: 1000px; }
.toc h3 { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.toc h3 span { font: italic 500 clamp(1.5rem, 2.4vw, 2rem)/1 var(--f-serif); }
.toc h3 small { font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.toc li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; font-size: 15.5px; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease-out), color .3s; }
.toc li i { flex: 1; border-bottom: 1.5px dotted var(--faint); transform: translateY(-4px); }
.toc li b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc li:hover { padding-left: 8px; color: var(--green); }
.toc__note { margin-top: 26px; font-size: 13px; }
@media (max-width: 760px) { .toc { grid-template-columns: 1fr; } }

/* request form */
.get__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 1080px; }
.get__txt { display: grid; gap: 18px; justify-items: start; }
.get__form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); }
.seg-wrap, .seg { }
.field .seg { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg); background-image: none; }
.field .seg label { flex: 1; position: relative; }
.field .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.field .seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.field .seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 14px -8px rgba(0,0,0,.3); }
.field .seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.get__btn { justify-content: center; }
.get__fine { font-size: 12.5px; text-align: center; }
@media (max-width: 860px) { .get__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Lectures
   ========================================================================== */
.lstats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: clamp(36px, 5vw, 60px) auto 0; text-align: center; }
.lstats > div { display: grid; gap: 4px; padding: 6px 12px; }
.lstats > div + div { border-left: 1px solid var(--line); }
.lstats b { font: 500 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--f-sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lstats span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .lstats { grid-template-columns: 1fr 1fr; row-gap: 22px; } .lstats > div:nth-child(3) { border-left: 0; } }

.feat { position: relative; display: block; width: min(980px, 100%); margin: clamp(44px, 6vw, 72px) auto 0; text-align: left; }
.feat__glow { position: absolute; inset: 8% 6% -6%; background-size: cover; background-position: center; filter: blur(48px) saturate(1.3); opacity: .55; border-radius: 40px; z-index: 0; transform: translateZ(0); }
.feat__screen { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; z-index: 1; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 40px 80px -40px rgba(0,0,0,.6); background: #000; }
.feat__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.feat:hover .feat__screen img { transform: scale(1.04); }
.feat__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72)); }
.feat__play { position: absolute; left: 50%; top: 46%; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); margin: calc(clamp(64px, 8vw, 96px) / -2) 0 0 calc(clamp(64px, 8vw, 96px) / -2); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green); display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); transition: transform .6s var(--ease-out), background-color .3s, color .3s; }
.feat__play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); animation: ping 2.2s var(--ease-out) infinite; }
.feat__play svg { width: 34%; height: 34%; margin-left: 6%; }
.feat:hover .feat__play { transform: scale(1.1); background: var(--green); color: #fff; }
.feat__txt { position: absolute; left: clamp(18px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); right: 20px; display: grid; gap: 4px; color: #fff; }
.feat__txt small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.feat__txt b { font: 500 clamp(1.3rem, 2.6vw, 2.2rem)/1.1 var(--f-sans); letter-spacing: -.03em; }
.feat__txt span { font-size: clamp(13px, 1.2vw, 15px); opacity: .85; }
@media (max-width: 560px) { .feat__txt span { display: none; } }

.lib__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.lib__head .h2 { margin-top: 10px; }
.lib__search { display: flex; align-items: center; gap: 10px; width: min(360px, 100%); height: 50px; padding: 0 16px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .25s; }
.lib__search:focus-within { box-shadow: 0 0 0 2px var(--green); }
.lib__search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.lib__search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; }
.lib__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0 30px; }
.lib__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lib__chips small { font-size: 11px; opacity: .55; margin-left: 2px; }
.lib__sort .select { height: 40px; width: auto; font-size: 14px; border-radius: 99px; }
.lib__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.lv[hidden] { display: none; }
.lv__btn { display: grid; gap: 8px; width: 100%; text-align: left; }
.lv__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px rgba(0,0,0,.05); transition: box-shadow .5s, transform .6s var(--ease-out); }
.lv__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.lv__btn:hover .lv__thumb { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 36px -22px rgba(0,0,0,.5); }
.lv__btn:hover .lv__thumb img { transform: scale(1.06); }
.lv__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--green); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s; }
.lv__play svg { width: 20px; height: 20px; margin-left: 3px; }
.lv__btn:hover .lv__play, .lv__btn:focus-visible .lv__play { transform: scale(1); opacity: 1; }
.lv__dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.lv__hot { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 99px; background: var(--marker); color: var(--ink); font-size: 11.5px; font-weight: 600; }
.lv__seen { position: absolute; left: 8px; bottom: 8px; display: none; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 6px; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 500; }
.lv__seen svg { width: 13px; height: 13px; }
.is-watched .lv__seen { display: inline-flex; }
.is-watched .lv__thumb img { filter: saturate(.75); }
.lv__ch { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-top: 6px; }
.lv__t { font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv__m { font-size: 13px; color: var(--muted); }
.lib__empty { text-align: center; padding: 60px 0; color: var(--muted); }
.lib__empty button { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .lib__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lib__grid { grid-template-columns: 1fr; } .lib__search { width: 100%; } }
.sub__btn { --bg-b: #e8222b; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px -10px rgba(220,30,40,.7); }
.sub__btn:hover { --bg-b: #c91a22; }
.sub__btn .btn__i { --x: 0; }
.sub__btn svg path:first-child { fill: #fff; }
.sub__btn svg path:last-child { fill: #e8222b; }

/* ==========================================================================
   About
   ========================================================================== */
.ahero { padding-bottom: 0; }
.ahero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: end; max-width: 1180px; }
.ahero__txt { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(60px, 8vw, 120px); }
.ahero__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.ahero__pic { position: relative; aspect-ratio: 1 / 1.08; }
.ahero__disc { position: absolute; left: 10%; right: 10%; top: 8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #1a5a3c, #0c2a1d 70%); }
.ahero__disc::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(15,106,62,.35); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ahero__img { position: absolute; left: 6%; right: 6%; bottom: 0; width: 88%; height: auto; z-index: 1; filter: drop-shadow(0 30px 30px rgba(0,0,0,.18)); }
.ahero__ground { position: absolute; left: -10%; right: -10%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); z-index: 2; }
.ahero__pic .prop { z-index: 3; }
.ahero__pic .sticky { font-size: clamp(15px, 1.5vw, 21px); }
@media (max-width: 860px) {
  .ahero__grid { grid-template-columns: 1fr; }
  .ahero__txt { padding-bottom: 20px; }
  .ahero__pic { width: min(100%, 520px); justify-self: center; }
}

.say-big__t { font: 500 clamp(1.7rem, 3.4vw, 3rem)/1.18 var(--f-sans); letter-spacing: -.035em; text-wrap: pretty; }
.say-big__by { margin-top: 26px; font: italic 400 20px var(--f-serif); color: var(--muted); }

.career { position: relative; }
.career__pin { min-height: 100vh; display: grid; align-content: center; gap: clamp(30px, 4vw, 48px); padding: calc(var(--hd-h) + 20px) 0 40px; overflow: hidden; }
.career__head { display: grid; gap: 14px; }
.career__track { display: flex; gap: 24px; padding: 10px var(--gut); width: max-content; will-change: transform; }
.cc { position: relative; width: clamp(300px, 30vw, 420px); min-height: 400px; padding: 34px 30px 30px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 14px; overflow: hidden; flex: none; }
.cc__no { position: absolute; right: 22px; top: 14px; font: italic 500 120px/1 var(--f-serif); color: #ecebe5; z-index: 0; pointer-events: none; }
.cc > *:not(.cc__no) { position: relative; z-index: 1; }
.cc__ico { width: 46px; height: 46px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cc h3 { font: 600 26px/1.1 var(--f-sans); letter-spacing: -.03em; margin-top: auto; }
.cc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.cc small { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); padding-top: 14px; border-top: 1px solid var(--line); }
.cc--4 { background: var(--green-deep); color: #efe9d6; }
.cc--4 p { color: rgba(239,233,214,.8); }
.cc--4 .cc__no { color: rgba(255,255,255,.06); }
.cc--4 .cc__ico { stroke: var(--gold-2); }
.cc--4 small { color: var(--gold-2); border-color: rgba(255,255,255,.12); }
.career__bar { height: 3px; }
.career__bar i { display: block; height: 3px; border-radius: 3px; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); }
.career__bar { background: var(--bg-2); border-radius: 3px; max-width: 420px; padding: 0; margin-left: var(--gut); }
@media (max-width: 900px) {
  .career__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .career__track::-webkit-scrollbar { display: none; }
  .cc { scroll-snap-align: center; width: 82vw; min-height: 360px; }
  .career__bar { display: none; }
}

.boards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; }
.bc { position: relative; aspect-ratio: 1.45; perspective: 1000px; text-align: left; }
.bc__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.bc__f, .bc__b { position: absolute; inset: 0; border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bc__f { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.bc__f small, .bc__b small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.bc__f b { font: 600 22px/1.15 var(--f-sans); letter-spacing: -.02em; margin-top: 8px; }
.bc__f em { margin-top: auto; font: italic 500 clamp(2.6rem, 4.6vw, 3.8rem)/1 var(--f-serif); color: var(--ink); }
.bc__b { background: var(--green-deep); color: #efe9d6; transform: rotateY(180deg); gap: 10px; }
.bc__b small { color: var(--gold-2); }
.bc__b span { font-size: 15px; line-height: 1.4; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.bc--isl .bc__f em { color: var(--green); }
.bc--alt .bc__f em { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--muted); }
.bc.is-flip .bc__in { transform: rotateY(180deg); }
@media (hover: hover) { .bc:hover .bc__in { transform: rotateY(180deg); } }
@media (max-width: 860px) { .boards__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .boards__grid { grid-template-columns: 1fr; } .bc { aspect-ratio: 1.8; } }

.philo__list { display: grid; gap: 0; max-width: 860px; }
.pr { display: grid; grid-template-columns: clamp(70px, 10vw, 120px) 1fr; gap: 20px; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); align-items: start; }
.pr:last-child { border-bottom: 1px solid var(--line); }
.pr__n { font: italic 500 clamp(3.4rem, 7vw, 5.6rem)/.85 var(--f-serif); color: var(--green); }
.pr h3 { font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--f-sans); letter-spacing: -.025em; }
.pr p { margin-top: 8px; color: var(--ink-2); max-width: 560px; }

.iqbal { background: var(--green-deep); color: #efe9d6; padding: clamp(90px, 12vw, 160px) 0; text-align: center; overflow: hidden; }
.iqbal__in { display: grid; justify-items: center; gap: 26px; }
.iqbal__moon { width: 52px; height: 48px; --mark-bg: transparent; --mark-fg: var(--gold-2); }
.iqbal__ur { display: grid; gap: .3em; font: 500 clamp(1.7rem, 4.2vw, 3.4rem)/2.1 var(--f-urdu); color: var(--gold-2); }
.iqbal__ur span { display: block; padding: 0 .2em; }
.iqbal__en { font: italic 400 clamp(1.1rem, 1.8vw, 1.45rem)/1.45 var(--f-serif); max-width: 640px; color: rgba(239,233,214,.9); }
.iqbal__by { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(239,233,214,.55); }

.gal__desk { position: relative; height: clamp(520px, 52vw, 700px); max-width: 1240px; margin: 0 auto; }
.pol { aspect-ratio: .82; }
.pol--wide { aspect-ratio: 1.12; }
.pol .prop__body.polaroid { padding: 4% 4% 14%; }
.pol .polaroid img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.pol .polaroid img { height: 86%; }
.pol .prop__shade { border-radius: 2px; }
.gal__cta { margin-top: 20px; }
@media (max-width: 720px) { .gal__desk { height: 150vw; } }

/* ==========================================================================
   Classes
   ========================================================================== */
.chero > .wrap:last-child { perspective: 1400px; }
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(130px, 18vw, 200px); max-width: 860px; margin: clamp(40px, 6vw, 70px) auto 0; filter: drop-shadow(0 30px 40px rgba(20,30,20,.22)) drop-shadow(0 2px 3px rgba(0,0,0,.08)); }
.ticket__main { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 44px); border-radius: 22px 0 0 22px; background: radial-gradient(120% 120% at 0% 0%, #1b5a3d, var(--green-deep) 60%); color: #efe9d6; -webkit-mask: radial-gradient(circle 14px at 100% 0, transparent 13.5px, #000 14px) top / 100% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 13.5px, #000 14px) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 14px at 100% 0, transparent 13.5px, #000 14px) top / 100% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 13.5px, #000 14px) bottom / 100% 51% no-repeat; }
.ticket__sheen { position: absolute; inset: 0; background: radial-gradient(400px circle at var(--sx, 30%) var(--sy, 20%), rgba(231,197,106,.22), transparent 60%); pointer-events: none; }
.ticket__top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,233,214,.6); }
.ticket__title { margin-top: clamp(18px, 3vw, 30px); font: 500 clamp(1.9rem, 4vw, 3.2rem)/1 var(--f-sans); letter-spacing: -.035em; }
.ticket__title i { font-family: var(--f-serif); color: var(--gold-2); }
.ticket__with { font: italic 400 clamp(1.1rem, 1.8vw, 1.4rem) var(--f-serif); color: var(--gold-2); margin-top: 6px; }
.ticket__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: clamp(22px, 3vw, 34px); padding-top: 20px; border-top: 1px dashed rgba(239,233,214,.25); }
.ticket__grid dt { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,233,214,.55); }
.ticket__grid dd { margin: 4px 0 0; font-size: 15px; }
.ticket__grid b { font: 600 22px var(--f-sans); color: var(--gold-2); }
.ticket__stub { position: relative; display: grid; align-content: space-between; justify-items: center; gap: 12px; padding: 26px 14px; border-radius: 0 22px 22px 0; background: #f6efd8; color: var(--green-deep); border-left: 2px dashed rgba(12,42,29,.25); cursor: grab; touch-action: pan-y; -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 13.5px, #000 14px) top / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 13.5px, #000 14px) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 14px at 0 0, transparent 13.5px, #000 14px) top / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 13.5px, #000 14px) bottom / 100% 51% no-repeat; }
.ticket__seat { display: grid; justify-items: center; font: italic 600 clamp(2.6rem, 5vw, 3.8rem)/1 var(--f-serif); color: var(--green); }
.ticket__seat small { font: 600 10.5px var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ticket__code { display: flex; gap: 2px; height: 46px; align-items: stretch; }
.ticket__code i { background: var(--green-deep); }
.ticket__tear { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.ticket__tear svg { width: 15px; height: 15px; color: var(--green); animation: wave 2.4s ease-in-out infinite; }
.ticket__done { position: absolute; right: 0; top: 50%; width: clamp(130px, 18vw, 200px); transform: translateY(-50%); text-align: center; font: 600 18px/1.2 var(--f-hand); color: var(--green); opacity: 0; transition: opacity .6s .5s; padding: 0 10px; pointer-events: none; }
.ticket.is-torn .ticket__done { opacity: 1; }
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__main { border-radius: 22px 22px 0 0; -webkit-mask: none; mask: none; }
  .ticket__stub { border-radius: 0 0 22px 22px; border-left: 0; border-top: 2px dashed rgba(12,42,29,.25); grid-template-columns: auto 1fr auto; align-items: center; padding: 16px 18px; -webkit-mask: none; mask: none; }
  .ticket__code { height: 34px; justify-self: center; }
  .ticket__grid { grid-template-columns: 1fr; }
  .ticket__done { width: 100%; top: auto; bottom: 20px; transform: none; }
}

.camp__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; max-width: 1140px; align-items: stretch; }
.camp__list { display: grid; gap: 12px; align-content: start; }
.cmp { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); background: #fff; text-align: left; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s, transform .5s var(--ease-out); }
.cmp:hover { transform: translateX(4px); }
.cmp.is-on { box-shadow: 0 0 0 2px var(--green), 0 20px 30px -22px rgba(0,0,0,.4); }
.cmp__n { font: italic 500 30px/1 var(--f-serif); color: var(--faint); transition: color .3s; }
.cmp.is-on .cmp__n { color: var(--green); }
.cmp__b { display: grid; gap: 3px; }
.cmp__b b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cmp__b span { font-size: 14px; color: var(--ink-2); }
.cmp__b small { font-size: 12.5px; color: var(--muted); }
.cmp__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--green); transition: background-color .3s, color .3s; --pin-dot: var(--bg); }
.cmp__go svg { width: 18px; height: 18px; }
.cmp.is-on .cmp__go { background: var(--green); color: #fff; --pin-dot: var(--green); }
.camp__map { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); z-index: 0; }
.camp__map .leaflet-tile-pane { filter: grayscale(.9) sepia(.12) contrast(.95) brightness(1.04); }
.camp__mapnote { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.mpin { width: 0 !important; height: 0 !important; }
.mpin__in { position: absolute; left: 0; bottom: 0; transform: translate(-50%, -6px); display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 99px; background: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); white-space: nowrap; font: 600 12.5px var(--f-sans); color: var(--ink); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.mpin__in::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.mpin__in svg { width: 20px; height: 20px; }
.mpin.is-on .mpin__in { background: var(--green); color: #fff; transform: translate(-50%, -10px) scale(1.08); --mark-bg: #fff; --mark-fg: var(--green); }
.leaflet-popup-content { font: 400 13.5px/1.45 var(--f-sans); }
.leaflet-popup-content a { color: var(--green); font-weight: 600; }
@media (max-width: 860px) { .camp__grid { grid-template-columns: 1fr; } .camp__map { min-height: 340px; } }

.tt__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.tt { position: relative; display: grid; grid-template-columns: 70px repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 1080px; margin: 0 auto; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.tt__hours { position: relative; margin-top: 34px; height: 420px; }
.tt__hours span { position: absolute; top: calc(var(--t) * 100%); left: 0; transform: translateY(-50%); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tt__dn { height: 34px; font-size: 13px; font-weight: 600; text-align: center; }
.tt__col { position: relative; height: 420px; border-radius: 12px; background: repeating-linear-gradient(var(--bg) 0 1px, transparent 1px 70px), #fafaf8; box-shadow: inset 0 0 0 1px var(--line); }
.tt__b { position: absolute; left: 4px; right: 4px; top: calc(var(--s) * 100%); height: calc((var(--e) - var(--s)) * 100% - 4px); border-radius: 10px; padding: 8px 9px; display: grid; align-content: start; gap: 3px; overflow: hidden; transition: opacity .4s, filter .4s, transform .4s var(--ease-out); cursor: default; }
.tt__b:hover { transform: scale(1.03); z-index: 2; }
.tt__b b { font-size: 12px; line-height: 1.25; font-weight: 600; }
.tt__b small { font-size: 10.5px; opacity: .8; }
.tt__b--dha6 { background: #dff0e5; color: #0b4d2b; box-shadow: inset 3px 0 0 var(--green); }
.tt__b--gulberg { background: #e3ecfb; color: #1d3f84; box-shadow: inset 3px 0 0 var(--blue); }
.tt__b--bahria { background: #fbefd6; color: #7a5410; box-shadow: inset 3px 0 0 #d9a032; }
.tt__b.is-dim { opacity: .18; filter: grayscale(1); }
.tt__note { text-align: center; font-size: 13px; margin-top: 18px; }
@media (max-width: 760px) {
  .tt { grid-template-columns: 44px repeat(6, minmax(86px, 1fr)); overflow-x: auto; padding: 14px; }
  .tt__hours span { font-size: 10px; }
}

.enrol__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(32px, 6vw, 80px); align-items: start; max-width: 1140px; }
.enrol__txt { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--hd-h) + 30px); }
.enrol__contact { display: grid; gap: 10px; margin-top: 10px; width: 100%; max-width: 380px; }
.enrol__contact a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), box-shadow .3s; }
.enrol__contact a:hover { transform: translateX(6px); box-shadow: 0 0 0 1px var(--line-2); }
.enrol__contact svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.enrol__contact span { display: grid; font-size: 13.5px; color: var(--muted); }
.enrol__contact b { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.wiz { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; overflow: hidden; }
.wiz__steps { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; font-weight: 500; color: var(--faint); }
.wiz__steps li { transition: color .4s; }
.wiz__steps li.is-on { color: var(--green); }
.wiz__bar { height: 3px; border-radius: 3px; background: var(--bg-2); overflow: hidden; margin-top: -8px; }
.wiz__bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.wiz__viewport { position: relative; min-height: 290px; }
.wiz__p { border: 0; margin: 0; padding: 0; min-width: 0; display: none; gap: 16px; }
.wiz__p.is-on { display: grid; }
.wiz__q { font: 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--f-serif); padding: 0; margin-bottom: 4px; }
.wiz__sub { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 4px; }
.wiz__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wiz__err { color: var(--red); font-size: 13px; min-height: 1em; }
.wiz__msg { margin: 0; padding: 18px; border-radius: 14px; background: #f3f8f4; box-shadow: inset 0 0 0 1px #cfe4d6; font: 400 14px/1.55 var(--f-sans); white-space: pre-wrap; color: #183a28; }
.wiz__send { display: flex; flex-wrap: wrap; gap: 10px; }
.wiz__nav { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.wiz__nav .btn[disabled] { opacity: .4; pointer-events: none; }
.wiz__nav .btn[hidden] { display: none; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt > span { display: grid; gap: 3px; padding: 16px 18px 16px 46px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, box-shadow .3s; position: relative; }
.opt > span::before { content: ''; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; transition: background-color .25s, box-shadow .25s; }
.opt input[type="radio"] + span::before { border-radius: 50%; }
.opt input:checked + span { background: #fff; box-shadow: inset 0 0 0 2px var(--green), 0 10px 20px -16px rgba(0,0,0,.4); }
.opt input:checked + span::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.3 4.3L19 7.2' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.opt b { font-size: 15px; font-weight: 600; }
.opt small { font-size: 12.5px; color: var(--muted); }
.wiz .seg { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg); }
.wiz .seg label { flex: 1; position: relative; }
.wiz .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wiz .seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.wiz .seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 14px -8px rgba(0,0,0,.3); }
.wiz .seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 860px) { .enrol__grid { grid-template-columns: 1fr; } .enrol__txt { position: static; } }
@media (max-width: 480px) { .opts--2, .wiz__row { grid-template-columns: 1fr; } .wiz .seg span { font-size: 12.5px; padding: 10px 2px; } }

/* 404 */
.nf { padding-bottom: 40px; }
.nf__desk { position: relative; min-height: calc(100vh - var(--hd-h) - 120px); display: grid; place-items: center; }
.nf__in { position: relative; z-index: 5; display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 620px; padding: 0 var(--gut); pointer-events: none; }
.nf__in > * { pointer-events: auto; }
.nf__code { font: italic 500 clamp(6rem, 18vw, 13rem)/.9 var(--f-serif); color: var(--green); letter-spacing: -.04em; }
