/* NEA stage introductions: same two looks as the NEA practice books.
   theme-sketch = GCSE (cream cartridge paper, graphite, Caveat)   theme-studio = A level (drafting grid, IBM Plex) */
@import url('../../../fonts/fonts.css');
.theme-sketch { --paper:#efe6d2; --ink:#2c2c30; --soft:#6b6962; --acc:#2f5a3c; --acc2:#9a4a2c; --line:rgba(44,44,48,.45); --card:rgba(255,255,255,.35);
  --hand:'Caveat','Segoe Print',cursive; --body:400 clamp(24px, 2.25vw, 40px)/1.25 var(--hand); --h1:700 clamp(48px, 4.6vw, 80px)/1.02 var(--hand); --good:#2f5a3c; --bad:#9a4a2c; --lab:700 30px var(--hand); }
.theme-studio { --paper:#f6f6f2; --ink:#1f2328; --soft:#5f6670; --acc:#b0402a; --acc2:#24539c; --line:rgba(31,35,40,.3); --card:#fff;
  --hand:'IBM Plex Sans','Helvetica Neue',Arial,sans-serif; --body:400 clamp(18px, 1.75vw, 30px)/1.45 var(--hand); --h1:600 clamp(34px, 3.3vw, 58px)/1.08 var(--hand); --good:#2f7d4a; --bad:#b0402a; --lab:600 15px 'IBM Plex Mono',monospace; }
:root { --mono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  --tooth:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .22 0 0 0 0 .17 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { background: var(--paper); color: var(--ink); font: var(--body); -webkit-user-select: none; user-select: none; }
.theme-sketch { background-image: var(--tooth), radial-gradient(140% 90% at 60% 40%, transparent 60%, rgba(120,95,55,.14)); background-size: 220px 220px, 100% 100%; }
.theme-studio { background-image: linear-gradient(rgba(36,83,156,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(36,83,156,.06) 1px, transparent 1px), linear-gradient(rgba(36,83,156,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(36,83,156,.11) 1px, transparent 1px); background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px; }
#deck { position: fixed; inset: 0; }
.slide { position: absolute; inset: 0 0 54px; padding: 3.2vh 4vw 2vh; display: none; flex-direction: column; overflow: hidden; }
.slide.on { display: flex; animation: in .35s ease; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.kick { font: 600 15px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
h1 { font: var(--h1); margin: 6px 0 2.4vh; }
.sub { margin: -1vh 0 2vh; color: var(--soft); }
b { font-weight: 700; } .theme-studio b { font-weight: 600; }
/* reveal-on-tap items */
[class*=" s"].term, .look li, .pg, .nt, .check li, .cmp .card { transition: opacity .3s, transform .3s; }
.term:not(.shown), .look li:not(.shown), .pg:not(.shown), .check li:not(.shown), .cmp .card:not(.shown) { opacity: .08; transform: translateY(6px); }
/* title */
.title-slide { margin: auto 0; max-width: 1200px; }
.big-chip { display: inline-block; font: 600 18px var(--mono); letter-spacing: .14em; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 3px; }
h1.t { font-size: clamp(54px, 8vw, 110px); margin: 18px 0 26px; }
.theme-studio h1.t { font-size: clamp(42px, 5.6vw, 78px); }
.facts { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.facts div { border: 2px solid var(--line); border-radius: 10px; padding: 10px 18px; background: var(--card); }
.facts b { display: block; font: 600 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.lead { max-width: 980px; } .nextup { font: 600 18px var(--mono); color: var(--acc); }
/* cards */
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3vw; align-items: start; }
.card { border: 2px solid var(--line); border-radius: 14px; padding: 22px 26px; background: var(--card); }
.theme-sketch .card { border-style: dashed; }
.card.big { font-size: 1.12em; }
.lab { font: var(--lab); color: var(--acc); margin-bottom: 6px; text-transform: none; }
.theme-studio .lab { letter-spacing: .12em; text-transform: uppercase; }
.card.why { border-color: var(--acc); }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px 22px; }
.term { border-left: 5px solid var(--acc); padding: 6px 14px; background: var(--card); border-radius: 0 10px 10px 0; }
.term > b { display: block; color: var(--acc); font-size: 1.05em; } .term > span { display: block; }
.look { margin: 0; padding-left: 1.2em; } .look li { margin: 0 0 10px; } .look li::marker { content: '✓  '; color: var(--acc); font-weight: 700; }
.band { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; font-size: .8em; }
.band div { flex: 1; min-width: 220px; border-top: 4px solid var(--line); padding-top: 6px; } .band b { display: block; color: var(--acc2); }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; }
.cmp .weak { border-color: var(--bad); } .cmp .weak .lab { color: var(--bad); } .cmp .strong .lab { color: var(--good); } .cmp .strong { border-color: var(--good); }
.why-w { font-size: .85em; color: var(--soft); margin: 14px 0 0; border-top: 1px dashed var(--line); padding-top: 10px; }
.pages { display: flex; gap: 18px; flex-wrap: wrap; }
.pg { width: 210px; } .pg b { display: block; margin-top: 8px; line-height: 1.1; } .pg small { display: block; color: var(--soft); font-size: .78em; line-height: 1.25; }
.thumb { width: 210px; height: 148px; border: 2px solid var(--line); border-radius: 4px; background: var(--card); position: relative; box-shadow: 4px 4px 0 rgba(0,0,0,.08); }
.thumb span { position: absolute; left: 10px; top: 6px; font: 700 34px var(--hand); color: var(--acc); }
.check { list-style: none; padding: 0; margin: 0; } .check li { padding-left: 52px; position: relative; margin: 0 0 14px; }
.check li::before { content: ''; position: absolute; left: 0; top: .15em; width: 30px; height: 30px; border: 3px solid var(--ink); border-radius: 4px; }
.check li.shown::after { content: '✓'; position: absolute; left: 4px; top: -.18em; font: 700 40px var(--hand); color: var(--acc); }
.tips { display: flex; gap: 18px; margin-top: auto; flex-wrap: wrap; }
.tips div { flex: 1; min-width: 300px; font: 700 28px/1.15 var(--hand); color: var(--acc); transform: rotate(-1deg); }
.theme-studio .tips div { font: 400 17px/1.45 var(--mono); transform: none; border-left: 3px solid var(--acc); padding-left: 12px; color: var(--ink); }
/* example A3 sheet with numbered notes */
.ex { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 34%; gap: 2vw; }
.a3-wrap { min-height: 0; position: relative; }
.a3 { position: absolute; left: 0; top: 0; width: 1600px; height: 1131px; transform-origin: 0 0; background: var(--paper); border-radius: 4px; box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.08); overflow: hidden; font: 400 26px/1.25 var(--hand); }
.theme-sketch .a3 { background-image: var(--tooth); background-size: 220px 220px; }
.theme-studio .a3 { font: 400 19px/1.4 var(--hand); background-image: linear-gradient(rgba(36,83,156,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(36,83,156,.06) 1px, transparent 1px); background-size: 20px 20px; }
.a3-title { position: absolute; left: 40px; top: 28px; right: 40px; font: 700 52px var(--hand); }
.theme-studio .a3-title { font: 600 36px var(--hand); }
.b-chip { display: inline-block; vertical-align: 10px; margin-right: 14px; font: 600 15px var(--mono); letter-spacing: .1em; background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 3px; }
.blk { position: absolute; border: 2px solid var(--line); border-radius: 10px; padding: 12px 16px; background: rgba(255,255,255,.28); overflow: hidden; }
.theme-sketch .blk { border-style: dashed; }
.blk.note { background: #f6e58d; border: 0; transform: rotate(-1.5deg); box-shadow: 3px 4px 0 rgba(0,0,0,.12); }
.theme-studio .blk.note { background: #fff4c2; }
.bt { font-weight: 700; color: var(--acc); margin-bottom: 4px; } .blk p { margin: 0; } .blk ol { margin: 0; padding-left: 1.2em; }
.blk table { border-collapse: collapse; width: 100%; font-size: .9em; } .blk th, .blk td { border: 1.5px solid var(--line); padding: 3px 8px; text-align: left; vertical-align: top; } .blk th { color: var(--acc); }
.ph { position: absolute; inset: 44px 14px 14px; border: 2px solid var(--line); background: repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 10px, transparent 10px 20px); display: grid; place-items: center; text-align: center; color: var(--soft); padding: 10px; }
.blk .doodle { width: 100%; height: calc(100% - 50px); color: var(--ink); opacity: .78; }
.ann { position: absolute; left: 14px; right: 14px; bottom: 10px; font-size: .9em; color: var(--acc2); }
.pin { position: absolute; right: 8px; top: 8px; width: 46px; height: 46px; border-radius: 50%; background: var(--acc2); color: #fff; font: 700 26px/46px var(--mono); text-align: center; font-style: normal; opacity: 0; transform: scale(.4); transition: all .3s; }
.pin.shown { opacity: 1; transform: none; } .pin.now { box-shadow: 0 0 0 8px rgba(154,74,44,.3); }
.blk:has(.pin.now) { outline: 5px solid var(--acc2); outline-offset: 3px; }
.notes { overflow: auto; } .nlab { font: 600 14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.nt { display: none; gap: 14px; margin-bottom: 14px; }
.nt.now { display: flex; animation: in .3s ease; }
.nt > i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--acc2); color: #fff; font: 700 26px/46px var(--mono); text-align: center; font-style: normal; }
.nt b { display: block; font-size: 1.05em; margin-bottom: 6px; } .nt span { display: block; }
/* controls */
.ctl { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; display: flex; align-items: center; gap: 16px; padding: 0 18px; font: 600 14px var(--mono); background: rgba(0,0,0,.05); }
.ctl a { color: var(--ink); text-decoration: none; } .dots { flex: 1; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); cursor: pointer; } .dots i.on { background: var(--acc); transform: scale(1.3); }
.fs { font: 600 20px var(--mono); background: none; border: 2px solid var(--line); border-radius: 8px; color: var(--ink); width: 40px; height: 36px; }
@media (max-width: 900px) { .cols, .cmp, .ex { grid-template-columns: 1fr; } }

.zoom { position: relative; overflow: hidden; margin: 0 0 14px; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.18); background: var(--paper); }
.theme-sketch .zoom { background-image: var(--tooth); background-size: 220px 220px; }
.zoom .blk { position: relative !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; min-height: 90px; transform: none !important; outline: none !important; }
.zoom .blk:has(.ph), .zoom .blk:has(.doodle) { height: 34vh !important; }
.zoom .blk.note { transform: rotate(-1deg) !important; }
.zoom .pin { display: none; }
.theme-sketch .zoom { font: 400 clamp(22px, 2.1vw, 34px)/1.2 var(--hand); } .theme-studio .zoom { font: 400 clamp(15px, 1.25vw, 21px)/1.4 var(--hand); }
.zoom { box-shadow: none; background: none !important; overflow: visible; }
