/*
Theme Name: Surrey Prize Heather
Theme URI: https://surreyprizehub.uk
Author: Surrey Prize Hub
Description: Astra child theme. Soft cards: a floating pill header, a teal hero card, each section a rounded card, two-column offer cards, rounded type.
Template: astra
Version: 2.1.1
Text Domain: sphslate
*/

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/nunito-latin-800-normal.woff2") format("woff2"); }

/* ----------------------------------------------------------------- tokens */
:root {
	--sph-fs: 17.5px;
	--sph-lh: 1.7;
	--sph-head-w: 800;
	--sph-fig-w: 800;
	--sph-link: #0b6670;
	--sph-link-hover: #084a52;
	--sph-focus: #c2402a;
	--sph-hl: #c2402a;
	--sph-btn-bg: #c2402a;
	--sph-btn-bg-hover: #962f1d;
	--sph-btn-ink: #ffffff;
	--sph-field-line: #3d565b;
	--sph-th-bg: #0b3f48;
	--sph-th-ink: #eaf6f5;
	--sph-zebra: #f3f9f8;
	--sph-field: #fff;
	--sph-alert-tint: #f4dcd6;
	--sph-r: 24px;
	--sph-r-s: 14px;
	--sph-r-btn: 999px;
	--sph-comp-min: 760px;
	--sph-mono: var(--sph-text);
	--sph-nav-bg: transparent;
	--sph-nav-ink: #0f2a30;
	--sph-nav-hi: #962f1d;
	--sph-nav-line: #c2402a;
	--sph-nav-rule: #d2e1df;
	--sph-nav-panel: #e8f1f0;
	--sph-paper: #e8f1f0;
	--sph-card: #ffffff;
	--sph-band: #d6e6e4;
	--sph-ink: #0f2a30;
	--sph-ink-2: #3d565b;
	--sph-rule: #d2e1df;
	--sph-rule-2: #9bb9b6;
	--sph-accent: #c2402a;
	--sph-accent-deep: #962f1d;
	--sph-accent-tint: #fde7e0;
	--sph-accent-lit: #ff9d85;
	--sph-deep: #0b3f48;
	--sph-deep-2: #14535d;
	--sph-deep-ink: #eaf6f5;
	--sph-deep-soft: #a9d0d0;
	--sph-bar: #2f7f87;
	--sph-track: #d6e6e4;
	--sph-alert: #8a1f12;
	--sph-ball-1: #0b3f48;
	--sph-ball-2: #2f7f87;
	--sph-ball-3: #c2402a;
	--sph-ball-4: #2f7f87;
	--sph-ball-5: #0b3f48;
	--sph-measure: 1140px;
	--sph-gutter: 28px;
	--sph-prose: 44rem;
	--sph-text: "Nunito", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--sph-display: "Nunito", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--sph-paper);
	color: var(--sph-ink);
	font: 400 var(--sph-fs)/var(--sph-lh) var(--sph-text);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
p, li, dd, dt, td, th, figcaption, summary { overflow-wrap: break-word; }
/* tabular figures only where numbers line up; on running text some fonts (Inter) widen the hyphen with them */
.sph-figure-value, .sph-rank-num, .sph-col-val, .sph-hval, .sph-dot-val, .sph-calc-out dd, .sph-calc-field input { font-variant-numeric: tabular-nums; }
/* the parent theme's scroll-to-top button has no styles here; hidden in case an older parent still prints it */
#ast-scroll-top, .ast-scroll-top-icon { display: none !important; }
a { color: var(--sph-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sph-link-hover); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, .sph-table-wrap:focus-visible {
	outline: 3px solid var(--sph-focus);
	outline-offset: 2px;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--sph-display); font-weight: var(--sph-head-w); color: var(--sph-ink); }
strong { font-weight: 700; }

.sph-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap;
}
.sph-skip {
	position: absolute; left: 8px; top: -60px; z-index: 300;
	background: var(--sph-ink); color: var(--sph-paper); padding: 10px 16px; font-weight: 600;
}
.sph-skip:focus { top: 8px; }

/* Parent theme wrappers: plain blocks, one measure. */
#page, .site, #content, .site-content, .ast-container, #primary, #main, .site-main, .ast-article-post, .entry-content, .hentry {
	display: block; float: none; width: auto; max-width: none; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none;
}
#primary {
	counter-reset: sphsec;
	max-width: var(--sph-measure);
	margin-inline: auto;
	padding: 0 var(--sph-gutter) 72px;
}
.entry-header, .site-header, .ast-header-break-point .ast-mobile-header-wrap, .site-footer, .ast-small-footer, .ast-footer-overlay { display: none; }

/* ----------------------------------------------------------------- header */
.sph-bar { max-width: var(--sph-measure); margin-inline: auto; padding-inline: var(--sph-gutter); }
.sph-header { background: var(--sph-card); border-bottom: 1px solid var(--sph-rule-2); }
.sph-util { display: none; }
.sph-util-in { display: flex; align-items: center; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; }
.sph-util-date { display: none; }
.sph-bar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px 14px; }
.sph-wordmark { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--sph-ink); }
.sph-wordmark:hover { color: var(--sph-ink); }
.sph-wordmark-name { display: flex; align-items: center; gap: 12px; font: var(--sph-head-w) 1.65rem/1.1 var(--sph-display); letter-spacing: -0.02em; }
.sph-wordmark-tag { font: 500 0.78rem/1.3 var(--sph-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-age {
	margin: 0; display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sph-ink);
	color: var(--sph-ink); font: 700 0.92rem/1 var(--sph-display);
}
.sph-age--sm { width: 34px; height: 34px; font-size: 0.72rem; border-color: var(--sph-deep-soft); color: var(--sph-deep-ink); }

.sph-navbar { background: var(--sph-nav-bg); color: var(--sph-nav-ink); }
.sph-navbar-in { position: relative; }
.sph-nav-toggle {
	display: none; align-items: center; gap: 10px; width: 100%; padding: 13px 0; background: none; border: 0;
	color: var(--sph-nav-ink); font: 600 0.95rem/1 var(--sph-text); cursor: pointer; text-align: left;
}
.sph-nav-toggle:focus-visible { outline-color: var(--sph-nav-line); }
.sph-nav-toggle-bars, .sph-nav-toggle-bars::before, .sph-nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; }
.sph-nav-toggle-bars { position: relative; }
.sph-nav-toggle-bars::before, .sph-nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.sph-nav-toggle-bars::before { top: -6px; }
.sph-nav-toggle-bars::after { top: 6px; }

.sph-nav-list { list-style: none; margin: 0; padding: 0; display: flex; }
.sph-nav-item { position: relative; }
.sph-nav-item > a {
	display: block; padding: 14px 15px 11px; color: var(--sph-nav-ink); text-decoration: none;
	font: 600 0.92rem/1.25 var(--sph-text); white-space: nowrap; border-bottom: 3px solid transparent;
}
.sph-nav-item.has-panel > a { padding-right: 33px; }
.sph-nav-item > a:hover, .sph-nav-item.is-current > a { color: var(--sph-nav-hi); border-bottom-color: var(--sph-nav-line); }
.sph-nav-item a:focus-visible, .sph-nav-sub:focus-visible { outline-color: var(--sph-nav-line); }
.sph-nav-sub { position: absolute; right: 0; top: 0; bottom: 3px; width: 30px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.sph-nav-sub::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-75%) rotate(45deg); }
.sph-nav-drop { display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 290px; max-width: 360px; background: var(--sph-card); border: 1px solid var(--sph-rule-2); border-top: 3px solid var(--sph-accent); border-radius: 0 0 var(--sph-r-s) var(--sph-r-s); padding: 6px 0 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }
.sph-nav-item:nth-last-child(-n+2) > .sph-nav-drop { left: auto; right: 0; }
.sph-nav-drop ul { list-style: none; margin: 0; padding: 0; }
.sph-nav-drop a { display: block; padding: 6px 18px; color: var(--sph-ink); text-decoration: none; font: 400 0.92rem/1.35 var(--sph-text); }
.sph-nav-drop a:hover { background: var(--sph-accent-tint); color: var(--sph-ink); }
.sph-nav-drop .sph-drop-lead a { font-weight: 700; color: var(--sph-ink); margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--sph-rule); }
.sph-nav-drop .sph-drop-lead:first-child a { margin-top: 0; padding-top: 6px; border-top: 0; }
.sph-nav-item.is-open > .sph-nav-drop { display: block; }
@media (min-width: 961px) {
	.sph-nav-item:hover > .sph-nav-drop, .sph-nav-item:focus-within > .sph-nav-drop { display: block; }
}

/* ---------------------------------------------------------------- article */
.sph-breadcrumb { padding: 22px 0 0; font: 500 0.82rem/1.4 var(--sph-text); color: var(--sph-ink-2); }
.sph-crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.sph-crumbs li + li::before { content: "\203A"; margin: 0 0.6em; color: var(--sph-rule-2); font-weight: 700; }
.sph-breadcrumb a { color: var(--sph-ink-2); }
.sph-hero { padding: 16px 0 6px; }
.sph-hero h1 { margin: 0 0 0.45em; font: var(--sph-head-w) clamp(2rem, 4.6vw, 3.2rem)/1.08 var(--sph-display); letter-spacing: -0.025em; }
.sph-standfirst { margin: 0; max-width: none; font: 400 1.18rem/1.55 var(--sph-text); color: var(--sph-ink-2); }

.sph-disclosure { max-width: none; margin: 26px 0 12px; font-size: 0.9rem; line-height: 1.5; color: var(--sph-ink-2); }

/* sections: one column, text, tables and figures on the same edges */
.sph-section, .sph-faq { display: flow-root; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--sph-rule-2); }
.sph-section > h2, .sph-faq > h2 {
	max-width: none; margin: 0 0 18px; padding: 0;
	font: var(--sph-head-w) 1.55rem/1.2 var(--sph-display); letter-spacing: -0.015em;
}
.sph-section > p, .sph-section > ul, .sph-section > ol, .sph-faq > p, .sph-faq > h3, .sph-section > h3 { max-width: none; }
.sph-section p, .sph-faq p { margin-top: 0; margin-bottom: 1.05em; }
.sph-section h3 { margin: 1.5em 0 0.4em; font: var(--sph-head-w) 1.12rem/1.35 var(--sph-display); }
.sph-section ul, .sph-section ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.sph-section li { margin: 0 0 0.4em; padding-left: 0.2em; }
.sph-section li::marker { color: var(--sph-accent-deep); font-weight: 700; }

.sph-q { margin-top: 0; margin-bottom: 0.35em; padding-top: 18px; border-top: 1px solid var(--sph-rule); font: var(--sph-head-w) 1.08rem/1.4 var(--sph-display); }
.sph-faq > .sph-q:first-of-type { border-top: 0; padding-top: 2px; }
.sph-a { margin-top: 0; margin-bottom: 1.1em; }

.sph-aside { max-width: none; margin: 28px 0; padding: 16px 20px 14px; border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); background: var(--sph-card); }
.sph-aside p { margin: 0; }
.sph-aside strong { color: var(--sph-ink); }

/* contents */
.sph-toc { margin: 26px 0 0; padding: 16px 22px 12px; border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); background: var(--sph-card); }
.sph-toc-title { margin: 0 0 8px; font: 600 0.78rem/1.3 var(--sph-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-toc ol { list-style: none; counter-reset: sphtoc; margin: 0; padding: 0; columns: 2 22rem; column-gap: 36px; }
.sph-toc li { counter-increment: sphtoc; break-inside: avoid; display: flex; gap: 10px; padding: 3px 0; margin: 0; }
.sph-toc li::before { content: counter(sphtoc); flex: none; width: 1.5em; font: 700 0.85rem/1.65 var(--sph-display); color: var(--sph-accent-deep); text-align: right; }
.sph-toc a { color: var(--sph-ink); text-decoration: none; border-bottom: 1px solid var(--sph-rule-2); }
.sph-toc a:hover { color: var(--sph-link-hover); border-bottom-color: var(--sph-accent); }

/* tables */
.sph-table-wrap { clear: both; overflow-x: auto; margin: 28px 0 30px; border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); background: var(--sph-card); -webkit-overflow-scrolling: touch; }
.sph-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.4; }
.sph-comp-table { min-width: var(--sph-comp-min); }
.sph-table { min-width: 560px; }
.sph-table-wrap caption { caption-side: top; text-align: left; padding: 12px 16px; font: 400 0.82rem/1.5 var(--sph-text); color: var(--sph-ink-2); background: var(--sph-band); border-bottom: 1px solid var(--sph-rule-2); }
@media (max-width: 700px) {
	.sph-table-wrap caption { position: sticky; left: 0; box-sizing: border-box; width: calc(100vw - 2 * var(--sph-gutter) - 2px); }
}
.sph-table-wrap thead th { background: var(--sph-th-bg); color: var(--sph-th-ink); text-align: left; padding: 10px 14px; font: 600 0.78rem/1.3 var(--sph-text); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.sph-table-wrap td, .sph-table-wrap tbody th { padding: 10px 14px; border-top: 1px solid var(--sph-rule); vertical-align: top; text-align: left; font-weight: 400; }
.sph-table-wrap tbody tr:nth-child(even) { background: var(--sph-zebra); }
.sph-table-wrap tbody th, .sph-table-wrap td:first-child { font-weight: 600; }
.sph-note { max-width: none; margin: 0 0 1.2em; font-size: 0.86rem; line-height: 1.5; color: var(--sph-ink-2); }
.sph-tablenote { margin: 0; font-size: 0.86rem; color: var(--sph-ink-2); }

/* ------------------------------------------------------------------ board */
.sph-board { margin: 8px 0 14px; }
.sph-board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 16px; }
.sph-board-title { margin: 0; font: var(--sph-head-w) 1.4rem/1.25 var(--sph-display); letter-spacing: -0.012em; }
.sph-board-meta { margin: 0; font: 600 0.76rem/1.3 var(--sph-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-board-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sph-entry { --sph-ball: var(--sph-ball-1); background: var(--sph-card); border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); overflow: hidden; }
.sph-entry:nth-child(2) { --sph-ball: var(--sph-ball-2); }
.sph-entry:nth-child(3) { --sph-ball: var(--sph-ball-3); }
.sph-entry:nth-child(4) { --sph-ball: var(--sph-ball-4); }
.sph-entry:nth-child(5) { --sph-ball: var(--sph-ball-5); }
.sph-row {
	display: grid; align-items: center; column-gap: 24px; row-gap: 12px; padding: 18px 20px;
	grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1fr) 172px;
}
.sph-rank { margin: 0; display: flex; justify-content: center; }
.sph-rank-num {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--sph-r-s);
	background: var(--sph-ink); color: var(--sph-paper); font: 700 1.25rem/1 var(--sph-display);
}
.sph-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sph-tile { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--sph-r-s); font: 700 1rem/1 var(--sph-display); letter-spacing: 0.02em; }
.sph-brand--logo { flex-direction: column; align-items: flex-start; gap: 10px; }
.sph-logo { display: grid; place-items: center; width: 100%; max-width: 252px; height: 72px; padding: 4px 14px; border-radius: var(--sph-r-s); background: var(--sph-logo-bg, #171c20); }
.sph-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: var(--sph-logo-h, 34px); }
.sph-brand-text { min-width: 0; }
.sph-brand-name { margin: 0; font: var(--sph-head-w) 1.2rem/1.2 var(--sph-display); }
.sph-brand-offer { margin: 3px 0 0; font-size: 0.9rem; line-height: 1.4; color: var(--sph-ink-2); }
.sph-terms { margin: 0; display: grid; gap: 8px; font-size: 0.86rem; line-height: 1.35; min-width: 0; }
.sph-term { display: block; }
.sph-term-label { display: block; font: 600 0.68rem/1.4 var(--sph-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-figures { display: flex; gap: 22px; min-width: 0; }
.sph-figure { margin: 0; display: flex; flex-direction: column; }
.sph-figure-label { font: 600 0.68rem/1.4 var(--sph-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-figure-value { font: var(--sph-fig-w) 1.8rem/1.1 var(--sph-mono); letter-spacing: -0.015em; }
.sph-action { display: flex; flex-direction: column; gap: 7px; }
.sph-cta, .sph-btn {
	display: block; text-align: center; padding: 13px 12px; background: var(--sph-btn-bg); border: 2px solid var(--sph-btn-bg); border-radius: var(--sph-r-btn);
	color: var(--sph-btn-ink); font: 700 0.95rem/1.2 var(--sph-text); text-decoration: none; cursor: pointer;
}
.sph-cta:hover, .sph-btn:hover { background: var(--sph-btn-bg-hover); border-color: var(--sph-btn-bg-hover); color: var(--sph-btn-ink); }
.sph-smallprint { font-size: 0.74rem; line-height: 1.35; color: var(--sph-ink-2); text-align: center; }
.sph-more { border-top: 1px solid var(--sph-rule); }
.sph-more-sum { display: flex; align-items: center; gap: 9px; padding: 11px 20px; list-style: none; cursor: pointer; font: 600 0.9rem/1.3 var(--sph-text); color: var(--sph-link); }
.sph-more-sum::-webkit-details-marker { display: none; }
.sph-more-sum::before { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.sph-more[open] > .sph-more-sum::before { transform: rotate(45deg); }
.sph-more-body { padding: 2px 20px 16px; font-size: 0.93rem; }
.sph-more-body ul { margin: 0 0 0.7em; padding-left: 1.2em; }
.sph-more-body li { margin-bottom: 0.25em; }
.sph-more-body p { margin: 0 0 0.6em; }
.sph-more-licence { color: var(--sph-ink-2); }
.sph-board-foot { max-width: none; margin: 12px 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--sph-ink-2); }

/* ---------------------------------------------------------------- figures */
.sph-fig { margin: 30px 0; max-width: 100%; }
.sph-chart { padding: 18px 20px 14px; border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); background: var(--sph-card); }
.sph-chart-title { margin: 0 0 14px; font: var(--sph-head-w) 1.05rem/1.3 var(--sph-display); }
.sph-cols { display: grid; grid-template-columns: repeat(var(--sph-n, 3), minmax(0, 1fr)); gap: 16px; }
.sph-col { display: flex; flex-direction: column; min-width: 0; }
.sph-col-track { display: flex; flex-direction: column; justify-content: flex-end; height: 200px; padding-top: 28px; border-bottom: 2px solid var(--sph-ink); }
.sph-col-val { margin-bottom: 5px; text-align: center; font: 700 0.95rem/1.2 var(--sph-mono); }
.sph-col-bar { display: block; width: 58%; min-height: 3px; margin-inline: auto; background: var(--sph-bar); border-radius: 6px 6px 0 0; }
.sph-col.is-hl .sph-col-bar { background: var(--sph-hl); }
.sph-axis-label { padding-top: 8px; text-align: center; font-size: 0.84rem; line-height: 1.3; color: var(--sph-ink-2); }
.sph-hrows { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) max-content; align-items: center; gap: 12px; }
.sph-hrow { display: contents; }
.sph-hlabel { font-size: 0.9rem; line-height: 1.3; }
.sph-htrack { display: block; height: 20px; border-radius: 10px; background: var(--sph-track); overflow: hidden; }
.sph-hfill { display: block; height: 100%; border-radius: 10px; background: var(--sph-bar); }
.sph-hrow.is-hl .sph-hfill { background: var(--sph-hl); }
.sph-hrow.is-hl .sph-hlabel, .sph-hrow.is-hl .sph-hval { font-weight: 700; }
.sph-hval { font: 700 0.92rem/1.2 var(--sph-mono); text-align: right; white-space: nowrap; }
.sph-line-plot { position: relative; height: 200px; margin-top: 4px; border-bottom: 2px solid var(--sph-ink); }
.sph-line-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sph-line-svg polyline { fill: none; stroke: var(--sph-bar); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.sph-dot { position: absolute; width: 14px; height: 14px; margin: 0 0 -7px -7px; border-radius: 50%; background: var(--sph-hl); border: 2px solid var(--sph-card); }
.sph-dot-val { position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%); font: 700 0.9rem/1.2 var(--sph-mono); white-space: nowrap; color: var(--sph-ink); }
.sph-axis { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.sph-figcaption { margin: 10px 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--sph-ink-2); }

/* ------------------------------------------------------------- calculator */
.sph-calc { margin: 28px 0; padding: 20px; border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); background: var(--sph-card); }
.sph-calc-title { margin: 0 0 16px !important; max-width: none !important; font: var(--sph-head-w) 1.2rem/1.3 var(--sph-display); }
.sph-calc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 30px; }
.sph-calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.sph-calc-field { display: flex; flex-direction: column; justify-content: flex-end; }
.sph-calc-field label { display: block; margin-bottom: 4px; font: 600 0.72rem/1.35 var(--sph-text); letter-spacing: 0.04em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-calc-field input, .sph-contact-field input, .sph-contact-field textarea {
	width: 100%; padding: 10px; border: 1px solid var(--sph-field-line); border-radius: var(--sph-r-s); background: var(--sph-field); color: var(--sph-ink); font: 600 1rem/1.3 var(--sph-text);
}
.sph-calc-results { margin: 0; align-content: start; }
.sph-calc-out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sph-rule); }
.sph-calc-out dt { font-size: 0.92rem; color: var(--sph-ink-2); }
.sph-calc-out dd { margin: 0; font: 700 1.05rem/1.2 var(--sph-mono); text-align: right; }
.sph-calc-out--key { border-bottom: 2px solid var(--sph-ink); }
.sph-calc-out--key dd { color: var(--sph-link-hover); font-size: 1.2rem; }
.sph-calc-note { margin: 14px 0 0 !important; max-width: none !important; font-size: 0.86rem; line-height: 1.5; color: var(--sph-ink-2); }

/* ---------------------------------------------------------- contact form */
.sph-contact { margin: 22px 0; }
.sph-contact-form { display: grid; gap: 14px; max-width: 34rem; }
.sph-contact-form p { margin: 0; }
.sph-contact-field label { display: block; margin-bottom: 4px; font: 600 0.76rem/1.35 var(--sph-text); letter-spacing: 0.05em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-contact-field textarea { font-family: var(--sph-text); font-weight: 400; resize: vertical; }
.sph-contact-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sph-btn { display: inline-block; padding-inline: 30px; }
.sph-contact-note { margin: 0 0 16px !important; padding: 11px 16px; border-radius: var(--sph-r-s); border-left: 6px solid var(--sph-accent); background: var(--sph-accent-tint); font-weight: 600; }
.sph-contact-note--err { border-left-color: var(--sph-alert); background: var(--sph-alert-tint); }

/* ------------------------------------------------------- onward, colophon */
.sph-onward { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--sph-rule-2); }
.sph-onward-title { margin: 0; font: 600 0.78rem/1.3 var(--sph-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sph-ink-2); }
.sph-onward ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.sph-onward li { margin: 0; }
.sph-onward a { display: block; height: 100%; padding: 12px 16px; border: 1px solid var(--sph-rule-2); border-radius: var(--sph-r); background: var(--sph-card); color: var(--sph-ink); font-size: 0.95rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.sph-onward a::after { content: " \203A"; color: var(--sph-accent-deep); font-weight: 700; }
.sph-onward a:hover { border-color: var(--sph-accent); color: var(--sph-ink); }
.sph-colophon { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--sph-rule-2); max-width: none; font: 400 0.84rem/1.6 var(--sph-text); color: var(--sph-ink-2); }
.sph-compliance { margin-top: 14px; max-width: none; font-size: 0.86rem; line-height: 1.55; color: var(--sph-ink-2); }
.sph-compliance p { margin: 0; }

/* ----------------------------------------------------------------- footer */
.sph-foot { background: var(--sph-deep); color: var(--sph-deep-ink); }
.sph-foot a { color: var(--sph-deep-ink); }
.sph-foot a:hover { color: #fff; }
.sph-foot a:focus-visible { outline-color: var(--sph-accent-lit); }
.sph-foot-brand { display: none; }
.sph-foot-grid { display: grid; grid-template-columns: 1.15fr 1.3fr 0.9fr; gap: 36px; padding-block: 34px 28px; }
.sph-foot-head { margin: 0 0 12px; font: 600 0.76rem/1.3 var(--sph-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sph-deep-soft); }
.sph-foot-lede { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; }
.sph-foot-help { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.55; color: var(--sph-deep-soft); }
.sph-foot-help a { font-weight: 600; }
.sph-foot-number { display: inline-block; margin: 0 4px; padding: 0 9px; border: 1px solid var(--sph-deep-soft); border-radius: 999px; font: 700 0.88rem/1.6 var(--sph-mono); color: var(--sph-deep-ink); }
.sph-foot-list { list-style: none; margin: 0; padding: 0; }
.sph-foot-list li { margin: 0 0 8px; font-size: 0.94rem; }
.sph-foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px 26px; border-top: 1px solid var(--sph-deep-2); font-size: 0.84rem; color: var(--sph-deep-soft); }
.sph-foot-bar p { margin: 0; }
.sph-foot-age { display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------ other views */
.page-title, .entry-title { font: var(--sph-head-w) 2rem/1.15 var(--sph-display); margin: 28px 0 16px; }
.search-form { display: flex; gap: 8px; max-width: 30rem; }
.search-form input[type="search"] { flex: 1; padding: 10px; border: 1px solid var(--sph-field-line); border-radius: var(--sph-r-s); background: var(--sph-field); color: var(--sph-ink); font: 1rem var(--sph-text); }
.search-form input[type="submit"], .search-form button { padding: 10px 18px; border: 2px solid var(--sph-btn-bg); background: var(--sph-btn-bg); color: var(--sph-btn-ink); font: 700 0.95rem var(--sph-text); border-radius: var(--sph-r-btn); cursor: pointer; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
	.sph-nav-toggle { display: flex; }
	.sph-nav { display: none; padding-bottom: 8px; }
	body.sph-nav-open .sph-nav { display: block; }
	.sph-nav-list { flex-direction: column; }
	.sph-nav-item { border-top: 1px solid var(--sph-nav-rule); }
	.sph-nav-item > a { padding: 13px 48px 13px 0; white-space: normal; border-bottom: 0; }
	.sph-nav-item > a:hover, .sph-nav-item.is-current > a { border-bottom: 0; color: var(--sph-nav-hi); }
	.sph-nav-item.has-panel > a { padding-right: 48px; }
	.sph-nav-sub { top: 0; bottom: auto; right: 0; width: 46px; height: 46px; }
	.sph-nav-sub::before { left: 19px; }
	.sph-nav-drop { position: static; min-width: 0; max-width: none; margin: 0 0 8px; border: 0; border-radius: var(--sph-r-s); box-shadow: none; background: var(--sph-nav-panel); padding: 4px 0 6px; }
	.sph-nav-item:nth-last-child(-n+2) > .sph-nav-drop { right: auto; }
	.sph-nav-drop a { color: var(--sph-nav-ink); padding: 8px 16px; }
	.sph-nav-drop a:hover { background: var(--sph-nav-rule); color: var(--sph-nav-hi); }
	.sph-nav-drop .sph-drop-lead a { color: var(--sph-nav-hi); border-top-color: var(--sph-nav-rule); }
}
@media (max-width: 1000px) {
	.sph-row {
		grid-template-columns: 56px minmax(0, 1fr) 172px;
		grid-template-areas: "rank brand action" "rank terms action" "rank figures action";
		align-items: start;
	}
	.sph-rank { grid-area: rank; }
	.sph-brand { grid-area: brand; }
	.sph-terms { grid-area: terms; }
	.sph-figures { grid-area: figures; }
	.sph-action { grid-area: action; }
	.sph-foot-grid { grid-template-columns: 1fr 1fr; }
	.sph-foot-col--about { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
	:root { --sph-gutter: 18px; }
	body { font-size: 16.5px; }
	.sph-bar-top { padding-block: 14px 12px; }
	.sph-wordmark-name { font-size: 1.35rem; gap: 10px; }
	.sph-wordmark-tag { font-size: 0.7rem; }
	.sph-section > h2, .sph-faq > h2 { font-size: 1.32rem; gap: 12px; }
	.sph-row {
		grid-template-columns: 56px minmax(0, 1fr);
		grid-template-areas: "rank brand" "figures figures" "terms terms" "action action";
		padding: 16px 14px;
	}
	.sph-figures { gap: 28px; padding-block: 6px; border-block: 1px solid var(--sph-rule); }
	.sph-figure-value { font-size: 1.6rem; }
	.sph-more-sum { padding-inline: 14px; }
	.sph-more-body { padding-inline: 14px; }
	.sph-calc { padding: 16px 14px; }
	.sph-calc-body, .sph-calc-inputs { grid-template-columns: minmax(0, 1fr); }
	.sph-chart { padding: 14px 12px 10px; }
	.sph-cols { gap: 8px; }
	.sph-col-bar { width: 72%; }
	.sph-hrows { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.sph-hrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label val" "track track"; gap: 4px 10px; }
	.sph-hlabel { grid-area: label; }
	.sph-hval { grid-area: val; }
	.sph-htrack { grid-area: track; }
	.sph-toc { padding: 14px 16px 10px; }
	.sph-foot-grid { grid-template-columns: 1fr; gap: 26px; }
	.sph-onward ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
	.sph-navbar, .sph-foot, .sph-skip, .sph-calc-inputs, .sph-cta, .sph-util { display: none; }
	body { background: #fff; }
}

/* ================================================== Surrey Prize Hub: soft cards */
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.sph-header {
	position: sticky; top: 10px; z-index: 100; margin: 14px auto 0; background: #fff; border: 0; border-radius: 28px;
	width: min(calc(var(--sph-measure) - 2 * var(--sph-gutter)), calc(100% - 2 * var(--sph-gutter)));
	box-shadow: 0 12px 32px rgba(11, 63, 72, 0.14), 0 0 0 1px var(--sph-rule);
}
.sph-header .sph-bar { max-width: none; padding-inline: 20px; }
.sph-bar-top { padding-block: 10px; }
.sph-wordmark-name { font-weight: 800; font-size: 1.4rem; }
.sph-wordmark-name::before {
	content: ""; flex: none; width: 36px; height: 36px; border-radius: 12px;
	background: linear-gradient(135deg, var(--sph-deep) 0 50%, var(--sph-accent) 50% 100%);
}
.sph-wordmark-tag { padding-left: 48px; font-weight: 700; letter-spacing: 0.06em; }
.sph-age { width: 40px; height: 40px; border: 0; background: var(--sph-accent-tint); color: var(--sph-accent-deep); }
.sph-age--sm { background: var(--sph-deep-2); color: var(--sph-deep-ink); border: 0; }
.sph-navbar { background: transparent; }
.sph-nav-toggle { padding: 8px 0 14px; }
@media (min-width: 961px) {
	.sph-header { display: flex; align-items: center; gap: 10px; border-radius: 999px; padding: 8px 14px 8px 24px; }
	.sph-header .sph-bar { padding-inline: 0; }
	.sph-bar-top { display: contents; }
	.sph-wordmark { order: 1; flex: none; }
	.sph-wordmark-tag { display: none; }
	.sph-navbar { order: 2; flex: 1 1 auto; min-width: 0; }
	.sph-age { order: 3; flex: none; }
	.sph-nav-list { justify-content: flex-end; gap: 2px; }
	.sph-nav-item > a { padding: 9px 13px; border: 0; border-radius: 999px; font-weight: 700; font-size: 0.88rem; }
	.sph-nav-item.has-panel > a { padding-right: 28px; }
	.sph-nav-item > a:hover, .sph-nav-item.is-current > a { background: var(--sph-accent-tint); color: var(--sph-accent-deep); }
	.sph-nav-sub { bottom: 0; width: 26px; }
	.sph-nav-sub::before { left: 9px; }
	.sph-nav-drop { top: calc(100% + 14px); border: 0; border-radius: 22px; padding: 10px 6px; box-shadow: 0 18px 40px rgba(11, 63, 72, 0.22); }
	.sph-nav-drop a { border-radius: 12px; }
	.sph-nav-drop .sph-drop-lead a { color: var(--sph-accent-deep); }
}
@media (min-width: 961px) and (max-width: 1180px) {
	.sph-nav-item > a { padding: 9px 9px; font-size: 0.82rem; }
	.sph-nav-item.has-panel > a { padding-right: 24px; }
}

.sph-breadcrumb { padding-top: 26px; font-weight: 700; }
.sph-hero {
	position: relative; overflow: hidden; margin-top: 14px; padding: 42px 46px 40px; border-radius: 34px; color: #fff;
	background: linear-gradient(120deg, var(--sph-deep) 0%, #136069 62%, #1c7c84 100%);
}
.sph-hero::before, .sph-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.sph-hero::before { right: -70px; top: -90px; width: 280px; height: 280px; background: var(--sph-accent); opacity: 0.92; }
.sph-hero::after { right: 150px; bottom: -70px; width: 150px; height: 150px; background: #fff; opacity: 0.14; }
.sph-hero > * { position: relative; z-index: 1; }
.sph-hero h1 { color: #fff; font: 800 clamp(2rem, 4.4vw, 3.05rem)/1.1 var(--sph-display); letter-spacing: -0.03em; }
.sph-standfirst { color: #d9efee; }
.sph-disclosure { margin-top: 24px; }

.sph-toc { margin-top: 22px; padding: 0; border: 0; background: transparent; border-radius: 0; }
.sph-toc-title { color: var(--sph-ink); }
.sph-toc ol { display: flex; flex-wrap: wrap; gap: 8px; columns: auto; }
.sph-toc li { display: block; padding: 0; }
.sph-toc li::before { content: none; }
.sph-toc a { display: block; padding: 7px 16px; border: 1px solid var(--sph-rule-2); border-radius: 999px; background: #fff; font-weight: 700; font-size: 0.86rem; line-height: 1.35; }
.sph-toc a:hover { background: var(--sph-accent-tint); border-color: var(--sph-accent); text-decoration: none; }

.sph-section, .sph-faq { margin-top: 22px; padding: 34px 38px 14px; border: 0; border-radius: 30px; background: #fff; box-shadow: 0 12px 34px rgba(11, 63, 72, 0.07); }
.sph-section > h2, .sph-faq > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font: 800 clamp(1.4rem, 2.4vw, 1.75rem)/1.2 var(--sph-display); }
.sph-section > h2::before { counter-increment: sphsec; content: counter(sphsec); flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--sph-accent-tint); color: var(--sph-accent-deep); font: 800 1.05rem/1 var(--sph-display); }
.sph-faq > h2::before { content: "?"; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--sph-deep); color: #fff; font: 800 1.05rem/1 var(--sph-display); }
.sph-section li::marker { color: var(--sph-accent); }
.sph-q { border-top: 1px solid var(--sph-rule); }
.sph-aside { border: 0; border-radius: 20px; background: var(--sph-accent-tint); }
.sph-aside strong { color: var(--sph-accent-deep); }
.sph-table-wrap { border-color: var(--sph-rule); border-radius: 20px; }
.sph-table-wrap caption { background: #f3f9f8; }
.sph-table-wrap thead th { padding-block: 13px; }
.sph-chart { background: #f7fbfa; border-color: var(--sph-rule); border-radius: 20px; }
.sph-calc { background: #f7fbfa; border-color: var(--sph-rule); border-radius: 22px; }
.sph-calc-field input, .sph-contact-field input, .sph-contact-field textarea { border-radius: 12px; }

/* offer board: soft vertical cards, the lead card across both columns */
.sph-board-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 4px; }
.sph-entry { position: relative; display: flex; flex-direction: column; border: 0; border-radius: 28px; box-shadow: 0 12px 32px rgba(11, 63, 72, 0.1); }
.sph-entry--lead { grid-column: 1 / -1; box-shadow: 0 0 0 3px var(--sph-accent), 0 16px 38px rgba(194, 64, 42, 0.18); }
.sph-row {
	grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 26px 26px 20px; align-items: center;
	grid-template-areas: "rank brand" "figures figures" "terms terms" "action action";
}
.sph-rank { grid-area: rank; }
.sph-brand { grid-area: brand; }
.sph-terms { grid-area: terms; }
.sph-figures { grid-area: figures; }
.sph-action { grid-area: action; }
.sph-rank-num { width: 48px; height: 48px; border-radius: 16px; background: var(--sph-ball); color: #fff; }
.sph-figures { gap: 28px; padding: 12px 16px; border-radius: 18px; background: #f3f9f8; }
.sph-terms { padding-inline: 4px; }
.sph-logo { border-radius: 14px; max-width: min(100%, 340px); }
.sph-tile { border-radius: 14px; }
.sph-cta, .sph-btn { padding: 14px 12px; }
.sph-more { margin-top: auto; border-top-color: var(--sph-rule); }
@media (min-width: 1001px) {
	.sph-entry--lead .sph-row { grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, 1fr) 200px; grid-template-areas: "rank brand figures action" "rank brand terms action"; column-gap: 26px; }
	.sph-entry--lead .sph-figures { align-self: end; }
}
@media (max-width: 700px) {
	.sph-board-rows { grid-template-columns: minmax(0, 1fr); }
}
.sph-onward a { border: 0; border-radius: 18px; box-shadow: 0 8px 22px rgba(11, 63, 72, 0.08); }
.sph-onward a::after { color: var(--sph-accent); }
.sph-onward { border-top: 0; }
.sph-colophon { border-top-color: var(--sph-rule-2); }

.sph-foot { width: min(calc(var(--sph-measure) - 2 * var(--sph-gutter)), calc(100% - 2 * var(--sph-gutter))); margin: 0 auto 26px; border-radius: 38px; }
.sph-foot .sph-bar { max-width: none; padding-inline: 44px; }
.sph-foot-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; padding: 34px 0 0; }
.sph-foot-brand-name { font: 800 1.9rem/1.1 var(--sph-display); letter-spacing: -0.03em; }
.sph-foot-brand-tag { font-weight: 700; color: var(--sph-accent-lit); }
.sph-foot-grid { padding-block: 28px 22px; }
.sph-foot-number { border-color: var(--sph-accent-lit); color: var(--sph-accent-lit); }
.sph-foot-bar { border-top-color: var(--sph-deep-2); }
@media (max-width: 960px) {
	.sph-header { border-radius: 26px; }
	.sph-bar-top { padding-block: 12px 4px; }
	.sph-navbar-in { padding-bottom: 4px; }
	.sph-nav-item > a { padding-left: 4px; }
}
@media (max-width: 700px) {
	.sph-hero { padding: 30px 24px 28px; border-radius: 26px; }
	.sph-hero::before { width: 200px; height: 200px; right: -80px; top: -80px; }
	.sph-hero::after { display: none; }
	.sph-section, .sph-faq { padding: 26px 20px 8px; border-radius: 24px; }
	.sph-row { padding: 20px 16px 14px; }
	.sph-foot { border-radius: 28px; }
	.sph-foot .sph-bar { padding-inline: 24px; }
}

