/* "What the room asked" (draft, 19 Nov 2026; landing-dummy-2.html only): questions + photos in one pinned scene.
   Scrolling down walks the camera right along the table, one room (club) at a time; each room shows its question.
   Prints and the lifted-photo view reuse print-table.css. Logic in question-table.js. */
.qt{grid-column:1/-1;position:relative;width:100vw;margin-left:calc(50% - 50vw);height:calc(var(--n,5) * 85vh + 100vh)}
.qt-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;flex-direction:column;padding:clamp(14px,2.4vw,28px) clamp(12px,3vw,40px);box-sizing:border-box}
.qt-head{display:flex;align-items:end;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:0 auto 14px;width:100%;max-width:1320px}
.qt-head .kicker{display:block}
.qt-head h2{margin:.5rem 0 0;max-width:none;font:800 clamp(1.7rem,4vw,3.2rem)/1 "Bricolage Grotesque",sans-serif;letter-spacing:-.025em;color:#f3f2ee}
.qt-head p{margin:.5rem 0 0;color:#a5a49e;font:400 .98rem/1.45 "DM Sans",sans-serif;max-width:46ch}
.qt-rooms{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.qt-rooms button{appearance:none;border:0;background:none;color:#8f8e88;font:600 .72rem/1 "DM Sans",sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:.5rem .1rem;cursor:pointer;display:flex;flex-direction:column;gap:.45rem;min-width:clamp(44px,8vw,96px);text-align:left;transition:color .4s}
.qt-rooms button i{display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden;position:relative}
.qt-rooms button i::after{content:"";position:absolute;inset:0;background:var(--c);transform-origin:0 50%;transform:scaleX(var(--f,0))}
.qt-rooms button.is-on{color:#f3f2ee}
.qt-rooms button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.qt-scene{position:relative;flex:1;min-height:0;width:100%;max-width:1320px;margin:0 auto}
.qt-scene .pt-stage{position:absolute;inset:0;height:auto;cursor:grab}
/* the question, on the left of the same frame */
.qt-q{position:absolute;z-index:6;left:0;top:0;bottom:0;width:min(44%,560px);display:flex;flex-direction:column;justify-content:center;padding:clamp(20px,4vw,56px);box-sizing:border-box;pointer-events:none;
  background:linear-gradient(90deg,rgba(8,8,8,.94) 0%,rgba(8,8,8,.86) 62%,rgba(8,8,8,0) 100%);border-radius:clamp(20px,3vw,32px) 0 0 clamp(20px,3vw,32px)}
.qt-q > *{pointer-events:auto}
.qt-mark{width:clamp(44px,5vw,64px);height:clamp(44px,5vw,64px);border-radius:16px;display:grid;place-items:center;background:var(--c);color:#0b0b0b;font:800 clamp(1.6rem,2.6vw,2.2rem)/1 "Bricolage Grotesque",sans-serif;transition:background .6s;box-shadow:0 10px 30px -8px var(--c)}
.qt-room{margin:1.2rem 0 0;font:600 .78rem/1.3 "DM Sans",sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--c);transition:color .6s}
.qt-text{margin:.7rem 0 0;font:700 clamp(1.35rem,2.6vw,2.25rem)/1.14 "Bricolage Grotesque",sans-serif;letter-spacing:-.015em;color:#f3f2ee;min-height:4.6em}
.qt-text .w{display:inline-block;opacity:0;transform:translateY(.55em) rotate(2deg);filter:blur(4px);transition:opacity .55s,transform .7s cubic-bezier(.2,.8,.2,1),filter .55s;transition-delay:calc(var(--i) * 32ms)}
.qt-text.is-in .w{opacity:1;transform:none;filter:none}
.qt-text.is-out .w{opacity:0;transform:translateY(-.4em);filter:blur(3px);transition-duration:.25s;transition-delay:calc(var(--i) * 10ms)}
.qt-meta{margin:1.1rem 0 0;display:flex;align-items:center;gap:.8rem;color:#8f8e88;font:600 .78rem/1 "DM Sans",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.qt-meta b{color:#f3f2ee;font-weight:700}
.qt-more{position:absolute;z-index:6;right:16px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:.5rem;padding:.6rem .85rem;border-radius:999px;background:rgba(10,10,10,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f3f2ee;font:600 .72rem/1 "DM Sans",sans-serif;letter-spacing:.14em;text-transform:uppercase;pointer-events:none;transition:opacity .5s}
.qt-more svg{width:16px;height:16px;animation:qt-nudge 1.6s ease-in-out infinite}
@keyframes qt-nudge{50%{transform:translateX(5px)}}
.qt.is-end .qt-more{opacity:0}
.qt-scene .pt-hint{left:auto;right:16px;transform:none;bottom:16px}
.qt-scene .pt-count{display:none}

@media (max-width:760px){
  .qt{height:calc(var(--n,5) * 75vh + 100vh)}
  .qt-head h2{font-size:clamp(1.5rem,7vw,2rem)}
  .qt-head p{display:none}
  .qt-rooms{width:100%}
  .qt-rooms button{flex:1;min-width:0;font-size:.6rem;letter-spacing:.06em}
  .qt-scene{display:flex;flex-direction:column}
  .qt-q{position:relative;width:auto;bottom:auto;padding:4px 2px 14px;background:none;border-radius:0}
  .qt-mark{width:38px;height:38px;border-radius:12px;font-size:1.3rem}
  .qt-room{margin-top:.8rem}
  .qt-text{font-size:clamp(1.15rem,5.4vw,1.45rem);min-height:3.5em}
  .qt-meta{display:none}
  .qt-scene .pt-stage{position:relative;inset:auto;flex:1;min-height:0}
  .qt-more{top:auto;bottom:14px}
  .qt-scene .pt-hint{display:none}
}
@media (prefers-reduced-motion:reduce){.qt-text .w{transition:opacity .3s;transform:none;filter:none}}
/* in the pinned scene the other rooms stay visible but quieter */
.qt.is-filtered .pt-print:not(.is-match){opacity:.42;filter:grayscale(.55) brightness(.72)}
.qt.is-filtered .pt-label:not(.is-match){opacity:.3}
.qt .pt-print.is-match{z-index:2}

/* TOUR MODE (landing page): a compact frame that plays through the rooms by itself; not pinned, no sideways scroll */
.qt.qt-tour{height:auto;width:auto;margin-left:0}
.qt-tour .qt-pin{position:relative;height:auto;overflow:visible;padding:0}
.qt-tour .qt-head{max-width:none;margin-bottom:16px}
.qt-tour .qt-scene{flex:none;height:clamp(400px,58vh,580px);max-width:none}
.qt-tour .qt-q{width:min(36%,430px);padding:clamp(18px,3vw,40px);background:linear-gradient(90deg,#0b0b0b 0%,#0b0b0b 78%,rgba(11,11,11,0) 100%)}
.qt-tour .qt-text{font-size:clamp(1.12rem,1.85vw,1.65rem);min-height:4.2em}
.qt-tour .qt-mark{width:44px;height:44px;border-radius:13px;font-size:1.5rem}
.qt-tour .qt-more{display:none}
.qt-tour .pt-stage{cursor:default}
.qt-tour .pt-hint{display:none}
.qt-walk{display:flex;justify-content:flex-end;margin-top:14px}
.qt-walk a{display:inline-flex;align-items:center;gap:.6rem;color:#f3f2ee;text-decoration:none;font:600 .9rem/1 "DM Sans",sans-serif;padding:.75rem 1.05rem;border-radius:999px;border:1px solid rgba(255,255,255,.18);transition:background .3s,border-color .3s}
.qt-walk a:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.35)}
.qt-walk svg{width:16px;height:16px}
@media (max-width:760px){
  .qt-tour .qt-scene{height:auto}
  .qt-tour .qt-q{width:auto;background:none;padding:2px 2px 12px}
  .qt-tour .pt-stage{height:clamp(260px,62vw,340px);flex:none}
  .qt-walk{justify-content:flex-start}
}

/* book pages: a few photos per page, slowly cross-fading */
.pg-photo img{transition:opacity 1.4s ease}
.pg-photo img.is-off{opacity:0}

/* the shelf in its own section, after Clubs and Everyday English */
.shelf-sec .room-shelf{grid-column:auto}
.shelf-sec{padding-top:clamp(1rem,3vw,2.5rem)}

/* shelf inside "Start, or carry on", between In person / Online and the Clubs card */
.plan-shelf{margin:clamp(2rem,5vw,3.5rem) 0}
.plan-shelf .room-shelf{grid-column:auto}

/* Academy Gallery button: a pane of glass. Soft colour glows drift behind it, a light sweeps across, the edge catches
   the light where the pointer is, and three small photos float inside. */
.qt-walk{position:relative}
.qt-walk::before{content:"";position:absolute;right:30px;top:50%;width:300px;height:90px;translate:0 -50%;z-index:0;pointer-events:none;filter:blur(28px);opacity:.55;
  background:radial-gradient(40% 60% at 25% 50%,var(--c,#ffcc00),transparent 70%),radial-gradient(40% 60% at 75% 50%,#32a3f4,transparent 70%);animation:gal-drift 9s ease-in-out infinite alternate;transition:background .8s}
@keyframes gal-drift{to{transform:translateX(-40px) scale(1.15)}}
.qt-walk .gal-btn{position:relative;z-index:1;isolation:isolate;gap:1rem;padding:.6rem .65rem .6rem .75rem;border-radius:999px;overflow:hidden;
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.03) 55%,rgba(255,255,255,.08));
  -webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(255,255,255,.06),inset 0 0 24px rgba(255,255,255,.05),0 18px 40px -18px rgba(0,0,0,.9);
  transition:transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .6s,border-color .6s,background .6s}
.gal-btn::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.28) 48%,rgba(255,255,255,.05) 54%,transparent 70%);transform:translateX(-120%);animation:gal-sweep 5s cubic-bezier(.6,0,.2,1) infinite 1s}
@keyframes gal-sweep{0%{transform:translateX(-120%)}35%,100%{transform:translateX(120%)}}
.gal-btn::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .4s;
  background:radial-gradient(120px 80px at var(--mx,50%) var(--my,50%),rgba(255,255,255,.22),transparent 70%)}
.qt-walk .gal-btn:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.36);background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.05) 55%,rgba(255,255,255,.12));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 0 30px rgba(255,255,255,.08),0 26px 50px -18px rgba(0,0,0,.95),0 0 40px -12px var(--c,#ffcc00)}
.gal-btn:hover::after{opacity:1}
.gal-btn:hover::before{animation-duration:1.6s;animation-delay:0s}
.gal-thumbs{position:relative;width:66px;height:42px;flex:none}
.gal-thumbs img{position:absolute;top:3px;left:calc(var(--k) * 12px);width:36px;height:34px;object-fit:cover;border:2px solid #f3efe6;border-radius:2px;box-shadow:0 6px 12px rgba(0,0,0,.55);
  transform:rotate(calc((var(--k) - 1) * 10deg));transition:transform .6s cubic-bezier(.2,.8,.2,1),left .6s cubic-bezier(.2,.8,.2,1);animation:gal-bob 3.6s ease-in-out infinite;animation-delay:calc(var(--k) * -1.2s)}
@keyframes gal-bob{50%{translate:0 -3px}}
.gal-txt{display:flex;flex-direction:column;gap:.3rem;text-align:left}
.gal-txt small{font:600 .64rem/1 "DM Sans",sans-serif;letter-spacing:.18em;text-transform:uppercase;color:rgba(243,242,238,.62)}
.gal-txt b{font:800 1.08rem/1 "Bricolage Grotesque",sans-serif;letter-spacing:-.01em;color:#f3f2ee;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.gal-arrow{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;flex:none;color:#f3f2ee;
  background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
  transition:transform .6s cubic-bezier(.2,.8,.2,1),background .4s,color .4s}
.qt-walk .gal-btn .gal-arrow svg{width:17px;height:17px;animation:qt-nudge 1.8s ease-in-out infinite}
.gal-btn:hover .gal-thumbs img{left:calc(var(--k) * 18px);transform:rotate(calc((var(--k) - 1) * 16deg)) translateY(-4px)}
.gal-btn:hover .gal-arrow{transform:rotate(-45deg);background:#f3f2ee;color:#0b0b0b}
.gal-btn:active{transform:translateY(-1px) scale(.98)}
/* glass appears when the frame comes into view */
.pt:not(.is-in) .gal-btn{opacity:0;transform:translateY(14px) scale(.96);filter:blur(6px)}
.pt.is-in .gal-btn{transition:opacity .9s .5s,filter .9s .5s,transform .9s .5s cubic-bezier(.2,.8,.2,1),box-shadow .6s,border-color .6s,background .6s}
.pt.is-in .gal-btn:hover{transition-delay:0s}
@media (prefers-reduced-motion:reduce){.gal-btn::before,.gal-thumbs img,.qt-walk::before,.qt-walk .gal-btn .gal-arrow svg{animation:none}}

/* SIDEWAYS MODE (.qt-h, Academy Gallery page): not pinned; the photos scroll horizontally inside the frame */
.qt.qt-h{height:auto}
.qt-h .qt-pin{position:relative;height:calc(100vh - 20px);height:calc(100svh - 20px);min-height:520px}
.pt-scroll{position:absolute;inset:0;z-index:1;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent;cursor:grab}
.pt-scroll::-webkit-scrollbar{height:6px}
.pt-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:6px}
.pt-scroll .pt-world{box-sizing:content-box}
.qt-h .pt-stage.is-drag .pt-scroll{cursor:grabbing}

/* NAVIGATION: extra jump links in the phone menu only */
.nav-links .nav-more{display:none}
.nav-links.open .nav-more{display:block}

/* SECTION GUIDE (wide screens): glass pill of dots on the right; hover to read the names, click to jump */
.jump{position:fixed;z-index:900;right:clamp(10px,1.6vw,22px);top:50%;transform:translate(16px,-50%);opacity:0;pointer-events:none;transition:opacity .6s,transform .6s cubic-bezier(.2,.8,.2,1)}
.jump.show{opacity:1;transform:translate(0,-50%);pointer-events:auto}
.jump ol{list-style:none;margin:0;padding:10px 8px;display:flex;flex-direction:column;gap:2px;border-radius:999px;
  background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03));-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);
  border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 20px 40px -20px rgba(0,0,0,.9)}
.jump a{position:relative;display:grid;place-items:center;width:22px;height:22px;text-decoration:none}
.jump i{width:7px;height:7px;border-radius:50%;background:rgba(243,242,238,.35);transition:transform .4s cubic-bezier(.2,.8,.2,1),background .4s,box-shadow .4s}
.jump a:hover i{background:#f3f2ee;transform:scale(1.3)}
.jump a.on i{background:#ffcc00;transform:scale(1.45);box-shadow:0 0 0 4px rgba(255,204,0,.18),0 0 14px rgba(255,204,0,.6)}
.jump span{position:absolute;right:calc(100% + 12px);top:50%;white-space:nowrap;padding:.45rem .75rem;border-radius:999px;font:600 .78rem/1 "DM Sans",sans-serif;color:#f3f2ee;
  background:rgba(18,18,17,.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.14);
  opacity:0;transform:translate(8px,-50%);pointer-events:none;transition:opacity .3s,transform .4s cubic-bezier(.2,.8,.2,1)}
.jump a:hover span,.jump a:focus-visible span,.jump:hover a.on span{opacity:1;transform:translate(0,-50%)}
.jump:hover a.on:not(:hover) span{opacity:.55}
.jump a:focus-visible{outline:none}.jump a:focus-visible i{box-shadow:0 0 0 3px #ffcc00}
@media (max-width:980px),(hover:none){.jump{display:none}}
/* keep the top menu on one line; on mid-size screens drop "Inside the room" (the section guide still has it) */
.nav-links a{white-space:nowrap}
@media (min-width:981px) and (max-width:1180px){.nav-links a{padding:.55rem .62rem;font-size:.88rem}.nav-links a[href="#room"]{display:none}}

/* "Read to question …" as the closing statement, after Know your level and before Ready to begin */
.academy-end{padding-block:clamp(4rem,10vw,8rem)}
.academy-end .hero-copy{position:relative;width:auto;margin:0 auto;max-width:900px;text-align:center;transform:none;opacity:1}
.academy-end .hero-copy .kicker{justify-content:center}
.academy-end .hero-copy h1{font-size:clamp(2.2rem,6vw,5.2rem)}
.academy-end .hero-copy h1 span{opacity:0;transform:translateY(.4em);filter:blur(6px);transition:opacity .8s,transform .9s cubic-bezier(.2,.8,.2,1),filter .8s}
.academy-end .hero-copy h1 span:nth-child(2){transition-delay:.12s}.academy-end .hero-copy h1 span:nth-child(3){transition-delay:.24s}.academy-end .hero-copy h1 span:nth-child(4){transition-delay:.36s}
.academy-end.is-in .hero-copy h1 span{opacity:1;transform:none;filter:none}
.academy-end .hero-copy .lead{margin-inline:auto}
.academy-end .hero-actions{justify-content:center}
@media (prefers-reduced-motion:reduce){.academy-end .hero-copy h1 span{opacity:1;transform:none;filter:none}}
/* the closing copy uses an h2 that looks like the opening h1 */
.academy-end .hero-copy h2.hero-h{margin:1.3rem 0 0;max-width:none;font:800 clamp(2.2rem,6vw,5.2rem)/.98 "Bricolage Grotesque",sans-serif;text-transform:uppercase;letter-spacing:-.04em;color:#f3f2ee}
.academy-end .hero-copy h2.hero-h span{display:block;white-space:nowrap}
.academy-end .hero-copy h2.hero-h i{font-style:normal;font-family:"Bricolage Grotesque",sans-serif;font-weight:700;text-transform:none;letter-spacing:-.025em;font-size:.62em;vertical-align:.12em;margin-left:.08em;color:var(--c)}
.academy-end .hero-copy h2.hero-h span{opacity:0;transform:translateY(.4em);filter:blur(6px);transition:opacity .8s,transform .9s cubic-bezier(.2,.8,.2,1),filter .8s}
.academy-end .hero-copy h2.hero-h span:nth-child(2){transition-delay:.12s}.academy-end .hero-copy h2.hero-h span:nth-child(3){transition-delay:.24s}.academy-end .hero-copy h2.hero-h span:nth-child(4){transition-delay:.36s}
.academy-end.is-in .hero-copy h2.hero-h span{opacity:1;transform:none;filter:none}
@media (max-width:640px){.academy-end .hero-copy h2.hero-h{font-size:clamp(1.6rem,8.6vw,2.6rem)}}
/* founder: CELTA card carries the Cambridge CELTA logo */
.creds li.cred-logo b{line-height:0}
.creds li.cred-logo img{display:block;height:clamp(40px,4.4vw,54px);width:auto;max-width:100%;opacity:.95}
/* logo tile with the name written under an emblem (IIT Delhi), sized like the IIT Bombay tile */
.logo.logo-cap{align-content:center;gap:6px}
.logo.logo-cap img{max-height:64px}
.logo.logo-cap small{font:700 .66rem/1 "DM Sans",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#55544f}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
