@font-face{font-family:"DM Sans";src:url("/assets/fonts/dm-sans-latin.woff2") format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Roboto";src:url("/assets/fonts/roboto.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Literata";src:url("/assets/fonts/literata.woff2") format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"Literata";src:url("/assets/fonts/literata-italic.woff2") format("woff2");font-weight:200 900;font-style:italic;font-display:swap}
/* Shared learning activities, article layouts and print worksheets. */
:root {
  --plum: #241033;
  --grape: #4A2A7A;
  --mint: #0A6B66;
  --mint-light: #4FD1C5;
  --orange: #EF5B2A;
  --kraft: #C9A57B;
  --paper: #FBF8FD;
  --card: #FFFFFF;
  --tint: #F1EAF8;
  --mint-tint: #E2F3F0;
  --line: #E2D9EC;
  --ink: #241033;
  --ink-2: #5A4D6D;
  --display: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --wide: 1080px;
  --measure: 680px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--mint-light); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: calc(var(--measure) + 40px); margin: 0 auto; padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* ---------- header ---------- */
.site-head { background: var(--plum); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.site-head .brand-lockup { padding-block: 8px; }
.brand { display: inline-flex; align-items: center; }
.brand-tagline { color: #f2dfd4; font: 500 .84rem/1.3 var(--display); letter-spacing: .02em; }
.brand svg { height: 26px; width: auto; display: block; overflow: visible; }
.menu-btn {
  font: 800 0.95rem/1 var(--display); color: #fff; background: transparent;
  border: 2px solid rgba(255,255,255,.55); border-radius: 999px; padding: 10px 16px; cursor: pointer;
}
.site-nav { display: none; width: 100%; padding: 4px 0 16px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.site-nav a {
  display: block; padding: 12px 4px; color: #fff; text-decoration: none;
  font: 700 1.05rem/1.2 var(--display); border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-nav a[aria-current="page"] { color: var(--mint-light); }
@media (min-width: 860px) {
  .menu-btn { display: none; }
  .site-nav { display: block; width: auto; padding: 0; }
  .site-nav ul { flex-direction: row; gap: 4px; }
  .site-nav a { border: 0; padding: 10px 14px; border-radius: 999px; font-size: 1rem; }
  .site-nav a:hover { background: rgba(255,255,255,.1); }
  .brand svg { height: 30px; }
}

/* ---------- views ---------- */
.js [data-view]:not(.on) { display: none; }
[data-view] { padding-bottom: 72px; }
[data-view="home"] { padding-bottom: 0; }
[data-view]:focus { outline: none; }
.page-top { padding-top: 44px; padding-bottom: 8px; }
.page-top .lead { margin-top: 14px; }
.lead { font-size: 1.13rem; color: var(--ink-2); max-width: 60ch; }
.crumb { font: 700 0.92rem/1.3 var(--display); margin-bottom: 14px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.meta { font: 700 0.92rem/1.4 var(--display); color: var(--ink-2); }
.block { padding-top: 52px; }
.block > .wrap > h2, .block > .narrow > h2, .block > h2 { margin-bottom: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 800 1rem/1.2 var(--display); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
}
.btn-go { background: var(--orange); color: var(--plum); }
.btn-go:hover { background: #F4703F; }
.btn-line { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-line:hover { background: var(--tint); }
.on-plum .btn-line { border-color: rgba(255,255,255,.6); color: #fff; }
.on-plum .btn-line:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
button.btn { font-family: var(--display); }

/* ---------- kraft tag ---------- */
.tag {
  --hole: var(--paper);
  position: relative; background: var(--kraft); color: var(--plum);
  clip-path: polygon(0 26px, 26px 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  border-radius: 0 0 10px 10px;
}
.tag::before {
  content: ""; position: absolute; top: 14px; left: 50%; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--hole); box-shadow: 0 0 0 3px rgba(36,16,51,.18); z-index: 2;
}
.on-plum .tag { --hole: var(--plum); }
.ask-tag { padding: 48px 22px 24px; transform: rotate(-1.2deg); }
.ask-tag h3 { font-size: 1.32rem; line-height: 1.2; }
.tag-label { font: 800 0.86rem/1.3 var(--display); margin-bottom: 8px; color: rgba(36,16,51,.8); }
.ask-tag .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 18px; }
.plan { background: rgba(255,255,255,.42); border-radius: 10px; padding: 10px 12px; font: 700 0.95rem/1.35 var(--display); }
.plan b { display: block; font-weight: 900; font-size: 1.02rem; }
.ask-tag label { font: 800 1rem/1.3 var(--display); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ask-tag label output { font-size: 1.6rem; font-weight: 900; }
input[type="range"] { width: 100%; accent-color: var(--plum); height: 32px; margin: 4px 0 2px; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.total { font: 700 0.92rem/1.2 var(--display); }
.total output { display: block; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.01em; }
.total.win output { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.verdict { margin-top: 14px; font: 800 1.1rem/1.3 var(--display); min-height: 1.5em; }
.tag-foot { margin-top: 8px; font: 600 0.95rem/1.4 var(--display); }
.tag-foot a { color: var(--plum); }

/* ---------- who it is for ---------- */
.for-grid { display: grid; gap: 8px 44px; }
.for { border-top: 2px solid var(--plum); padding: 20px 0 10px; display: grid; gap: 10px; align-content: start; }
.for .more-links { margin-top: 4px; }
@media (min-width: 820px) { .for-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- sample question ---------- */
.sample { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) { .sample { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
@media (prefers-reduced-motion: no-preference) {
  .ask-tag { transition: transform .25s ease; }
  .ask-tag:focus-within { transform: rotate(0deg); }
}

/* ---------- this week ---------- */
.feature { display: grid; gap: 26px; align-items: center; }
.feature .tag { max-width: 260px; }
.data-tag { padding: 46px 20px 20px; display: grid; gap: 14px; }
.dt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 10px; font: 800 1.02rem/1.2 var(--display); }
.dt-row b { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.01em; }
.dt-row small { grid-column: 1 / -1; font: 600 0.86rem/1.4 var(--display); color: rgba(36,16,51,.78); }
.dt-foot { font: 600 0.86rem/1.4 var(--display); border-top: 2px solid rgba(36,16,51,.25); padding-top: 10px; }
.chip { display: inline-block; font: 800 0.86rem/1 var(--display); background: var(--orange); color: var(--plum); padding: 7px 12px; border-radius: 999px; }
.feature h2 { margin: 14px 0 10px; }
.more-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font: 700 1rem/1.4 var(--display); }
@media (min-width: 760px) { .feature { grid-template-columns: 260px minmax(0, 1fr); gap: 44px; } }

/* ---------- currency tags ---------- */
.cur-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 860px) { .cur-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.cur { display: block; text-decoration: none; color: var(--plum); }
.cur .tag { background: linear-gradient(var(--k1), var(--k2)); padding-top: 34px; }
.cur img { width: 100%; }
.cur .q { display: block; padding: 12px 2px 0; font: 700 0.98rem/1.35 var(--display); }
.cur .q b { display: block; font-weight: 900; font-size: 1.08rem; color: var(--mint); }
.cur:hover .q b { text-decoration: underline; }
.k-sgd { --k1: #B58F67; --k2: #BF9E77; } .k-usd { --k1: #B18D61; --k2: #C19F7B; }
.k-hkd { --k1: #B88E66; --k2: #C49E7A; } .k-eur { --k1: #E1C6AB; --k2: #E2C7AC; }

/* ---------- rows (lists of things to open) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--plum); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 2px; text-decoration: none; color: var(--ink); align-items: baseline; }
.rows .t { font: 800 1.16rem/1.25 var(--display); }
.rows .d { grid-column: 1 / -1; color: var(--ink-2); font-size: 0.98rem; }
.rows .m { font: 700 0.9rem/1.2 var(--display); color: var(--mint); white-space: nowrap; }
.rows a:hover .t { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- prose ---------- */
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 18px; font-size: clamp(1.3rem, 3.6vw, 1.6rem); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { font-family: var(--display); font-weight: 800; color: var(--mint); }
.dataline { font: 700 0.95rem/1.4 var(--display); color: var(--ink-2); border-left: 4px solid var(--mint); padding-left: 12px; }
.example { background: var(--tint); border-radius: 12px; padding: 16px 18px; }
.example .ex { font: 900 0.86rem/1 var(--display); color: var(--grape); display: block; margin-bottom: 6px; }
.says cite { display: block; font: 700 0.92rem/1.4 var(--display); font-style: normal; color: var(--ink-2); margin-top: 4px; }
.says { font-style: italic; font-size: 1.25rem; line-height: 1.45; color: var(--grape); border-left: 4px solid var(--kraft); padding-left: 16px; }
.sources { font-size: 0.95rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; }
.sources h2 { font-size: 1rem; margin: 0 0 8px; color: var(--ink); }
.sources ul { padding-left: 1.2em; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.next { display: flex; flex-direction: column; gap: 10px; font: 800 1.02rem/1.35 var(--display); border-top: 2px solid var(--plum); padding-top: 18px; margin-top: 10px; }
/* recorded narration */
.player { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; background: var(--tint); border-radius: 18px; padding: 12px 18px 12px 12px; }
.play { grid-row: 1 / span 2; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; display: grid; place-items: center; cursor: pointer; }
.play:hover { background: var(--grape); }
.play svg { width: 24px; height: 24px; fill: currentColor; grid-area: 1 / 1; }
.play .ic-pause { visibility: hidden; }
.player.playing .ic-play { visibility: hidden; }
.player.playing .ic-pause { visibility: visible; }
.player-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 800 1rem/1.3 var(--display); }
.player-top .time { font-weight: 700; font-size: 0.95rem; color: var(--ink-2); }
.player .seek { grid-column: 2; height: 26px; margin: 0; }
.player-note { grid-column: 1 / -1; font: 600 0.9rem/1.4 var(--display); color: var(--ink-2); margin-top: 6px; }
.player-note[hidden] { display: none; }
.player { scroll-margin-top: 1rem; }

.tbl-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 0.98rem; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; border-bottom: 2px solid var(--plum); }
td.r, th.r { text-align: right; padding-right: 0; padding-left: 12px; }

/* ---------- timeline (dated history: a true sequence) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--kraft); display: flex; flex-direction: column; gap: 16px; }
.timeline li { padding-left: 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8.5px; top: 0.55em; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--plum); }
.timeline .when { display: block; font: 900 1.02rem/1.3 var(--display); }

/* ---------- story head ---------- */
.story-head { display: grid; gap: 22px; align-items: end; }
.story-head .tag { max-width: 230px; background: linear-gradient(var(--k1), var(--k2)); padding-top: 34px; }
@media (min-width: 700px) { .story-head { grid-template-columns: 230px minmax(0, 1fr); gap: 36px; } }

/* ---------- reveal ---------- */
details { border: 2px solid var(--plum); border-radius: 14px; background: var(--card); }
summary { cursor: pointer; padding: 14px 18px; font: 800 1.02rem/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; font-weight: 900; color: var(--mint); }
details[open] summary::after { content: "\2212"; }
details > .inside { padding: 2px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.draft { border-left: 4px solid var(--line); padding-left: 14px; }
.draft.after { border-left-color: var(--mint); }
.draft .who { display: block; font: 800 0.9rem/1.3 var(--display); color: var(--ink-2); margin-bottom: 2px; }

/* ---------- tools ---------- */
.tool { background: var(--card); border: 2px solid var(--plum); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font: 800 1rem/1.3 var(--display); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field label output { font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.field .help { font: 600 0.88rem/1.4 var(--display); color: var(--ink-2); }
.field input[type="number"], .field select {
  font: 700 1.1rem/1.2 var(--display); color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 10px; padding: 12px 12px; width: 100%; font-variant-numeric: tabular-nums;
}
.field input[type="number"]:focus, .field select:focus { border-color: var(--plum); outline: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.result { background: var(--mint-tint); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.result .big { font: 900 clamp(1.7rem, 6vw, 2.3rem)/1.1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.result p { font: 700 1rem/1.4 var(--display); }
.bars { display: flex; flex-direction: column; gap: 10px; position: relative; padding-top: 22px; }
.bar { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font: 800 0.95rem/1 var(--display); font-variant-numeric: tabular-nums; }
.bar .track { height: 22px; background: var(--tint); border-radius: 6px; position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--grape); width: 0; }
.bar.club .fill { background: var(--mint); }
.bar .track::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: 66.667%; border-left: 2px dashed var(--orange); }
.bars .budget { position: absolute; top: 0; left: calc(66px + (100% - 132px) * 0.66667); transform: translateX(-50%); font: 800 0.8rem/1 var(--display); color: #A8421C; white-space: nowrap; }
.choices { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { font: 800 1rem/1.3 var(--display); padding: 0; margin-bottom: 6px; }
.choices label { display: flex; gap: 10px; align-items: center; font: 700 1rem/1.3 var(--display); padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; }
.choices input { width: 20px; height: 20px; accent-color: var(--plum); flex: none; }
.choices label:has(input:checked) { border-color: var(--plum); background: var(--tint); }

/* ---------- classes ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps li::before { content: counter(s); font: 900 1.25rem/42px var(--display); width: 42px; height: 42px; text-align: center; border-radius: 50%; background: var(--plum); color: #fff; }
.steps b { font-family: var(--display); font-weight: 900; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.programme { border-top: 2px solid var(--plum); padding: 20px 0 6px; display: grid; gap: 10px; }
.programme .kind { font: 800 0.92rem/1.2 var(--display); color: var(--mint); }
.programme dl { margin: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 12px; font-size: 0.98rem; }
.programme dt { font: 800 0.92rem/1.6 var(--display); color: var(--ink-2); }
.programme dd { margin: 0; }
.prog-grid { display: grid; gap: 8px 36px; }
@media (min-width: 900px) { .prog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.status { background: var(--tint); border-radius: 14px; padding: 16px 18px; font: 700 1rem/1.5 var(--display); }
.two-col { display: grid; gap: 28px; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1fr 1fr; gap: 44px; } }
.plain { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fig { background: var(--tint); border-radius: 12px; padding: 14px 16px; }
.fig .n { font: 900 1.7rem/1.1 var(--display); color: var(--grape); display: block; }
.fig p { font-size: 0.95rem; line-height: 1.45; margin-top: 4px; }

/* ---------- about strip + footer ---------- */
.about-strip { background: var(--tint); margin-top: 64px; padding: 44px 0; }
.about-strip .wrap { display: grid; gap: 18px; }
.about-strip p { max-width: 62ch; }
.mail { font: 800 1.1rem/1.3 var(--display); }
.site-foot { background: var(--plum); color: #D9CFE6; padding: 40px 0 48px; font: 600 0.95rem/1.6 var(--display); }
.site-foot .wrap { display: grid; gap: 22px; }
.site-foot svg { height: 24px; width: auto; display: block; overflow: visible; align-self: flex-start; }
.site-foot a { color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-foot small { font-size: 0.88rem; color: #B9ACCB; display: block; }
@media (min-width: 820px) { .site-foot .wrap { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* ---------- skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--plum); font: 800 1rem/1 var(--display); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* ===================== final edition additions ===================== */
.small { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.btn-ink { background: var(--plum); color: #fff; }
.btn-ink:hover { background: var(--grape); }
.on-plum .btn-ink { background: #fff; color: var(--plum); }
.topic { align-self: flex-start; font: 800 0.9rem/1.3 var(--display); color: var(--grape); background: var(--tint); border-radius: 999px; padding: 7px 14px; }
.prose > .lead { margin-top: -6px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--grape); }

/* issue feature (home) */
.issue { display: grid; gap: 22px; }
.issue-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #7c9a7e; }
.issue-photo > img { width: 100%; height: 100%; object-fit: cover; }
.bubble { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: flex; gap: 10px; align-items: center; background: #fff; color: var(--plum); border-radius: 999px 999px 999px 8px; padding: 7px 18px 7px 7px; font: 700 0.95rem/1.25 var(--display); box-shadow: 0 3px 0 rgba(36,16,51,.22); }
.bubble img { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.bubble b { font-weight: 900; }
.issue h2 { font-size: clamp(1.8rem, 5.4vw, 2.6rem); font-weight: 900; margin: 14px 0 10px; }
.issue .btn-row { margin: 20px 0 12px; }
@media (min-width: 860px) { .issue { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.takeaways { list-style: none; margin: 30px 0 0; padding: 0; display: grid; border-top: 2px solid var(--plum); }
.takeaways li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.takeaways b { display: block; font: 900 1rem/1.3 var(--display); color: var(--mint); margin-bottom: 4px; }
@media (min-width: 820px) { .takeaways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; } .takeaways li { border-bottom: 0; } }

/* teaching band (home) */
.band { background: var(--tint); margin-top: 64px; padding: 56px 0; }
.band .two-col { align-items: start; }
.moment-label { font-size: 1.02rem; margin-bottom: 12px; color: var(--grape); }
.moment { display: grid; gap: 10px; margin-bottom: 12px; }
.moment .m { background: var(--card); border-radius: 14px; padding: 14px 18px; border-left: 6px solid var(--line); }
.moment .m.ask { border-left-color: var(--orange); margin-left: 24px; }
.moment .m.after { border-left-color: var(--mint); }
.moment .who { display: block; font: 800 0.88rem/1.3 var(--display); color: var(--ink-2); margin-bottom: 3px; }
.moment .ask p { font: 800 1.14rem/1.35 var(--display); }
.draft.ask { border-left-color: var(--orange); }
.draft.ask p { font-family: var(--display); font-weight: 800; }

/* three doors (home) */
.doors { display: grid; gap: 8px 40px; }
.door { border-top: 2px solid var(--plum); padding: 20px 0 10px; display: grid; gap: 10px; align-content: start; }
@media (min-width: 860px) { .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* stories */
.cur .tag { display: block; }
.cur .q small { display: block; font: 800 0.84rem/1.3 var(--display); color: var(--ink-2); margin-bottom: 2px; }
.tale { background: var(--card); border-radius: 16px; border-left: 6px solid var(--kraft); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; font-size: 1.06rem; }
.tale h2 { font-size: 1.02rem; color: var(--ink-2); }
.story-head .meta { margin-bottom: -8px; }

/* programme facts, lesson table, tools */
.programme dl.facts { grid-template-columns: 1fr; gap: 0; }
.programme dl.facts dt { margin-top: 8px; line-height: 1.3; }
ol.lessons { list-style: none; counter-reset: l; margin: 0; padding: 0; display: grid; gap: 0 40px; border-top: 2px solid var(--plum); }
ol.lessons li { counter-increment: l; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 2px 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
ol.lessons li::before { content: counter(l); grid-row: 1 / span 3; font: 900 1.3rem/1.2 var(--display); color: var(--mint); }
ol.lessons b { font: 800 1.08rem/1.3 var(--display); }
ol.lessons span, ol.lessons small { grid-column: 2; }
ol.lessons small { font: 600 0.9rem/1.4 var(--display); color: var(--ink-2); }
@media (min-width: 820px) { ol.lessons { grid-template-columns: 1fr 1fr; } }
.tool-title { font-size: 1.25rem; }
.field input[type="text"], textarea { font: 400 1.02rem/1.5 var(--body); color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 10px; padding: 12px; width: 100%; }
.field input[type="text"]:focus, textarea:focus { border-color: var(--plum); outline: none; }
textarea { resize: vertical; min-height: 120px; display: block; }
.write { display: flex; flex-direction: column; gap: 6px; }
.write label, .field > label { font: 800 1rem/1.3 var(--display); }
.count { font: 700 0.92rem/1.4 var(--display); color: var(--ink-2); }
.count.in { color: var(--mint); }
.fb, .fb-list p { font: 700 1rem/1.45 var(--display); border-radius: 12px; padding: 12px 14px; background: var(--tint); }
.fb.ok, .fb-list p.ok { background: var(--mint-tint); }
.fb.no, .fb-list p.no { background: #FDE9E1; }
.fb[hidden] { display: none; }
.fb-list { display: flex; flex-direction: column; gap: 8px; }
.fb-list:empty { display: none; }
.advert { transform: rotate(-1deg); max-width: 420px; }
.advert h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 6px; }
.advert .tag-foot { font-size: 0.82rem; opacity: 0.85; }
.figs.boxes .fig svg { width: 100%; max-width: 190px; height: auto; color: var(--grape); display: block; margin-bottom: 6px; }
.fig .n { font-size: clamp(1.2rem, 4.6vw, 1.7rem); }
.print-btn { align-self: flex-start; }
@media (max-width: 520px) { .figs { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.site-nav a.nav-cta { color: var(--mint-light); }

/* ===================== print: every sample task as an A4 worksheet ===================== */
@media print {
  @page { size: A4; margin: 16mm 15mm; }
  html, body { background: #fff; font-size: 11.5pt; }
  .site-head .menu-btn, .site-nav, .site-foot ul, .skip, .next, .crumb, .player, .btn, .print-btn, form.tool button, .fb, .fb-list, .count, .write .small { display: none !important; }
  .site-head { background: none; color: var(--plum); border-bottom: 2px solid var(--plum); }
  .site-head .wrap { min-height: 0; padding: 0 0 6px; }
  .brand svg { height: 20px; }
  .brand-tagline { color: var(--plum); }
  .brand svg path { fill: var(--plum) !important; }
  .site-foot { background: none; color: var(--ink-2); padding: 10px 0 0; border-top: 1px solid var(--line); margin-top: 18px; }
  .site-foot .brand-lockup { display: none; }
  .site-foot small { color: var(--ink-2); }
  [data-view] { padding-bottom: 0; }
  .narrow, .wrap { max-width: none; padding: 0; }
  .page-top { padding-top: 14px; }
  h1 { font-size: 22pt; }
  .tool, details, .tale, .fig, .example { break-inside: avoid; }
  .tool { border-width: 1.5px; }
  textarea { min-height: 150px; }
  details { border: 0; break-before: page; }
  details ~ details { break-before: auto; }
  details > summary { padding-left: 0; font-size: 12pt; }
  details > summary::after { content: ""; }
  details > .inside { padding-left: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ===================== 22 Nov: band photo, speech bubble, more-to-come, plain school link ===================== */
h1 { letter-spacing: -0.015em; }
h2, h3 { letter-spacing: -0.008em; }
.issue-band { position: relative; background: #7c9a7e; }
.issue-shot { display: block; width: 100%; height: clamp(250px, 64vw, 540px); object-fit: cover; object-position: 50% 46%; }
.asker { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); width: 100%; max-width: var(--wide); padding: 0 14px; display: flex; align-items: flex-end; gap: 2px; pointer-events: none; }
.asker img { width: 104px; height: auto; flex: none; filter: drop-shadow(0 4px 0 rgba(36,16,51,.2)); }
.say { position: relative; background: #fff; color: var(--plum); font: 800 1.06rem/1.25 var(--display); padding: 13px 18px; border-radius: 20px; margin: 0 0 58px 8px; max-width: 420px; box-shadow: 0 3px 0 rgba(36,16,51,.22); }
.say::before { content: ""; position: absolute; left: -11px; bottom: 16px; border: 9px solid transparent; border-right: 12px solid #fff; border-left: 0; }
.issue-text { padding-top: 72px; }
.issue-grid { display: grid; gap: 8px; }
.issue-grid h2 { font-size: clamp(1.8rem, 5.4vw, 2.6rem); font-weight: 800; margin: 14px 0 10px; }
.issue-grid .btn-row { margin: 20px 0 12px; }
.issue-grid .takeaways { margin-top: 22px; }
@media (min-width: 860px) {
  .asker { bottom: -56px; padding: 0 20px; }
  .asker img { width: 150px; }
  .say { font-size: 1.3rem; padding: 16px 24px; margin-bottom: 84px; }
  .issue-text { padding-top: 88px; }
  .issue-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: start; }
  .issue-grid .takeaways { grid-template-columns: 1fr; margin-top: 6px; }
  .issue-grid .takeaways li { border-bottom: 1px solid var(--line); }
}
.coming { margin-top: 30px; border: 3px dashed var(--kraft); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; }
.coming-title { font: 800 1.2rem/1.25 var(--display); }
.school-link { font-size: 0.95rem; color: var(--ink-2); border-left: 4px solid var(--kraft); padding-left: 12px; }
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.hello img { width: 104px; height: auto; flex: none; }
.spot { width: min(300px, 70%); height: auto; margin: 6px 0 4px; }
@media (min-width: 700px) { .hello img { width: 140px; } }
@media print { .issue-band, .hello img { display: none; } }

/* Home feature and proposed learning formats. */
.learning-ways { display: grid; gap: 20px; }
.learning-ways .programme { align-items: start; }
.learning-ways .programme header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 10px; }
.learning-ways .programme > p:last-child { margin-top: auto; }
.format-status { display: inline-block; padding: 4px 9px; border-radius: 5px; background: var(--mint-tint); color: #075c58; font: 800 .83rem/1.25 var(--display); }
.after-grid { margin-top: 22px; }
.sample-intro { max-width: 68ch; margin-bottom: 22px; }
:focus-visible { outline-color: var(--grape); }
.on-plum :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--mint-light); }
@media (min-width: 760px) {
  .learning-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.paper-instruction { display: none; }
@media print {
  .paper-instruction { display: block; }
  .screen-instruction { display: none; }
}

/* Screen edition. The worksheet print styles above keep their independent typography. */
@media screen {
  :root {
    --plum: #291535;
    --grape: #54305e;
    --orange: #ff8950;
    --paper: #fffdf9;
    --card: #ffffff;
    --tint: #f2edf4;
    --line: #ded6df;
    --ink: #2b2030;
    --ink-2: #594f5c;
    --display: "DM Sans", Arial, sans-serif;
    --body: "DM Sans", Arial, sans-serif;
    --editorial: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --wide: 1280px;
    --measure: 712px;
  }
  body { font-size: 1.0625rem; line-height: 1.67; letter-spacing: .006em; }
  .wrap { padding-inline: clamp(20px, 4.6vw, 68px); }
  h1, h2 { font-family: var(--editorial); font-weight: 400; line-height: 1.15; letter-spacing: .014em; }
  h1 { font-size: clamp(3rem, 6vw, 5.1rem); }
  h2 { font-size: clamp(2.25rem, 4.4vw, 3.55rem); }
  h3 { line-height: 1.3; font-weight: 700; letter-spacing: .006em; }
  .lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.58; }
  .site-head { background: #24112f; border-bottom: 1px solid rgba(250,234,219,.16); }
  .wordmark .brand-letters { fill: var(--brand-letters, #291535); }
  .wordmark .brand-tail { fill: var(--brand-tail, #107168); }
  .site-head, .site-foot { --brand-letters: #fff7e9; --brand-tail: #4fd1c5; }
  .site-head .wrap { min-height: 64px; }
  .brand svg { height: 32px; }
  .site-nav a { font-weight: 600; }
  .menu-btn { padding: 10px 15px; font-size: .91rem; font-weight: 600; border-width: 1px; border-radius: 6px; }
  .page-top { padding-block-start: clamp(38px, 6vw, 78px); }
  .crumb { font-weight: 600; }
  .meta { font-size: .84rem; font-weight: 700; letter-spacing: .025em; }
  .btn { min-height: 44px; padding: 12px 20px; border-width: 1px; border-radius: 6px; font-size: .95rem; font-weight: 700; }
  .btn-go { color: #29152c; }
  .btn-go:hover { background: #ffa16f; }
  .btn-line { border-color: #786579; }
  .btn:focus-visible, a:focus-visible, button:focus-visible { outline-offset: 4px; }
  .site-foot { padding-block: 54px; }
  .site-foot a { text-decoration-thickness: 1px; }
  .site-foot svg { height: 30px; }

  .opening { background: var(--plum); color: #fff7e9; }
  .opening .wrap { display: grid; align-items: center; gap: 20px; padding-block: 30px; }
  .opening h1 { max-width: 16ch; color: #fff7e9; font-size: clamp(3rem, 7.3vw, 4.5rem); line-height: 1.12; letter-spacing: .018em; text-wrap: pretty; }
  .opening h1 em { color: #f4c9a8; font-weight: 400; white-space: nowrap; }
  .opening .lead { max-width: 40em; margin-block: 13px 16px; color: #e8dfe8; }
  .opening-question { max-width: 48ch; margin: 0 0 18px; padding-inline-start: 14px; border-left: 3px solid #e69a6f; color: #fff6ec; font-size: 1.04rem; line-height: 1.55; }
  .question-label, .writing-feature .meta, .breakfast-feature .meta { font: 700 .84rem/1.5 var(--display); letter-spacing: .065em; text-transform: uppercase; }
  .opening-question .question-label { margin-bottom: 4px; color: #f2cda9; }
  .opening .btn-row { align-items: center; gap: 8px 12px; }
  .opening .btn-go { background: #f79359; color: #26132c; }
  .opening .btn-go:hover { background: #ffab76; }
  .opening .btn-line { background: transparent; border-color: #a58da6; color: #fff7ed; }
  .opening .btn-line:hover { background: #432a49; border-color: #e0c9d5; }
  .opening :focus-visible { outline-color: #ffdd91; }
  .cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .cast a { display: grid; gap: 5px; padding: 4px 4px 6px; background: #fff; border: 1px solid #d5ccd4; border-radius: 3px; color: var(--plum); text-decoration: none; }
  .cast a:hover, .cast a:focus-visible { border-color: var(--plum); background: #fffdfa; }
  .cast img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
  .cast a span { display: flex; align-items: center; gap: 5px; padding-inline: 2px; font: 700 .75rem/1.15 var(--display); letter-spacing: .065em; }
  .k-sgd { --currency: #126570; }
  .k-usd { --currency: #436044; }
  .k-hkd { --currency: #9a404c; }
  .k-eur { --currency: #345287; }
  .cast a span::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--currency); }

  /* The three pieces of writing read as a single document, in sequence. */
  .writing-feature { background: #f6f0e6; padding-block: clamp(30px, 3.7vw, 49px); }
  .writing-feature .two-col { align-items: start; gap: 24px; }
  .writing-feature .meta { color: #674c69; }
  .writing-feature h2 { max-width: 17ch; }
  .writing-feature .stack { gap: 13px; min-width: 0; }
  .writing-feature .stack:first-child > p:last-child { max-width: 36ch; color: var(--ink-2); }
  .writing-feature .moment { display: grid; gap: 8px; margin: 0; }
  .writing-feature .moment .m { margin: 0; padding: 12px 16px; border: 1px solid #e0d7ce; border-left: 3px solid #b6a0ab; border-radius: 5px; background: #fffdfa; }
  .writing-feature .moment .ask { margin-left: 10px; border-left-color: #ce8255; background: #fff9f2; }
  .writing-feature .moment .after { border-left-color: #749383; }
  .writing-feature .moment .who { margin-bottom: 4px; font: 700 .84rem/1.5 var(--display); letter-spacing: .055em; text-transform: uppercase; color: #624d60; }
  .writing-feature .moment p { color: var(--plum); font: 450 clamp(1rem, 1.2vw, 1.1rem)/1.55 var(--body); letter-spacing: .008em; }
  .writing-feature .moment .ask p { color: #64374c; font: italic 400 clamp(1.45rem, 2vw, 1.7rem)/1.32 var(--editorial); letter-spacing: .016em; }
  .writing-feature .moment .after .who { color: #3e665a; }
  .writing-feature .small { font-size: .88rem; }
  .writing-feature .btn-ink { margin-top: 0; }

  .breakfast-feature { padding-block: clamp(32px, 3.8vw, 54px); background: var(--paper); color: var(--plum); border-bottom: 1px solid #e5dcd3; }
  .breakfast-feature .issue { align-items: center; gap: clamp(24px, 4.4vw, 68px); }
  .breakfast-feature .issue-photo { border-radius: 4px; aspect-ratio: 1.35; }
  .breakfast-feature .meta { color: #795342; }
  .breakfast-feature h2 { margin: 10px 0 12px; font: 400 clamp(2.65rem, 4.2vw, 3.9rem)/1.13 var(--editorial); letter-spacing: .014em; }
  .breakfast-feature .issue > div > p:not(.meta) { max-width: 47ch; }
  .breakfast-feature .small { color: var(--ink-2); }
  .breakfast-feature .btn-ink { background: var(--plum); color: #fff8ed; }
  .breakfast-feature .btn-ink:hover { background: #4d3157; }
  .breakfast-feature .more-links { margin-top: 16px; gap: 6px; }
  .breakfast-feature .more-links a { color: #3d2747; font-weight: 600; text-decoration-color: #9b869c; }

  [data-view="home"] > .block { padding-top: clamp(36px, 4.3vw, 58px); }
  [data-view="home"] .programme h3, .door h2 { font: 400 clamp(1.65rem, 2.2vw, 2.1rem)/1.19 var(--editorial); letter-spacing: .015em; }
  .learning-ways { gap: 18px; }
  .learning-ways .programme { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(18px, 2.3vw, 30px); border: 1px solid var(--line); border-top: 3px solid #6c4773; border-radius: 3px; background: #faf7fb; }
  .learning-ways .programme:nth-child(2) { border-top-color: #bc6941; background: #fff9f3; }
  .learning-ways .programme header { column-gap: 10px; }
  .format-status { background: #eae1ed; color: #54365c; font-size: .78rem; }
  .learning-ways .programme:nth-child(2) .format-status { background: #f8e7da; color: #713c28; }
  .learning-ways .programme > p:last-child { padding-top: 5px; }
  [data-view="home"] .prog-grid { gap: 18px 32px; }
  [data-view="home"] .programme .kind { font-size: .82rem; letter-spacing: .04em; }
  [data-view="home"] .door, [data-view="home"] .prog-grid .programme { border-top: 1px solid #a088a0; }
  .about-strip { margin-top: 46px; background: #f1ece7; }

  .tool { border-width: 1px; border-color: #b5a2b7; border-radius: 9px; }
  .tool > h2, .tool-title, .tale h2 { font-family: var(--display); font-weight: 700; }
  .tool .choices label, .field input, .field select, textarea { border-radius: 6px; }
  .prose h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); }
  .narrow .prose p, .narrow .prose li { overflow-wrap: break-word; }
  .rows a { padding-block: 19px; }
  .cur .tag, .cur .portrait, .story-head .tag, .story-head .portrait { padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 3px; clip-path: none; }
  .cur .tag::before, .story-head .tag::before { content: none; }
  .cur-grid img, .story-head .tag img, .story-head .portrait img, .shelf img[src*="/characters/"], img.portrait[src*="/characters/"] { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
  .cast img, .cur-grid img[src*="/characters/"], .story-head img[src*="/characters/"] { filter: contrast(1.08) brightness(1.09); }
  .cur-grid .q small { color: var(--currency); }
}

@media screen and (min-width: 768px) {
  .opening .wrap { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(24px, 2.8vw, 38px); padding-block: clamp(28px, 2.65vw, 38px); }
  .opening h1 { max-width: none; font-size: clamp(3.05rem, 4.9vw, 4.4rem); }
  .opening .lead { max-width: 43ch; }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 16px); width: 100%; max-width: 458px; margin-left: auto; padding: clamp(12px, 1.4vw, 20px); border: 1px solid #dcd2df; border-radius: 5px; background: #ece5ee; }
  .cast a { padding: clamp(5px, .65vw, 9px); gap: 8px; border-color: #ded6dd; }
  .cast a span { font-size: .81rem; }
  .writing-feature .two-col { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(25px, 4vw, 60px); }
  .writing-feature .moment .m { display: grid; grid-template-columns: 7.5rem 1fr; column-gap: 14px; align-items: baseline; }
  .writing-feature h2 { font-size: clamp(2.7rem, 3.85vw, 3.65rem); }
  .breakfast-feature .issue { grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); }
}
@media screen and (min-width: 860px) {
  .site-head .wrap { min-height: 68px; }
  .brand svg { height: 36px; }
  .site-nav a { font-size: .94rem; padding-inline: clamp(8px, 1vw, 15px); }
}
@media screen and (min-width: 1100px) {
  .opening h1 span, .opening h1 em { display: block; }
}
@media screen and (max-width: 767px) {
  .opening h1 { max-width: none; font-size: clamp(2.85rem, 8vw, 4.1rem); text-wrap: balance; }
  .opening .wrap { gap: 18px; }
  .cast { max-width: 480px; }
  .writing-feature h2 { max-width: 19ch; }
  .writing-feature .two-col > .stack:first-child { gap: 9px; }
}
@media screen and (max-width: 480px) {
  .site-head .wrap { min-height: 58px; }
  .brand svg { height: 29px; }
  .opening .wrap { padding-block: 23px 22px; }
  .opening h1 { font-size: clamp(2.5rem, 10.4vw, 3.2rem); }
  .opening .lead { font-size: 1rem; margin-block: 11px 13px; }
  .opening-question { margin-bottom: 13px; font-size: 1rem; line-height: 1.5; }
  .opening .btn-row { gap: 7px 10px; }
  .opening .btn { padding-inline: 12px; font-size: .9rem; }
}
@media screen and (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  .opening .btn-row { align-items: flex-start; flex-direction: column; }
  .opening .btn-line { min-height: 44px; padding-block: 10px; }
  .cast { gap: 5px; }
  .hello { align-items: center; }
  .hello img { width: 62px; }
}
/* Three genuine lesson entry points shared with the earlier reviewed home page. */
.question-menu { background: #f6f0e6; color: #291535; }
.opening .opening-copy > .lead:last-child { margin-bottom: 0; }
.writing-feature .survey-question {
  padding-left: 14px;
  border-left: 3px solid #b98058;
  color: var(--plum);
  font-weight: 550;
}
.breakfast-feature .btn-row > .small { align-self: center; }
.question-menu > .wrap { padding-block: clamp(22px, 3vw, 36px) 0; }
.question-menu h2 { margin: 0 0 14px; font-size: clamp(1.95rem, 3.6vw, 2.6rem); }
.question-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.question-cards a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 14px 16px; border: 1px solid #d9cbbb; border-left: 3px solid #ba9165; border-radius: 5px; background: #fffcf7; color: inherit; text-decoration: none; }
.question-cards strong { color: #235e59; text-decoration: underline; text-underline-offset: .18em; }
.question-cards a:hover, .question-cards a:focus-visible { border-color: #725c52; background: white; }
.question-cards span { font-size: .98rem; line-height: 1.48; }
@media (max-width: 679px) {
  .question-cards { grid-template-columns: 1fr; gap: 7px; }
  .question-cards a { padding: 9px 12px; gap: 2px; }
  .question-cards strong, .question-cards span { font-size: .93rem; }
}

/* Each mount uses the same kraft paper. The outline masks reveal the unchanged
   supplied JPEG subjects, including their pale gloves and currency lettering. */
.tag.currency-tag {
  --tag-paper: #d1b38b;
  --tag-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cfilter id='grain' x='0%25' y='0%25' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' seed='17' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='150' height='150' opacity='.21' filter='url(%23grain)'/%3E%3C/svg%3E");
  --hole-size: clamp(2.5px, .34vw, 4.5px);
  display: block;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: .74;
  padding: 0;
  border: 0;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  background-color: var(--tag-paper);
  background-image: var(--tag-grain);
  background-size: 108px 108px;
  clip-path: polygon(0 10%, 13% 0, 87% 0, 100% 10%, 100% 100%, 0 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 7.5%, transparent var(--hole-size), black calc(var(--hole-size) + .8px));
  mask-image: radial-gradient(circle at 50% 7.5%, transparent var(--hole-size), black calc(var(--hole-size) + .8px));
}
.tag.currency-tag::before {
  content: "";
  display: block;
  box-sizing: content-box;
  width: calc(2 * var(--hole-size));
  height: calc(2 * var(--hole-size));
  padding: 0;
  border: 1.5px solid #9f7e58;
  position: absolute;
  top: 7.5%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: none;
  box-shadow: 0 1px 0 #e3cbaa;
  z-index: 1;
}
.tag.currency-tag > img[src] {
  position: absolute;
  bottom: .8%;
  left: -14%;
  display: block;
  width: 128%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: none;
  -webkit-mask: var(--figure-mask) center / 100% 100% no-repeat;
  mask: var(--figure-mask) center / 100% 100% no-repeat;
}

.currency-tag img[src$="/sgd.jpg"] {
  --figure-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20300%20300'%3E%3Cpath%20fill%3D'white'%20fill-rule%3D'evenodd'%20d%3D'M131%2C21%20170%2C22%20172%2C25%20172%2C42%20182%2C44%20200%2C51%20219%2C68%20222%2C75%20224%2C76%20231%2C93%20232%2C109%20227%2C114%20221%2C115%20221%2C117%20217%2C119%20215%2C129%20211%2C137%20214%2C138%20218%2C143%20220%2C143%20221%2C146%20223%2C146%20225%2C151%20231%2C158%20236%2C172%20236%2C179%20243%2C191%20248%2C208%20249%2C219%20245%2C220%20244%2C222%20249%2C223%20253%2C226%20251%2C229%20251%2C236%20253%2C238%20252%2C251%20250%2C252%20248%2C259%20244%2C261%20244%2C263%20239%2C267%20233%2C267%20228%2C263%20228%2C258%20230%2C258%20229%2C256%20231%2C256%20232%2C252%20234%2C251%20234%2C244%20230%2C246%20228%2C250%20222%2C249%20222%2C242%20227%2C237%20227%2C233%20232%2C228%20234%2C229%20234%2C227%20232%2C227%20231%2C225%20231%2C222%20235%2C219%20235%2C211%20233%2C208%20230%2C216%20225%2C221%20225%2C223%20213%2C234%20189%2C245%20174%2C247%20173%2C260%20180%2C263%20180%2C265%20184%2C267%20184%2C269%20191%2C271%20194%2C274%20196%2C281%20185%2C283%20168%2C283%20164%2C280%20152%2C279%20152%2C267%20154%2C261%20145%2C261%20147%2C269%20146%2C279%20135%2C280%20132%2C283%20115%2C283%20104%2C281%20108%2C272%20114%2C270%20120%2C263%20127%2C259%20125%2C255%20125%2C247%20104%2C242%2086%2C232%2074%2C219%2070%2C209%2068%2C209%2067%2C219%2070%2C220%2070%2C229%2075%2C234%2075%2C240%2078%2C240%2080%2C244%2079%2C249%2076%2C251%2073%2C250%2069%2C246%2069%2C244%2067%2C244%2067%2C251%2069%2C251%2069%2C255%2071%2C255%2072%2C259%2074%2C260%2071%2C266%2067%2C267%2056%2C261%2055%2C257%2052%2C255%2049%2C244%2051%2C232%2051%2C227%2049%2C227%2049%2C224%2054%2C219%2054%2C211%2057%2C198%2062%2C186%2070%2C176%20112%2C171%20116%2C173%20119%2C187%20124%2C192%20124%2C166%20102%2C161%2089%2C154%2078%2C144%2069%2C126%2067%2C104%2071%2C87%2081%2C69%20100%2C52%20110%2C47%20126%2C43%20127%2C26Z'%2F%3E%3C%2Fsvg%3E");
}
.currency-tag img[src$="/usd.jpg"] {
  --figure-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20300%20300'%3E%3Cpath%20fill%3D'white'%20fill-rule%3D'evenodd'%20d%3D'M132%2C18%20168%2C18%20172%2C22%20173%2C40%20188%2C43%20204%2C51%20216%2C62%20216%2C64%20223%2C71%20231%2C89%20233%2C105%20227%2C112%20222%2C112%20221%2C115%20217%2C117%20212%2C135%20216%2C136%20217%2C139%20219%2C139%20220%2C142%20225%2C146%20234%2C162%20237%2C178%20242%2C186%20248%2C205%20249%2C218%20247%2C219%20251%2C219%20253%2C221%20251%2C228%20248%2C228%20251%2C229%20251%2C233%20253%2C233%20251%2C252%20243%2C260%20243%2C262%20240%2C262%20238%2C265%20232%2C264%20227%2C257%20233%2C251%20235%2C242%20232%2C242%20229%2C248%20222%2C246%20222%2C240%20227%2C235%20230%2C227%20232%2C225%20236%2C225%20233%2C225%20231%2C223%20231%2C219%20235%2C217%20235%2C209%20233%2C205%20233%2C208%20231%2C209%20227%2C218%20223%2C221%20223%2C223%20208%2C235%20190%2C242%20174%2C244%20173%2C258%20178%2C259%20178%2C261%20180%2C261%20185%2C267%20192%2C269%20196%2C277%20195%2C279%20185%2C281%20172%2C281%20167%2C280%20166%2C278%20153%2C277%20152%2C272%20154%2C258%20145%2C258%20147%2C266%20146%2C272%20146%2C277%20136%2C277%20135%2C279%20130%2C281%20105%2C279%20107%2C271%20115%2C267%20120%2C261%20126%2C258%20126%2C244%20109%2C241%2090%2C232%2079%2C222%2079%2C220%2073%2C214%2070%2C206%2068%2C210%2068%2C216%2071%2C219%2070%2C226%2072%2C227%2071%2C229%2075%2C235%2074%2C240%2076%2C237%2079%2C242%2078%2C248%2074%2C248%2069%2C241%2066%2C242%2067%2C251%2072%2C256%2073%2C261%2070%2C264%2062%2C262%2056%2C257%2056%2C255%2054%2C255%2050%2C244%2050%2C232%2052%2C227%2050%2C220%2051%2C218%2054%2C218%2055%2C204%2058%2C193%2063%2C182%2069%2C174%2076%2C172%20115%2C169%20118%2C173%20119%2C183%20124%2C189%20124%2C164%20102%2C158%2092%2C153%2077%2C140%2076%2C135%2074%2C134%2069%2C122%2068%2C98%2072%2C83%2077%2C73%2085%2C64%2085%2C62%2087%2C62%2087%2C60%2092%2C57%2092%2C55%20105%2C48%20106%2C46%20127%2C40%20127%2C24%20128%2C21Z'%2F%3E%3C%2Fsvg%3E");
}
.currency-tag img[src$="/hkd.jpg"] {
  --figure-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20300%20300'%3E%3Cpath%20fill%3D'white'%20fill-rule%3D'evenodd'%20d%3D'M131%2C21%20171%2C22%20173%2C26%20174%2C43%20187%2C45%20202%2C52%20206%2C56%20208%2C56%20208%2C58%20210%2C58%20210%2C60%20213%2C61%20223%2C73%20230%2C88%20233%2C107%20227%2C114%20222%2C114%20221%2C117%20217%2C119%20212%2C137%20216%2C139%20221%2C144%20221%2C146%20223%2C146%20223%2C148%20227%2C151%20232%2C159%20237%2C179%20245%2C191%20250%2C207%20251%2C220%20244%2C220%20244%2C222%20255%2C226%20255%2C228%20253%2C228%20253%2C230%20251%2C231%20254%2C247%20253%2C256%20250%2C259%20250%2C262%20246%2C263%20243%2C266%20244%2C268%20236%2C268%20232%2C265%20230%2C266%20231%2C255%20235%2C254%20236%2C244%20234%2C244%20234%2C247%20232%2C244%20229%2C251%20223%2C250%20223%2C245%20225%2C243%20225%2C240%20227%2C240%20227%2C236%20229%2C236%20229%2C231%20234%2C229%20233%2C222%20234%2C220%20237%2C220%20237%2C212%20234%2C205%20231%2C215%20225%2C221%20225%2C223%20212%2C235%20205%2C238%20206%2C240%20203%2C239%20196%2C243%20174%2C247%20173%2C260%20177%2C261%20186%2C270%20189%2C270%20194%2C274%20194%2C278%20196%2C279%20196%2C281%20193%2C281%20194%2C283%20173%2C284%20152%2C279%20136%2C281%20118%2C285%20104%2C283%20106%2C274%20114%2C270%20114%2C268%20122%2C263%20122%2C261%20127%2C259%20125%2C249%20126%2C247%20104%2C242%20103%2C240%20100%2C240%2085%2C231%2076%2C221%2069%2C208%2067%2C219%2071%2C222%2070%2C229%2074%2C233%2075%2C240%2078%2C240%2080%2C246%2077%2C251%2073%2C251%2071%2C247%2067%2C245%2067%2C255%2070%2C255%2073%2C259%2073%2C262%2075%2C263%2074%2C267%2059%2C267%2057%2C262%2052%2C257%2049%2C248%2049%2C222%2052%2C220%2054%2C221%2053%2C213%2058%2C193%2060%2C192%2062%2C185%2070%2C176%20113%2C171%20117%2C174%20119%2C186%20124%2C192%20124%2C166%20115%2C165%20113%2C163%2096%2C158%2095%2C156%2088%2C153%2084%2C148%2082%2C148%2082%2C146%2076%2C140%2075%2C136%2072%2C133%2068%2C120%2068%2C100%2070%2C95%2069%2C93%2077%2C75%2080%2C73%2081%2C69%2090%2C61%2090%2C59%20112%2C46%20127%2C42%20127%2C26ZM146%2C261%20146%2C274%20148%2C277%20151%2C277%20152%2C275%20152%2C268%20155%2C261Z'%2F%3E%3C%2Fsvg%3E");
}
.currency-tag img[src$="/eur.jpg"] {
  --figure-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20300%20300'%3E%3Cpath%20fill%3D'white'%20fill-rule%3D'evenodd'%20d%3D'M163%2C21%20178%2C21%20199%2C25%20222%2C34%20233%2C43%20231%2C53%20227%2C59%20219%2C84%20213%2C91%20205%2C92%20198%2C86%20184%2C81%20164%2C80%20145%2C87%20137%2C94%20133%2C101%20135%2C103%20166%2C103%20178%2C96%20192%2C95%20200%2C97%20212%2C104%20223%2C107%20222%2C115%20218%2C116%20215%2C128%20206%2C142%20214%2C142%20218%2C145%20217%2C157%20223%2C160%20223%2C162%20229%2C166%20229%2C168%20234%2C172%20237%2C179%20239%2C180%20241%2C187%20243%2C188%20248%2C205%20249%2C224%20251%2C224%20253%2C227%20253%2C230%20251%2C232%20251%2C236%20253%2C238%20253%2C255%20249%2C264%20247%2C266%20243%2C265%20243%2C268%20240%2C271%20235%2C271%20234%2C269%20229%2C269%20227%2C267%20227%2C261%20230%2C259%20231%2C249%20229%2C249%20225%2C255%20216%2C253%20207%2C257%20180%2C261%20189%2C270%20189%2C272%20199%2C276%20201%2C284%20198%2C284%20198%2C286%20194%2C287%20179%2C287%20166%2C283%20155%2C282%20156%2C269%20159%2C262%20159%2C260%20143%2C257%20146%2C271%20146%2C282%20132%2C283%20131%2C285%20125%2C287%20102%2C287%20103%2C284%20101%2C284%20101%2C281%20103%2C277%20106%2C274%20111%2C273%20125%2C259%20125%2C250%20111%2C243%2096%2C230%2096%2C228%2091%2C224%2091%2C222%2083%2C212%2077%2C200%2075%2C192%2070%2C204%2068%2C221%2071%2C224%2071%2C231%2076%2C236%2079%2C244%2082%2C246%2083%2C251%2081%2C255%2076%2C255%2072%2C251%2072%2C249%2069%2C249%2069%2C254%2071%2C255%2071%2C259%2074%2C262%2072%2C269%2061%2C271%2051%2C264%2047%2C254%2048%2C236%2050%2C234%2047%2C228%2052%2C224%2054%2C200%2063%2C181%2056%2C180%2052%2C175%2053%2C145%2056%2C143%2070%2C143%2070%2C137%2054%2C136%2054%2C134%2052%2C133%2053%2C105%2058%2C101%2072%2C101%2077%2C84%2086%2C67%2090%2C64%2096%2C54%20101%2C51%20101%2C49%20105%2C47%20109%2C42%20125%2C33%20126%2C31%20132%2C30%20136%2C27ZM139%2C136%20135%2C139%20134%2C142%20163%2C142%20166%2C141%20161%2C136ZM211%2C173%20208%2C181%20203%2C184%20135%2C184%20135%2C187%20142%2C196%20155%2C203%20169%2C207%20187%2C206%20200%2C202%20210%2C197%20219%2C190%20226%2C191%20220%2C181Z'%2F%3E%3C%2Fsvg%3E");
}

@media screen {
  [data-view="home"] .cast {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: clamp(7px, 1vw, 14px);
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  [data-view="home"] .cast > a {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  [data-view="home"] .cast a > span:last-child {
    justify-content: center;
    padding: 0;
    color: #fff3e6;
    font: 700 .85rem/1.2 var(--display);
    letter-spacing: .055em;
  }
  [data-view="home"] .cast a > span:last-child::before { display: none; }
  [data-view="home"] .cast > a:nth-child(odd) .currency-tag { transform: rotate(-1.6deg); }
  [data-view="home"] .cast > a:nth-child(even) .currency-tag { transform: rotate(1.4deg); }
  [data-view="home"] .cast > a:is(:hover, :focus-visible) > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
  [data-view="home"] .cast > a:focus-visible { outline: 3px solid #8ff0df; outline-offset: 4px; border-radius: 2px; }
}
@media screen and (max-width: 600px) {
  [data-view="home"] .cast { max-width: 390px; }
  [data-view="home"] .cast > a { gap: 5px; }
  [data-view="home"] .cast a > span:last-child { font-size: .8rem; }
}

[data-view="home"] .cast a > .currency-caption:last-child {
  display: grid;
  gap: .2rem;
  justify-items: center;
  justify-content: stretch;
  align-content: start;
  text-align: center;
  line-height: 1.25;
  letter-spacing: normal;
}
.currency-caption b { font-size: clamp(.79rem, 1.3vw, 1rem); }
.currency-caption small { font-size: clamp(.75rem, .96vw, .86rem); font-weight: 450; }

@media screen {
  .currency-caption .character-name { color: #ffd5af; font-weight: 750; }
  .currency-caption .currency-name { color: #a6ded5; }
  .cur .q small.currency-identity, .story-head .currency-identity {
    position: relative;
    display: grid;
    gap: .13rem;
    margin: 0 0 .47rem;
    letter-spacing: normal;
  }
  .currency-identity .character-name { color: #542947; font: 750 1rem/1.3 var(--display); }
  .currency-identity .currency-name { color: #17645e; font: 500 .85rem/1.4 var(--display); }
  .story-head .character-name { font-size: 1.16rem; }
  .story-head .currency-name { font-size: .95rem; }
  .currency-identity .currency-divider {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}


/* Artwork sits in its own column so the animated image never covers the text. */
.character-beat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(88px, 13vw, 138px);
  align-items: center;
  gap: clamp(12px, 2.5vw, 24px);
}
.character-beat .character-pose {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  transform-origin: 50% 83%;
}
.tale .character-beat > p { grid-area: 1 / 1; }
.tale .character-beat > .character-pose { grid-area: 1 / 2; }
@media screen and (max-width: 480px) {
  .character-beat { grid-template-columns: minmax(0, 1fr) clamp(66px, 22vw, 90px); gap: 11px; }
  .tale .character-beat { display: flow-root; }
  .tale .character-pose {
    float: right;
    width: clamp(66px, 22vw, 90px);
    margin: 1px 0 6px 12px;
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .character-pose.pose-entered { animation-duration: 470ms; animation-timing-function: ease-out; animation-iteration-count: 1; }
  .character-pose.pose-entered[data-pose="surprise"] { animation-name: sgd-surprised; }
  .character-pose.pose-entered[data-pose="celebrate"] { animation-name: hkd-celebrating; }
  .character-pose.pose-entered[data-pose="coffee"] { animation-name: usd-coffee; }
  @keyframes sgd-surprised {
    0%, 100% { transform: none; }
    35% { transform: translateY(-3px) rotate(-3deg) scale(1.025); }
    68% { transform: rotate(1deg); }
  }
  @keyframes hkd-celebrating {
    0%, 100% { transform: none; }
    42% { transform: translateY(-6px) rotate(3deg); }
    77% { transform: translateY(-1px) rotate(-1deg); }
  }
  @keyframes usd-coffee {
    0%, 100% { transform: none; }
    46% { transform: translateY(-2px) rotate(-3deg); }
  }
}
@media print {
  .character-beat { display: block; }
  .character-beat .character-pose { display: none; }
}

