/*
 * The Sanford Systems website (sanford.systems).
 *
 * Built from the stag logo: bark and umber browns with oat, plus one
 * colour of its own, Kennet blue (after the river through Reading), for
 * links and actions. Young Serif for headings, Schibsted Grotesk for
 * everything else. Served with style-src 'self': no inline styles.
 */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/young-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
    --bark: #2b1c07;
    --umber: #4f3308;
    --hide: #6a5030;
    --oat: #c2b7a4;
    --linen: #ebe5dd;
    --paper: #f7f5f1;
    --white: #ffffff;
    --ink: #22180a;
    --text: #3b3226;
    --muted: #6e6455;
    --rule: #d9d1c4;
    --kennet: #24505c;
    --kennet-dark: #183a43;
    --kennet-tint: #dfe9ea;
    --brass: #b78a3c;
    --error: #a3341c;
    --serif: "Young Serif", Georgia, "Times New Roman", serif;
    --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
/* A link only rule-breaking crawlers follow (robots.txt forbids it): see SpotlightBotGuard. */
.site-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kennet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kennet-dark); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0 0 0.45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.9rem); line-height: 1.08; }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.site-preview-bar { background: var(--brass); color: #fff; text-align: center; font-size: 0.9rem; font-weight: 500; padding: 8px 16px; }

.site-icon { width: 22px; height: 22px; flex-shrink: 0; }
.site-icon-sm { width: 17px; height: 17px; }
.site-icon-xs { width: 13px; height: 13px; }

/* ---------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 15px 24px; border-radius: 4px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--kennet); color: var(--white); }
.btn-primary:hover { background: var(--kennet-dark); color: var(--white); }
.btn-light { background: var(--linen); color: var(--bark); }
.btn-light:hover { background: var(--white); color: var(--bark); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 10px 16px; font-size: 0.93rem; }
.btn-block { width: 100%; }
.site-link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------------- Header */
/* The thin bar above the header: phone, email and the client login (desktop only). */
.site-topbar { background: var(--bark); color: var(--oat); font-size: 0.86rem; }
.site-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 36px; }
.site-topbar p { margin: 0; }
.site-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.site-topbar a { color: var(--linen); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.site-topbar a:hover { color: var(--white); text-decoration: underline; }
.site-topbar .site-topbar-login { font-weight: 700; color: var(--white); border: 1px solid rgba(235, 229, 221, 0.45); border-radius: 4px; padding: 3px 12px; }
.site-topbar .site-topbar-login:hover { border-color: var(--white); text-decoration: none; }
.site-nav-login { display: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header-main { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.site-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.site-logo:hover { color: var(--ink); }
.site-logo img { width: 46px; height: 46px; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1; }
.site-logo-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; }
.site-logo-legal { font-size: 0.72rem; color: var(--muted); margin-top: 5px; }
.site-menu-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav-item { position: relative; }
.site-nav-link { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 10px 11px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; border-bottom: 2px solid transparent; }
.site-nav-link:hover, .site-nav-item:hover > .site-nav-link, .site-nav-item:focus-within > .site-nav-link { color: var(--kennet); }
.site-nav-item.is-active > .site-nav-link { border-bottom-color: var(--brass); }
.site-nav-phone { display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-nav-phone:hover { color: var(--kennet); }
.site-nav-cta { white-space: nowrap; }

.site-dropdown { position: absolute; top: 100%; left: -12px; width: 330px; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--kennet); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; box-shadow: 0 20px 40px rgba(43, 28, 7, 0.14); }
.site-nav-item:hover > .site-dropdown, .site-nav-item:focus-within > .site-dropdown { opacity: 1; visibility: visible; transform: none; }
.site-dropdown ul { list-style: none; margin: 0; padding: 0; }
.site-dropdown li a { display: block; padding: 9px 20px; text-decoration: none; color: var(--ink); }
.site-dropdown li a:hover { background: var(--paper); color: var(--kennet); }
.site-dropdown li a strong { display: block; font-weight: 500; color: inherit; }
.site-dropdown li a small { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; margin-top: 2px; }
.site-dropdown-all { display: block; margin: 8px 20px 4px; padding-top: 10px; border-top: 1px solid var(--rule); font-weight: 700; font-size: 0.9rem; }

/* ---------------- Home hero */
.home-hero { position: relative; overflow: hidden; background: var(--linen); border-bottom: 1px solid var(--rule); }
.home-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(36px, 5vw, 64px); }
.home-hero-copy { position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(2.5rem, 1.3rem + 4.2vw, 5rem); max-width: 12ch; margin-bottom: 0.35em; }
.home-hero-lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; max-width: 46ch; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-hero-note { margin: 22px 0 0; color: var(--muted); font-size: 0.95rem; }
.home-hero-note a { color: var(--ink); font-weight: 700; }
.home-hero-stag { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.home-hero-stag img { width: 100%; max-width: 400px; height: auto; display: block; }
/* The logo as drawn: stag over the company name, in the same proportions. */
.home-hero-stag .home-hero-wordmark { max-width: 440px; margin-top: clamp(26px, 3.4vw, 48px); }
.home-hero-facts { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; grid-column: 1 / -1; position: relative; z-index: 1; }
.home-hero-facts li { font-size: 0.95rem; }
.home-hero-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 4px; }

@media (prefers-reduced-motion: no-preference) {
    .home-hero h1, .home-hero-lead, .home-hero-actions { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .home-hero-lead { animation-delay: 0.12s; }
    .home-hero-actions { animation-delay: 0.22s; }
    .home-hero-stag img, .home-hero-stag .stag-rig { animation: stag-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
    .home-hero-stag .home-hero-wordmark { animation-delay: 0.35s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stag-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------------- Page hero (every other page) */
.page-hero { background: var(--linen); border-bottom: 1px solid var(--rule); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 76px); }
.page-hero-inner-single { grid-template-columns: minmax(0, 1fr); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--kennet); text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.page-kicker { font-weight: 700; color: var(--kennet); margin: 0 0 10px; }
.page-hero h1 { max-width: 17ch; }
.page-hero-lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.24rem); line-height: 1.55; max-width: 52ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.glance { background: var(--white); border: 1px solid var(--rule); padding: 26px 26px 22px; }
.glance h2 { font-size: 1.3rem; margin-bottom: 10px; }
.glance ul { list-style: none; margin: 0 0 18px; padding: 0; }
.glance li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 0.96rem; }
.glance li:first-child { border-top: 0; }
.glance li .site-icon { color: var(--kennet); margin-top: 3px; }
.glance-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.glance-phone:hover { color: var(--kennet); }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------- Sections */
.band { padding: clamp(56px, 8vw, 112px) 0; }
.band-white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-white + .band-white { border-top: 0; }
.band-dark { background: var(--bark); color: var(--oat); }
.band-dark h2, .band-dark h3 { color: var(--linen); }
.band-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.band-head h2 { margin: 0; }
.band-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.band-head-solo { grid-template-columns: minmax(0, 1fr); }

/* The service index: the site's one big moment. */
.service-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-row { border-bottom: 1px solid var(--ink); }
.service-row-link { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 44px; gap: 12px 40px; align-items: center; padding: 22px 8px 12px; text-decoration: none; color: var(--ink); transition: background-color 0.2s, color 0.2s, padding 0.2s; }
.service-row-name { font-family: var(--serif); font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.4rem); line-height: 1.05; letter-spacing: -0.01em; }
.service-row-text { color: var(--muted); font-size: 0.98rem; line-height: 1.55; transition: color 0.2s; }
.service-row-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform 0.25s; }
.service-row-link:hover, .service-row-link:focus-visible { background: var(--kennet); color: var(--white); padding-left: 24px; padding-right: 24px; }
.service-row-link:hover .service-row-text, .service-row-link:focus-visible .service-row-text { color: var(--kennet-tint); }
.service-row-link:hover .service-row-go { transform: rotate(-45deg); }
/* Section pages (Getting online, SEO...): each service a white strip with its icon on a coloured panel */
.service-panels { border-top: 0; display: grid; gap: 16px; }
.service-panels .service-row { border-bottom: 0; }
.service-panels .service-row-link { grid-template-columns: 120px minmax(0, 4fr) minmax(0, 5fr) 44px; gap: 12px 36px; min-height: 120px; padding: 0 24px 0 0; background: var(--white); border: 1px solid var(--rule); }
.service-panels .service-row-link:hover, .service-panels .service-row-link:focus-visible { padding: 0 24px 0 0; }
.service-panel-icon { align-self: stretch; display: grid; place-items: center; background: var(--kennet); color: var(--white); transition: background-color 0.2s; }
.service-panel-icon .site-icon { width: 40px; height: 40px; stroke-width: 1.5; }
.service-panels .service-row-link:hover .service-panel-icon, .service-panels .service-row-link:focus-visible .service-panel-icon { background: var(--bark); }
.service-panels .service-row-name { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); }
.service-row-subs { list-style: none; margin: 0; padding: 0 8px 20px; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.service-row-subs a { color: var(--text); font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid var(--rule); }
.service-row-subs a:hover { color: var(--kennet); border-bottom-color: var(--kennet); }

/* Statement */
.statement { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 88px); align-items: center; max-width: 1040px; margin: 0 auto; }
.statement-mark { width: 200px; height: 200px; border-radius: 50%; background: #eceee6; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(235, 229, 221, 0.06); }
.statement-mark img { width: 72%; height: auto; }
.statement-body { border-left: 2px solid var(--brass); padding-left: clamp(24px, 3vw, 40px); }
.statement blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.05rem + 1.25vw, 2.15rem); line-height: 1.32; color: var(--linen); max-width: 34ch; text-wrap: pretty; }
.statement figcaption { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; font-size: 0.95rem; }
.statement figcaption strong { color: var(--linen); font-size: 1.02rem; }
.statement figcaption span { color: var(--oat); }

/* What's included: a ruled two-column list */
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.included li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--rule); }
.included .site-icon { color: var(--kennet); margin-top: 2px; }
.included h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; letter-spacing: 0; }
.included p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Steps: a real sequence, drawn as a timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--ink); opacity: 0.35; }
.step { position: relative; }
.step-number { position: relative; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 18px; }
.band-white .step-number { background: var(--white); }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Questions */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
.faqs { border-top: 1px solid var(--ink); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--kennet); }
.faq summary .site-icon { color: var(--kennet); transition: transform 0.2s; }
.faq[open] summary .site-icon { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 0 22px; max-width: 70ch; }

/* Related pages: plain linked rows */
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.related li { border-top: 1px solid var(--ink); }
.related a { display: block; padding: 18px 0 22px; text-decoration: none; color: var(--ink); }
.related a strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin-bottom: 6px; }
.related a span { color: var(--muted); font-size: 0.95rem; }
.related a:hover strong { color: var(--kennet); }

/* Body text */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
.prose { font-size: 1.08rem; line-height: 1.7; max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.prose img { margin: 1.5em 0; }

/* Team */
.band-head-centre { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 14px; }
.band-head-centre h2 { max-width: 28ch; text-wrap: balance; }
.band-head-centre p { max-width: 60ch; }
/* The team: cards share the full width, photo and text centred under each other */
.team { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 320px)); justify-content: center; gap: 40px clamp(24px, 5vw, 72px); }
.team li { display: flex; }
.team a { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 8px 8px 0; text-decoration: none; color: var(--text); }
.team a p { max-width: 30ch; }
.team-more { margin-top: auto; padding-top: 14px; font-size: 0.93rem; font-weight: 600; color: var(--kennet); border-bottom: 1px solid currentColor; }
.team a:hover .team-more { color: var(--kennet-dark); }
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: #111; }
/* In the team list the photos are small round portraits: the originals are small, and a big crop shows it. */
.team .team-photo, .team .team-monogram { width: 168px; height: 168px; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--brass); font-size: 2.6rem; }
.team-monogram { display: grid; place-items: center; width: 100%; aspect-ratio: 5 / 4; font-family: var(--serif); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); color: var(--linen); background: var(--umber); }
.team li:nth-child(3n+2) .team-monogram { background: var(--kennet); }
.team li:nth-child(3n) .team-monogram { background: var(--hide); }
.team h3 { margin: 18px 0 2px; font-size: 1.5rem; }
.team a:hover h3 { color: var(--kennet); }
.team-role { margin: 0 0 8px; font-weight: 700; color: var(--kennet); font-size: 0.95rem; }
.team p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.person { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 76px); }
.person-crumbs { grid-column: 2; grid-row: 1; }
.person-portrait { grid-column: 1; grid-row: 1 / span 3; }
.person-head { grid-column: 2; grid-row: 2; }
.person-main { grid-column: 2; grid-row: 3; }
.person-portrait { margin: 0; }
.person-portrait .team-monogram, .person-portrait .team-photo { max-width: 300px; border-radius: 6px; }
.person-contact { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.person-contact .btn { padding: 12px 18px; }
.person-contact-detail { margin: 0 0 22px; color: var(--muted); font-size: 0.95rem; }
.person-contact-detail a { color: var(--text); }

/* ---------------- Get in touch band and forms */
.cta { background: var(--bark); color: var(--oat); padding: clamp(56px, 8vw, 104px) 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cta h2 { color: var(--linen); }
.cta p { font-size: 1.08rem; }
.cta a:not(.btn) { color: var(--linen); }
.cta-points { list-style: none; margin: 28px 0 0; padding: 0; }
.cta-points li { padding: 12px 0; border-top: 1px solid rgba(194, 183, 164, 0.25); }
.cta-points li strong { color: var(--linen); }
.cta-form { background: var(--paper); color: var(--text); padding: clamp(22px, 3vw, 36px); }
.cta .cta-form a { color: var(--kennet); }

.site-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: 13px 14px; border: 1px solid #bfb5a5; border-radius: 3px; background: var(--white); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--kennet); box-shadow: 0 0 0 3px rgba(36, 80, 92, 0.18); }
.field textarea { resize: vertical; min-height: 96px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; }
.form-alert { margin: 0; padding: 12px 14px; background: #f6e2dc; color: var(--error); }
.form-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 36px); }
.contact-card h2 { font-size: 1.8rem; }
.contact-aside > div { padding: 22px 0; border-top: 1px solid var(--rule); }
.contact-aside > div:first-child { border-top: 1px solid var(--ink); }
.contact-aside h2 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-big { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; margin-bottom: 4px; }
.contact-big:hover { color: var(--kennet); }
.contact-aside p { margin: 0 0 10px; }
.contact-points { list-style: none; margin: 0; padding: 0; }
.contact-points li { display: flex; gap: 10px; padding: 6px 0; }
.contact-points .site-icon { color: var(--kennet); margin-top: 3px; }

.plain-hero { background: var(--linen); border-bottom: 1px solid var(--rule); padding: clamp(40px, 6vw, 88px) 0; }
.plain-hero .lead { font-size: 1.15rem; max-width: 56ch; }
.plain-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------- Footer */
.site-footer { background: var(--bark); color: var(--oat); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 0.96rem; }
.site-footer a { color: var(--linen); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(194, 183, 164, 0.22); }
.site-footer-title { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.1; color: var(--linen); margin: 0 0 18px; }
.site-footer-contact a { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.site-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.site-footer-heading { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--linen); margin: 0 0 14px; letter-spacing: 0; }
.site-footer-links { list-style: none; margin: 0; padding: 0; }
.site-footer-links li { padding: 4px 0; }
.site-socials { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 10px; }
.site-socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(194, 183, 164, 0.35); border-radius: 50%; }
.site-socials a:hover { border-color: var(--linen); background: rgba(235, 229, 221, 0.08); }
.site-socials .site-icon { width: 18px; height: 18px; }
.site-footer-legal-line { padding: 24px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.86rem; }
.site-footer-legal-line p { margin: 0; max-width: 84ch; }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer-legal a, .site-footer-legal button { color: var(--oat); }
.site-spotlight-badge { display: inline-block; margin-top: 16px; color: var(--oat) !important; font-size: 0.9rem; border-bottom: 1px solid rgba(194, 183, 164, 0.4); }

/* ---------------- Cookie choice */
.site-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 540px; margin: 0 auto; background: var(--white); color: var(--text); border: 1px solid var(--rule); border-top: 3px solid var(--kennet); box-shadow: 0 20px 50px rgba(43, 28, 7, 0.2); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.site-consent[hidden] { display: none; }
.site-consent p { margin: 0; }
.site-consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------------- Laptop, tablet and phone */
@media (max-width: 1240px) {
    .site-header-main { gap: 18px; }
    .site-nav { gap: 12px; }
    .site-nav-link { padding: 10px 7px; font-size: 0.94rem; }
}
@media (max-width: 1180px) {
    .site-menu-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font: inherit; font-weight: 700; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 4px; padding: 10px 16px; cursor: pointer; }
    .site-menu-toggle .site-menu-close { display: none; }
    .site-menu-toggle[aria-expanded="true"] .site-menu-open { display: none; }
    .site-menu-toggle[aria-expanded="true"] .site-menu-close { display: inline; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 24px 40px rgba(43, 28, 7, 0.12); flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 24px; max-height: calc(100vh - 84px); overflow-y: auto; }
    .site-nav.is-open, .no-js .site-nav { display: flex; }
    .no-js .site-nav { position: static; box-shadow: none; }
    .site-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav-item { border-bottom: 1px solid var(--rule); }
    .site-nav-link { font-family: var(--serif); font-size: 1.35rem; padding: 16px 0 6px; border-bottom: 0; }
    .site-nav-item.is-active > .site-nav-link { color: var(--kennet); }
    .site-nav-link .site-icon { display: none; }
    .site-dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; background: transparent; }
    .site-dropdown ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
    .site-dropdown li a { padding: 6px 0; }
    .site-dropdown li a:hover { background: transparent; }
    .site-dropdown li a small, .site-dropdown-all { display: none; }
    .site-nav > .site-nav-phone { display: inline-flex; margin-top: 20px; font-size: 1.1rem; }
    .site-nav > .site-nav-login { display: flex; order: -1; align-self: stretch; justify-content: center; margin: 0 0 18px; padding: 11px 16px; font-weight: 700; color: var(--ink); text-decoration: none; border: 1px solid var(--ink); border-radius: 4px; }
    .site-topbar { display: none; }
    .site-nav-cta { margin-top: 14px; }

    .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
    /* The list follows straight after on smaller screens. */
    .page-hero .glance { display: none; }
    .page-hero-photo { max-width: 640px; }
    .band-head { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .steps::before { display: none; }
    .faq-layout, .split, .statement { grid-template-columns: minmax(0, 1fr); }
    .statement { grid-template-columns: minmax(0, 1fr); }
    .statement { justify-items: center; text-align: center; gap: 28px; }
    .statement-mark { width: 104px; height: 104px; box-shadow: 0 0 0 6px rgba(235, 229, 221, 0.06); }
    /* Centred under the stag, with a short gold line instead of the one down the side */
    .statement-body { border-left: 0; padding-left: 0; display: flex; flex-direction: column; align-items: center; }
    .statement-body::before { content: ""; width: 48px; height: 2px; background: var(--brass); margin-bottom: 24px; }
    .statement blockquote { margin: 0 auto; }
    .statement figcaption { align-items: center; }
    .cta-inner, .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .site-footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .home-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .home-hero-stag { position: absolute; right: -70px; top: 24px; width: 320px; min-height: 0; opacity: 0.14; pointer-events: none; }
    .home-hero-stag img, .home-hero-stag .stag-rig { position: relative; width: 100%; }
    .home-hero-stag .home-hero-wordmark { display: none; }
    .service-row-link { grid-template-columns: minmax(0, 1fr) 44px; padding: 24px 4px 12px; }
    .service-row-text { grid-column: 1 / -1; grid-row: 2; }
    .service-row-go { width: 40px; height: 40px; grid-column: 2; grid-row: 1; }
    .service-row-subs { padding: 0 4px 22px; }
    .service-panels .service-row-link { grid-template-columns: 88px minmax(0, 1fr) 40px; grid-template-rows: auto 1fr; gap: 6px 18px; padding: 0 16px 0 0; min-height: 0; }
    .service-panels .service-row-link:hover, .service-panels .service-row-link:focus-visible { padding: 0 16px 0 0; }
    .service-panel-icon { grid-column: 1; grid-row: 1 / span 2; }
    .service-panel-icon .site-icon { width: 32px; height: 32px; }
    .service-panels .service-row-name { grid-column: 2; grid-row: 1; padding-top: 20px; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem); }
    .service-panels .service-row-text { grid-column: 2 / -1; grid-row: 2; padding-bottom: 20px; }
    .service-panels .service-row-go { grid-column: 3; grid-row: 1; margin-top: 16px; }
    .included { grid-template-columns: minmax(0, 1fr); }
    .related { grid-template-columns: minmax(0, 1fr); }
    .team { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 20px; }
    .band-head-centre h2 { max-width: 20ch; }
    .team .team-photo, .team .team-monogram { width: 140px; height: 140px; }
    /* Breadcrumbs first, then a round photo beside the name, then the rest */
    .person { grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 24px; }
    .person-crumbs { grid-column: 1 / -1; grid-row: 1; }
    .person-portrait { grid-column: 1; grid-row: 2; align-self: center; }
    .person-portrait .team-monogram, .person-portrait .team-photo { width: 140px; height: 140px; max-width: none; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; box-shadow: 0 0 0 4px var(--linen), 0 0 0 5px var(--brass); font-size: 2.6rem; }
    .person-head { grid-column: 2; grid-row: 2; align-self: center; }
    .person-head h1 { margin-bottom: 0; }
    .person-main { grid-column: 1 / -1; grid-row: 3; margin-top: 24px; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .site-header-main { min-height: 70px; gap: 12px; }
    .site-logo img { width: 38px; height: 38px; }
    .site-logo-name { font-size: 1.22rem; }
    .site-logo-legal { font-size: 0.66rem; }
    .site-menu-toggle { padding: 9px 12px; }
    .site-menu-toggle span { display: none; }
    .site-nav { max-height: calc(100vh - 70px); }
    .site-dropdown ul { grid-template-columns: minmax(0, 1fr); }
    .home-hero-actions .btn, .page-hero-actions .btn, .plain-hero-actions .btn { width: 100%; }
    /* Phones: a vertical timeline, number on the left joined by a line, words beside it */
    .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .step { display: grid; grid-template-columns: 45px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
    .step:last-child { padding-bottom: 0; }
    .step::before { content: ""; position: absolute; left: 22px; top: 45px; bottom: 0; width: 1px; background: var(--ink); opacity: 0.3; }
    .step:last-child::before { display: none; }
    .step-number { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
    .step h3 { grid-column: 2; margin: 10px 0 4px; }
    .step p { grid-column: 2; }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    /* Phones: photo beside the words, one person per row */
    .team { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .team li + li { border-top: 1px solid var(--rule); }
    .team a { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto; column-gap: 20px; align-items: start; text-align: left; padding: 20px 0; }
    .team a > .team-photo, .team a > .team-monogram { grid-row: 1 / span 4; }
    .team .team-photo, .team .team-monogram { width: 104px; height: 104px; font-size: 2rem; }
    .team h3 { margin: 0 0 2px; font-size: 1.3rem; }
    .team-more { justify-self: start; margin-top: 0; padding-top: 8px; }
    .person { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; }
    .person-portrait .team-monogram, .person-portrait .team-photo { width: 96px; height: 96px; font-size: 2rem; }
    .person-head h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem); }
    .person-contact { display: grid; grid-template-columns: 1fr 1fr; }
    .person-contact .btn-primary { grid-column: 1 / -1; }
    .person-contact .btn { justify-content: center; }
    .site-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-row-subs { gap: 6px 18px; }
    .home-hero-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
.contact-points-top { margin-bottom: 22px; }

/* ---------------- Reviews */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.review { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; }
.review-stars, .reviews-stars { color: var(--brass); letter-spacing: 2px; margin: 0 0 10px; font-size: 1.05rem; }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: var(--ink); }
.review-by { margin: auto 0 0; font-size: 0.95rem; }
.review-by span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 2px; }
.reviews-summary { color: var(--text) !important; }

/* ---------------- Business Spotlight UK adverts (its own navy and gold) */
.btn-gold { background: #d9b56f; color: #14273f; }
.btn-gold:hover { background: #e7c98a; color: #14273f; }
.btn-line-light { background: transparent; color: #f3ead7; border-color: rgba(243, 234, 215, 0.5); }
.btn-line-light:hover { border-color: #f3ead7; color: #fff; }
.spotlight-band { background: #14273f; color: #d6dbe3; padding: clamp(48px, 7vw, 88px) 0; }
.spotlight-band-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 64px; align-items: center; }
.spotlight-band h2 { color: #fff; max-width: 20ch; }
.spotlight-band p { max-width: 56ch; }
.spotlight-band-name { color: #d9b56f; font-weight: 700; margin: 0 0 12px; }
.spotlight-band-name-dark { color: #9a7a35; }
.spotlight-band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.spotlight-band-stats { margin: 0; display: grid; gap: 0; }
.spotlight-band-stats div { padding: 16px 0; border-top: 1px solid rgba(217, 181, 111, 0.35); }
.spotlight-band-stats dt { font-size: 0.92rem; color: #b9c2cf; }
.spotlight-band-stats dd { margin: 2px 0 0; font-family: var(--serif); font-size: 2.2rem; color: #fff; line-height: 1.1; }
.spotlight-strip { background: #14273f; color: #d6dbe3; border-top: 3px solid #d9b56f; }
.spotlight-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.spotlight-strip p { margin: 0; }
.spotlight-strip strong { color: #d9b56f; }
.area-spotlight { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 56px; align-items: center; border-left: 4px solid #d9b56f; padding-left: clamp(20px, 3vw, 36px); }
.area-spotlight p:last-child { margin-bottom: 0; }
.area-spotlight-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------------- Phone call bar (phones only) */
.call-bar { display: none; }
@media (max-width: 600px) {
    .call-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(43, 28, 7, 0.12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
    .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 4px; font-weight: 700; text-decoration: none; color: var(--ink); border: 1px solid var(--ink); }
    .call-bar .call-bar-primary { background: var(--kennet); border-color: var(--kennet); color: var(--white); }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .site-consent { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1180px) {
    .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews .review:nth-child(n+5) { display: none; }
    .spotlight-band-inner, .area-spotlight { grid-template-columns: minmax(0, 1fr); }
    .spotlight-band-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .area-spotlight-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .reviews { grid-template-columns: minmax(0, 1fr); }
    .reviews .review:nth-child(n+4) { display: none; }
    .spotlight-band-stats dd { font-size: 1.6rem; }
    .spotlight-band-actions .btn, .area-spotlight-actions .btn { width: 100%; }
    .spotlight-strip .btn { width: 100%; }
}

/*
 * Advice articles (/advice/ and /advice/{slug}/). Built for reading:
 * one 68ch column of text, the help box beside it on wide screens, and
 * one dark offer band after the text. The headline is the loud part;
 * everything around it stays quiet.
 */
.article-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.article-head h1 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.04; max-width: 20ch; margin-bottom: 0.4em; }
.article-lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.5; max-width: 52ch; color: var(--ink); margin: 0 0 22px; }
.article-byline { margin: 0; color: var(--muted); font-size: 0.95rem; }
.article-byline a { color: var(--text); }
.article-photo { margin-top: clamp(28px, 4vw, 48px); }
.article-photo img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 4px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px clamp(40px, 6vw, 96px); align-items: start; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); }
.article-body { font-size: 1.12rem; line-height: 1.75; }
.article-body > p:first-child { font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
.article-body h2 { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); line-height: 1.15; margin: 1.8em 0 0.5em; }
.article-body h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin: 1.6em 0 0.4em; letter-spacing: 0; }
.article-body a { color: var(--kennet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--kennet-dark); text-decoration-thickness: 2px; }
.article-body ol { counter-reset: none; }
.article-body li::marker { color: var(--brass); }
.article-sources { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 68ch; }
.article-sources h2 { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin: 0 0 10px; }
.article-sources ol { margin: 0; padding-left: 1.3em; font-size: 0.93rem; color: var(--muted); }
.article-sources li { margin-bottom: 8px; }
.article-sources a { color: var(--text); overflow-wrap: anywhere; }
.article-sources span { display: block; }
/* Sits below the sticky header with a clear gap (site.js keeps --site-header-h right). */
.article-aside { position: sticky; top: calc(var(--site-header-h, 86px) + 28px); }
.article-help { border-top: 3px solid var(--brass); background: var(--white); padding: 22px 22px 18px; box-shadow: 0 1px 0 var(--rule); }
.article-help-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--ink); margin: 0 0 10px; }
.article-help p { font-size: 0.97rem; color: var(--text); margin: 0 0 18px; }
.article-help a:not(.btn) { color: var(--kennet); }
.article-help .btn + .btn { margin-top: 10px; }
.article-help-phone { display: block; text-align: center; margin-top: 14px; font-size: 0.93rem; }
.article-offer { background: var(--bark); color: var(--oat); padding: clamp(48px, 7vw, 88px) 0; }
.article-offer-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: start; }
.article-offer h2 { color: var(--linen); margin: 0; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.08; }
.article-offer p { margin: 0 0 24px; font-size: 1.08rem; line-height: 1.6; max-width: 52ch; }
.article-offer-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lists of articles: ruled rows like the related pages, with the date first */
.article-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.article-rows li { border-top: 1px solid var(--ink); }
.article-rows a { display: block; padding: 16px 0 28px; text-decoration: none; color: var(--ink); }
.article-rows time { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.article-rows strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin-bottom: 8px; }
.article-rows span { display: block; color: var(--muted); font-size: 0.95rem; }
.article-rows a:hover strong { color: var(--kennet); }
.advice-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 48px; padding: 0 0 clamp(36px, 5vw, 56px); margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.advice-lead:has(img) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.advice-lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.advice-lead h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.06; margin: 0 0 14px; max-width: 22ch; }
.advice-lead p { margin: 0 0 18px; max-width: 60ch; color: var(--text); font-size: 1.08rem; }
.advice-lead .advice-meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }
.advice-read { font-weight: 700; color: var(--kennet); border-bottom: 2px solid currentColor; }
.advice-lead:hover h2 { color: var(--kennet); }
.advice-empty { font-size: 1.15rem; max-width: 60ch; margin: 0; }
.advice-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 40px; color: var(--muted); }

@media (max-width: 1180px) {
    .article-layout { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 860px) {
    .article-layout, .article-offer-inner, .advice-lead:has(img) { grid-template-columns: minmax(0, 1fr); }
    .article-aside { position: static; max-width: 68ch; }
    .article-rows { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .article-body { font-size: 1.06rem; }
    .article-body > p:first-child { font-size: 1.12rem; }
    .article-offer-actions .btn { width: 100%; }
}

/*
 * The living stag on the home page (partials/stag-live.php). Every so
 * often it turns its head to look one way, then the other, and its ears
 * flick. On a desktop it turns towards the mouse instead (site.js sets
 * --look from -1 to 1 and adds .is-following). The face layer sits a
 * little in front of the head (translateZ), scaled back by the same
 * amount so it lines up exactly when facing forward. Nothing moves for
 * reduced-motion users.
 */
.stag-rig { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; perspective: 1100px; }
.stag-rig .stag-part { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stag-turn { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 80%; }
.stag-part-face { transform: translateZ(9px) scale(0.99182); }
.stag-rig .stag-ear { transform-box: fill-box; }
.stag-rig .stag-ear-l { transform-origin: 100% 72%; }
.stag-rig .stag-ear-r { transform-origin: 0% 72%; }
@media (prefers-reduced-motion: no-preference) {
    .stag-turn { animation: stag-look 16s cubic-bezier(0.45, 0, 0.3, 1) 2.4s infinite; }
    .stag-rig .stag-ear-l { animation: stag-ear-l 7.3s ease-in-out 3.1s infinite; }
    .stag-rig .stag-ear-r { animation: stag-ear-r 9.1s ease-in-out 4.6s infinite; }
    .stag-rig.is-following .stag-turn {
        animation: none;
        transform: rotateY(calc(var(--look, 0) * 26deg)) rotateZ(calc(var(--look, 0) * 2deg));
        transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    }
}
@keyframes stag-look {
    0%, 18% { transform: none; }
    26%, 40% { transform: rotateY(-26deg) rotateZ(-2deg); }
    48%, 56% { transform: none; }
    64%, 78% { transform: rotateY(26deg) rotateZ(2deg); }
    86%, 100% { transform: none; }
}
@keyframes stag-ear-l {
    0%, 88%, 100% { transform: none; }
    90% { transform: rotate(-13deg); }
    92% { transform: rotate(3deg); }
    94% { transform: none; }
}
@keyframes stag-ear-r {
    0%, 84%, 100% { transform: none; }
    86% { transform: rotate(13deg); }
    88% { transform: rotate(-3deg); }
    90% { transform: rotate(10deg); }
    92% { transform: none; }
}

/* ---------------- Seasonal look (SiteSeasons): banner, stag decorations, hero effects */
.season-banner { background: var(--season-bg, var(--bark)); color: var(--season-fg, var(--oat)); font-size: 0.92rem; line-height: 1.45; }
.season-banner-inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.season-banner p { margin: 0; }
.season-banner a { color: var(--season-link, currentColor); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.season-mark { flex: none; color: var(--season-link, currentColor); }
.season-christmas { --season-bg: #1f4d36; --season-fg: #f3ecdc; --season-link: #f2c14e; }
.season-new-year { --season-bg: #182634; --season-fg: #efe6d2; --season-link: #e6bd5c; }
.season-valentines { --season-bg: #7d2038; --season-fg: #fbe9ee; --season-link: #ffd1dc; }
.season-mothers-day { --season-bg: #f6dce5; --season-fg: #4a2232; --season-link: #a3335a; }
.season-easter { --season-bg: #f3ebc3; --season-fg: #3d3415; --season-link: #6a5a12; }
.season-halloween { --season-bg: #231a2e; --season-fg: #efe4d6; --season-link: #f08a3a; }
.season-bonfire { --season-bg: #1f1b2a; --season-fg: #efe4d6; --season-link: #f2a83a; }
.season-remembrance { --season-bg: #1a1412; --season-fg: #efe6d8; --season-link: #d3322b; }
.season-remembrance .season-banner a { color: #efe6d8; }

.stag-deco-head { transform: translateZ(12px) scale(0.98921); }
.stag-deco .deco-bulb, .stag-deco .deco-flower { transform-box: fill-box; transform-origin: 50% 0; }
.stag-deco .deco-spider { transform-box: view-box; }
.season-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.home-hero-inner { z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
    .stag-deco .deco-bulb { animation: deco-twinkle 2.6s ease-in-out infinite; }
    .stag-deco .deco-bulb-1 { animation-delay: -0.65s; }
    .stag-deco .deco-bulb-2 { animation-delay: -1.3s; }
    .stag-deco .deco-bulb-3 { animation-delay: -1.95s; }
    .stag-deco .deco-spider { animation: deco-spider 5.5s ease-in-out infinite; }
    .stag-deco .deco-flower { animation: deco-sway 6s ease-in-out infinite; }
}
@keyframes deco-twinkle { 0%, 100% { opacity: 1; } 45% { opacity: 0.45; } 55% { opacity: 0.5; } }
@keyframes deco-spider { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(46px); } }
@keyframes deco-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

@media (max-width: 600px) {
    .season-banner { font-size: 0.86rem; }
    .season-banner-inner { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
    .season-banner a { white-space: normal; }
}

/* Seasonal touches across every page, not just the stag */
.season :is(.home-hero, .page-hero, .plain-hero, .article-head) { position: relative; }
.season main h1 { position: relative; width: fit-content; }
.season :is(.page-hero-inner, .plain-hero > .wrap, .article-head > .wrap) { position: relative; z-index: 1; }

/* Christmas: snow settled on the headings, along the bottom of the header and on top of the footer */
.season-christmas :is(.home-hero-lead, .page-hero-lead, .plain-hero .lead, .article-lead) { position: relative; width: fit-content; }
.season-christmas :is(.home-hero-lead, .page-hero-lead, .plain-hero .lead, .article-lead)::before { content: ""; position: absolute; left: calc(var(--cap-x, 0px) - 0.25em); width: calc(var(--cap-w, 100%) + 0.5em); top: -0.5em; height: 0.9em; background: url("/images/season/snow-cap.svg") repeat-x left top / auto 100%; pointer-events: none; }
.season-christmas .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px; background: url("/images/season/snow-edge.svg") repeat-x left top / 200px 12px; pointer-events: none; }
.season-christmas .site-footer { position: relative; }
.season-christmas .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px; background: url("/images/season/snow-edge.svg") repeat-x left top / 200px 12px; transform: scaleY(-1); pointer-events: none; }

/* Halloween: a cobweb in the corner of the top of each page */
.season-halloween :is(.home-hero, .page-hero, .plain-hero, .article-head)::after { content: ""; position: absolute; top: 0; right: 0; width: clamp(110px, 15vw, 210px); aspect-ratio: 1; background: url("/images/season/cobweb.svg") no-repeat right top / contain; pointer-events: none; z-index: 0; }

/* Easter and Mother's Day: bunting across the top of each page */
.season-easter :is(.home-hero, .page-hero, .plain-hero, .article-head)::before,
.season-mothers-day :is(.home-hero, .page-hero, .plain-hero, .article-head)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(34px, 4vw, 52px); background: url("/images/season/bunting-easter.svg") repeat-x left top / auto 100%; pointer-events: none; z-index: 0; }
.season-mothers-day :is(.home-hero, .page-hero, .plain-hero, .article-head)::before { background-image: url("/images/season/bunting-mothers.svg"); }

/* New Year, Bonfire Night, Valentine's Day and Remembrance: a small mark beside each heading */
:is(.season-new-year, .season-bonfire, .season-valentines, .season-remembrance) main h1::after { content: ""; position: absolute; right: -1.05em; top: -0.32em; width: 0.95em; height: 0.64em; background: url("/images/season/sparkles.svg") no-repeat center / contain; pointer-events: none; }
.season-valentines main h1::after { background-image: url("/images/season/hearts.svg"); }
.season-remembrance main h1::after { right: -0.6em; top: -0.12em; width: 0.42em; height: 0.42em; background-image: url("/images/season/poppy.svg"); }

@media (max-width: 600px) {
    :is(.season-new-year, .season-bonfire, .season-valentines) main h1::after { right: -0.7em; width: 0.7em; height: 0.48em; }
    .season main h1 { max-width: calc(100% - 0.8em); }
}

.reviews-summary a { white-space: nowrap; }
