/* Heritage Planning Notes, Version 2: "parlour" editorial styles.
   Warm paper, plum and oxblood, Bodoni Moda display with Spectral text. */
:root {
  --paper: #F1EAE3;
  --paper-deep: #E6DCD2;
  --ink: #2B2326;
  --ink-soft: #5E5156;
  --plum: #3A2530;
  --plum-soft: #54404A;
  --oxblood: #8E3B46;
  --sage: #5B6B4E;
  --sand: #E7C9B0;
  --line: rgba(43, 35, 38, .14);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Spectral", Georgia, "Times New Roman", serif;
  --measure: 40rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.68 var(--text); font-feature-settings: "kern", "liga", "onum"; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--plum); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; color: var(--plum); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 3.2rem 0 1rem; }
h3 { font-size: 1.45rem; margin: 2rem 0 .6rem; }
p, ul, ol, dl { margin: 0 0 1.15rem; }
strong { font-weight: 600; }
.skip { position: absolute; left: -999px; top: 0; background: var(--plum); color: var(--paper); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* masthead: centred like a magazine nameplate */
.mast { text-align: center; padding: 1.6rem 1.25rem .9rem; border-bottom: 1px solid var(--line); }
.mast__name { font: italic 400 clamp(1.9rem, 4.4vw, 2.9rem)/1 var(--display); color: var(--plum); text-decoration: none; letter-spacing: -.01em; }
.mast__strap { margin: .45rem 0 .8rem; font-style: italic; font-size: .98rem; color: var(--ink-soft); }
.mast__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.5rem; font-size: 1.02rem; }
.mast__nav a { color: var(--ink); text-decoration: none; padding: .2rem 0; border-bottom: 1px solid transparent; }
.mast__nav a:hover { border-bottom-color: var(--oxblood); }
.mast__nav a[aria-current="page"] { color: var(--oxblood); border-bottom-color: var(--oxblood); }
.mast__nav a:last-child { font-style: italic; color: var(--oxblood); }
@media (max-width: 640px) {
  .mast { padding-top: 1.1rem; }
  .mast__strap { font-size: .9rem; margin-bottom: .55rem; }
  .mast__nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 1.2rem; padding: 0 .25rem .35rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mast__nav::-webkit-scrollbar { display: none; }
  .mast__nav a { white-space: nowrap; font-size: .98rem; }
}

/* shared editorial pieces */
.kicker { font-style: italic; color: var(--oxblood); font-size: 1.05rem; margin: 0 0 .7rem; }
.standfirst { font-size: clamp(1.18rem, 1.9vw, 1.38rem); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }
.section-title { text-align: center; margin: 0 0 2.2rem; }
.photo__caption { font-style: italic; font-size: .93rem; color: var(--ink-soft); padding: .6rem 0 0; line-height: 1.45; }

/* home: cover */
.cover__photo { margin: 0; }
.cover__img { width: 100%; height: min(78vh, 52rem); object-fit: cover; }
.cover__words { max-width: 58rem; margin: 3.6rem auto 4.4rem; padding: 0 1.25rem; text-align: center; }
.cover__title { font-size: clamp(2.4rem, 6.2vw, 5.1rem); line-height: 1.03; margin: .2rem 0 1.4rem; }
.cover__words .standfirst { margin: 0 auto; }

/* home: question invitations */
.asks { background: var(--plum); color: var(--paper); padding: 4.2rem 1.25rem 4.6rem; }
.asks__title { color: var(--paper); text-align: center; font-style: italic; margin: 0 0 2.2rem; }
.asks__list { list-style: none; padding: 0; margin: 0 auto; max-width: 68rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem; }
.ask { display: block; height: 100%; background: var(--paper); color: var(--ink); text-decoration: none; border-radius: 1.6rem; padding: 1.5rem 1.6rem 1.6rem; transition: transform .25s ease, background .25s ease; }
.ask:hover { transform: translateY(-3px); background: #FBF6F1; color: var(--ink); }
.ask__q { display: block; font: 400 1.4rem/1.22 var(--display); color: var(--plum); margin-bottom: .7rem; }
.ask__a { display: block; font-size: 1rem; color: var(--ink-soft); }

/* home: features */
.features { max-width: 78rem; margin: 5.5rem auto 0; padding: 0 1.25rem; }
.features__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 2.4rem; align-items: start; }
.feature a { color: inherit; text-decoration: none; display: block; }
.feature__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: filter .3s ease; }
.feature--lead .feature__img { aspect-ratio: 4 / 5; }
.feature a:hover .feature__img { filter: brightness(1.05) saturate(1.05); }
.feature__section { font-style: italic; color: var(--oxblood); margin: 1rem 0 .25rem; font-size: 1rem; }
.feature__title { font-size: 1.7rem; margin: 0 0 .5rem; }
.feature--lead .feature__title { font-size: clamp(1.9rem, 2.8vw, 2.4rem); }
.feature a:hover .feature__title { color: var(--oxblood); }
.feature__teaser { color: var(--ink-soft); font-size: 1.05rem; }
.features__grid > .feature:nth-child(2) { margin-top: 4rem; }
.features__grid > .feature:nth-child(3) { margin-top: 8rem; }

/* home: essay */
.essay { max-width: 78rem; margin: 6rem auto 0; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.essay__text .section-title { text-align: left; }
.essay__photo { margin: 0; }
.essay__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* home: shelf of further guides */
.shelf { background: var(--paper-deep); margin-top: 6rem; padding: 4.6rem 1.25rem; }
.shelf__list { list-style: none; margin: 0 auto; padding: 0; max-width: 78rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.shelf__list a { display: block; color: inherit; text-decoration: none; }
.shelf__img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; margin-bottom: .9rem; }
.shelf__section { display: block; font-style: italic; color: var(--oxblood); font-size: .95rem; }
.shelf__title { display: block; font: 400 1.3rem/1.15 var(--display); color: var(--plum); margin: .2rem 0 .4rem; }
.shelf__list a:hover .shelf__title { color: var(--oxblood); }
.shelf__teaser { display: block; font-size: .98rem; color: var(--ink-soft); line-height: 1.5; }

/* home: tools band */
.tools-band { background: var(--plum); color: var(--paper); padding: 4.6rem 1.25rem 4rem; text-align: center; }
.tools-band__title { color: var(--paper); margin: 0 auto 2.4rem; max-width: 30ch; }
.tools-band__pair { max-width: 60rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; text-align: left; }
.tool-invite { display: flex; flex-direction: column; gap: .7rem; padding: 2rem; border-radius: 1.6rem; background: var(--plum-soft); color: var(--paper); text-decoration: none; transition: background .25s ease; }
.tool-invite:hover { background: #604A55; color: var(--paper); }
.tool-invite__name { font: italic 400 1.9rem/1.1 var(--display); }
.tool-invite__text { font-size: 1.04rem; color: #E9DDD5; }
.tool-invite__go { margin-top: auto; align-self: flex-start; background: var(--paper); color: var(--plum); border-radius: 999px; padding: .55rem 1.3rem; font-size: 1rem; }
.tools-band__note { margin: 2rem auto 0; font-style: italic; color: #D8C9C0; font-size: 1rem; max-width: 40rem; }

/* footer */
.foot { background: #2A1B22; color: #D8C9C0; padding: 4rem 1.25rem 3rem; font-size: 1rem; }
.foot__inner { max-width: 70rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.foot__name { font: italic 400 2rem/1.1 var(--display); color: var(--paper); margin: 0 0 .9rem; }
.foot__note { max-width: 26rem; }
.foot__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.foot__head { color: var(--sand); font-style: italic; margin: 0 0 .5rem; }
.foot ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.foot li { margin: 0 0 .3rem; }
.foot a { color: var(--paper); text-decoration: none; }
.foot a:hover { color: var(--sand); text-decoration: underline; }

@media (max-width: 960px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature--lead { grid-column: 1 / -1; }
  .features__grid > .feature:nth-child(2), .features__grid > .feature:nth-child(3) { margin-top: 0; }
  .feature--lead .feature__img { aspect-ratio: 4 / 3; }
  .essay { grid-template-columns: 1fr; gap: 2rem; }
  .shelf__list { grid-template-columns: repeat(2, 1fr); }
  .tools-band__pair, .foot__inner, .foot__cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cover__img { height: 62vh; }
  .cover__words { margin: 2.4rem auto 3rem; }
  .features__grid { grid-template-columns: 1fr; }
  .feature__img, .feature--lead .feature__img { aspect-ratio: 4 / 3; }
  .shelf__list { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .shelf__title { font-size: 1.12rem; }
  .shelf__teaser { display: none; }
  .ask { border-radius: 1.2rem; }
}

/* ---------- guides: story layout ---------- */
.opening { margin: 0 0 3rem; }
.opening__photo { margin: 0; }
.opening__photo .photo__img { width: 100%; height: min(70vh, 46rem); object-fit: cover; }
.opening__photo .photo__caption { max-width: 78rem; margin: 0 auto; padding: .6rem 1.25rem 0; text-align: right; }
.opening__words { max-width: 52rem; margin: 3rem auto 0; padding: 0 1.25rem; text-align: center; }
.opening__title { font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.05; margin: .2rem 0 1.3rem; }
.opening__words .standfirst { margin: 0 auto 1.4rem; }
.opening__basis { font-size: .95rem; color: var(--ink-soft); max-width: 38rem; margin: 0 auto; }
.opening__basis span { font-style: italic; color: var(--oxblood); }
.opening--portrait { max-width: 80rem; margin: 3rem auto 3.5rem; padding: 0 1.25rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: center; }
.opening--portrait .opening__photo .photo__img { height: auto; aspect-ratio: 2 / 3; max-height: 82vh; }
.opening--portrait .opening__photo .photo__caption { text-align: left; padding: .6rem 0 0; }
.opening--portrait .opening__words { margin: 0; text-align: left; padding: 0; }
.opening--portrait .standfirst, .opening--portrait .opening__basis { margin-left: 0; }
@media (max-width: 860px) {
  .opening--portrait { grid-template-columns: 1fr; gap: 2rem; margin-top: 0; padding: 0; }
  .opening--portrait .opening__photo .photo__img { aspect-ratio: 4 / 5; max-height: 70vh; }
  .opening--portrait .opening__photo .photo__caption { padding: .6rem 1.25rem 0; }
  .opening--portrait .opening__words { padding: 0 1.25rem; }
  .opening__photo .photo__img { height: 56vh; }
}

.story__body { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem 2rem; }
.story__body > p:first-of-type::first-letter { }
.story__body > h2:first-child, .contents + h2 { margin-top: 1.5rem; }
.story__body ul, .story__body ol { padding-left: 1.3rem; }
.story__body li { margin-bottom: .55rem; }
.story__body li::marker { color: var(--oxblood); }
.story__tool { margin: 3rem 0 0; padding: 1.6rem 1.8rem; background: var(--paper-deep); border-radius: 1.4rem; font-size: 1.12rem; }
.story--quiet .story__body { padding-bottom: 4rem; }
.plainhead { max-width: var(--measure); margin: 4rem auto 1.5rem; padding: 0 1.25rem; }
.plainhead__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1rem; }

.contents { margin: 0 0 2.5rem; padding: 1rem 1.4rem; background: rgba(255,255,255,.45); border-radius: 1.2rem; }
.contents summary { cursor: pointer; font-style: italic; color: var(--oxblood); font-size: 1.05rem; }
.contents ol { margin: .9rem 0 .3rem; font-size: 1rem; }
.contents a { color: var(--ink); text-decoration: none; }
.contents a:hover { color: var(--oxblood); text-decoration: underline; }

/* photos inside a story break out of the text column */
.photo { margin: 3rem 0; }
.photo--wide, .photo--bleed { width: min(72rem, 100vw); margin-left: 50%; transform: translateX(-50%); }
.photo--wide .photo__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo--wide .photo__caption { padding-left: 1.25rem; padding-right: 1.25rem; }
.photo--column .photo__img { width: 100%; }
.photo--tall { max-width: 26rem; margin-left: auto; margin-right: auto; }
.photo--tall .photo__img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }

/* soft notes and examples */
.aside-note { margin: 2rem 0; padding: 1.4rem 1.6rem; background: #EADFD6; border-radius: 1.4rem; font-size: 1.05rem; }
.aside-note--caution { background: #EBD6D2; }
.aside-note__label { display: block; font: italic 400 1.25rem/1.2 var(--display); color: var(--oxblood); margin-bottom: .4rem; }
.aside-note p:last-child, .aside-note ul:last-child { margin-bottom: 0; }
.case-note { margin: 1.4rem 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--sand); }
.case-note__title { font: italic 400 1.3rem/1.25 var(--display); color: var(--plum); margin-bottom: .35rem; }
.numbered { counter-reset: n; list-style: none; padding-left: 0 !important; }
.numbered > li { counter-increment: n; position: relative; padding-left: 2.6rem; margin-bottom: 1rem; }
.numbered > li::before { content: counter(n); position: absolute; left: 0; top: .05rem; font: italic 400 1.6rem/1 var(--display); color: var(--oxblood); }

/* comparisons */
.two-ways, .grades { display: grid; gap: 1rem; margin: 1.8rem 0 2rem; }
.two-ways { grid-template-columns: 1fr 1fr; }
.grades { grid-template-columns: repeat(3, 1fr); }
.two-ways__item, .grades__item { background: #FBF7F3; border-radius: 1.4rem; padding: 1.4rem 1.4rem 1.2rem; font-size: 1.02rem; }
.two-ways__item h3 { margin-top: 0; font-size: 1.35rem; }
.two-ways__fee { color: var(--plum); margin-bottom: 0; }
.grades__mark { font: italic 400 2rem/1 var(--display); color: var(--oxblood); margin: 0 0 .3rem; }
.grades__share { font-size: .95rem; color: var(--ink-soft); font-style: italic; }
@media (min-width: 1100px) {
  .two-ways, .grades { width: 56rem; margin-left: 50%; transform: translateX(-50%); }
}
@media (max-width: 700px) { .two-ways, .grades { grid-template-columns: 1fr; } }

/* tables: soft, no ruled grid */
.tablewrap { margin: 1.6rem 0 2rem; overflow-x: auto; border-radius: 1.2rem; background: #FBF7F3; }
.fact-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.fact-table caption { text-align: left; font-style: italic; color: var(--ink-soft); padding: 1rem 1.2rem .4rem; caption-side: top; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: .7rem 1.2rem; }
.fact-table thead th { font-weight: 600; color: var(--plum); font-size: .95rem; }
.fact-table tbody tr:nth-child(odd) { background: rgba(231, 201, 176, .22); }
.fact-table tbody th { font-weight: 500; color: var(--plum); min-width: 11rem; }

/* FAQ */
.qa dt { font: 400 1.35rem/1.25 var(--display); color: var(--plum); margin: 1.8rem 0 .5rem; }
.qa dd { margin: 0; }
.further-reading { font-size: 1rem; }

/* hand-drawn style sketch */
.sketch { margin: 2.5rem auto; max-width: 30rem; background: #FBF7F3; border-radius: 1.4rem; padding: 1.5rem; }
.sketch__svg { width: 100%; height: auto; }

/* read next */
.next { background: var(--paper-deep); padding: 4rem 1.25rem; margin-top: 3rem; }
.next__head { text-align: center; margin: 0 0 2rem; font-style: italic; }
.next__list { list-style: none; padding: 0; margin: 0 auto; max-width: 70rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.next__item a { color: inherit; text-decoration: none; display: block; }
.next__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .9rem; }
.next__section { display: block; font-style: italic; color: var(--oxblood); font-size: .95rem; }
.next__title { display: block; font: 400 1.45rem/1.15 var(--display); color: var(--plum); margin: .2rem 0 .4rem; }
.next__teaser { display: block; font-size: 1rem; color: var(--ink-soft); }
.next__item a:hover .next__title { color: var(--oxblood); }
@media (max-width: 800px) { .next__list { grid-template-columns: 1fr; } }

/* ---------- tools: friendly question cards ---------- */
.toolpage .opening { margin-bottom: 2rem; }
.cards-wrap { max-width: 46rem; margin: 0 auto 3rem; padding: 0 1.25rem; }
.cards-wrap__private { text-align: center; font-style: italic; color: var(--ink-soft); font-size: 1rem; margin-top: 1.5rem; }
.survey { margin: 0; }
.qcard { border: 0; margin: 0 0 1.2rem; padding: 1.6rem 1.7rem 1.3rem; background: #FBF7F3; border-radius: 1.6rem; box-shadow: 0 1px 0 rgba(58,37,48,.05), 0 12px 30px -22px rgba(58,37,48,.45); min-width: 0; }
.qcard__q { padding: 0; font: 400 1.6rem/1.2 var(--display); color: var(--plum); margin-bottom: .5rem; }
.qcard__no { display: block; font: italic 400 1rem/1.4 var(--text); color: var(--oxblood); margin-bottom: .3rem; }
.qcard__hint { font-size: 1rem; color: var(--ink-soft); margin: 0 0 1rem; }
.survey-step--hidden { display: none; }
.choice { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem 1rem; margin: 0 0 .5rem; border-radius: 999px; background: var(--paper); cursor: pointer; transition: background .2s ease; }
.choice:hover { background: var(--paper-deep); }
.choice:has(input:checked) { background: var(--sand); }
.choice input { margin-top: .4rem; accent-color: var(--oxblood); width: 1.1rem; height: 1.1rem; flex: none; }
.choice__text { font-size: 1.05rem; line-height: 1.4; }
.choice__text small { display: block; font-size: .9rem; color: var(--ink-soft); }
.field { margin: 0 0 1rem; }
.field__label { display: block; font-weight: 500; margin-bottom: .3rem; }
.field__hint { display: block; font-size: .92rem; color: var(--ink-soft); margin-bottom: .4rem; }
.field__input { width: 100%; max-width: 100%; font: inherit; font-size: 1.05rem; padding: .7rem 1rem; border: 1px solid rgba(58,37,48,.25); border-radius: 999px; background: var(--paper); color: var(--ink); }
select.field__input { border-radius: 1rem; }
.field__input:focus { outline: 2px solid var(--oxblood); outline-offset: 1px; }
.field__error { color: var(--oxblood); font-weight: 500; }
.survey__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.8rem 0 1rem; }
.button { font: inherit; font-size: 1.08rem; padding: .85rem 1.8rem; border-radius: 999px; border: 0; background: var(--plum); color: var(--paper); cursor: pointer; text-decoration: none; }
.button:hover { background: var(--oxblood); color: var(--paper); }
.button--quiet { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px rgba(58,37,48,.35); }
.button--quiet:hover { background: var(--paper-deep); color: var(--plum); }
.noscript-note { max-width: 40rem; margin: 0 auto 2rem; padding: 0 1.25rem; }
.toolpage__notes { max-width: var(--measure); margin: 0 auto; padding: 1rem 1.25rem 4rem; }

/* consent answer */
.verdict:empty { display: none; }
.verdict { margin-top: 2rem; padding: 2rem 1.7rem; background: var(--plum); color: var(--paper); border-radius: 1.8rem; }
.verdict__head { color: var(--paper); margin: 0 0 .6rem; font-size: 2rem; }
.verdict__summary { color: #E2D4CC; font-style: italic; font-size: 1rem; }
.verdict__list { list-style: none; padding: 0; margin: 1.4rem 0; }
.verdict-item { background: var(--paper); color: var(--ink); border-radius: 1.3rem; padding: 1.2rem 1.4rem; margin-bottom: .9rem; }
.verdict-item__kind { font-style: italic; margin: 0 0 .2rem; font-size: .98rem; }
.verdict-item--required .verdict-item__kind { color: var(--oxblood); }
.verdict-item--pd .verdict-item__kind { color: var(--sage); }
.verdict-item--prior .verdict-item__kind, .verdict-item--check .verdict-item__kind { color: #8A6E3E; }
.verdict-item__title { margin: 0 0 .5rem; font-size: 1.4rem; }
.verdict-item ul { font-size: 1rem; padding-left: 1.2rem; margin-bottom: .4rem; }
.verdict .aside-note { color: var(--ink); }
.link-on { color: var(--sand); font-style: italic; }
.link-on:hover { color: var(--paper); }

/* soft vertical timeline */
.soft-timeline { margin-top: 2.5rem; }
.soft-timeline:empty { display: none; }
.programme-summary { text-align: center; padding: 2rem 1.5rem; background: var(--plum); color: var(--paper); border-radius: 1.8rem; }
.programme-summary__label { font-style: italic; color: var(--sand); margin: 0 0 .3rem; }
.programme-summary__range { font: 400 clamp(1.7rem, 4vw, 2.4rem)/1.15 var(--display); margin: 0 0 .8rem; }
.programme-summary p { margin-bottom: .6rem; }
.programme-summary__small { font-size: .95rem; color: #D8C9C0; font-style: italic; margin: 0; }
.programme { list-style: none; margin: 2.2rem 0 0; padding: 0 0 0 2.2rem; position: relative; }
.programme::before { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--sand), var(--oxblood)); }
.programme__stage { position: relative; margin: 0 0 1.6rem; }
.programme__stage::before { content: ""; position: absolute; left: -2.05rem; top: .45rem; width: .95rem; height: .95rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--sand); }
.programme__stage--key::before { background: var(--oxblood); box-shadow: none; }
.programme__stage--risk::before { box-shadow: inset 0 0 0 2px var(--oxblood); }
.programme__date { display: block; font-style: italic; color: var(--oxblood); font-size: .98rem; }
.programme__name { font: 400 1.35rem/1.25 var(--display); color: var(--plum); margin: .1rem 0 .3rem; }
.programme__note { font-size: 1rem; color: var(--ink-soft); margin: 0; }

/* 404 */
.lost { max-width: 72rem; margin: 3rem auto 5rem; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lost__photo { margin: 0; }
.lost__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .lost { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  body { font-size: 1.09rem; }
  .qcard { padding: 1.3rem 1.1rem 1rem; border-radius: 1.3rem; }
  .qcard__q { font-size: 1.38rem; }
  .choice { border-radius: 1rem; }
  .fact-table { font-size: .95rem; }
  .fact-table tbody th { min-width: 8.5rem; }
  .photo--wide .photo__img { aspect-ratio: 4 / 3; }
}

/* V2 QA fixes: balanced headlines, aligned features, no vh-based heights on small screens, wrapping nav */
h1, h2, .ask__q, .feature__title, .next__title, .shelf__title { text-wrap: balance; }
.features__grid > .feature:nth-child(2), .features__grid > .feature:nth-child(3) { margin-top: 0; }
.features__grid { align-items: stretch; }
.feature:not(.feature--lead) .feature__img { aspect-ratio: 4 / 5; }
.ask__a::after { content: " \2192"; color: var(--oxblood); }
.cover__img { height: auto; aspect-ratio: 16 / 8; max-height: 52rem; }
.opening__photo .photo__img { height: auto; aspect-ratio: 16 / 8; max-height: 46rem; }
@media (max-width: 860px) {
  .opening__photo .photo__img { aspect-ratio: 4 / 3; }
  .opening--portrait .opening__photo .photo__img { aspect-ratio: 4 / 5; max-height: none; }
}
@media (max-width: 640px) {
  .mast__nav { flex-wrap: wrap; overflow: visible; justify-content: center; gap: .15rem 1rem; padding: 0; }
  .mast__nav a { font-size: .95rem; padding: .35rem 0; }
  .cover__img { aspect-ratio: 4 / 5; }
  .cover__title { font-size: 2.3rem; }
  .cover__words, .opening__words { text-align: left; }
  .cover__words .standfirst { margin: 0; }
  .ask { padding: 1.2rem 1.3rem 1.3rem; }
  .ask__q { font-size: 1.25rem; }
}
/* legend sits inside the card, not on its edge */
.qcard__q { float: left; width: 100%; margin: 0 0 .6rem; }
.qcard__q + * { clear: both; }
.qcard::after { content: ""; display: block; clear: both; }
.choice input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; }
.choice { align-items: center; min-height: 3rem; }
.ask__a::after { content: "\00a0\2192"; }
/* before/after comparison as an open spread, not boxes */
.two-ways { gap: 0; }
.two-ways__item { background: transparent; border-radius: 0; padding: .4rem 2rem .4rem 0; }
.two-ways__item + .two-ways__item { padding: .4rem 0 .4rem 2rem; border-left: 1px solid var(--sand); }
.two-ways__item h3 { font-style: italic; }
.grades__item { background: transparent; border-radius: 0; padding: .2rem 1.2rem; border-left: 1px solid var(--sand); }
.contents { display: inline-block; min-width: min(20rem, 100%); }
.opening__basis { font-size: 1rem; }
@media (max-width: 700px) {
  .two-ways__item, .two-ways__item + .two-ways__item { padding: 1rem 0; border-left: 0; }
  .two-ways__item + .two-ways__item { border-top: 1px solid var(--sand); }
}
/* programmatic focus on result headings: no box around the title */
[tabindex="-1"]:focus { outline: none; }
.soft-timeline { padding-bottom: 1.5rem; }
.verdict-item ul { font-size: 1.04rem; line-height: 1.6; }
@media (max-width: 560px) {
  .tablewrap { margin-left: -.6rem; margin-right: -.6rem; }
  .fact-table { font-size: .9rem; table-layout: auto; }
  .fact-table th, .fact-table td { padding: .55rem .6rem; overflow-wrap: anywhere; hyphens: auto; }
  .fact-table tbody th { min-width: 0; }
  .fact-table caption { padding: .8rem .6rem .3rem; }
}
