/* English Stage 8: 8 chapters */
(() => {
const { mc, inp, ord } = window.QH;
const E = 'english';
const D = [['Complete every round', s => s.done]];
BOOK.push(
{ id: 'e1', subj: E, n: 1, title: 'Word power: vocabulary & spelling', strand: 'Word skills', codes: ['8Rv.01', '8Ww.01', '8Ww.02', '8Wv.01'],
  secs: [
    { n: '1.1', t: 'Word families & roots', w: 'wordbuild', intro: 'Build real words by joining a prefix, a root and a suffix. Each part has its own meaning!', tasks: [['Build 5 real words', s => s.found >= 5], ['Use at least 3 different roots', s => s.roots >= 3]], extra: [['match', { h: ['Prefix', 'Meaning'], pairs: [['un- / dis-', 'not'], ['re-', 'again / back'], ['pre-', 'before'], ['trans-', 'across'], ['sub-', 'under'], ['inter-', 'between']] }, 'Prefix meanings']],
      notice: [<>A <b>root</b> carries the main meaning: <i>port</i> = carry, <i>spect</i> = look.</>, <>A <b>prefix</b> goes at the start and a <b>suffix</b> at the end; each changes the meaning.</>, <>Knowing roots helps you <b>work out</b> new words: trans + port = carry across.</>],
      check: [mc('"Spectator" contains the root "spect". What does it mean?', ['carry', 'look', 'write', 'hear'], 1, 'A spectator is a person who looks / watches.'), mc('What does the prefix "re-" mean in "rewrite"?', ['not', 'again', 'before', 'under'], 1, 'Rewrite = write again.')] },
    { n: '1.2', t: 'Meaning from context', w: 'clue', cfg: { label: 'Word detective', rounds: [
      { t: 'The ancient castle was so dilapidated that its walls were crumbling and the roof had fallen in.', word: 'dilapidated', ev: ['walls were crumbling', 'roof had fallen in'], q: 'What does "dilapidated" mean?', opts: ['brand new', 'falling apart', 'very tall', 'famous'], a: 1, why: 'Crumbling walls and a fallen roof are clues that it is in ruins.' },
      { t: 'After running the marathon, Priya was famished; she ate three plates of pasta without stopping.', word: 'famished', ev: ['ate three plates of pasta'], q: 'What does "famished" mean?', opts: ['very hungry', 'very tired', 'very happy', 'very cold'], a: 0, why: 'Eating three plates shows she was extremely hungry.' },
      { t: 'The cat was usually timid, but tonight it was audacious, leaping straight onto the table to steal the fish.', word: 'audacious', ev: ['but', 'leaping straight onto the table'], q: 'What does "audacious" mean?', opts: ['shy', 'sleepy', 'bold', 'hungry'], a: 2, why: '"But" signals a contrast with timid, so audacious means bold.' },
      { t: 'The instructions were so ambiguous that half the class built a tower and the other half built a bridge.', word: 'ambiguous', ev: ['half the class built a tower', 'other half built a bridge'], q: 'What does "ambiguous" mean?', opts: ['very clear', 'unclear: open to more than one meaning', 'very long', 'written in French'], a: 1, why: 'People understood them in two different ways.' } ] },
      intro: 'Be a word detective: use the clues around a tricky word to work out what it means.', tasks: D,
      notice: [<>Look for <b>clues</b> in the words around the unknown word.</>, <>Signal words help: <b>but / however</b> show a contrast; <b>because / so</b> show a cause.</>, <>Test your guess by <b>swapping</b> it into the sentence. Does it still make sense?</>],
      check: [mc('"The desert was arid; no rain had fallen for years." Arid means…', ['very wet', 'very dry', 'very cold', 'very busy'], 1, 'No rain for years = very dry.'), mc('Which word signals a contrast?', ['because', 'however', 'so', 'and'], 1, '"However" introduces an opposite idea.')] },
    { n: '1.3', t: 'Spelling rules for suffixes', w: 'suffixlab', intro: 'Feed words into the suffix machine. Pick the spelling rule it needs.', tasks: D, extra: [['sort', { bins: ['Double the consonant', 'Drop the e', 'Change y to i'], items: [['swim → swimming', 0], ['make → making', 1], ['cry → cried', 2], ['stop → stopped', 0], ['love → lovely? (no, keeps e!)', 1], ['funny → funnier', 2]] }, 'Sort by rule']],
      notice: [<><b>Drop the e</b> before a vowel suffix: hope → hoping.</>, <><b>Double</b> the last consonant after a short vowel: run → running.</>, <><b>y → i</b> after a consonant: happy → happiness (but cry → crying keeps y).</>],
      check: [inp('Add -ing to "make".', 'making', 'Drop the e before -ing.'), inp('Add -ness to "lazy".', 'laziness', 'Consonant + y: change y to i.')] },
    { n: '1.4', t: 'Precise vocabulary', w: 'upgrade', intro: 'Upgrade the dull words to precise, powerful ones and listen to the difference.', tasks: [['Upgrade all 5 dull words', s => s.upgraded >= 5]], extra: [['sort', { bins: ['Ways to walk', 'Ways to speak'], items: [['stroll', 0], ['whisper', 1], ['stagger', 0], ['mutter', 1], ['march', 0], ['bellow', 1], ['tiptoe', 0], ['stammer', 1]] }, 'Synonym sort']],
      notice: [<>Dull words (nice, went, said, big) tell; <b>precise</b> words <b>show</b>.</>, <><b>Synonyms</b> have similar meanings but different <b>shades</b>: crept ≠ raced.</>, <>Choose words that fit the <b>mood</b> you want to create.</>],
      check: [mc('Which verb best shows someone moving quietly and secretly?', ['ran', 'crept', 'went', 'jumped'], 1, 'Crept = moved slowly and quietly.'), mc('Which is the most precise word for "said loudly in anger"?', ['said', 'bellowed', 'whispered', 'asked'], 1, 'Bellowed = shouted loudly.')] },
  ],
  practice: [mc('Prefix meaning "not"', ['re-', 'un-', 'pre-', 'sub-'], 1, 'Unhappy = not happy.'), inp('Add -ed to "stop".', 'stopped', 'Short vowel + one consonant: double it.'), inp('Add -ful to "beauty".', 'beautiful', 'y → i.'), mc('"Port" means…', ['look', 'carry', 'write', 'go'], 1, 'Transport, portable.')],
  challenge: [mc('"The speech was so verbose that the audience fell asleep." Verbose most likely means…', ['too short', 'using too many words', 'very funny', 'very loud'], 1, 'Context: the audience got bored.'), inp('Write the word that means "able to be seen" using vis + suffix.', 'visible', 'vis (see) + -ible.'), mc('Why might a writer choose "stagger" instead of "walk"?', ['It is shorter', 'It shows the person is weak, hurt or tired', 'It rhymes', 'It is formal'], 1, 'Precise verbs show how.')],
  recap: { points: ['Roots carry meaning; prefixes and suffixes change it.', 'Use context clues and signal words to work out new words.', 'Suffix rules: drop e, double the consonant, y → i.', 'Choose precise words that show, not tell.'], terms: [['Root', 'The core part of a word.'], ['Prefix / suffix', 'Added to the start / end of a word.'], ['Synonym', 'A word with a similar meaning.']] } },

{ id: 'e2', subj: E, n: 2, title: 'Grammar and punctuation', strand: 'Grammar', codes: ['8Rg.01', '8Wg.01', '8Wg.02', '8Wg.03'],
  secs: [
    { n: '2.1', t: 'Word classes', w: 'wordtag', intro: 'Pick a coloured pen and tag nouns, verbs, adjectives and adverbs in each sentence.', tasks: [['Tag 2 sentences correctly', s => s.solved >= 2], ['Tag all 3 sentences', s => s.solved >= 3]],
      notice: [<><b>Noun</b>: person, place, thing or idea. <b>Verb</b>: action or state.</>, <><b>Adjective</b> describes a noun; <b>adverb</b> describes a verb (often ends in -ly).</>, <>A word's class depends on its <b>job</b> in the sentence.</>],
      check: [mc('In "She sang beautifully", which word is the adverb?', ['She', 'sang', 'beautifully', 'none'], 2, 'It describes how she sang.'), mc('Which is an abstract noun?', ['table', 'courage', 'London', 'dog'], 1, 'An idea or feeling.')] },
    { n: '2.2', t: 'Sentence types for effect', w: 'sentbuild', intro: 'Build the sentence by adding clauses and connectives. Watch the sentence type change.', tasks: [['Make a compound sentence', s => s.type === 'Compound'], ['Make a complex sentence', s => s.type === 'Complex'], ['Make a compound-complex sentence', s => s.type === 'Compound-complex']],
      notice: [<><b>Simple</b>: one main clause. <b>Compound</b>: two main clauses + and / but / so.</>, <><b>Complex</b>: main clause + subordinate clause (when, because, although…).</>, <>Short sentences create <b>tension</b>; long ones build <b>detail</b>.</>],
      check: [mc('"When the bell rang, we ran outside." This sentence is…', ['simple', 'compound', 'complex', 'a fragment'], 2, 'It has a subordinate clause (When the bell rang).'), mc('Which word joins two MAIN clauses?', ['because', 'although', 'but', 'when'], 2, 'Coordinating conjunction.')] },
    { n: '2.3', t: 'Punctuation for meaning', w: 'punct', intro: 'Change the end punctuation and listen to the tone change. Then see how commas change meaning!', tasks: [['Try all 4 sentence endings', s => s.ends >= 4], ['See both versions of 2 comma sentences', s => s.commas >= 2]], extra: [['match', { h: ['Punctuation', 'Job'], pairs: [['Comma ,', 'Separates items or clauses'], ['Semicolon ;', 'Joins two related main clauses'], ['Colon :', 'Introduces a list or explanation'], ['Apostrophe \'', 'Shows possession or a missing letter'], ['Dash –', 'Adds a dramatic aside'], ['Brackets ( )', 'Adds extra information']] }, 'Punctuation jobs']],
      notice: [<>End marks show <b>tone</b>: . calm, ! strong feeling, ? question, … suspense.</>, <><b>Commas</b> change meaning: “Let's eat, Grandma!” saves Grandma.</>, <><b>Semicolons</b> join related sentences; <b>colons</b> introduce lists or explanations.</>],
      check: [mc('Which uses a semicolon correctly?', ['I like; apples.', 'It was late; we went home.', 'Dear; Sir', 'Yes; please'], 1, 'Two related main clauses.'), mc('Which shows possession correctly?', ["the dogs' bone (one dog)", "the dog's bone (one dog)", "the dogs bone's", 'the dog,s bone'], 1, "One dog: dog's.")] },
  ],
  practice: [mc('"Quickly" is…', ['adjective', 'adverb', 'noun', 'verb'], 1, 'It describes a verb.'), mc('Which is a complex sentence?', ['I ran.', 'I ran and I won.', 'Because I trained, I won.', 'Run!'], 2, 'Subordinate clause.'), mc('"Its" or "it\'s": ___ raining.', ['Its', "It's"], 1, 'It is raining.'), mc('A colon is used to…', ['end a question', 'introduce a list', 'show possession', 'join names'], 1, 'e.g. You need: a pen, a ruler.')],
  challenge: [mc('"He waited. Silence. Then a scream." Why use such short sentences?', ['To save space', 'To build tension and shock', 'Because the writer forgot', 'To list facts'], 1, 'Short sentences speed up the pace and build suspense.'), mc('Correct the comma splice: "I was tired, I went to bed."', ['I was tired, I went, to bed.', 'I was tired, so I went to bed.', 'I was, tired I went to bed.', 'I was tired I went to bed.'], 1, 'Add a conjunction (or use a full stop / semicolon).'), mc('Why might a writer use a dash?', ['To end the text', 'To add a dramatic pause or aside', 'To start a list', 'To ask a question'], 1, 'e.g. It was there – waiting.')],
  recap: { points: ['Word classes: noun, verb, adjective, adverb, pronoun…', 'Simple, compound, complex sentences create different effects.', 'Punctuation controls tone and meaning.'], terms: [['Clause', 'A group of words with a verb.'], ['Subordinate clause', 'A clause that cannot stand alone.'], ['Comma splice', 'Two sentences wrongly joined by a comma.']] } },

{ id: 'e3', subj: E, n: 3, title: 'Reading between the lines', strand: 'Reading', codes: ['8Ri.04', '8Ri.03', '8Ri.05', '8Ri.07'],
  secs: [
    { n: '3.1', t: 'Inference: finding hidden meaning', w: 'clue', cfg: { label: 'Inference detective', rounds: [
      { t: 'Maya slammed the door, threw her bag on the floor and stomped up the stairs without saying a word.', ev: ['slammed the door', 'threw her bag', 'stomped'], q: 'How is Maya feeling?', opts: ['excited', 'angry', 'sleepy', 'scared'], a: 1, why: 'Slamming, throwing and stomping are actions that show anger.' },
      { t: 'Grandpa\'s hands trembled as he opened the old letter. A single tear rolled down his cheek and he smiled softly.', ev: ['hands trembled', 'single tear', 'smiled softly'], q: 'What can we infer about the letter?', opts: ['It is a bill', 'It brings back emotional, happy-sad memories', 'It is boring', 'It is from school'], a: 1, why: 'Tears plus a soft smile suggest mixed emotions: nostalgia.' },
      { t: 'The classroom fell silent. Every eye turned to Leo. His face went bright red and he stared at his shoes.', ev: ['face went bright red', 'stared at his shoes'], q: 'How does Leo feel?', opts: ['proud', 'embarrassed', 'bored', 'hungry'], a: 1, why: 'Blushing and looking down show embarrassment.' },
      { t: 'The garden was overgrown with weeds, the windows were boarded up, and a FOR SALE sign leaned against the gate.', ev: ['overgrown with weeds', 'boarded up', 'FOR SALE sign'], q: 'What can we infer about the house?', opts: ['A family lives there happily', 'It has been empty for a long time', 'It is a school', 'It is brand new'], a: 1, why: 'Weeds, boarded windows and the sign suggest it is abandoned.' } ] },
      intro: 'Writers don\'t always tell you everything. Use the clues (evidence) to infer what is really going on.', tasks: D,
      notice: [<><b>Explicit</b> information is stated directly; <b>implicit</b> meaning is hinted.</>, <><b>Inference</b> = clues in the text + what you already know.</>, <>Always back up an inference with <b>evidence</b> from the text.</>],
      check: [mc('"He gripped the steering wheel and checked the clock again and again." He is probably…', ['relaxed', 'late or anxious', 'asleep', 'bored'], 1, 'Gripping and clock-checking suggest worry.'), mc('Inference means…', ['copying the text', 'working out what is suggested using clues', 'summarising', 'spelling'], 1, 'Reading between the lines.')] },
    { n: '3.2', t: 'Fact, opinion and bias', w: 'highlight', cfg: { pens: [['fact', 'Fact', 'oklch(0.6 0.15 250)'], ['op', 'Opinion', 'oklch(0.65 0.18 30)']], chunks: ['The new skate park ', ['opened on Saturday', 'fact', 'It can be checked: it happened on a date.'], ' and ', ['cost £50,000', 'fact', 'A number that can be proved.'], '. It is ', ['the best thing to happen to our town', 'op', 'A personal judgement; others may disagree.'], '. ', ['Over 300 people visited', 'fact', 'This can be counted.'], ' on the first day. ', ['Everyone will love it', 'op', 'A prediction and an exaggeration: "everyone"!'], ', and ', ['it is far more exciting than the boring old park', 'op', 'Loaded words (exciting, boring) show bias.'], '.'] }, intro: 'Use the highlighter pens to sort facts (can be proved) from opinions (what someone thinks).', tasks: [['Find every fact and opinion', s => s.done]], extra: [['sort', { bins: ['Fact', 'Opinion'], items: [['Paris is the capital of France.', 0], ['Paris is the most beautiful city.', 1], ['Water boils at 100 °C.', 0], ['Maths is boring.', 1], ['The film lasts 2 hours.', 0], ['The film was too long.', 1]] }, 'Fact or opinion?']],
      notice: [<>A <b>fact</b> can be checked and proved true. An <b>opinion</b> is what someone thinks or feels.</>, <><b>Bias</b> means only showing one side, often with loaded words (amazing, awful).</>, <>Watch for <b>generalisations</b>: everyone, always, never.</>],
      check: [mc('Which is an opinion?', ['The match starts at 3 pm.', 'Football is the best sport.', 'There are 11 players in a team.', 'The stadium holds 40,000.'], 1, '"Best" is a judgement.'), mc('A biased article…', ['shows both sides fairly', 'favours one side', 'only uses numbers', 'has no title'], 1, 'One-sided.')] },
    { n: '3.3', t: 'Summarising main points', w: 'summary', cfg: { limit: 45, text: [['Bees are vital to our food supply.', 1], ['A honeybee can fly at about 25 km per hour.', 0], ['They pollinate around one third of the crops we eat.', 1], ['My uncle keeps three beehives in his garden.', 0], ['Sadly, bee numbers are falling because of pesticides and habitat loss.', 1], ['Some bees are black, while others are yellow and brown.', 0], ['Planting wildflowers and avoiding pesticides can help bees survive.', 1]] }, intro: 'Choose only the main points to make a short summary. Leave out examples and small details.', tasks: [['Make a perfect summary', s => s.done]],
      notice: [<>A <b>summary</b> gives only the <b>main points</b>, in your own words.</>, <>Leave out <b>examples, details</b> and personal stories.</>, <>Keep it <b>short</b>: stick to the word limit.</>],
      check: [mc('Which belongs in a summary about recycling?', ['My mum recycles every Tuesday.', 'Recycling reduces waste in landfill.', 'The bin is green.', 'I like recycling.'], 1, 'A main point.'), mc('A summary should…', ['copy every sentence', 'include all examples', 'give the main points briefly', 'add your opinion'], 2, 'Brief main points.')] },
  ],
  practice: [mc('"Her eyes sparkled and she bounced on her toes." She feels…', ['sad', 'excited', 'angry', 'tired'], 1, 'Sparkling eyes and bouncing show excitement.'), mc('Which is a fact?', ['Pizza is delicious.', 'Pizza comes from Italy.', 'Pizza is better than pasta.', 'Everyone loves pizza.'], 1, 'It can be checked.'), mc('Explicit means…', ['hinted', 'stated directly', 'hidden', 'made up'], 1, 'Clearly stated.')],
  challenge: [mc('"The holiday was a total disaster – our hotel was \'charming\'." Why is "charming" in quotation marks?', ['It is a name', 'It is sarcastic: the hotel was actually awful', 'It is a fact', 'It is French'], 1, 'Irony: the writer means the opposite.'), mc('An advert says "9 out of 10 dentists recommend…". What should a careful reader ask?', ['What colour is it?', 'How many dentists were asked, and who paid for the survey?', 'Is it on TV?', 'Nothing'], 1, 'Check the source for bias.'), mc('Which detail is LEAST important for a summary of a news story about a flood?', ['Homes were evacuated', 'Rivers burst their banks after heavy rain', 'The reporter wore a blue coat', 'Roads were closed'], 2, 'Irrelevant detail.')],
  recap: { points: ['Inference: clues + knowledge = hidden meaning, backed by evidence.', 'Facts can be proved; opinions are judgements; bias is one-sided.', 'Summaries keep only main points, briefly.'], terms: [['Inference', 'Working out what is suggested.'], ['Bias', 'Unfairly favouring one side.'], ['Implicit', 'Suggested, not stated.']] } },

{ id: 'e4', subj: E, n: 4, title: "The writer's craft", strand: 'Reading', codes: ['8Rv.02', '8Rv.04', '8Ri.10', '8Rs.01'],
  secs: [
    { n: '4.1', t: 'Language techniques', w: 'highlight', cfg: { pens: [['sim', 'Simile', 'oklch(0.6 0.15 250)'], ['met', 'Metaphor', 'oklch(0.6 0.17 300)'], ['per', 'Personification', 'oklch(0.62 0.15 150)'], ['all', 'Alliteration', 'oklch(0.68 0.17 50)'], ['ono', 'Onomatopoeia', 'oklch(0.62 0.18 25)']], chunks: ['The storm arrived at midnight. ', ['The wind howled', 'per', 'Wind can\'t really howl. It is given a human/animal action.'], ' through the trees and the rain fell ', ['like tiny bullets', 'sim', 'A comparison using "like".'], '. ', ['Crash!', 'ono', 'The word sounds like the noise it describes.'], ' A branch hit the window. The sky was ', ['a furious black ocean', 'met', 'Says the sky IS an ocean: no like/as.'], ', and ', ['the shivering shadows', 'all', 'Repeated "sh" sounds at the start of words.'], ' danced on the walls. ', ['The old house groaned', 'per', 'A house given a human sound.'], ' and the thunder ', ['boomed', 'ono', 'Sounds like thunder.'], ' ', ['as loud as a lion', 'sim', 'A comparison using "as … as".'], '.'] }, intro: 'Choose a highlighter and find each technique the writer used in this stormy description.', tasks: [['Find all 8 techniques', s => s.done]], extra: [['match', { h: ['Technique', 'Example'], pairs: [['Simile', 'as brave as a lion'], ['Metaphor', 'Time is a thief'], ['Personification', 'The sun smiled'], ['Alliteration', 'slippery slithering snake'], ['Onomatopoeia', 'buzz, sizzle, pop'], ['Hyperbole', "I've told you a million times"], ['Oxymoron', 'deafening silence']] }, 'Technique match-up']],
      notice: [<><b>Simile</b>: compares using like / as. <b>Metaphor</b>: says something IS something else.</>, <><b>Personification</b> gives human qualities to things. <b>Alliteration</b> repeats starting sounds.</>, <><b>Onomatopoeia</b> sounds like the noise. <b>Hyperbole</b> is huge exaggeration; an <b>oxymoron</b> puts opposites together.</>],
      check: [mc('"The classroom was a zoo." This is…', ['simile', 'metaphor', 'onomatopoeia', 'alliteration'], 1, 'No like/as: a metaphor.'), mc('"Bitter sweet" is an example of…', ['hyperbole', 'oxymoron', 'simile', 'personification'], 1, 'Two opposites together.')] },
    { n: '4.2', t: 'Analysing effect', w: 'analysis', cfg: { rounds: [
      { quote: 'The wind howled like a wounded wolf', techs: ['a simile', 'a metaphor', 'alliteration'], tech: 'a simile', effs: ['create a frightening, wild atmosphere', 'make the reader feel calm', 'list facts about wolves'], eff: 'create a frightening, wild atmosphere' },
      { quote: 'Her words were daggers', techs: ['a simile', 'a metaphor', 'onomatopoeia'], tech: 'a metaphor', effs: ['show how hurtful and sharp her words were', 'show she was holding a knife', 'make the scene funny'], eff: 'show how hurtful and sharp her words were' },
      { quote: 'Sizzle, crackle, pop went the campfire', techs: ['onomatopoeia', 'personification', 'a simile'], tech: 'onomatopoeia', effs: ['help the reader hear the scene, making it vivid', 'confuse the reader', 'show the fire is out'], eff: 'help the reader hear the scene, making it vivid' },
      { quote: "I've told you a million times", techs: ['hyperbole', 'an oxymoron', 'alliteration'], tech: 'hyperbole', effs: ['exaggerate to show frustration', 'give an exact number', 'describe a place'], eff: 'exaggerate to show frustration' } ] }, intro: 'Build a perfect analysis sentence: name the technique, then explain its effect on the reader.', tasks: D,
      notice: [<>Analysis = <b>technique</b> + <b>quotation</b> + <b>effect</b>.</>, <>Don't just spot it; explain <b>why</b> the writer used it.</>, <>Useful verbs: suggests, emphasises, creates, makes the reader feel…</>],
      check: [mc('Which is the best analysis?', ['There is a simile.', 'The simile "as cold as ice" emphasises how unfriendly the character is.', 'Ice is cold.', 'The writer uses words.'], 1, 'Technique + quote + effect.'), mc('Which verb is useful for explaining effect?', ['suggests', 'is', 'has', 'was'], 0, 'It shows interpretation.')] },
    { n: '4.3', t: 'Structure and viewpoint', w: 'viewpoint', intro: 'Switch the person (I / you / she) and tense (past / present). Watch how the same moment changes.', tasks: [['Try all 3 persons', (s, H) => ['1', '2', '3'].every(p => H('person', p))], ['Try both tenses', (s, H) => H('tense', 'past') && H('tense', 'present')]], extra: [['order', { rounds: [{ p: 'Put the parts of a typical story in order', items: ['Opening: introduce characters & setting', 'Build-up: something starts to happen', 'Problem / climax: the most exciting moment', 'Resolution: the problem is sorted', 'Ending: how things are now'] }] }, 'Story structure']],
      notice: [<><b>First person</b> (I) feels personal; <b>third person</b> (she/he) gives a wider view.</>, <><b>Present tense</b> feels immediate; <b>past tense</b> is the usual storytelling tense.</>, <>Writers structure texts deliberately: openings <b>hook</b>, climaxes build <b>tension</b>.</>],
      check: [mc('"I opened the door slowly." Which person?', ['first', 'second', 'third'], 0, '"I".'), mc('Why might a writer use present tense in a scary scene?', ['To slow it down', 'To make it feel like it is happening now', 'To show it is old', 'No reason'], 1, 'Immediacy.')] },
  ],
  practice: [mc('"The leaves danced in the wind." Technique?', ['simile', 'personification', 'onomatopoeia', 'hyperbole'], 1, 'Leaves can\'t dance.'), mc('"Peter Piper picked peppers." Technique?', ['alliteration', 'metaphor', 'oxymoron', 'simile'], 0, 'Repeated p.'), mc('A simile uses…', ['is / was', 'like / as', 'and / but', 'I / me'], 1, 'Comparison words.')],
  challenge: [mc('"The city never sleeps." What is the effect of this personification?', ['It shows the city is tired', 'It suggests the city is always busy and full of life', 'It describes a person', 'It is a fact'], 1, 'The city is given a human trait.'), mc('Why might a writer start a story at the climax, then go back in time?', ['To confuse', 'To hook the reader immediately with action', 'Because they forgot', 'To shorten it'], 1, 'A structural hook.'), mc('Pick the oxymoron.', ['loud noise', 'cold ice', 'clearly confused', 'happy smile'], 2, 'Clear and confused are opposites.')],
  recap: { points: ['Techniques: simile, metaphor, personification, alliteration, onomatopoeia, hyperbole, oxymoron.', 'Analysis = technique + quotation + effect.', 'Viewpoint and tense change how a story feels.'], terms: [['Metaphor', 'Saying something IS something else.'], ['Personification', 'Giving human qualities to non-human things.'], ['Effect', 'How the writing makes the reader think or feel.']] } },

{ id: 'e5', subj: E, n: 5, title: 'Non-fiction: inform & explain', strand: 'Writing', codes: ['8Ws.01', '8Ws.02', '8Ws.03', '8Wc.03'],
  secs: [
    { n: '5.1', t: 'Newspaper report features', w: 'labeldiag', cfg: { d: 'article' }, intro: 'Explore the features of a newspaper report, then label them from memory.', tasks: [['Explore every feature', s => s.explored >= s.total], ['Label every feature', s => s.labelled >= s.total]], extra: [['order', { rounds: [{ p: 'Put a news report in the right order', items: ['Headline', 'Standfirst (one-sentence summary)', 'Lead paragraph: who, what, where, when, why', 'Body: more details and quotes', 'Closing: what happens next'] }] }, 'Report order']],
      notice: [<>A report has a <b>headline</b>, <b>standfirst</b>, <b>lead paragraph</b> (5 Ws), <b>body</b> and <b>quotes</b>.</>, <>Written in the <b>third person</b>, mostly in the <b>past tense</b>.</>, <>Facts come in order of <b>importance</b>.</>],
      check: [mc('The 5 Ws are…', ['who, what, where, when, why', 'write, wait, walk, want, wish', 'what, which, who, whose, whom', 'none'], 0, 'Answered in the lead paragraph.'), mc('Why include a quotation?', ['To fill space', 'To make it believable with a real voice', 'To confuse', 'To add a joke'], 1, 'Evidence from a witness.')] },
    { n: '5.2', t: 'Linking ideas with connectives', w: 'connect', intro: 'Decide how two ideas are linked, then choose a connective to join them.', tasks: D, extra: [['sort', { bins: ['Adding', 'Contrasting', 'Cause & effect'], items: [['Furthermore', 0], ['However', 1], ['Therefore', 2], ['In addition', 0], ['Nevertheless', 1], ['As a result', 2], ['Moreover', 0], ['On the other hand', 1], ['Consequently', 2]] }, 'Sort the connectives']],
      notice: [<>Connectives show <b>how ideas link</b>: adding, contrasting, cause & effect, sequencing, emphasising.</>, <>Vary your sentence <b>openings</b>: not every sentence should start with "Then".</>, <>Put a comma after an opening connective: <b>However,</b> …</>],
      check: [mc('Which connective shows contrast?', ['Furthermore', 'However', 'Therefore', 'Firstly'], 1, 'Opposite idea.'), mc('"It rained. ___, the match was cancelled."', ['However', 'As a result', 'In addition', 'Firstly'], 1, 'Cause and effect.')] },
    { n: '5.3', t: 'Explaining with PEE paragraphs', w: 'pee', cfg: { rounds: [
      { q: 'Should school start later?', P: ['School should start later because teenagers need more sleep.', 'School is a building.', 'I like breakfast.'], E: ['Scientists say teenagers need 8–10 hours of sleep a night.', 'Some people have cereal.', 'It is sunny today.'], X: ['This shows a later start would help students be more alert and learn better.', 'That is why I like cereal.', 'This means it is morning.'] },
      { q: 'Is reading good for you?', P: ['Reading is good for you because it improves your vocabulary.', 'Books have pages.', 'Reading is a word.'], E: ['Studies show regular readers learn thousands of new words each year.', 'My book is red.', 'Libraries are quiet.'], X: ['This suggests reading helps you understand and express ideas more clearly.', 'So red is a good colour.', 'Therefore libraries are big.'] } ] }, intro: 'Choose the strongest Point, Evidence and Explanation to build a perfect paragraph.', tasks: D,
      notice: [<><b>P</b>oint: state your idea clearly.</>, <><b>E</b>vidence: back it up with a fact, statistic, example or quotation.</>, <><b>E</b>xplain: say how the evidence proves your point.</>],
      check: [mc('What does the "E" for Evidence give?', ['an opinion', 'a fact, example or quote', 'a question', 'a joke'], 1, 'Proof.'), mc('Which phrase is useful for explaining?', ['This shows that…', 'Once upon a time…', 'Dear Sir…', 'The end.'], 0, 'Links the evidence to the point.')] },
  ],
  practice: [mc('A headline should be…', ['very long', 'short and attention-grabbing', 'in the past tense only', 'a question always'], 1, 'Punchy.'), mc('"Moreover" is used to…', ['contrast', 'add an idea', 'end', 'ask'], 1, 'Adding.'), mc('In PEE, the second E means…', ['Example', 'Explain', 'End', 'Exclaim'], 1, 'Explain.')],
  challenge: [mc('Which would make the strongest evidence in a report about plastic?', ['I think plastic is bad.', 'Around 8 million tonnes of plastic enter the oceans every year.', 'Plastic is shiny.', 'My friend agrees.'], 1, 'A statistic.'), mc('Why are news reports written in the third person?', ['To sound objective and factual', 'To be personal', 'To confuse', 'Because it is shorter'], 0, 'Objectivity.'), mc('Which sentence opening varies the structure best?', ['Then…', 'And then…', 'Despite the heavy rain, …', 'So…'], 2, 'A fronted adverbial clause.')],
  recap: { points: ['News reports: headline, standfirst, lead (5 Ws), body, quotes.', 'Connectives link ideas: add, contrast, cause, sequence, emphasise.', 'PEE: Point, Evidence, Explain.'], terms: [['Standfirst', 'The summary sentence under a headline.'], ['Connective', 'A word linking ideas.'], ['Objective', 'Based on facts, not feelings.']] } },

{ id: 'e6', subj: E, n: 6, title: 'Persuasion and argument', strand: 'Writing', codes: ['8Wc.04', '8Wv.02', '8Wg.05', '8SLm.01'],
  secs: [
    { n: '6.1', t: 'Persuasive techniques (AFOREST)', w: 'persuade', cfg: { topic: 'Our school should ban single-use plastic', items: [['A', 'Alliteration', 'Repeated sounds make phrases memorable.', 'Plastic is a poisonous, polluting problem.'], ['F', 'Facts', 'Facts make your argument believable.', 'Every minute, a truckload of plastic enters the ocean.'], ['O', 'Opinion', 'Your strong view, stated confidently.', 'I firmly believe this is the right choice.'], ['R', 'Rhetorical question', 'A question that makes the audience think.', 'Do we really want our beaches buried in rubbish?'], ['E', 'Emotive language', 'Words that stir feelings.', 'Innocent turtles are choking on our careless waste.'], ['S', 'Statistics', 'Numbers sound convincing.', '90% of seabirds have plastic in their stomachs.'], ['T', 'Triple (rule of three)', 'Three ideas feel complete and powerful.', 'It is cheap, easy and essential.']] }, intro: 'Tap AFOREST letters to add persuasive techniques to the speech. Then listen to it!', tasks: [['Use all 7 techniques', s => s.used >= 7], ['Listen to your speech', s => s.played]], extra: [['sort', { bins: ['Rhetorical question', 'Emotive language', 'Rule of three'], items: [['Can we afford to wait?', 0], ['heartbreaking cruelty', 1], ['fast, fun and free', 2], ['Who would not want that?', 0], ['helpless, starving animals', 1], ['reduce, reuse, recycle', 2]] }, 'Spot the technique']],
      notice: [<><b>AFOREST</b>: Alliteration, Facts, Opinion, Rhetorical questions, Emotive language, Statistics, Triples.</>, <>Use <b>you</b> and <b>we</b> to involve the audience directly.</>, <>Mix <b>logic</b> (facts) and <b>emotion</b> (emotive words) for the strongest effect.</>],
      check: [mc('"Isn\'t it time we acted?" is…', ['a statistic', 'a rhetorical question', 'alliteration', 'a fact'], 1, 'It doesn\'t need an answer.'), mc('Which is emotive language?', ['The bin is green.', 'Defenceless puppies abandoned in the cold', 'The meeting is at 3.', 'There are 5 rooms.'], 1, 'Words chosen to stir feelings.')] },
    { n: '6.2', t: 'Formal and informal language', w: 'formality', intro: 'Slide from a text to a friend all the way to a formal letter. Watch the language change.', tasks: [['See all three levels', (s, H) => [0, 1, 2].every(l => H('lvl', l))], ['Try all three messages', (s, H) => [0, 1, 2].every(m => H('mi', m))]], extra: [['labeldiag', { d: 'letter' }, 'Formal letter layout'], ['sort', { bins: ['Formal', 'Informal'], items: [['I would be grateful if…', 0], ['Hey!', 1], ['Yours sincerely', 0], ["gonna", 1], ['Furthermore,', 0], ['lol', 1], ['I am writing to…', 0], ["can't", 1]] }, 'Formal or informal?']],
      notice: [<>Choose formality by <b>audience</b> and <b>purpose</b>.</>, <><b>Formal</b>: no slang, no contractions (I am, do not), polite set phrases.</>, <>Formal letters: <b>Dear Mr X → Yours sincerely</b>; <b>Dear Sir/Madam → Yours faithfully</b>.</>],
      check: [mc('Which is formal?', ["I'm gonna complain.", 'I wish to make a complaint.', 'This is rubbish!', 'Ugh.'], 1, 'Formal register.'), mc('A letter starting "Dear Sir or Madam" ends with…', ['Yours sincerely', 'Yours faithfully', 'Love from', 'Cheers'], 1, 'Name unknown → faithfully.')] },
  ],
  practice: [mc('The T in AFOREST stands for…', ['Title', 'Triple / rule of three', 'Tense', 'Topic'], 1, 'Three ideas.'), mc('Which is a statistic?', ['Most people agree', '75% of students walk to school', 'It is amazing', 'We must act'], 1, 'A number.'), mc('Remove the contraction: "We don\'t agree."', ['We do not agree.', 'We dont agree.', 'We doesn\'t agree.', 'We not agree.'], 0, 'Formal.')],
  challenge: [mc('Which sentence combines a rhetorical question AND emotive language?', ['Plastic is bad.', 'How can we ignore the cries of drowning sea creatures?', '50% use plastic.', 'I think so.'], 1, 'Both techniques.'), mc('Why should a persuasive speech include a counter-argument?', ['To lose the argument', 'To show you have considered other views, then prove them wrong', 'To be shorter', 'It should not'], 1, 'It makes your argument stronger.'), mc('Most suitable for a letter to the head teacher:', ['Hiya, sort the lunches out!', 'I am writing to suggest improvements to school lunches.', 'lunches r bad', 'Yo!'], 1, 'Formal and clear.')],
  recap: { points: ['AFOREST techniques persuade with logic and emotion.', 'Formality depends on audience and purpose.', 'Formal letters follow a set layout.'], terms: [['Rhetorical question', 'A question asked for effect.'], ['Emotive language', 'Words chosen to make readers feel strongly.'], ['Register', 'The level of formality.']] } },

{ id: 'e7', subj: E, n: 7, title: 'Creative writing', strand: 'Writing', codes: ['8Wc.01', '8Wc.05', '8Wc.06', '8Wp.04'],
  secs: [
    { n: '7.1', t: 'Planning a story', w: 'storyarc', cfg: { events: [['Mia moves to a quiet seaside village.', 0], ['She finds a strange map hidden in her attic.', 1], ['Following the map, she explores the dark sea caves.', 1], ['The tide rushes in and she is trapped!', 2], ['She climbs out and is rescued by a fisherman.', 3], ['Mia hangs the map on her wall: her first adventure.', 4]] }, intro: 'Place each event on the story arc. Where does the tension rise, peak and fall?', tasks: [['Build the story arc correctly', s => s.done]],
      notice: [<>Stories rise in tension to a <b>climax</b>, then fall to a <b>resolution</b>.</>, <>The <b>opening</b> introduces character and setting; the <b>build-up</b> adds a problem.</>, <>Plan before writing: it keeps your story <b>focused</b>.</>],
      check: [mc('The most exciting, tense part of a story is the…', ['opening', 'climax', 'ending', 'title'], 1, 'The peak.'), mc('The resolution is where…', ['the problem is solved', 'characters are introduced', 'the title appears', 'nothing happens'], 0, 'Things are sorted.')] },
    { n: '7.2', t: 'Show, don\'t tell', w: 'upgrade', intro: 'Upgrade dull words so the reader can picture the scene, then listen to your new sentence.', tasks: [['Upgrade all 5 words', s => s.upgraded >= 5]], extra: [['match', { h: ['Telling', 'Showing'], pairs: [['She was scared.', 'Her hands shook and her breath came in short gasps.'], ['He was angry.', 'He clenched his fists and his face turned crimson.'], ['It was cold.', 'Frost crunched underfoot and our breath hung like smoke.'], ['They were happy.', 'They danced around the kitchen, laughing until they cried.']] }, 'Show, don\'t tell']],
      notice: [<><b>Telling</b>: "She was sad." <b>Showing</b>: "A tear slid down her cheek."</>, <>Use the <b>senses</b>: sight, sound, smell, touch, taste.</>, <>Show feelings through <b>actions</b>, body language and speech.</>],
      check: [mc('Which SHOWS nervousness?', ['He was nervous.', 'He chewed his nails and tapped his foot.', 'He felt nervous.', 'Nervous.'], 1, 'Actions show it.'), mc('Which sense does "the smoky smell of bonfires" use?', ['sight', 'sound', 'smell', 'touch'], 2, 'Smell.')] },
    { n: '7.3', t: 'Proofreading and editing', w: 'proofread', intro: 'Find and fix all the mistakes in this weather report. Tap any word you think is wrong.', tasks: [['Fix all 8 mistakes', s => s.done]],
      notice: [<>Check <b>CUPS</b>: Capitals, Usage (grammar), Punctuation, Spelling.</>, <>Watch out for <b>homophones</b>: there / their / they're, its / it's.</>, <>Read your work <b>aloud</b>: mistakes are easier to hear.</>],
      check: [mc('"___ going to be late." (they are)', ['There', 'Their', "They're"], 2, "They're = they are."), mc('Which is correct?', ['should of', 'should have', 'should off', 'shoulda'], 1, 'Should have.')] },
  ],
  practice: [mc('The build-up in a story…', ['ends it', 'introduces the problem', 'is the title', 'lists characters'], 1, 'Rising action.'), mc('"Show, don\'t tell" means…', ['use pictures', 'describe actions and senses instead of naming feelings', 'write less', 'use capitals'], 1, 'Let readers infer.'), mc('Its or it\'s: "The dog wagged ___ tail."', ['its', "it's"], 0, 'Possession.')],
  challenge: [mc('Which opening hooks the reader best?', ['Once upon a time there was a girl.', 'The scream echoed down the empty corridor.', 'This is my story.', 'I woke up and had breakfast.'], 1, 'Mystery and action.'), mc('Improve: "The monster was scary and big."', ['The monster was very scary and very big.', 'A towering shadow blocked the doorway, its yellow eyes burning.', 'The monster was scary.', 'Big scary monster.'], 1, 'Shows rather than tells.'), mc('Find the mistake: "Their going to the park tomorow."', ["Their → They're and tomorow → tomorrow", 'park → Park', 'going → gone', 'No mistakes'], 0, 'Homophone + spelling.')],
  recap: { points: ['Plan with a story arc: opening, build-up, climax, resolution, ending.', 'Show, don\'t tell, using actions and senses.', 'Proofread with CUPS.'], terms: [['Climax', 'The most tense moment.'], ['Homophone', 'Same sound, different spelling and meaning.'], ['Proofreading', 'Checking for errors.']] } },

{ id: 'e8', subj: E, n: 8, title: 'Speaking and listening', strand: 'Speaking & listening', codes: ['8SLp.01', '8SLp.04', '8SLm.03', '8SLr.01'],
  secs: [
    { n: '8.1', t: 'Delivering a speech', w: 'deliver', intro: 'Emphasise key words, set your pace and add pauses. Then play your speech and hear the difference.', tasks: [['Emphasise at least 4 words', s => s.emph >= 4], ['Play your speech', s => s.played], ['Try a slow, dramatic pace', s => s.slow]], extra: [['sort', { bins: ['Good speaking', 'Poor speaking'], items: [['Eye contact with the audience', 0], ['Mumbling into your notes', 1], ['Pausing after key points', 0], ['Speaking very fast', 1], ['Varying your tone', 0], ['Reading every word with no expression', 1]] }, 'Good or poor speaking?']],
      notice: [<><b>Pace</b>: slow down for important points. <b>Pause</b> to let ideas sink in.</>, <><b>Emphasis</b> and <b>tone</b> show what matters and how you feel.</>, <><b>Body language</b>: eye contact, posture and gestures help to persuade.</>],
      check: [mc('Why pause in a speech?', ['You forgot', 'To let important points sink in', 'To end it', 'To breathe only'], 1, 'Dramatic effect.'), mc('Good eye contact…', ['bores the audience', 'helps the audience feel included', 'is rude', 'is not needed'], 1, 'Connection.')] },
    { n: '8.2', t: 'Reading aloud with expression', w: 'speakset', cfg: { lang: 'english', set: 'perform' }, intro: 'Listen to the model, then record yourself reading aloud. The coach marks every word.', tasks: [['Use the speaking coach', s => s.clicks >= 3]],
      notice: [<>Read <b>ahead</b> so you can plan your expression.</>, <>Punctuation tells you <b>when to pause</b> and how to sound.</>, <>Change your <b>voice</b> for different characters.</>],
      check: [mc('What should you do at a full stop when reading aloud?', ['Speed up', 'Pause briefly', 'Shout', 'Skip it'], 1, 'Pause.'), mc('An exclamation mark tells you to read with…', ['no feeling', 'strong feeling', 'a whisper always', 'a question tone'], 1, 'Emphasis.')] },
  ],
  practice: [mc('Which helps a presentation most?', ['Reading from the screen', 'Practising and making eye contact', 'Speaking very fast', 'Looking at the floor'], 1, 'Engagement.'), mc('Constructive feedback is…', ['only negative', 'helpful advice on how to improve', 'unkind', 'a mark'], 1, 'Helpful.'), mc('Varying your tone keeps the audience…', ['bored', 'interested', 'asleep', 'confused'], 1, 'Engaged.')],
  challenge: [mc('In a group discussion, a good way to disagree is…', ['"You\'re wrong!"', '"I see your point, but have you considered…?"', 'Stay silent', 'Talk over them'], 1, 'Respectful challenge.'), mc('Why slow down when giving a statistic?', ['To waste time', 'So the audience can take in the important number', 'Because numbers are hard to say', 'No reason'], 1, 'Emphasis.'), mc('What makes feedback "constructive"?', ['It is long', 'It says what went well AND how to improve', 'It is only praise', 'It uses big words'], 1, 'Balanced.')],
  recap: { points: ['Pace, pause, emphasis and tone make speech powerful.', 'Body language: eye contact, posture, gestures.', 'Give constructive, balanced feedback.'], terms: [['Pace', 'How fast you speak.'], ['Emphasis', 'Stressing important words.'], ['Constructive feedback', 'Helpful comments for improvement.']] } },
);
})();
