/* The look of 27 October 2026 (Kyle, after Joule Ventures; brand rules sections 3, 4, 6, 7 and 11, design system v53).
   Loaded after every other stylesheet, on every page, so it can be read in one place:
   - soft corners on one scale: 16px for cards, panels, inset photos and pull quotes; 12px for small images, icon tiles and
     fields; fully rounded buttons; 6px for tags and the photo label. Square for anything that bleeds off an edge, tables, the
     waffle, bullets, markers and the stop.
   - flat: no shadows, and the lift is retired. A hover is a 0.4s fill (ease) and nothing moves: a card fills navy, its type
     turns chalk and its detail the trim accent; an outlined button fills navy. Only the Seneca arrow nudges, up and right.
   - web type: body 18px, lede 20px, buttons and navigation 17px Archivo Medium.
   - the header leads with chalk (Kyle, 27 October 2026), as the homepage does. */

/* the corner scale, quietened on 28 October 2026 (Seneca design system version 61, brand rules section 6; it was 16, 12, 6
   and fully rounded from 27 October): cards and panels 8px, icon tiles and small photos 6px, every button, chip and field
   6px, tags 4px. No pills; only what is round by nature stays round (the slider's thumb, the round arrow controls). */
:root { --r-card: 8px; --r-icon: 6px; --r-button: 6px; --r-tag: 4px; --r-round: 50%; --fill: .5s ease; }
/* one body size (Kyle, 29 October 2026: 18px "feels too big"; something between 15 and 17): body copy, the lede and the
   standfirst are 16px, card text 15px, small print 13px. Subheads stay a few points above body, at 18px. */
:root { --t-body: 1rem; --t-card: .9375rem; --t-small: .8125rem; }
/* five Archivo sizes, and only five (Kyle, 5 November 2026: readable for advisers from 25 to 65; brand rules section 4):
   subhead 20px SemiBold, body 17px at 1.6 (running text, the lede and standfirst, card text, lists, risk warnings), buttons
   and navigation 16px Medium, small 14px (captions, notes, sources, tables, footers), and the 12px capitals label tracked
   0.12em. Nothing a reader has to read is under 14px. Card text is body size now, so --t-card is --t-body. */
/* body 16px from 17 November 2026 (Kyle: "Could we have body text size 16 across the entire site? ... the body text is way too
   big consistently"): running text, the lede and standfirst, card text, lists and risk warnings, everywhere, through --t-body */
:root { --t-body: 1rem; --t-card: 1rem; --t-small: .875rem; }

/* ---------- every change of colour eases (Kyle, 29 October 2026: "still no hover state transition ... just a harsh change
   between colours"). Brand rules section 7: a fill or a line comes in over 0.4 to 0.5 seconds. This is the floor under the
   whole site: any element whose colour, fill or border changes (on hover, on focus, or when a bar changes tone) eases over
   half a second, unless its own rule says otherwise. It has no weight (:where), so a component's own transition still
   wins; test/hover-render.cjs fails any hover that changes colour faster than 0.4 seconds. ---------- */
:where(*) { transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke; transition-duration: .5s; transition-timing-function: ease; }
/* the components that set their own, quicker transitions (0.2 to 0.3 seconds) ease at the house speed too */
:is(.head nav a, .head .ddm a, .sf-cols a, .sf-reach a, .mg-card .mg-t, .ck-l, .dmeta .get, .dfil button, .xp-ct a, .xp-p a .xp-name,
  .irow h3, .stj-arrows button, .stj-ys button, .as-sh a, .as-sh button, .art2-by b, .rn2-row b, .ul-tabs button, .ilead h3,
  .pf-row button, .eis-q summary .q, .ihv-tile h3, .bk-days button, .bk-times button, .bk-mode button, .bk-arr) { transition-duration: .5s; }
:is(.audsw, .sfoot .audsw) { transition-property: color, border-color, background-color; transition-duration: .5s; }
:is(.news-pg .ilead, .ic2) { transition-property: border-color, background-color; transition-duration: .5s; }
.stj-arrows button { transition-property: background-color, border-color, color, opacity; transition-duration: .5s; }
.head.mgjs .ddm.mega { transition: visibility 0s .12s, background-color .5s ease, border-color .5s ease; }

/* ---------- type ---------- */
body { font-size: var(--t-body); }
.lede, .pg-lede, .pf-lede, .close-lede, .rec-lede, .st-intro, .stj-intro, .stf-intro, .eis-plede, .nv-intro, .fs-intro { font-size: var(--t-body); line-height: 1.6; }   /* the lede is body size (28 October 2026) */
.eis-what .eis-say, .cpf .eis-what .eis-say, .sth-body, .sts-copy, .exc p, .atx p, .ilead p, .ct-r { font-size: var(--t-body); }
.mcard p { font-size: var(--t-body); }

/* ---------- buttons: 6px corners (28 October 2026; fully rounded before), 17px Archivo Medium, a 0.4s fill ---------- */
.btn { border-radius: var(--r-button); font: 500 1rem/1.2 var(--sans); border-width: 1px; transition: color var(--fill), background-color var(--fill), border-color var(--fill); }
.btn svg { transition: transform var(--fill), stroke var(--fill); }
.btn .arr { width: 15px; height: 15px; }
.btn:hover .arr { transform: translate(2px, -2px); }
/* the arrow keeps the trim on a hover: the accent on a navy fill (Kyle, 27 October 2026: the colour was stripped out) */
.btn .arr { transition: transform var(--fill), color var(--fill); }
.btn.ghost.dark:hover .arr { color: var(--brick-accent); }
.cpf-forms .btn { font-size: 1rem; }
.seg, .seg button, .switch, .switch button, .snav-c .go, .navpick, .navpick button, .portal, .audsw, .mbtn, .nv-play, .as-sh a, .as-sh button, .xp-ct a, .pills span, .years button, .bk-days button, .bk-times button, .bk-mode button, .bk-arr { border-radius: var(--r-button); }
/* round by nature: the round arrow controls and the round download control on a document */
.stj-arrows button, .hz-arrow, .stf-arr, .dmeta .get { border-radius: var(--r-round); }
.dmeta .get:hover, .years button:hover, .years button:focus-visible, .years button.on { transform: none; }

/* ---------- the Seneca arrow (Gloock's, design system Icons/arrow-seneca.svg): one arrow, nudging up and to the right ---------- */
.irow:hover .arr, .ilead:hover .go3 .arr, .mg-nav a:hover svg, a.exc:hover .exc-go svg, .eis-olist a:hover svg, .pf-grid a:hover .go svg,
.as-go:hover svg, .fx-tlink:hover svg, .fx-alink:hover svg, .fs-links a:hover svg, .hxt-tag:hover .tgi svg { transform: translate(2px, -2px); }
.irow .arr, .ilead .go3 .arr, .mg-nav svg, .exc-go svg, .eis-olist a svg, .pf-grid a .go svg { transition: transform var(--fill), color var(--fill); }

/* ---------- the header, on chalk ---------- */
.risk { background: #fff; }
.head { background: var(--chalk); color: var(--ink); border-bottom: 1px solid var(--rule); }
/* the logo comes in both colourings; the reversed one only over the homepage's navy band (home.css) */
.head .logo > span { display: block; } .head .logo .lg-r { display: none; }
.head .mnav > a, .dd > button { color: var(--ink); font: 500 1rem var(--sans); transition: color var(--fill); }
.head .mnav > a:hover, .dd:hover > button, .dd.open > button { color: var(--brick-word); }
.mnav > a::after { background: var(--brick-word); }
.head .mnav > a.cur, .dd.cur > button { color: var(--navy); }
.dd .chev { color: var(--brick-word); }
.portal, .head .wrap > .audsw { color: var(--navy); border-color: var(--navy); padding: .5625rem 1.125rem; font: 500 1rem var(--sans); transition: color var(--fill), background-color var(--fill), border-color var(--fill); }
.portal svg, .head .wrap > .audsw svg { color: var(--brick-word); transition: color var(--fill); }
.portal:hover, .head .wrap > .audsw:hover { background: var(--navy); border-color: var(--navy); color: var(--chalk); }
/* the header's outlined buttons (Investor's Portal, the site switch) fill a shade darker than the header on hover, keeping
   their edge and words (Kyle, 30 October 2026, replacing the brick of 27 October) */
.head :is(.portal, .wrap > .audsw):hover { background: var(--stone); border-color: var(--navy); color: var(--navy); }
.head .portal:hover svg { color: var(--brick-word); }
.portal:hover svg, .head .wrap > .audsw:hover svg { color: var(--brick-accent); }
.mbtn { border-color: var(--rule); }
.mbtn i { background: var(--navy); }
/* the phone menu follows the header onto chalk */
.msheet { background: var(--chalk); border-top-color: var(--rule); }
.ms-row, .head .ms-list a { color: var(--navy); border-bottom-color: var(--rule); }
.ms-row svg, .ms-back svg { color: var(--brick-word); }
.ms-row.cur, .head .ms-list a.cur { color: var(--brick-word); }
.ms-back { color: var(--ink-soft); }
.ms-h { color: var(--brick-word); border-bottom-color: var(--rule); }
.ms-portal { --bg: var(--navy); --fg: var(--chalk); }
.ms-portal:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--chalk); }   /* a shade darker, as every button (30 October 2026) */
.head .msheet a.audsw { color: var(--navy); border-color: var(--navy); }
.head .msheet a.audsw svg { color: var(--brick-word); }
.head .msheet a.audsw:hover { background: var(--navy); color: var(--chalk); }
@media (max-width: 1180px) { .portal { padding: .5rem .9375rem; font-size: .875rem; } }

/* the menus: photos inset at 12px, the label inset on them, nothing zooms */
.mg-card figure { border-radius: var(--r-card); }
.mg-card figcaption { left: 10px; bottom: 10px; border-radius: var(--r-tag); }
.mg-card:hover figure img { transform: scale(1.04); }
.ddm:not(.mega) { border-radius: 0 0 var(--r-card) var(--r-card); }   /* a menu panel */

/* ---------- cards and panels: 16px, flat; a linked card fills navy on hover ---------- */
.mcard, .step, .exc, .pf-grid a, .pcard, .pq, .fx-mcard, .ct-card, .as-card, .stj-card, .sth-card, .hz-panel, .nv-panel, .tpanel, .lpanel, .msgbox, .gate-box, .ck-box, .pil-box { border-radius: var(--r-card); }
.pcard, .exc, .pf-grid a, .hz-panel, .nv-panel { overflow: hidden; }
.mcard, .exc, .pf-grid a, .step { transition: background-color var(--fill), border-color var(--fill), color var(--fill); }
.mcard:hover, .mcard:focus-within, .step:hover, a.exc:hover, .pcard:hover { transform: none; }
.mcard:hover, .mcard:focus-within { background: var(--navy); border-color: var(--navy); }
.mcard h3, .mcard p, .mcard .fig, .mcard .go, .mcard .n { transition: color var(--fill); }
.mcard:hover h3, .mcard:focus-within h3, .mcard:hover .fig, .mcard:focus-within .fig { color: var(--chalk); }
.mcard:hover p, .mcard:focus-within p { color: var(--sand); }
.mcard:hover .n, .mcard:focus-within .n, .mcard:hover .go, .mcard:focus-within .go { color: var(--brick-accent); }
.mcard:hover .foot2, .mcard:focus-within .foot2 { border-top-color: var(--navy-line); }
.mcard:hover .go svg { transform: none; }
.mcard:hover .ico, .mcard:focus-within .ico { background: var(--brick); }
a.exc:hover { background: var(--navy); border-color: var(--navy); color: var(--chalk); }
a.exc h2, a.exc h3, a.exc p, a.exc .exc-r, a.exc .exc-go { transition: color var(--fill); }
a.exc:hover h2, a.exc:hover h3, a.exc:hover .exc-go { color: var(--chalk); }
a.exc:hover p { color: var(--sand); }
a.exc:hover .exc-r, a.exc:hover .exc-go svg { color: var(--brick-accent); }
a.exc:hover .exc-ph img { transform: scale(1.04); }
.pf-grid a:hover { background: var(--navy); border-color: var(--navy); color: var(--chalk); }
.pf-grid a:hover * { color: var(--chalk); border-color: var(--navy-line); }
.pf-grid a:hover .go, .pf-grid a:hover .go svg { color: var(--brick-accent); }
.pcard img { transform: none; }
.pcard:hover img, .pcard:focus-within img { transform: scale(1.04); }
.icard:hover img, .ilead:hover img { transform: scale(1.04); }
.dcard:hover .cwrap { transform: none; }
/* Our Story's team photos tilt towards the pointer, gently (Kyle, 27 October 2026: kept, but less dramatic) */
.mt:is(:hover, :focus-visible) { translate: 0 -.25rem; }
.mt:is(:hover, :focus-visible) .mt-ph { transform: perspective(1200px) rotateY(calc(var(--mx) * 2deg)) rotateX(calc(var(--my) * -2deg)) scale(1.012); }

/* inset photos and small images */
/* PHOTOS, one rule (Kyle, 27 October 2026): a photo set inside the layout takes 16px corners; a portrait or thumbnail under
   about 120px takes 12px; a photo that bleeds off an edge of the screen or of its band is square, and so is a document cover.
   Charts are never rounded: the waffle and its squares stay square. */
.icard figure, .ilead figure, .ph, .aph, .hz-panel .im, .xp-p figure, .xp-ph, .mt-ph, .sth-ph, .stj-ph, .stf-s figure, .fx-strip img, .hm-post figure, .mg-card figure, .fs-peek figure { border-radius: var(--r-card); overflow: hidden; }
.person img, .contact .who img, .as-who img, .pq-ph, .contact .who .ico { border-radius: var(--r-icon); }
.ph figcaption, .aph figcaption, .hz-panel .im figcaption { border-radius: var(--r-tag); }
.ph figcaption { left: 10px; bottom: 10px; }

/* icon tiles: 12px */
.ico, .flist .ico, .gets .ico, .gopt .ico, .sn b { border-radius: var(--r-icon); }

/* tags: 6px */
.pcard .tag, .stj-co em, .dcard .pick, .chips span { border-radius: var(--r-tag); }

/* fields: 12px */
main input:not([type=radio]):not([type=checkbox]):not([type=range]), main select, main textarea, .msgbox input, .msgbox textarea, .money, .req.flow .from { border-radius: var(--r-button); }
main .money input:not([type=radio]):not([type=checkbox]):not([type=range]) { border-radius: 0; }

/* ---------- the footer ---------- */
.sfoot .audsw { border-radius: var(--r-button); }

/* the cookie box's Manage link can be tapped in a 44px square */
.ck-l { min-height: 44px; }
/* on a phone the cookie box is a sheet off the bottom edge: rounded at the top only */
@media (max-width: 600px) { .ck-box { border-radius: var(--r-card) var(--r-card) 0 0; } }

/* the arrow is only on the four products: the boxes that held it elsewhere go with it */
.rn2-arr, .stf-arr { display: none; }
.stj-prev svg { transform: none; }

/* things that lean towards the pointer glide back when it leaves, rather than jolting home (Kyle, 27 October 2026) */
.btn.spring, .mag.spring { transition: transform .9s cubic-bezier(.22,1,.36,1), color var(--fill), background-color var(--fill), border-color var(--fill) !important; }
.mt { transition: translate .9s cubic-bezier(.22,1,.36,1); }
.mt-ph { transition: transform .9s cubic-bezier(.22,1,.36,1); }

/* Our Story's family list: the row you are on is a white panel, with the same corners as a card */
.stf-row::before { border-radius: var(--r-card); }
.sth-ph figcaption, .stf-s figure figcaption, .stj-ph figcaption { left: 10px; bottom: 10px; border-radius: var(--r-tag); }

/* ---------- the adviser and investor gate, in the new look (Kyle, 27 October 2026: "still in the old brand") ----------
   the header strip on chalk like the site's own, the choices as soft cards, the icon tiles at 12px */
html .gate { background: var(--chalk); }
html .gate[data-gv] .gate-logo { background: var(--chalk); border-bottom-color: var(--rule); }
html .gate .gate-box { border-radius: var(--r-card); }
html .gate[data-gv] .gopt, html .gate .gopt { border-radius: var(--r-card);   /* a large choice is a card (brand rules section 6, 28 October 2026) */ transition: border-color var(--fill), box-shadow var(--fill), background-color var(--fill); }
html .gate[data-gv] .gopt .ico, html .gate .gopt .ico { border-radius: var(--r-icon); }
html .gate[data-gv] .gate-go { font: 500 1rem/1.2 var(--sans); }
@media (max-width: 900px) { html .gate .gate-box { border: 1px solid var(--rule); } }
html .gate .gate-warn, html .gate .gate-foot { color: var(--ink); }

/* ---------- the gate's words, settled (Kyle, 11 November 2026: "so many different text sizes that it doesn't work"; "is every
   bit of text earning its place?"; "Could important notice not sit on the text on the left?"; "that text on the left still
   has way too many different styles") ----------
   At the left, under the welcome, two styles and one size, 16px: navy semibold for the two lines that ask something (the
   question, "Important notice") and ink for what is said (who the site is for, the notice's points, each its own line
   with the brand's square brick bullet). At the right the two cards, then the tick and the button on one line under them,
   so the tick plainly wakes the button. The small print runs along the foot. The cards keep a mark, a title and who they
   are for; the chosen one is ringed in navy and shows its mark (the empty marker looked like a second tick box). */
/* On the house scale (brand rules section 4, 5 November 2026): the subhead, 20px SemiBold navy, for the two lines that
   ask or name something (the question, "Important notice"); body, 17px Regular at 1.6, for everything said, the notice's
   points included (risk warnings sit at body size, never small print); 16px Medium for the tick's words, as a control;
   14px for the small print, the floor for anything a reader has to read. */
html .gate { --gt-title: clamp(1.5rem, min(calc(2vw * var(--ts, 1)), 4vh), 2rem); --gt-pad: clamp(1.25rem, 3vh, 2rem) clamp(1.25rem, 2vw, 2rem); --gt-text: .9375rem; --gt-strong: 1.0625rem; --gt-small: .8125rem; }
/* a size smaller than the site's own on this one screen (Kyle, 11 November 2026: "shrink all of the text (the non-headline
   text anyway) on that gate page, it just feels too big and intense"): the strong lines 17px, the text 15px, the small
   print 13px; the welcome and the card titles keep their serif sizes */
html .gate .gate-q, html .gate .gn-h { margin: 0; font: 600 var(--gt-strong)/1.4 var(--sans); letter-spacing: 0; color: var(--navy); }
html .gate .gate-warn, html .gate .gn-t { margin: 0; font-size: var(--gt-text); line-height: 1.55; font-weight: 400; color: var(--ink); }
html .gate .gate-warn { border-left: 0; padding-left: 0; }
html .gate .gate-note { display: grid; gap: clamp(.5rem, 1.4vh, .875rem); align-content: start; }
/* the points as rows under hairlines, as the menu's lists are, with no bullet: seven brick squares down one column read as
   decoration rather than warning (Kyle, 11 November 2026: "do we use brick red on every bullet? That doesn't feel right") */
html .gate .gn-t { display: grid; padding: 0; list-style: none; text-wrap: pretty; border-bottom: 1px solid var(--rule); }
html .gate .gn-t li { padding-block: clamp(.25rem, .8vh, .5rem); border-top: 1px solid var(--rule); }
/* the tick and the button, one line */
html .gate .gn-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
html .gate .gn-ok { display: inline-grid; grid-template-columns: 24px minmax(0, auto); align-items: center; gap: .75rem; padding: 0; border: 0; background: none; box-shadow: none; font: 500 var(--gt-text)/1.35 var(--sans); color: var(--navy); cursor: pointer; }
html .gate .gn-ok.on, html .gate .gn-ok:has(input:checked) { background: none; box-shadow: none; }
html .gate .gn-ok .gd-box { width: 24px; height: 24px; margin: 0; }
html .gate .gn-ok:hover .gd-box { background: var(--stone); }
html .gate .gn-ok:has(input:checked) .gd-box { background: var(--navy); }
html .gate .gn-ok:has(input:focus-visible) { outline: none; }
html .gate .gn-ok:has(input:focus-visible) .gd-box { outline: 2px solid var(--trim-focus); outline-offset: 3px; }
html .gate .gn-act .gate-go { margin: 0; min-width: 11rem; justify-self: auto; }
html .gate .gn-msg { flex: 1 1 100%; margin: 0; font-size: .875rem; color: var(--brick-word); }
html .gate .gn-msg:empty { display: none; }
html .gate .gate-foot { font-size: var(--gt-small); line-height: 1.5; color: var(--ink-soft); }
html .gate .gate-foot a { font-size: inherit; }
/* the mark shows only on the chosen card, on a phone too */
html .gate .gopt .rad { opacity: 0; transition: opacity .3s ease, border-color .5s ease; }
html .gate .gopt:has(input:checked) .rad { opacity: 1; }
@media (max-width: 900px) {
  html .gate .gate-note { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
  html .gate .gn-act .gate-go { flex: 1 1 100%; }
}

@media (min-width: 901px) {
  /* the welcome and the notice down the left; the question, the choices it asks for, and the tick with the button down the
     right, the question level with the foot of the welcome */
  html .gate[data-gv="d"] .gate-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "head ask" "note opts" "note act" "foot foot"; row-gap: 0; }
  html .gate[data-gv="d"] .gate-head { align-self: end; }
  /* the welcome kept to the window's height as well as its width, so the page fits a laptop's screen */
  html .gate[data-gv="d"] h2 { --serif-size: min(clamp(3rem, min(calc(6.4vw * var(--ts)), 8.6vh), 5.5rem), 13.5cqi); }
  html .gate[data-gv="d"] .gate-q { font: 600 var(--gt-strong)/1.4 var(--sans); max-width: none; color: var(--navy); }
  html .gate[data-gv="d"] .gate-warn { font-size: var(--gt-text); line-height: 1.55; max-width: none; }
  /* the same measure as the menu bar, so the welcome starts under the logo at every width (it is laid over the bar's) */
  html.nf .gate[data-gv="d"] { padding-inline: 0; padding-top: calc(var(--hh, 80px) + clamp(1rem, 3.5vh, 4.5rem)); padding-bottom: clamp(1rem, 2.5vh, 3rem); }
  html.nf .gate[data-gv="d"] .gate-box { width: min(1280px, 100% - 4rem); }
  html .gate[data-gv="d"] .gate-box > .gate-ask { grid-area: ask; align-self: end; display: grid; gap: .125rem; padding-bottom: 0; }   /* its last line on the welcome's baseline */
  html .gate[data-gv="d"] .gate-ask > * { grid-area: auto; max-width: none; }
  html .gate[data-gv="d"] .gate-box > .gate-note { grid-area: note; margin-top: clamp(1.5rem, 4vh, 3rem); }
  html .gate[data-gv="d"] .gate-box > .gate-opts { margin-top: clamp(1.5rem, 4vh, 3rem); }
  html .gate[data-gv="d"] .gn-t { max-width: none; }
  html .gate[data-gv="d"] .gn-h { margin-top: -.3em; }   /* its capitals level with the tops of the cards beside it */
  html .gate[data-gv="d"] .gate-box > .gn-act { grid-area: act; align-self: end; margin-top: clamp(1.25rem, 3.5vh, 2rem); flex-wrap: nowrap; }
  html .gate[data-gv="d"] .gate-box > .gate-foot { grid-area: foot; max-width: none; margin-top: clamp(1rem, 2.8vh, 2rem); }

  /* the cards fill the column down to the tick, as tall tiles: the mark at the top, the title and who it is for together at
     the foot, level across both cards whichever title runs to two lines; the tick and the button sit under them, level
     with the notice's last point, so you tick once you have read it */
  html .gate[data-gv="d"] .gate-opts { grid-template-rows: auto 1fr auto auto; align-self: stretch; }
  html .gate[data-gv="d"] .gopt { grid-row: span 4; grid-template-areas: "ico . rad" "sp sp sp" "ttl ttl ttl" "txt txt txt"; padding: var(--gt-pad); }
  html .gate[data-gv="d"] .gopt b { align-self: end; }
  html .gate[data-gv="d"] .gopt .gtag, html .gate[data-gv="d"] .gopt .gview { display: none; }
  html .gate[data-gv="d"] .gopt b { margin-top: 1.5rem; --serif-size: var(--gt-title); font-size: var(--gt-title); line-height: 1.02; text-wrap: balance; }
  html .gate[data-gv="d"] .gopt small { margin-top: .625rem; font-size: var(--gt-text); line-height: 1.55; max-width: 36ch; color: var(--ink); }
  html .gate[data-gv="d"] .gopt .ico { width: clamp(40px, 5.5vh, 52px); height: clamp(40px, 5.5vh, 52px); }
  html .gate[data-gv="d"] .gopt .ico svg { width: 24px; height: 24px; }
  html .gate[data-gv="d"] .gopt .rad { width: 24px; height: 24px; }
  html .gate[data-gv="d"] .gopt .rad::after { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: no-preference) { html .gate .gate-box > .gn-act { --gd: .32s; } }
/* the adviser's second step in the same system as the first: its columns where the first step's are, so the declaration's
   card starts where the choices did; the note in the left column's text style with no rule beside it, the question over
   the ticks in the strong style, the small print at 13px */
html .gate .gd-note { padding-left: 0; border-left: 0; font-size: var(--gt-text); line-height: 1.55; color: var(--ink); }
html .gate .gd-ask { font: 600 var(--gt-strong)/1.4 var(--sans); color: var(--navy); }
html .gate .gd-item { font-size: var(--gt-text); line-height: 1.5; }
html .gate .gd-foot { font-size: var(--gt-small); line-height: 1.5; color: var(--ink-soft); }
html .gate .gd-foot a { font-size: inherit; }
@media (min-width: 901px) {
  html .gate[data-gv="d"] .gate-decl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  html .gate[data-gv="d"] .gd-note { font-size: var(--gt-text); max-width: 46ch; }
  html .gate[data-gv="d"] .gd-ask { font-size: var(--gt-strong); }
}
@media (prefers-reduced-motion: no-preference) { html .gate .gate-box > .gate-note { --gd: .28s; } }

/* documents stay still, but say clearly which one you are on (Kyle, 27 October 2026): a navy ring a little off the cover,
   the title in the trim's word tone and the download button filled navy, all over 0.4s */
/* document covers take the card radius, as photos and cards set in a layout do (13 November 2026); the files stay square.
   The hover ring follows the same curve, its radius grown by its offset, so it stays concentric with the cover */
.cover, .dth { border-radius: var(--r-card); }
.cview { border-radius: var(--r-card); }
/* the frame (Kyle, 13 November 2026, option D): each cover sits on a stone panel with the card radius; on hover the panel
   deepens a touch and the cover rises inside it; a selected document's panel takes the focus trim. The Advisers only and
   Latest flags sit on the panel, top left; the kind of document is a tag under the details. On a phone the panel is the
   cover's own small frame, and the flags join the tag row */
.dcard .cwrap { display: grid; place-items: center; aspect-ratio: 1 / 1.08; padding: 3rem 0 1.5rem; background: var(--stone); border-radius: var(--r-card); transition: background-color var(--fill), box-shadow var(--fill); }
.dcard:hover .cwrap, .dcard:focus-within .cwrap { background: #DCD2C4; }
.dcard.sel .cwrap { box-shadow: inset 0 0 0 2px var(--trim-focus); }
.dcard .cview { width: 58%; transition: transform .6s var(--ease); }
.dcard:hover .cview { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 6px)); }
@media (min-width: 601px) { .dcard .pick { right: 12px; top: 12px; } }
.dflags { position: absolute; left: 12px; top: 12px; right: 48px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.dflags span, .dtags span { font: 600 .75rem/1 var(--sans); padding: .45rem .6rem; border-radius: var(--r-tag); color: var(--navy); }
.dflags span { background: var(--chalk); }
.dtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .75rem; }
.dtags span { background: var(--stone); }
.dtags .dtag-ph { display: none; }
/* a cover drawn in stone would vanish on the stone panel, so on the panel it is drawn on chalk */
.dcard .cover.cv-stone { background: var(--chalk); }
@media (max-width: 600px) {
  .dcard .cwrap { aspect-ratio: auto; padding: .75rem 0; }
  .dcard .cview { width: 72%; }
  .dflags { display: none; }
  .dtags .dtag-ph { display: inline-block; }
}
.dmeta .t { transition: color var(--fill); }
.dcard:hover .dmeta .t { color: var(--brick-word); }
.dcard:hover .dmeta .get { background: var(--stone); border-color: var(--stone); color: var(--navy); }   /* stone, not a navy fill */
.dmeta .get { border-radius: var(--r-round); }

/* ---------- the gate arrives and leaves the way the homepage's words do (Kyle, 27 October 2026: "make it sleek") ----------
   Each part rises out of a soft blur, a beat after the last (after Sequence's text); on Confirm they lift away the same way,
   the chalk panel fades, and the page's own landing plays underneath (site.js, home.js, wl.js). */
@media (prefers-reduced-motion: no-preference) {
  html .gate .gate-box { animation: none; }
  html .gate .gate-box > * { animation: gate-in .85s cubic-bezier(.215,.61,.355,1) var(--gd, 0s) both; }
  html .gate .gate-box > .gate-head { --gd: .08s; } html .gate .gate-box > .gate-opts { --gd: .18s; }
  html .gate .gate-box > .gate-warn { --gd: .26s; } html .gate .gate-box > .gate-go { --gd: .32s; } html .gate .gate-box > .gate-foot { --gd: .38s; }
  html .gate .gate-box > .gate-logo { animation: none; }
  html .gate.leaving .gate-box > * { animation: gate-out .42s cubic-bezier(.55,.06,.68,.19) calc(var(--gd, 0s) * .4) both; }
  html .gate.leaving .gate-box > .gate-logo { animation: none; }
  html .gate.leaving { animation: gate-fade .6s cubic-bezier(.4,0,.2,1) .34s both; pointer-events: none; }
}
@keyframes gate-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes gate-out { to { opacity: 0; transform: translateY(-14px); filter: blur(6px); } }
@keyframes gate-fade { to { opacity: 0; } }

/* ---------- form fields: every box that takes an answer at 12px, as the fields already are (Kyle, 27 October 2026) ----------
   The contact form's message box, and the enquiry form's choice tiles, yes and no tiles, tick boxes and money fields.
   The small markers inside them (the radio square, the tick square) stay square, like the logo's stop. */
html .ct-form textarea, html .spi-form input:not([type=radio]):not([type=checkbox]), html .spi-form textarea,
html .spi-k, html .sf-yn label, html .sf-opts label, html .sf-check { border-radius: var(--r-button); }
html .sf-money > span { border-radius: var(--r-button) 0 0 var(--r-button); }
html .spi-form .sf-money input:not([type=radio]):not([type=checkbox]) { border-radius: 0 var(--r-button) var(--r-button) 0; }

/* the contact card's email address is written out in parts until a script joins it: it takes the row's chalk, not the label's sand */
.contact .ways :is(a, .way) b :is(.em, .nw), .contact .ways a:hover b :is(.em, .nw) { color: inherit; }  /* the address is a span inside the b: it follows the b, brick on hover like the phone and LinkedIn rows */

/* the page keeps the scrollbar's room while something holds it still (the gate, the search, the phone menu), so nothing
   shifts sideways when it lets go. Only then: kept all the time, the empty room showed as a navy band down the right of
   any page too short to scroll, and in screenshots (Kyle, 9 November 2026) */
html:is(.sx-open, .ms-lock, .gate-cover), html:not(.aud-set):has(.gate) { scrollbar-gutter: stable; }
/* while the gate is up, the scrollbar's empty room takes the gate's chalk */
html:not(.aud-set):has(.gate), html.gate-cover { background-color: var(--chalk); }

/* arriving from the gate on another page (the adviser's move, Kyle, 28 October 2026): the gate's chalk, carried over,
   lifting once the page is ready (site.js) */
html.gate-cover body::after { content: ""; position: fixed; inset: 0; z-index: 2147483000; background: var(--chalk); pointer-events: none; transition: opacity .6s ease; }
html.gate-cover.gate-uncover body::after { opacity: 0; }
html .gate.leaving.stay { animation: none; opacity: 1; }
/* the logo never leaves (Kyle, 2 November 2026: it disappeared, then came back with a jolt): on the way to the adviser's
   page the gate's logo stays exactly where it is, the next page's chalk cover sits under the header rather than over it,
   so its own logo is already in the same place, and the header's other parts fade in as the cover lifts */
html.gate-cover body::after { z-index: 19; }
html.gate-cover .head .wrap > :not(.logo) { opacity: 0; }
html.gate-cover.gate-uncover .head .wrap > :not(.logo) { opacity: 1; transition: opacity .6s ease .1s; }
html.gate-cover .ask-bar { visibility: hidden; }

/* ---------- the hover, considered (Kyle, 28 October 2026: "is our hover state a sudden change ... no animation or fade, or
   image zoom"): still flat (no lift, no shadow, the card never grows), but nothing snaps. A photo eases in to 104% inside its
   frame over 1.2s; a card's line warms over 0.5s; the link on it draws its underline in from the left; and everything
   eases back the same way when the pointer leaves. ---------- */
.pcard, .icard, .ilead, .mg-card, a.exc { --slow: 1.2s cubic-bezier(.2,.7,.1,1); }
.pcard img, .icard img, .ilead img, .mg-card figure img, .mg-card figure picture, .exc-ph img { transition: transform var(--slow); }
.pcard { transition: border-color .5s ease; }
.pcard:hover, .pcard:focus-within { border-color: #3A5582; }   /* a lighter navy line, not the trim: the trim is for the link */
.pf-go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.25rem; font: 600 1rem/1.2 var(--sans); color: var(--chalk); text-decoration: none; }
.pf-go span { position: relative; padding-bottom: 3px; }
.pf-go span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brick-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.pcard:hover .pf-go span::after, .pf-go:focus-visible span::after { transform: scaleX(1); }
.pf-go:focus-visible { outline: 2px solid var(--trim-focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .pcard img, .icard img, .ilead img, .mg-card figure img, .exc-ph img { transition: none; } .pcard:hover img, .icard:hover img, .ilead:hover img, .mg-card:hover figure img, a.exc:hover .exc-ph img { transform: none; } }

/* ---------- a solid button swaps to its outline (brand rules section 7; Kyle, 28 October 2026, checking the illustration):
   the navy button no longer fills brick on a hover ---------- */

/* ---------- the slider's thumb: round by nature, but it never grows; it takes the trim while you hold it ---------- */
input[type=range]::-webkit-slider-thumb { transition: background-color .4s ease; }
input[type=range]::-moz-range-thumb { transition: background-color .4s ease; }
input[type=range]:hover::-webkit-slider-thumb, input[type=range]:active::-webkit-slider-thumb { transform: none; }
input[type=range]:hover::-moz-range-thumb, input[type=range]:active::-moz-range-thumb { transform: none; }
input[type=range]:active::-webkit-slider-thumb { background: var(--brick); }
input[type=range]:active::-moz-range-thumb { background: var(--brick); }

/* ---------- one body size, everywhere (Kyle, 28 October 2026: "a lot of difference between 18px and 19px font across the
   entire site ... land on one and roll it out universally"): running text, ledes and standfirsts are 18px, set apart by
   place and weight, never by a pixel or two. Text on a card is 16px, small print 13px, buttons and navigation 17px. ---------- */
html body :is(.prose, .prose p, .prose li, .prose blockquote, .prose blockquote p, .hm-sf, .hm-msgs > li, .hm-pcopy > p, .pf-prose > p, .pf-prose blockquote p, .xp-bio > p, .xp-head > p, .close-lede, .st-intro, .stf-intro, .stj-intro, .pf-lede, .pg-lede, .eis-plede, .nv-intro, .fs-intro, .lede, .rec-lede) { font-size: var(--t-body); line-height: 1.6; }
/* ...except a pull quote set inside an article, which is the Quote style, 28px (brand rules section 4; an insight's quote
   had been caught by the body-size rule above and set at 17px in the serif) */
html body .prose figure.pq > blockquote { font-size: var(--serif-fit); }
html body .prose :is(a, .em, strong, b) { font-size: inherit; }
html body .close-head .close-lede, html body .gt .gview, html body .gate[data-gv] .gview { font-size: var(--t-body); }

/* ---------- the warning and the section bar (Kyle, 28 October 2026: "do we want brilliant white at all here? What about
   stone? And that warning banner at the top needs to stand out. Do we make it navy?"): the FCA warning on navy-deep, the
   one place besides the footer that colour is for (brand rules section 3), in chalk with its link underlined; the section
   bar on stone, so it reads as the page's own bar under the chalk header. No white bars. ---------- */
.risk { background: var(--navy-deep); color: var(--chalk); border-bottom: 0; }
.risk u, .risk a { color: var(--chalk); }
.risk u { text-decoration-color: var(--brick-accent); text-underline-offset: 3px; }
.risk a:hover u { color: var(--brick-accent); }
/* the section bar is the header's own chalk (Kyle, 29 October 2026: the stone bar read heavy; it takes the header's place
   as you read down, so it looks like the header). A hairline in rule separates it from the page, as under the header. */
.snav-a { background: var(--chalk); border-bottom-color: var(--rule); }
/* its button is the page's main button, navy, swapping to its outline on hover (never a brick fill) */
.snav-a .cta { --bg: var(--navy); --fg: var(--chalk); background: var(--navy); border-color: var(--navy); color: var(--chalk); }
.snav-a .cta:hover { background: transparent; border-color: var(--navy); color: var(--navy); }
html.bar-dark .snav-a .cta { background: var(--chalk); border-color: var(--chalk); color: var(--navy); }
html.bar-dark .snav-a .cta:hover { background: transparent; border-color: var(--chalk); color: var(--chalk); }
/* on stone the bar's words and numbers are ink; the trim marks the section you are in */
.snav-a a.l { color: var(--ink); }
.snav-a a.l b { color: var(--ink); }
.snav-a a.l.on, .snav-a a.l:hover { color: var(--navy); }
.snav-a a.l.on b { color: var(--brick-word); }
.snav-a .lab { color: var(--brick-word); }
/* ---------- the warning takes the opposite tone to what is under it (compliance, Ian Kay, 2 November 2026: the FCA
   warning has to stand out against whatever it sits over; navy-deep over a navy band or the moving field blended in).
   Over chalk and white, navy-deep with chalk type and its link underlined in the brick accent, as before. Over navy (a
   navy band, the moving field, a navy box once it has widened to the screen, the footer), chalk with ink type, its link
   underlined in brick word, and a navy-line hairline under it so it never meets the navy edge to edge. The same reading
   as the header and section bar (html.bar-dark, site.js; on the homepage's opening, html.wl-top from the first paint), eased over 0.5s. Not while the gate, a menu panel or the phone
   menu is open: all three are chalk, so the warning stays navy-deep over them. The hairline is drawn over the warning's
   foot, not a border, so the warning is the same height in both tones and nothing under it moves. Replaces the rule that the risk
   bar never changes colour. ---------- */
/* it eases only once the page has taken its first reading (html.tone-on, site.js), so a page that opens over navy opens
   with the chalk warning rather than fading to it */
.risk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--navy-line); opacity: 0; pointer-events: none; }
html.tone-on .risk { transition: background-color .5s ease, color .5s ease; }
html.tone-on .risk::after { transition: opacity .5s ease; }
html.tone-on .risk :is(a, u) { transition: color .5s ease, text-decoration-color .5s ease; }
html:is(.bar-dark, .wl-top:not(:has(.head.solid))):not(.gate-cover):not(.vt-gate-out):not(.sx-open:not(.sx-closing)):is(.aud-set, :not(:has(.gate))):not(:has(.head .mbtn[aria-expanded="true"])) .risk { background: var(--chalk); color: var(--ink); }
/* no hairline under the chalk warning any more: it read as a stray navy line between the warning and the page (Kyle, 6 November 2026) */
html:is(.bar-dark, .wl-top:not(:has(.head.solid))):not(.gate-cover):not(.vt-gate-out):not(.sx-open:not(.sx-closing)):is(.aud-set, :not(:has(.gate))):not(:has(.head .mbtn[aria-expanded="true"])) .risk :is(a, u) { color: var(--ink); }
html:is(.bar-dark, .wl-top:not(:has(.head.solid))):not(.gate-cover):not(.vt-gate-out):not(.sx-open:not(.sx-closing)):is(.aud-set, :not(:has(.gate))):not(:has(.head .mbtn[aria-expanded="true"])) .risk u { text-decoration-color: var(--brick-word); }
html:is(.bar-dark, .wl-top:not(:has(.head.solid))):not(.gate-cover):not(.vt-gate-out):not(.sx-open:not(.sx-closing)):is(.aud-set, :not(:has(.gate))):not(:has(.head .mbtn[aria-expanded="true"])) .risk a:hover u { color: var(--brick-word); }

/* ---------- the bars take the tone of what is under them (site.js sets html.bar-dark; Kyle, 28 October 2026, after PXN):
   a 0.5s fade between chalk and navy, the logo crossfading to its reversed colouring; the warning takes the opposite tone (above) ---------- */
.head { transition: transform .5s var(--ease), background-color .5s ease, border-color .5s ease; }
.head .logo { position: relative; }
.head .logo .lg-n { transition: opacity .5s ease; }
.head .logo .lg-r { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) { background: var(--navy); border-bottom-color: var(--navy-line); }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) .logo .lg-n { opacity: 0; }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) .logo .lg-r { opacity: 1; }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) :is(.mnav > a, .dd > button) { color: var(--chalk); }
/* a menu opening over navy leaves the bars as they are (Kyle, 5 November 2026: the menu "flashes the whole page white when
   it closes"): the header used to turn chalk and the risk warning navy on every open, and back on every close. Now only
   the chalk panel comes down under the navy header; the open heading takes the brick accent. */
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) .dd.open > button { color: var(--brick-accent); }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) :is(.mnav > a, .dd > button):hover { color: var(--brick-accent); }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) :is(.portal, .wrap > .audsw) { color: var(--chalk); border-color: var(--chalk); }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) :is(.portal, .wrap > .audsw) svg { color: var(--brick-accent); }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) .mbtn { border-color: #8E9BB3; }
html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) .mbtn i { background: var(--chalk); }
.head :is(.portal, .wrap > .audsw, .mbtn) { transition: color .5s ease, border-color .5s ease, background-color .5s ease; }
.head .mbtn i { transition: background-color .5s ease; }
.snav-a { transition: transform .55s var(--ease), opacity .4s, background-color .5s ease, border-color .5s ease; }
.snav-a a.l, .snav-a a.l b, .snav-a .lab, .snav-a .smark { transition: color .5s ease; }
html.bar-dark .snav-a { background: var(--navy); border-bottom-color: var(--navy-line); }
html.bar-dark .snav-a a.l, html.bar-dark .snav-a a.l.on, html.bar-dark .snav-a a.l:hover { color: var(--chalk); }
html.bar-dark .snav-a a.l b { color: var(--sand); }
html.bar-dark .snav-a a.l.on b, html.bar-dark .snav-a .lab { color: var(--brick-accent); }
html.bar-dark .snav-a .smark { color: var(--chalk); --logo-dot: var(--trim-accent); }
html.bar-dark .snav-a .ink { background: var(--brick-accent); }

/* Picture cards, one rule (Kyle, 29 October 2026: "What happens to images on hover state over cards with an image needs to be
   decided"). Every card with a photograph is one link, the whole card; on hover (or keyboard focus) its photograph eases in to
   104% over 1.2 seconds, the same on every page, and nothing else on the card moves. The card's own line and words change
   colour as they already do. */
:is(a.pcard, a.ihv-tile, a.ilead, a.icard) figure { overflow: hidden; }
:is(a.pcard, a.ihv-tile, a.ilead, a.icard) :is(figure img, figure picture, > img) { transform: none; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { :is(a.pcard, a.ihv-tile, a.ilead, a.icard):hover :is(figure img, > img) { transform: scale(1.04); } }
:is(a.pcard, a.ihv-tile, a.ilead, a.icard):focus-visible :is(figure img, > img) { transform: scale(1.04); }
article.pcard img, article.pcard:hover img { transform: none; }
a.pcard { color: inherit; text-decoration: none; }
a.pcard:focus-visible { outline: 2px solid var(--trim-focus); outline-offset: 3px; }
a.pcard:hover .pf-go span::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { :is(a.pcard, a.ihv-tile, a.ilead, a.icard) :is(figure img, > img) { transition: none; transform: none !important; } }

/* Buttons: each keeps its own colour on hover, a shade darker (Kyle, 30 October 2026: "Each button colour should have its
   own hover state ... just a little darker than the default state is a good universal approach"; this replaces the one
   brick hover of 29 October). Navy goes to navy deep; chalk goes to stone; brick goes to brick deep (contact.css,
   close.css, seneca.css, insights.css); an outline keeps its edge and its words, and fills a shade darker than the ground
   it sits on (stone on chalk, navy deep on navy). Every change eases over the house half second. */
.btn:not(:disabled):is(:hover, :focus-visible) { background-color: var(--stone) !important; border-color: var(--stone) !important; color: var(--navy) !important; }
.btn:not(:disabled):is(:hover, :focus-visible) :is(svg, .arr, .hm-arr) { color: var(--navy) !important; stroke: var(--navy) !important; }
.btn.navy:not(:disabled):is(:hover, :focus-visible) { background-color: var(--navy-deep) !important; border-color: var(--navy-deep) !important; color: var(--chalk) !important; }
.btn.navy:not(:disabled):is(:hover, :focus-visible) :is(svg, .arr, .hm-arr) { color: var(--chalk) !important; stroke: var(--chalk) !important; }
.btn.ghost:not(.dark):not(:disabled):is(:hover, :focus-visible) { background-color: var(--navy-deep) !important; border-color: var(--chalk) !important; color: var(--chalk) !important; }
.btn.ghost:not(.dark):not(:disabled):is(:hover, :focus-visible) :is(svg, .arr, .hm-arr) { color: var(--chalk) !important; stroke: var(--chalk) !important; }
.btn.ghost.dark:not(:disabled):is(:hover, :focus-visible) { background-color: var(--stone) !important; border-color: var(--navy) !important; color: var(--navy) !important; }
.btn.ghost.dark:not(:disabled):is(:hover, :focus-visible) :is(svg, .arr, .hm-arr) { color: var(--navy) !important; stroke: var(--navy) !important; }
.btn:not(:disabled):is(:hover, :focus-visible) .hm-arr path { stroke: none !important; }
.btn:focus-visible { outline: 2px solid var(--trim-focus); outline-offset: 3px; }
/* the key action's button (brand rules section 6): the one button a screen exists for, in the trim's word tone with chalk
   type; its hover the trim's deep tone. On every company's site the same class, in that company's trim. */
.btn.key { background: var(--brick-word); border-color: var(--brick-word); color: var(--chalk); }
.btn.key:not(:disabled):is(:hover, :focus-visible) { background-color: var(--brick-deep) !important; border-color: var(--brick-deep) !important; color: var(--chalk) !important; }
.btn.key:not(:disabled):is(:hover, :focus-visible) :is(svg, .arr) { color: var(--chalk) !important; stroke: var(--chalk) !important; }
/* An outlined button is chalk or navy, never brick: brick is the call to action's colour, and every button fills brick
   when pointed at (Kyle, 29 October 2026: "The 'back' outline shouldn't be brick red. Brick red is our key CTA colour"). */
.btn.ghost:not(.dark) { border-color: var(--chalk); color: var(--chalk); }
.btn.ghost:not(.dark) svg { stroke: var(--chalk); color: var(--chalk); }

/* the serif is never bold, the current page's heading in a menu panel included (Kyle, 30 October 2026) */
.head .ddm a.mg-h.cur, .head .ddm.mega a.mg-h.cur { font-weight: 400; }

/* risk warnings read at body size, wherever they sit (Kyle, 30 October 2026: "the risk warnings need to be the same size as
   the body text"); sources and notes stay small print */
html body :is(.ihp-risk, .rec-risk, .note2, .arisks li, .ax-risks li, .axe-risk, .axe-asm, .axe-all li, .eis-ptn, .eisn-pp, .ihv-warn, .eisn-risks dd, .eis-ii p:last-child, .eis-small) { font-size: var(--t-body) !important; line-height: 1.6; }
/* in an insight, a risk callout reads at the text's own size, in ink, under a hairline (Kyle: not "those really thick lines") */
/* a web address written out in full (the FSCS checker on the risk summaries) breaks rather than pushing the page sideways
   on the smallest phones (mobile review, 27 November 2026) */
.art-main a { overflow-wrap: anywhere; }
.art-main .co { border-top: 1px solid var(--rule) !important; }
.art-main .co :is(p, .co-t) { font-size: var(--t-body) !important; }
.art-main .co p { color: var(--ink); line-height: 1.65; }

/* ---------- form fields and tick boxes: one set style, everywhere (Kyle, 30 October 2026) ----------
   "Remove the same thing that we removed from around the tick box ... but we then need a designed click-state for when
   I am typing into that box ... universal across the site as a set style. Same for tick boxes."
   A field at rest: white, a 1px navy edge, ink type, the button radius. Typing in it (focus): no ring outside it; the
   edge deepens to 2px navy (drawn inside, so nothing moves), the caret is brick, and the field's label turns brick, so
   it is clear which box you are in. A field that needs fixing has a brick edge, 2px while you fix it. Everything eases.
   Tick boxes and radio buttons: navy when ticked; no ring when clicked; a 2px navy ring, clear of the box, only when
   reached with the keyboard, so tabbing still shows where you are. Money fields keep their £ box: the box takes the
   field's style and the input inside stays plain. */
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]), textarea, select):not(.money *):not(.sx-field *) {
  background-color: #fff; border: 1px solid var(--navy); color: var(--ink); caret-color: var(--brick-word);
  transition: border-color var(--fill), box-shadow var(--fill), background-color var(--fill);
}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]), textarea, select):not(.money *):not(.sx-field *):is(:focus, :focus-visible) {
  outline: none !important; background-color: #fff; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy);
}
html body :is(input, textarea, select)[aria-invalid="true"]:not([type=checkbox]):not([type=radio]):not(.money *) { border-color: var(--brick-word); }
html body :is(input, textarea, select)[aria-invalid="true"]:not([type=checkbox]):not([type=radio]):not(.money *):is(:focus, :focus-visible) { border-color: var(--brick-word); box-shadow: inset 0 0 0 1px var(--brick-word); }
html body label { transition: color var(--fill), border-color var(--fill), background-color var(--fill), outline-color var(--fill); }
html body label:has(+ :is(input, textarea, select):focus), html body label:has(+ .money :focus) { color: var(--brick-word); }
html body .money { background-color: #fff; border: 1px solid var(--navy); transition: border-color var(--fill), box-shadow var(--fill); }
html body .money:focus-within { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
html body .money input:is(:focus, :focus-visible) { outline: none !important; caret-color: var(--brick-word); }
html body :is(input[type=checkbox], input[type=radio]) { accent-color: var(--navy); }
html body :is(input[type=checkbox], input[type=radio]):focus { outline: none; }
html body :is(input[type=checkbox], input[type=radio]):focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

html.bar-dark .head:not(:has(.mbtn[aria-expanded="true"])) :is(.portal, .wrap > .audsw):hover { background: var(--navy-deep); border-color: var(--chalk); color: var(--chalk); }
html body label:not(.gd-item):not(.gf-tick):not(:has(input[type="checkbox"], input[type="radio"])):has(+ :focus-within) { color: var(--brick-word); }   /* a field's label, as you type in the field; never a box to tick, whose label is followed by the next one (Kyle, 11 November 2026: the adviser's statements "turn red for no obvious reason") */

/* ---------- through the gate from one page to the next, as the investor's own move (Kyle, 3 November 2026: "replicate
   across there too", and the gate coming in with "that blur/glassy effect"). Base.astro decides as the page opens. ----------
   Out (the adviser's choice): the gate's words have already lifted away on the page before; its chalk, with the logo in
   the header's place, stays on screen until the adviser's page is ready and then fades off it exactly as the investor's
   gate does, while the page's landing plays underneath. The logo is in the same pixel on both, so it never moves.
   In (the Investor site or Adviser site button): the gate's chalk comes up over the page as the page softens out of focus
   behind it, the logo staying put, and the gate's words rise out of their blur a beat later, as they do on arrival. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  /* the old picture is laid over the new one (by default the new one is on top, which swapped the two in a frame) */
  html.vt-gate-out::view-transition-old(root) { z-index: 1; animation: gate-fade .6s cubic-bezier(.4,0,.2,1) .06s both; }
  html.vt-gate-out::view-transition-new(root) { animation: none; }
  /* onto the homepage from another page: that page fades off the homepage as the gate does (Base.astro, vt-home) */
  html.vt-home::view-transition-old(root) { z-index: 1; animation: gate-fade .6s cubic-bezier(.4,0,.2,1) .06s both; }
  html.vt-home::view-transition-new(root) { animation: none; }
  html.vt-gate-in::view-transition-old(root) { animation: page-soften .7s cubic-bezier(.4,0,.2,1) both; }
  html.vt-gate-in::view-transition-new(root) { animation: gate-show .6s cubic-bezier(.4,0,.2,1) .05s both; }
  html.vt-gate-in .gate .gate-box > * { animation-delay: calc(var(--gd, 0s) + .35s); }
  html.gate-enter .gate { animation: gate-show .6s cubic-bezier(.4,0,.2,1) .05s both; }
  html.gate-enter body > :is(main, footer) { animation: page-soften .7s cubic-bezier(.4,0,.2,1) both; }
  html.gate-enter .gate .gate-box > * { animation-delay: calc(var(--gd, 0s) + .35s); }
  /* any other move between pages (Base.astro, vt-page): the page changes at once; only the warning and the header ease from
     one page's to the next's, so the logo holds its pixel and turns from navy to chalk, or back (Kyle, 9 November 2026) */
  html:is(.vt-page, .vt-home) .risk { view-transition-name: sn-risk; }
  html:is(.vt-page, .vt-home) .head { view-transition-name: sn-head; }
  html.vt-home::view-transition-group(sn-head), html.vt-home::view-transition-group(sn-risk),
  html.vt-home::view-transition-old(sn-head), html.vt-home::view-transition-new(sn-head) { animation-duration: .5s; animation-timing-function: cubic-bezier(.4,0,.2,1); }
  /* between a page with the warning and one without (About us, Our Experts: 26 November 2026), the warning slides in from
     above, or up and away, with the header, so the two move as one rather than the warning fading in or out on its own */
  html:is(.vt-page, .vt-home)::view-transition-new(sn-risk):only-child { animation: vt-risk-in .5s cubic-bezier(.4,0,.2,1) both; }
  html:is(.vt-page, .vt-home)::view-transition-old(sn-risk):only-child { animation: vt-risk-out .5s cubic-bezier(.4,0,.2,1) both; }
  html.vt-page::view-transition-old(root), html.vt-page::view-transition-new(root) { animation: none; }
  html.vt-page::view-transition-group(*), html.vt-page::view-transition-old(*), html.vt-page::view-transition-new(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.4,0,.2,1); }
}
@keyframes gate-show { from { opacity: 0; } }
@keyframes vt-risk-in { from { transform: translateY(-100%); } }
@keyframes vt-risk-out { to { transform: translateY(-100%); } }
@keyframes page-soften { to { filter: blur(10px); } }

/* the phone menu's rows: 56px each, so the whole menu, its foot included, fits an iPhone's screen above Safari's bar */
.head .ms-root .ms-list a.ms-row, .ms-root button.ms-row { padding-block: .875rem; }
.ms-root { padding-top: .75rem; }
.ms-root .sxb-ms { margin-bottom: .5rem; }

/* the house section head (Kyle, 13 November 2026, from the IHT page's introduction): on product pages, a section's heading
   on the left and a short standfirst on the right, opening with a bold run-in, the two finishing level; one column on a phone */
.shead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.shead > h2 { margin: 0; }
.shead > p { margin: 0; max-width: 60ch; font-size: var(--t-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }   /* body size: one size for all body text, bold for the focus (Kyle, 13 November 2026) */
.shead > p b { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .shead { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* a name kept whole, never broken at its hyphens (Newton-le-Willows: the Partners middleware wraps it; IHT page template,
   16 November 2026, fix 2) */
.nw { white-space: nowrap; }

/* the footer's columns of links, folded on a phone (kit Footer, fold; the Partners site, from the IHT page template, Kyle,
   16 November 2026): each column a 56px row, its heading and a plus, opening on tap; on a desktop as ever */
.sf-fold .sf-cb { display: none; }
@media (max-width: 900px) {
  .sf-cols.sf-fold { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sf-fold .sf-col > b { display: none; }
  .sf-fold .sf-cb { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--navy-line); background: none; color: var(--chalk); font: 600 .75rem/1.3 var(--sans); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; text-align: left; cursor: pointer; }
  .sf-fold .sf-cb:focus-visible { outline: 2px solid var(--trim-focus); outline-offset: 3px; }
  .sf-fold .sf-cb i { position: relative; width: 44px; height: 44px; flex: none; }
  .sf-fold .sf-cb i::before, .sf-fold .sf-cb i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
  .sf-fold .sf-cb i::after { transform: rotate(90deg); }
  .sf-fold .sf-cb[aria-expanded="true"] i::after { transform: rotate(0deg); }
  .sf-fold .sf-cl { display: none; padding-bottom: .75rem; }
  .sf-fold .sf-col.open .sf-cl { display: block; }
  .sf-fold .sf-reach { border-top: 1px solid var(--navy-line); margin-top: 0; }
}

/* Narrow desktop (901 to 1023): the adviser header carries the site switch and the portal, so close the gaps to keep it on the page */
@media (min-width: 901px) and (max-width: 1023px) { .head > .wrap { column-gap: 14px; } .head .mnav { column-gap: 18px; } }

/* the footer's second sign-up, under the strapline (the Partners site, from the homepage brief, 16 November 2026): one quiet line
   and a text link with the line arrow, at the footer's own size, under a navy-line rule (Kyle, 17 November 2026: the outline
   button was "a bit bulky" for its corner) */
.sf-sign { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--navy-line); max-width: 320px; font-size: 14px; line-height: 1.5; color: var(--sand); }
.sf-sign p { margin: 0; }
.sf-sl a { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; color: var(--chalk); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brick-accent); text-underline-offset: 4px; cursor: pointer; }
.sf-sl a svg { width: 14px; height: 14px; color: var(--brick-accent); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.sf-sl a:hover svg, .sf-sl a:focus-visible svg { transform: translateX(3px); }
/* the sign-up opens under the line (17 November 2026): the arrow turns down while it is open; the form unfolds in place */
.sf-sign.on .sf-sl a svg { transform: rotate(90deg); }
.sf-sbox { display: none; }
.sf-sign.js .sf-sbox { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1); }
.sf-sign.js.on .sf-sbox { grid-template-rows: 1fr; }
.sf-sbi { min-height: 0; overflow: hidden; }
.sf-sbi > * { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .5s cubic-bezier(.22,1,.36,1); }
.sf-sign.on .sf-sbi > * { opacity: 1; transform: none; transition-delay: .12s; }
/* it opens into the room the brand column already has beside the link columns, so the footer itself does not grow
   (Kyle, 17 November 2026): the label is for screen readers, the field says what it wants, and the consent line runs the
   width of the field and its button */
.sf-form { display: grid; gap: 8px; padding-top: 10px; }
.sf-form .sf-cons, .sf-form .sf-msg { max-width: none; margin: 0; }
.sf-email::placeholder { color: #6B6E75; opacity: 1; }
.sf-form label { font-size: 14px; font-weight: 500; color: var(--chalk); transition: color .5s ease; }
.sf-row { display: flex; gap: 8px; }
.sf-email { flex: 1; min-width: 0; height: 44px; box-sizing: border-box; padding: 0 12px; font: 400 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--navy); border-radius: var(--r-button); caret-color: var(--brick); outline: none; transition: box-shadow .5s ease; }
.sf-email:focus { box-shadow: inset 0 0 0 2px var(--navy); }
html body #site-foot .sf-form label:has(+ :focus-within), html body #site-foot .sf-form:focus-within label { color: var(--chalk); }   /* the field's label turns brick while you type (the house field), in the accent on navy */
.sf-form .ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-email[aria-invalid="true"], .sf-email[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 2px var(--brick); }
.sf-send { flex: none; height: 44px; padding: 0 16px; font: 500 15px var(--sans); color: var(--navy); background: var(--chalk); border: 0; border-radius: var(--r-button); cursor: pointer; transition: background-color .5s ease; }
.sf-send:hover, .sf-send:focus-visible { background: var(--stone); }
.sf-send:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.sf-send:disabled { cursor: default; }
.sf-cons { color: var(--sand); }
.sf-cons a, .sf-msg a { color: var(--chalk); text-decoration: underline; text-decoration-color: var(--brick-accent); text-underline-offset: 3px; }
.sf-msg { color: var(--chalk); }
.sf-form :is(.sf-err, .sf-errw) { color: var(--brick-accent); }
.sf-done { padding-top: 16px; outline: none; }
@media (max-width: 900px) { .sf-sign { max-width: none; } .sf-sl a { min-height: 44px; } .sf-email { font-size: 16px; } }

/* "Which best describes you?" on the insights sign-ups (Kyle, 24 November 2026): the brand's field, as the email field
   beside it, with a navy chevron; the empty choice reads as a prompt (soft ink) until one is chosen */
html body select:is(.nf-who, .sf-who) {
  appearance: none; -webkit-appearance: none; width: 100%; box-sizing: border-box; border-radius: var(--r-button);
  font: 400 16px var(--sans); cursor: pointer; padding: 0 2.5rem 0 .875rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23172A4A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .875rem center; background-size: 16px;
}
html body select.nf-who { height: 48px; margin-bottom: 1rem; }
html body select.sf-who { height: 44px; padding-left: 12px; }
html body select:is(.nf-who, .sf-who):invalid { color: #6B6E75 !important; }   /* as the email field's placeholder */
html body select:is(.nf-who, .sf-who)[aria-invalid="true"] { border-color: var(--brick-word) !important; }
html body select:is(.nf-who, .sf-who)[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px var(--brick-word) !important; }
#site-foot select.sf-who[aria-invalid="true"], #site-foot select.sf-who[aria-invalid="true"]:focus { border-color: var(--navy) !important; box-shadow: inset 0 0 0 2px var(--brick) !important; }   /* as the email field beside it */
html body select:is(.nf-who, .sf-who) option { color: var(--ink); }
.nf-sign.sent :is(.nf-who, .nf-sr > label, .nf-cons) { display: none; }

/* on navy, a field's label turns chalk while you type in it, not brick (Kyle, 25 November 2026: "it should go chalk to
   highlight if anything"); on chalk and white it stays brick */
html body #book label:not(.gd-item):has(+ :focus-within), html body #book label:has(+ :is(input, textarea, select):focus) { color: var(--chalk); }
