/* Henry White: everything below the hero, plus the school visits page. */

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.band { position: relative; padding-block: var(--section); overflow: clip; }
.band--cream { background: var(--cream); color: var(--ink); }
.band--white { background: #FFFDF8; color: var(--ink); }
.band--sky { background: #D9ECFC; color: var(--ink); }
.band--sun { background: var(--sun); color: var(--ink); }
.band--blue { background: radial-gradient(1000px 700px at 70% 300px, #2C74C0 0%, #1E5FA8 50%, #174D8D 100%); color: var(--cream); }
.band--deep { background: var(--blue-deep); color: var(--cream); }

.h-xl { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.25rem); line-height: 0.98; }
.h-lg { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; }
.band--cream h2, .band--white h2 { color: var(--blue); }
.band--blue h2, .band--deep h2 { color: var(--cream); text-shadow: 0 3px 0 var(--blue-night); }
.band--sun h2, .band--sky h2 { color: var(--ink); }

.eyebrow { font-weight: 800; color: var(--coral-deep); margin-bottom: var(--s3); }
.lead { font-size: var(--t-lg); font-weight: 600; line-height: 1.5; }
h1 + .lead, h2 + .lead { margin-top: var(--s5); }
.lead + p, p + p { margin-top: var(--s4); }
.meta { font-size: 0.98rem; color: var(--ink-soft); }
p + .meta { margin-top: var(--s4); }
.textlink { display: inline-block; font-weight: 800; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.textlink:hover { text-decoration-thickness: 3px; }

.buy, .ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

q { quotes: "\201C" "\201D" "\2018" "\2019"; }
blockquote { margin: 0; }
figure { margin: 0; }

/* --------------------------------------------------------- Too Many Tims */
.tmt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tmt__art img { width: 100%; filter: drop-shadow(0 24px 28px rgba(22, 40, 74, 0.22)); }
.tmt__text { max-width: 36rem; }

.review { margin-top: var(--s9); max-width: 60rem; }
.review__quote p { font: 600 clamp(1.45rem, 1.05rem + 1.4vw, 2.15rem)/1.3 var(--font-display); color: var(--blue); letter-spacing: -0.005em; }
.review figcaption { margin-top: var(--s4); color: var(--ink-soft); }
.review figcaption b { color: var(--ink); }

.quotes { list-style: none; padding: 0; margin-top: var(--s8); margin-bottom: 0; columns: 3 260px; column-gap: var(--s7); }
.quotes li { break-inside: avoid; margin-bottom: var(--s6); }
.quotes q, .press q { display: block; font: 600 1.3rem/1.32 var(--font-display); color: var(--ink); }
.quotes span, .press span { display: block; margin-top: var(--s2); font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); }

/* ------------------------------------------------------- Not Enough Noras */
.noras { padding-block: clamp(56px, 7vw, 104px); }
.noras__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.noras__cover { width: 100%; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 18px 30px rgba(22, 40, 74, 0.28); }
.noras__art { width: 100%; max-width: 380px; justify-self: end; }
.tag { display: inline-block; padding: var(--s1) var(--s3); border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 0.95rem; margin-bottom: var(--s3); }

/* ---------------------------------------------------------- School visits */
.visits__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.visits .lead { color: #E4EEFA; max-width: 34ch; }
.visits__intro { margin-top: var(--s7); font-weight: 800; color: var(--sun); }
.leave { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s6); }
.leave li { position: relative; padding-left: 38px; font: 700 1.35rem/1.25 var(--font-display); }
.leave li::before { content: ""; position: absolute; left: 0; top: 0.12em; width: 26px; height: 26px; border-radius: 50%; background: var(--sun);
  -webkit-mask: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.leave li::after { content: ""; position: absolute; left: 8px; top: calc(0.12em + 6px); width: 9px; height: 13px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.bubble { position: relative; background: var(--cream); color: var(--ink); border-radius: 40px; padding: clamp(28px, 3vw, 44px); transform: rotate(-2deg); box-shadow: 0 24px 40px rgba(8, 25, 60, 0.35); }
.bubble::after { content: ""; position: absolute; left: 18%; bottom: -34px; border-style: solid; border-width: 36px 34px 0 0; border-color: var(--cream) transparent transparent transparent; }
.bubble p { font: 700 clamp(1.45rem, 1.1rem + 1.1vw, 2rem)/1.25 var(--font-display); color: var(--blue); }
.bubble figcaption { margin-top: var(--s4); font-size: 1rem; color: var(--ink-soft); }
.bubble figcaption b { color: var(--ink); }
.visits__tims { position: absolute; z-index: 0; right: 3%; bottom: -60px; width: 220px; opacity: 1; pointer-events: none; }

/* ---------------------------------------------------------- Little Badman */
.lb__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lb__art { width: 100%; filter: drop-shadow(0 24px 28px rgba(22, 40, 74, 0.2)); }
.honours { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s2); }
.honours li { position: relative; padding-left: 30px; font-weight: 800; }
.honours li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; background: var(--sun);
  clip-path: polygon(50% 0, 63% 35%, 100% 38%, 71% 61%, 81% 100%, 50% 78%, 19% 100%, 29% 61%, 0 38%, 37% 35%); }
.lb__quote { margin-top: var(--s6); }
.lb__quote p { font: 600 1.6rem/1.28 var(--font-display); color: var(--blue); }
.lb__quote figcaption { margin-top: var(--s2); font-weight: 700; color: var(--ink-soft); font-size: 0.95rem; }

.shelf { margin-top: var(--s9); }
.shelf__title { font-size: 1.6rem; color: var(--ink); }
.shelf__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: var(--s5); align-items: start; }
.shelf__book { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; color: var(--ink); font: inherit; border-radius: 8px; }
.shelf__book img { width: 100%; aspect-ratio: 414 / 637; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 20px rgba(22, 40, 74, 0.22); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.shelf__book span { display: block; margin-top: var(--s3); font-weight: 800; font-size: 0.95rem; line-height: 1.3; padding-bottom: var(--s2); border-bottom: 4px solid transparent; transition: border-color 160ms var(--ease-out); }
.shelf__book[aria-selected="true"] img { box-shadow: 0 16px 26px rgba(22, 40, 74, 0.34); }
.shelf__book[aria-selected="true"] span { border-color: var(--sun); }
@media (hover: hover) and (pointer: fine) { .shelf__book:hover img { transform: translateY(-4px); } }
.shelf__panel { margin-top: var(--s6); max-width: 62ch; min-height: 9.5em; }
.shelf__name { font: 800 1.6rem/1.1 var(--font-display); color: var(--blue); margin: 0 0 var(--s3); }
.shelf__name span { font: 700 1rem var(--font-text); color: var(--ink-soft); margin-left: var(--s2); }

.lb__more { margin-top: var(--s8); }
.press { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s7); }

/* ------------------------------------------------------------- More books */
.more__shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: var(--s7); }
.more__book { display: flex; flex-direction: column; align-items: flex-start; }
.more__book h3 { margin-top: var(--s5); font-size: 1.45rem; line-height: 1.1; color: var(--blue); }
.more__book h3 + p { margin-top: var(--s3); }
.more__book .textlink { margin-top: var(--s4); }
.more__cover { height: 300px; width: auto; filter: drop-shadow(0 16px 20px rgba(22, 40, 74, 0.22)); }
.more__cover--flat { height: 270px; margin-top: 15px; border-radius: 3px; box-shadow: 6px 0 0 #E7DCC6; filter: drop-shadow(0 16px 20px rgba(22, 40, 74, 0.22)); }

/* ------------------------------------------------------------------ About */
.about__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--cream), 0 24px 40px rgba(80, 55, 0, 0.3); }
.about__text { max-width: 38rem; }
.about .lead { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.2 var(--font-display); }

/* ------------------------------------------------------------- Newsletter */
.newsletter { padding-block: clamp(56px, 7vw, 104px); }
.newsletter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.newsletter__grid p { margin-top: var(--s3); color: #DCE6F5; }
.newsletter__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s3); }
.newsletter__form .field { flex: 1 1 260px; }
.newsletter__form .field__label { color: var(--cream); }
.newsletter__form input { border-color: transparent; }

/* ---------------------------------------------------------------- Forms */
.hp { position: absolute !important; left: -9999px; }
.field { display: grid; gap: var(--s2); }
.field + .field, .field + fieldset, fieldset + .field, .field-row + .field, .field + .field-row { margin-top: var(--s4); }
.field__label { font-weight: 800; font-size: 0.98rem; }
.field__hint { font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 2px solid var(--cream-line); border-radius: 14px; background: #fff; color: var(--ink);
  font: 600 1.0625rem/1.4 var(--font-text);
  transition: border-color 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field-row .field + .field { margin-top: 0; }
form .btn[type="submit"] { margin-top: var(--s5); }
.newsletter__form .btn[type="submit"] { margin-top: 0; }
.form-status { flex-basis: 100%; margin-top: var(--s3); font-weight: 800; min-height: 1.4em; }
.form-status.is-error { color: var(--coral-deep); }
.band--deep .form-status.is-error { color: #FFB4A6; }
.form-done { padding: var(--s5); border-radius: 18px; background: var(--sun); color: var(--ink); font: 700 1.4rem/1.3 var(--font-display); }
.form-done:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
form[aria-busy="true"] .btn[type="submit"] { opacity: 0.7; pointer-events: none; }
fieldset { border: 0; padding: 0; margin: var(--s4) 0 0; }
legend { font-weight: 800; font-size: 0.98rem; padding: 0; margin-bottom: var(--s2); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); }
.check { display: flex; align-items: center; gap: var(--s3); min-height: 44px; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }

/* ---------------------------------------------------------------- Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.agents { margin: var(--s6) 0 var(--s4); display: grid; gap: var(--s5); }
.agents dt { font-weight: 800; color: var(--coral-deep); font-size: 0.98rem; }
.agents dd { margin: 2px 0 0; font: 700 1.5rem/1.2 var(--font-display); color: var(--ink); }
.contact__visits { margin-top: var(--s5); }
.contact__visits a { font-weight: 800; color: var(--blue); }
.socials__title { margin-top: var(--s7); font-size: 1.35rem; color: var(--ink); }
.socials { list-style: none; padding: 0; margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border-radius: 999px; box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); font-weight: 800; text-decoration: none; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.socials a:hover { background: var(--blue); color: var(--cream); }
.form-title { font-size: 1.6rem; color: var(--ink); margin-bottom: var(--s5); }
.contact__form { background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 20px 40px rgba(22, 40, 74, 0.08); }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--blue-night); color: var(--cream); padding: var(--s8) 0 var(--s6); }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s7); align-items: center; }
.site-footer__badge { width: 112px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3)); }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-weight: 800; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__cake { max-width: 22ch; font: 700 1.2rem/1.3 var(--font-display); color: var(--sun); text-align: right; }
.site-footer__small { margin-top: var(--s7); padding-top: var(--s5); box-shadow: 0 -1px 0 rgba(255, 244, 223, 0.15); font-size: 0.92rem; color: #C5D2E6; }

/* ------------------------------------------------------------ Mobile menu */
.menu-btn { display: none; }
.mobile-menu { position: absolute; top: calc(100% - 4px); right: var(--gutter); min-width: 220px; padding: var(--s2); border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px rgba(8, 25, 60, 0.3); }
.mobile-menu a { display: block; padding: 12px 16px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: #F3E6CA; }
.mobile-menu[hidden] { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 0; border-radius: 999px; cursor: pointer; font: 800 0.98rem/1 var(--font-text); background: rgba(255, 244, 223, 0.16); color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
  .site-nav { gap: var(--s2); }

  .tmt, .lb__head, .visits__grid, .about__grid, .newsletter__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .tmt__art { max-width: 520px; }
  .review { margin-top: var(--s8); }
  .noras__grid { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
  .noras__text .h-lg { font-size: 1.9rem; }
  .noras__text .lead { font-size: 1.1rem; }
  .noras__art { grid-column: 1 / -1; justify-self: center; max-width: 240px; margin-top: var(--s2); }
  .leave { grid-template-columns: 1fr; }
  .bubble { margin-top: var(--s4); margin-bottom: var(--s6); }
  .visits__tims { width: 150px; right: -10px; bottom: -40px; }
  .lb__head .lb__art { order: -1; max-width: 520px; }
  .shelf__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px var(--gutter) 8px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); }
  .shelf__book { scroll-snap-align: start; }
  .press { grid-template-columns: 1fr; }
  .more__shelf { grid-template-columns: 1fr; gap: var(--s8); }
  .more__cover { height: 240px; }
  .more__cover--flat { height: 220px; margin-top: 10px; }
  .about__photo { max-width: 280px; }
  .field-row, .checks { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .site-footer__cake { text-align: left; }
  .site-footer__badge { width: 96px; }
}
@media (max-width: 860px) {
  .site-header.is-scrolled .menu-btn { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .shelf__book img, .shelf__book span, .socials a { transition: none; }
}

/* ===================================================== School visits page */
.sv-intro { padding-top: clamp(150px, 14vw, 190px); }
.rays--intro { width: 120vmax; left: calc(78% - 60vmax); top: calc(55% - 60vmax); }
.sv-intro__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sv-intro .lead { color: #E4EEFA; max-width: 40ch; }
.sv-intro__art { position: relative; justify-self: center; width: min(360px, 100%); }
.sv-intro__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 10px var(--cream), 0 24px 40px rgba(8, 25, 60, 0.45); }
.sv-intro__tims { position: absolute; width: 46%; right: -22%; bottom: -18%; filter: drop-shadow(0 12px 16px rgba(8, 25, 60, 0.35)); }

.sv-proof__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.bubble--cream-band { background: var(--blue); color: var(--cream); box-shadow: 0 24px 40px rgba(22, 40, 74, 0.25); }
.bubble--cream-band::after { border-color: var(--blue) transparent transparent transparent; }
.bubble--cream-band p { color: var(--cream); }
.bubble--cream-band figcaption, .bubble--cream-band figcaption b { color: #DCE6F5; }
.leave--ink { margin-top: var(--s5); grid-template-columns: 1fr; }
.leave--ink li { color: var(--ink); font-size: 1.5rem; }
.sv-who { margin-top: var(--s6); max-width: 46ch; }

.sessions { list-style: none; padding: 0; margin: var(--s7) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.sessions li { padding-top: var(--s5); box-shadow: inset 0 4px 0 var(--sun); }
.sessions h3 { font-size: 1.45rem; line-height: 1.1; color: var(--blue); }
.sessions p { margin-top: var(--s2); color: var(--ink-soft); font-weight: 700; }
.sv-virtual { margin-top: var(--s7); font-weight: 700; }

.sv-book__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-book__intro { position: sticky; top: 120px; }
.sv-book__art { width: min(340px, 100%); margin-top: var(--s7); filter: drop-shadow(0 16px 20px rgba(22, 40, 74, 0.2)); }
.sv-form { background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 20px 40px rgba(22, 40, 74, 0.1); }
.sv-book__formcol .form-done { margin: 0; }

.fees { margin-top: var(--s7); font-size: 0.95rem; color: var(--ink-soft); }
.fees summary { cursor: pointer; font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
.fees summary { list-style: none; }
.fees summary::-webkit-details-marker { display: none; }
.fees summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--cream); font-weight: 800; line-height: 1; transition: transform 160ms var(--ease-out); }
.fees[open] summary::before { transform: rotate(45deg); }
.fees dl { margin: var(--s3) 0 var(--s3); display: grid; gap: var(--s1); max-width: 34rem; }
.fees dl div { display: flex; justify-content: space-between; gap: var(--s4); }
.fees dt { font-weight: 600; }
.fees dd { margin: 0; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.fees p { margin-top: var(--s2); max-width: 52ch; }
.sv-flyer { margin-top: var(--s4); }

@media (max-width: 860px) {
  .sv-intro { padding-top: 130px; }
  .sv-intro__grid, .sv-proof__grid, .sv-book__grid { grid-template-columns: minmax(0, 1fr); }
  .sv-intro__art { width: min(240px, 70%); margin: var(--s6) auto var(--s7); }
  .sessions { grid-template-columns: 1fr 1fr; }
  .sv-book__intro { position: static; }
  .sv-book__art { display: none; }
}
@media (max-width: 480px) { .sessions { grid-template-columns: 1fr; } }

/* ===================================================== Thanks and 404 pages */
.simple-page { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.simple-page__inner { max-width: 44rem; }
.simple-page__badge { width: 120px; margin-bottom: var(--s6); filter: drop-shadow(0 8px 14px rgba(8, 25, 60, 0.35)); }
.simple-page .lead { margin-top: var(--s4); color: #E4EEFA; }
.simple-page__tim { position: absolute; right: 6%; bottom: 8%; width: clamp(120px, 18vw, 240px); transform: rotate(12deg); filter: drop-shadow(0 12px 16px rgba(8, 25, 60, 0.35)); }

/* The first section slides up over the hero like a sheet of paper, so the
   crowd of Tims is covered rather than sliced off by a hard line. */
.hero + .band { margin-top: -64px; z-index: 2; border-radius: 56px 56px 0 0; box-shadow: 0 -16px 36px -20px rgba(8, 25, 60, 0.45); } /* negative spread keeps the shadow off the section below */
@media (max-width: 860px) { .hero + .band { margin-top: -40px; border-radius: 32px 32px 0 0; } }

/* Generated paper texture (kie.ai): a seamless fibre tile multiplied over the
   light sections so they read as a printed page. Decorative only. */
.band--cream, .band--white, .band--sky, .band--sun { background-image: url("../img/paper.webp"); background-size: 560px; background-blend-mode: multiply; }
.band--cream { background-color: var(--cream); }
.band--white { background-color: #FFFDF8; }
.band--sky { background-color: #D9ECFC; }
.band--sun { background-color: var(--sun); }


/* Too Many Tims, with more character: Tim Wesson's kitchen scene and the
   blurb's best lines set as display type. */
.tmt { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
.tmt__art { margin: 0; position: sticky; top: 120px; }
.tmt__art img { border-radius: 28px; transform: rotate(-1.5deg); box-shadow: 0 0 0 8px #fff, 0 26px 40px -12px rgba(22, 40, 74, 0.35); filter: none; }
.tmt__art figcaption { margin-top: var(--s4); font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); text-align: right; }
.tmt__plate { margin-top: var(--s5); font: 700 clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem)/1.25 var(--font-display); color: var(--ink); }
.tmt__three { margin-top: var(--s3); display: grid; gap: 0; font: 800 clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem)/1.02 var(--font-display); letter-spacing: -0.01em; }
.tmt__three span:nth-child(1) { color: var(--coral-deep); transform: rotate(-1.5deg); transform-origin: left; }
.tmt__three span:nth-child(2) { color: var(--blue); margin-left: 0.6em; }
.tmt__three span:nth-child(3) { color: var(--ink); transform: rotate(1deg); transform-origin: left; }
.tmt__three + p { margin-top: var(--s5); }
.tmt__but { font: 700 1.3rem/1.3 var(--font-display); color: var(--blue-deep); }
@media (max-width: 860px) {
  .tmt { grid-template-columns: minmax(0, 1fr); }
  .tmt__art { position: static; }
  .tmt__three span:nth-child(2) { margin-left: 0.4em; }
}

/* More stories: bigger books, one punchy line each. */
.more .h-lg { color: var(--ink); }
.more__shelf { gap: clamp(32px, 5vw, 80px); margin-top: var(--s8); align-items: start; }
.more__pic { position: relative; height: 330px; display: flex; align-items: flex-end; }
.more__cover { height: 330px; }
.more__cover--flat { height: 300px; margin: 0 0 12px 6px; transform: rotate(-3deg); }
.more__book--rooster .more__cover { transform: rotate(2deg); }
.more__rooster { position: relative; z-index: 1; margin-left: -34px; margin-bottom: -4px; height: 290px; width: auto; filter: drop-shadow(0 12px 14px rgba(22, 40, 74, 0.25)); }
.more__book h3 { margin-top: var(--s6); font-size: 1.6rem; color: var(--blue-deep); }
.more__hook { margin-top: var(--s2); font: 700 1.3rem/1.25 var(--font-display); color: var(--coral-deep); }
.more__book .more__hook + p { margin-top: var(--s3); }
.more__book .meta { margin-top: var(--s3); }
.more__book .meta .textlink { margin: 0 0 0 4px; font-size: inherit; }
@media (max-width: 860px) {
  .more__pic, .more__cover { height: 260px; }
  .more__cover--flat { height: 236px; }
  .more__rooster { height: 230px; margin-left: -28px; }
}

/* About: one column beside the photo; Henry's own two lines as one moment. */
.about__words { margin: var(--s6) 0 0; }
.about__words p { font: 700 clamp(1.3rem, 1.05rem + 0.8vw, 1.65rem)/1.3 var(--font-display); color: var(--blue-deep); }
.about__words .about__duck { margin-top: var(--s3); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); color: var(--ink); font-style: normal; }

/* Praise as comic speech bubbles, with a few Tims (Tim Wesson's head, as in
   the hero) popping out of them. */
.praise { margin-top: var(--s9); }
.says { list-style: none; padding: 0; margin: var(--s8) 0 0; columns: 3 250px; column-gap: var(--s6); }
.say { --b: #FFFDF8; position: relative; break-inside: avoid; display: block; margin: 0 0 var(--s7); padding: 22px 26px 20px;
  background: var(--b); color: var(--ink); border-radius: 28px; box-shadow: 0 16px 26px -14px rgba(22, 40, 74, 0.4); }
.say::after { content: ""; position: absolute; left: 36px; bottom: -18px; border-style: solid; border-width: 20px 22px 0 0; border-color: var(--b) transparent transparent transparent; }
.says .say:nth-child(even)::after { left: auto; right: 36px; border-width: 20px 0 0 22px; }
.says .say:nth-child(3n+1) { transform: rotate(-1.6deg); }
.says .say:nth-child(3n+2) { transform: rotate(1.2deg); }
.says .say:nth-child(3n) { transform: rotate(-0.6deg); }
.say--white { --b: #FFFDF8; } .say--cream { --b: #FFF4DF; } .say--sun { --b: var(--sun); } .say--coral { --b: #F98A73; } .say--sky { --b: #D9ECFC; }
.say q, .say blockquote p { display: block; font: 700 1.32rem/1.27 var(--font-display); color: var(--ink); }
.say span, .say figcaption { display: block; margin-top: 10px; font-size: 0.92rem; font-weight: 700; color: rgba(22, 40, 74, 0.72); }
.say--huge q { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem); line-height: 1.02; }
.say--big { max-width: 62rem; padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 56px); transform: rotate(-0.8deg); }
.say--big blockquote p { font-size: clamp(1.35rem, 1rem + 1.2vw, 1.95rem); line-height: 1.3; color: var(--blue-deep); }
.say--big figcaption b { display: block; color: var(--ink); font-size: 1.05rem; }
.praise__tim { position: absolute; width: 78px; height: auto; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(22, 40, 74, 0.3)); }
.praise__tim--a { width: 120px; right: -34px; top: -56px; transform: rotate(14deg); }
.praise__tim--b { right: -24px; top: -46px; transform: rotate(16deg); }
.praise__tim--c { right: -22px; bottom: -34px; transform: rotate(10deg) scaleX(-1); }
.says--lb { columns: 2 280px; margin-top: 0; margin-bottom: var(--s6); }
@media (max-width: 860px) {
  .praise { margin-top: var(--s8); }
  .say--big { margin-right: 28px; }
  .praise__tim--a { width: 86px; right: -26px; top: -46px; }
  .says { columns: 1; margin-top: var(--s7); }
  .says .say { width: 88%; }
  .says .say:nth-child(even) { margin-left: auto; }
  .say--huge q { font-size: 1.9rem; }
  .say q { font-size: 1.15rem; }
  .say { padding: 18px 22px 16px; margin-bottom: var(--s6); }
}

/* Bubbles laid out as wrapping rows, not CSS columns: Chrome slices tilted,
   shadowed items at column breaks, which showed as stray slivers. */
.says { columns: auto; display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s7) var(--s6); }
.says .say { flex: 1 1 290px; margin: 0; break-inside: auto; }
.says .say--huge, .says .say--sun:last-child { flex: 0 1 260px; }
.says--lb .say { flex: 1 1 340px; }
@media (max-width: 860px) {
  .says { flex-direction: column; flex-wrap: nowrap; gap: var(--s6); }
  .says .say, .says .say--huge, .says .say--sun:last-child, .says--lb .say { flex: none; width: 88%; }
  .says .say:nth-child(even) { margin-left: auto; }
}

/* The Times badge on the corner of Lucy Bannerman's review. */
.say__badge { position: absolute; left: -40px; top: -46px; width: 104px; height: 104px; transform: rotate(-12deg); filter: drop-shadow(0 3px 0 #C2900F) drop-shadow(0 10px 14px rgba(8, 25, 60, 0.35)); pointer-events: none; }
.say__badge svg { display: block; width: 100%; height: 100%; }
.say--big { padding-top: clamp(40px, 4vw, 56px); }
@media (max-width: 860px) { .say__badge { width: 80px; height: 80px; left: -10px; top: -44px; } }

/* School visits: the classroom picture with the testimonial coming out of it. */
.visits__pic { position: relative; justify-self: end; width: min(430px, 100%); padding-bottom: 120px; }
.visits__scene { width: 100%; border-radius: 28px; transform: rotate(2deg); box-shadow: 0 0 0 8px var(--cream), 0 26px 40px -10px rgba(8, 25, 60, 0.5); }
.visits__pic .bubble { position: absolute; left: -22%; bottom: 0; width: 82%; padding: clamp(20px, 2vw, 30px); }
.visits__pic .bubble p { font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.45rem); }
@media (max-width: 860px) {
  .visits__pic { justify-self: center; width: min(360px, 92%); padding-bottom: 0; margin-top: var(--s4); }
  .visits__pic .bubble { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -40px; }
}

/* ======================= About (option B): Henry, in his own words.
   Text first in the reading order; the photo and his bubbles sit on the left.
   Every bubble's tail points at Henry. */
.abB__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "stage text"; gap: clamp(32px, 6vw, 96px); align-items: center; }
.abB__text { grid-area: text; max-width: 36rem; }
.abB__text .h-xl + p { margin-top: var(--s5); }
.abB__reluctant { font: 700 1.35rem/1.3 var(--font-display); color: var(--blue-deep); }
.abB__stage { grid-area: stage; position: relative; padding: 40px 0 70px 40px; }
.abB__stage img { width: min(340px, 58%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--cream), 0 26px 40px -10px rgba(80, 55, 0, 0.45); }
.abB__stage .say { position: absolute; margin: 0; max-width: 300px; }
.abB__stage .say q { font-size: 1.25rem; }
.abB__b1 { right: 6%; top: 0; transform: rotate(2deg); }
.abB__b2 { right: 0; top: 42%; max-width: 290px !important; transform: rotate(-1.5deg); }
.abB__b3 { left: 4%; bottom: 0; transform: rotate(-2deg); }
/* tails: b1 down-left towards the photo, b2 left, b3 up */
.abB__b1::after { left: 30px; right: auto; }
.abB__b2::after { left: -20px; right: auto; top: 34px; bottom: auto; border-width: 0 22px 20px 0; border-color: transparent var(--b) transparent transparent; }
.abB__b3::after { left: auto; right: 60px; top: -18px; bottom: auto; border-width: 0 0 20px 22px; border-color: transparent transparent var(--b) transparent; }

/* ======================= More stories (option B): bold colour tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); margin-top: var(--s10); }
.tile { position: relative; border-radius: 32px; padding: 230px clamp(22px, 2.4vw, 34px) clamp(26px, 2.6vw, 36px); color: var(--ink); display: flex; flex-direction: column; box-shadow: 0 22px 36px -18px rgba(22, 40, 74, 0.45); }
.tile--coral { background: #F98A73; } .tile--sun { background: var(--sun); } .tile--blue { background: var(--blue); color: var(--cream); }
.tile__art { position: absolute; left: 0; right: 0; top: -110px; height: 320px; display: flex; justify-content: center; align-items: flex-end; }
.tile__art img { height: 320px; width: auto; filter: drop-shadow(0 18px 18px rgba(22, 40, 74, 0.35)); }
.tile__art .flat { height: 290px; border-radius: 3px; transform: rotate(-4deg); box-shadow: 6px 0 0 #E7DCC6; }
.tile__art .rooster { height: 230px; margin-left: -30px; }
.tile h3 { font-size: 1.6rem; line-height: 1.05; color: inherit; }
.tile__hook { margin-top: var(--s3); font: 800 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.05 var(--font-display); letter-spacing: -0.01em; }
.tile__meta { margin-top: auto; padding-top: var(--s5); font-size: 0.98rem; opacity: 0.9; }
.tile .textlink { color: inherit; }
.tile--blue h3, .tile--blue .tile__hook { color: var(--cream); }
.tile--blue .textlink:focus-visible { outline-color: var(--cream); }

@media (max-width: 860px) {
  .abB__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "stage"; }
  .abB__stage { padding: 0 0 10px; display: grid; gap: var(--s6); justify-items: start; }
  .abB__stage img { width: 240px; justify-self: center; }
  .abB__stage .say { position: relative; inset: auto; max-width: 92% !important; }
  .abB__b2 { justify-self: end; }
  /* stacked below the photo: every tail points up towards it */
  .abB__stage .say::after { top: -18px; bottom: auto; left: 40px; right: auto; border-width: 0 0 20px 22px; border-color: transparent transparent var(--b) transparent; }
  .abB__b2::after { left: auto !important; right: 40px !important; border-width: 0 22px 20px 0 !important; border-color: transparent transparent var(--b) transparent !important; }
  .tiles { grid-template-columns: minmax(0, 1fr); row-gap: 150px; margin-top: 150px; }
}

/* About, round 2: one bubble, set as two clean lines, and a Battenberg tucked
   against the photo. */
.abB__stage { padding: 96px 0 30px 0; }
.abB__stage img:first-child { width: min(380px, 68%); }
.abB__b1 { right: 0; top: 0; max-width: 360px !important; padding: 20px 26px 18px !important; }
.abB__b1 q { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem) !important; line-height: 1.18 !important; }
.abB__cake { position: absolute; left: calc(min(380px, 68%) - 120px); bottom: 10px; width: 150px; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 12px 14px rgba(80, 55, 0, 0.35)); }
.abB__text p + p { margin-top: var(--s4); }
.abB__end { font: 700 1.35rem/1.3 var(--font-display); color: var(--blue-deep); }
@media (max-width: 860px) {
  .abB__stage { padding: 0 0 10px; position: relative; }
  .abB__stage img:first-child { width: 240px; }
  .abB__b1 { max-width: 100% !important; justify-self: stretch; }
  .abB__cake { left: calc(50% + 40px); top: 150px; bottom: auto; width: 110px; }
}
.abB__stage .abB__cake { width: 150px; left: calc(min(380px, 68%) - 105px); bottom: 24px; aspect-ratio: auto; object-fit: fill; border-radius: 0; box-shadow: none; }
.abB__b1 { max-width: none !important; }
.abB__b1 q { white-space: nowrap; }
@media (max-width: 860px) {
  .abB__b1 { justify-self: start; }
  .abB__b1 q { font-size: min(1.2rem, 5.1vw) !important; }
  .abB__stage .abB__cake { left: calc(50% + 50px); top: 160px; width: 104px; }
}

/* Credits: "Name – role" on one line under each quote. */
.say span, .say figcaption, .bubble figcaption { font-size: 0.84rem; letter-spacing: 0; }
.say figcaption b, .bubble figcaption b { display: inline; font-size: inherit; color: var(--ink); }
@media (min-width: 861px) {
  .says .say span, .say--big figcaption, .bubble figcaption { white-space: nowrap; }
  .visits__pic .bubble { width: auto; min-width: 82%; }
}

/* Footer without the sign-off line; socials smaller so they sit on one line. */
.site-footer__grid { grid-template-columns: auto 1fr; }
.socials { flex-wrap: nowrap; gap: 6px; }
.socials a { min-height: 36px; padding: 0 12px; font-size: 0.9rem; box-shadow: inset 0 0 0 1.5px var(--blue); }
@media (max-width: 480px) {
  .socials { flex-wrap: wrap; }
}

/* Too Many Tims praise, a fraction smaller. */
.praise { margin-top: var(--s8); }
.praise .say--big { max-width: 56rem; }
.praise .say--big blockquote p { font-size: clamp(1.25rem, 0.95rem + 1vw, 1.7rem); }
.praise .says { margin-top: var(--s7); gap: var(--s6) var(--s5); }
.praise .says .say { padding: 18px 22px 16px; }
.praise .says .say q { font-size: 1.2rem; }
.praise .say--huge q { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); }

/* Social buttons, filled in brand colours. */
.socials a { box-shadow: 0 3px 0 var(--lip, #0F3264); background: var(--fill, var(--blue)); color: var(--ink-on, var(--cream)); transition: transform 140ms var(--ease-out), filter 140ms var(--ease-out); }
.socials li:nth-child(4n+1) a { --fill: var(--blue); --lip: #0F3264; --ink-on: var(--cream); }
.socials li:nth-child(4n+2) a { --fill: #F98A73; --lip: #B4432F; --ink-on: var(--ink); }
.socials li:nth-child(4n+3) a { --fill: var(--sun); --lip: #C2900F; --ink-on: var(--ink); }
.socials li:nth-child(4n+4) a { --fill: var(--blue-deep); --lip: #0A2348; --ink-on: #FFF8EA; }
.socials a:hover { background: var(--fill); color: var(--ink-on); transform: translateY(-2px); filter: brightness(1.05); }
.socials a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--lip); }

/* Battenberg moved off the photo: on desktop it sits in the space beside the
   bubble that offers it; on phones it follows the bubble. */
.abB__stage .abB__cake { left: 2%; top: 4px; bottom: auto; width: 128px; transform: rotate(-10deg); }
@media (max-width: 860px) {
  .abB__stage .abB__cake { position: static; justify-self: end; width: 104px; margin: -14px 10px 0 0; transform: rotate(8deg); }
}
.praise .says .say--huge q { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); line-height: 1.02; }
.abB__stage .abB__cake { top: -30px; left: 0; }
@media (max-width: 860px) { .abB__stage .abB__cake { top: auto; left: auto; } }

/* ======================= About, calm version: big photo, clear run of text. */
.ab__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.ab__photo { margin: 0; position: relative; justify-self: center; width: min(440px, 100%); }
.ab__photo::before { content: ""; position: absolute; inset: 6% -6% -6% 6%; border-radius: 50%; background: var(--coral); opacity: 0.9; }
.ab__photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--cream), 0 28px 44px -12px rgba(80, 55, 0, 0.45); }
.ab__text { max-width: 38rem; }
.ab__lead { margin-top: var(--s5); font: 800 clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem)/1.15 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.ab__text .ab__lead + p { margin-top: var(--s5); }
.ab__quote { position: relative; margin: var(--s6) 0 0; padding-left: 52px; }
.ab__quote::before { content: "\201C"; position: absolute; left: 0; top: -14px; font: 800 4.6rem/1 var(--font-display); color: var(--coral-deep); }
.ab__quote p { font: 700 clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem)/1.3 var(--font-display); color: var(--blue-deep); }
.ab__duck { margin-top: var(--s5); font: 700 1.15rem/1.35 var(--font-display); color: var(--ink); }
@media (max-width: 860px) {
  .ab__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .ab__photo { width: min(260px, 80%); }
  .ab__quote { padding-left: 40px; }
  .ab__quote::before { font-size: 3.6rem; top: -10px; }
}
.ab__bio { margin-top: var(--s5); font-size: var(--t-lg); line-height: 1.55; }
.ab__duck { margin-top: var(--s6); font-size: 1.35rem; }

/* ===================== School visits: key facts, what to expect, fees */
.keyfacts { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.keyfacts li { position: relative; padding-left: 20px; font-weight: 800; font-size: 1rem; color: var(--cream); }
.keyfacts li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 2px 0 var(--sun-deep); }
.keyfacts + .lead { margin-top: var(--s5); }

.expect { max-width: 46rem; }
.expect__note { margin-top: var(--s4); font: 700 clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem)/1.35 var(--font-display); color: var(--blue-deep); }
.sv-subhead { margin-top: var(--s8); font-size: 1.35rem; color: var(--ink); }
.sv-subhead + .sessions { margin-top: var(--s4); }

.fees-block { max-width: 40rem; }
.fees-list { margin: var(--s4) 0 0; padding: 0; }
.fees-list div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: 12px 0; box-shadow: inset 0 -1px 0 var(--cream-line); }
.fees-list div:first-child { box-shadow: inset 0 1px 0 var(--cream-line), inset 0 -1px 0 var(--cream-line); }
.fees-list dt { font-weight: 800; }
.fees-list dt span { display: inline-block; margin-left: var(--s2); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.fees-list dd { margin: 0; font: 800 1.35rem/1 var(--font-display); color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fees-list dd small { font: 700 0.9rem var(--font-text); color: var(--ink-soft); }
.fees-travel { margin-top: var(--s4); }
.fees-note { margin-top: var(--s2); font-size: 0.98rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .keyfacts { flex-direction: column; gap: var(--s2); }
  .fees-list dt span { display: block; margin-left: 0; }
  .sv-subhead { margin-top: var(--s7); }
}
@media (min-width: 861px) {
  .keyfacts { flex-wrap: nowrap; gap: var(--s4); }
  .keyfacts li { font-size: 0.95rem; white-space: nowrap; padding-left: 18px; }
}

/* Areas covered */
.sv-where { margin-top: var(--s4); max-width: 46ch; }
.visits__where { margin-top: var(--s3); color: #E4EEFA; max-width: 40ch; }

/* ===================== Not Enough Noras: launch treatment */
.noras { padding-block: var(--section); }
.nen { display: grid; grid-template-columns: 300px minmax(0, 1fr) minmax(0, 0.62fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; position: relative; }
.nen__cover { position: relative; }
.nen__cover img { width: 100%; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 26px 40px -12px rgba(22, 40, 74, 0.4); }
.nen__date { position: absolute; right: -34px; top: -34px; width: 108px; height: 108px; margin: 0; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 36% 28%, #FFE58A 0%, var(--sun) 60%, #F2B21E 100%); color: var(--ink);
  font: 800 1.35rem/1 var(--font-display); transform: rotate(10deg);
  box-shadow: 0 3px 0 var(--sun-deep), 0 12px 18px -6px rgba(22, 40, 74, 0.4), inset 0 0 0 7px rgba(255, 255, 255, 0), inset 0 0 0 8.5px rgba(22, 40, 74, 0.35); }
.nen__date span { display: block; font: 800 0.8rem/1.2 var(--font-text); }
.nen__text { max-width: 36rem; }
.nen__hook { margin-top: var(--s4); font: 800 clamp(1.45rem, 1.1rem + 1.1vw, 2rem)/1.12 var(--font-display); color: var(--coral-deep); letter-spacing: -0.01em; }
.nen__hook + p { margin-top: var(--s5); }
.nen__ask { margin-top: var(--s4); font: 700 1.3rem/1.3 var(--font-display); color: var(--blue-deep); }
.nen__when { margin-top: var(--s5); font-size: 0.98rem; color: var(--ink-soft); }
.nen__when time { font-weight: 800; color: var(--ink); }
.nen .buy { margin-top: var(--s5); }
.nen__art { width: 100%; max-width: 380px; justify-self: end; filter: drop-shadow(0 16px 20px rgba(22, 40, 74, 0.18)); }
@media (max-width: 1100px) and (min-width: 861px) {
  .nen { grid-template-columns: 260px minmax(0, 1fr); }
  .nen__art { display: none; }
}
@media (max-width: 860px) {
  .nen { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .nen__cover { width: 200px; margin: 20px auto 0; }
  .nen__date { width: 88px; height: 88px; right: -40px; top: -26px; font-size: 1.1rem; }
  .nen__date span { font-size: 0.7rem; }
  .nen__art { justify-self: center; max-width: 260px; margin-top: calc(-1 * var(--s4)); }
  .nen .buy .btn { white-space: normal; text-align: center; }
}
@media (min-width: 1101px) {
  .nen { grid-template-columns: 300px minmax(0, 1fr); }
  .nen__text { max-width: 35rem; position: relative; z-index: 1; }
  .nen__art { position: absolute; right: -3%; bottom: 70px; width: 290px; z-index: 0; }
}
.nen__date { right: -46px; top: -48px; }
@media (max-width: 860px) { .nen__date { right: -44px; top: -38px; } }

/* ===================== Too Many Tims: free sample card */
.sample { margin-top: var(--s6); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s5); align-items: center;
  padding: var(--s5) var(--s5) var(--s5) var(--s4); border-radius: 28px; background: #FFFDF8 url("../img/paper.webp") 0 0 / 560px; background-blend-mode: multiply;
  box-shadow: 0 18px 32px -16px rgba(22, 40, 74, 0.35); }
.sample__pages { position: relative; display: block; height: 170px; }
.sample__page { position: absolute; left: 22px; top: 2px; width: 104px; height: 160px; object-fit: cover; object-position: top; border-radius: 3px;
  background: #fff; box-shadow: 0 1px 0 rgba(22, 40, 74, 0.12), 0 8px 14px -6px rgba(22, 40, 74, 0.35); transition: transform 260ms var(--ease-back); }
.sample__page--3 { transform: rotate(-13deg) translate(-16px, 8px); }
.sample__page--2 { transform: rotate(-5deg) translate(-6px, 2px); }
.sample__page--1 { transform: rotate(6deg) translate(10px, 0); }
.sample__title { font: 800 1.35rem/1.1 var(--font-display); color: var(--blue-deep); }
.sample__note { margin-top: var(--s2); font-size: 0.98rem; color: var(--ink-soft); }
.sample__btns { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.btn__icon { width: 22px; height: 22px; flex: none; }
.btn__ext { width: 15px; height: 15px; flex: none; opacity: 0.7; margin-left: -2px; }
@media (hover: hover) and (pointer: fine) {
  .sample:hover .sample__page--3 { transform: rotate(-18deg) translate(-26px, 10px); }
  .sample:hover .sample__page--2 { transform: rotate(-7deg) translate(-10px, 0); }
  .sample:hover .sample__page--1 { transform: rotate(10deg) translate(20px, -6px); }
}
@media (max-width: 520px) {
  .sample { grid-template-columns: 1fr; justify-items: start; padding: var(--s5); }
  .sample__pages { width: 150px; height: 160px; justify-self: center; }
  .sample__btns { flex-direction: column; align-items: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sample__page { transition: none; } }
.sample__btns { flex-direction: column; align-items: stretch; max-width: 300px; }
.sample__btns .btn { justify-content: center; }

/* The Times review: headline lead line and the three picks */
.say__headline { font: 800 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1.05 var(--font-display); letter-spacing: -0.015em; color: var(--coral-deep); margin-bottom: var(--s4); max-width: 22ch; }
.picks { margin-top: var(--s4); }
.picks__label { font-weight: 800; font-size: 0.92rem; color: var(--ink); }
.picks__list { list-style: none; padding: 0; margin: var(--s2) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.picks__list li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 0.88rem; box-shadow: 0 2px 0 var(--sun-deep); }
.picks__list li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--ink); clip-path: polygon(50% 0, 63% 35%, 100% 38%, 71% 61%, 81% 100%, 50% 78%, 19% 100%, 29% 61%, 0 38%, 37% 35%); }
.picks__list a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.picks__list a::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 5px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.picks__list a:hover { text-decoration-thickness: 2.5px; }
.picks__list li { line-height: 1.25; padding-block: 6px; }
/* keep the children's faces in the classroom illustration clear of the bubble */
@media (min-width: 861px) { .visits__pic { padding-bottom: 175px; } .visits__pic .bubble { left: -26%; } }
@media (max-width: 860px) { .visits__pic .bubble { margin-top: -18px; } }
@media (min-width: 861px) and (max-width: 1279px) {
  .visits__pic .bubble { left: -6%; width: 100%; }
  .keyfacts { flex-wrap: wrap; }
  .keyfacts li { white-space: normal; }
}

/* Times pills: one row on wider screens to keep the review bubble compact */
.nen__text p + p { margin-top: var(--s3); }
@media (min-width: 861px) {
  .picks__list { flex-wrap: nowrap; gap: 6px; }
  .picks__list li { white-space: nowrap; padding: 0 10px 0 8px; font-size: 0.82rem; min-height: 30px; padding-block: 0; }
  .picks__list li::before { width: 10px; height: 10px; }
}

/* "From The Times:" label sitting in line before the pills */
.picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.picks__from { margin: 0; font-weight: 800; font-size: 0.88rem; color: var(--ink); white-space: nowrap; }
.picks .picks__list { margin: 0; }
@media (min-width: 861px) { .picks { flex-wrap: nowrap; } .picks__from { font-size: 0.82rem; } }
@media (min-width: 861px) and (max-width: 999px) { .picks, .picks__list { flex-wrap: wrap; } }

/* Times pills: no link icon (the underline shows it's a link); smaller on phones so each sits on one line */
.picks__list a::after { content: none; }
@media (max-width: 860px) {
  .picks__list li { font-size: 0.8rem; min-height: 32px; padding: 4px 12px 4px 10px; white-space: nowrap; }
}
@media (max-width: 380px) { .picks__list li { font-size: 0.72rem; padding: 4px 9px 4px 8px; gap: 4px; } }
@media (max-width: 430px) { .picks__list li { font-size: 0.75rem; padding: 4px 10px 4px 8px; gap: 5px; } .picks__list li::before { width: 10px; height: 10px; } }
@media (max-width: 375px) { .picks__list li { font-size: 0.69rem; } }
@media (max-width: 340px) { .picks__list li { white-space: normal; line-height: 1.2; } }
