/* Clean N Tidy Services Ltd — site. One stylesheet, one local font, no CDN. Spacing on an 8px scale. */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-latin.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
:root {
  /* OWN LOOK (Clean N Tidy): fresh greens + lots of white (05-C, NN/g cleaning-firm finding) */
  --brand: #143328;        /* forest: header, footer, headings */
  --action: #1B5E3B;       /* the ONE action colour: primary buttons only (05) */
  --action-hover: #134a2e;
  --fresh: #EAF4ED;        /* pale leaf tint for bands */
  --gold: #B8BFC6;         /* silver to match the locked logo lettering: hairlines only, never text on white */
  --ink: #17211C;
  --ink-soft: #3F4B45;     /* 8.9:1 on white */
  --line: #CBD6CF;
  --line-strong: #7A8A81;  /* input borders >= 3:1 (WCAG 1.4.11) */
  --bg: #FFFFFF;
  --bg-2: #F5F8F6;
  --note-bg: #FFF7DD; --note-ink: #5A4500;
  /* SHARED STYLE (copy to Groundworx unchanged): scale, radius, spacing, sizes */
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px;
  --radius: 8px;
  --max: 1160px;
  --tap: 48px;             /* primary CTA height (04: >= 48px) */
  --tap-min: 44px;         /* every other target (04: >= 44px) */
  --bar-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--bg); }
@media (min-width: 900px) { body { font-size: 1.1875rem; } }  /* 19px desktop body (GOV.UK scale) */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid #FFBF47; outline-offset: 2px; box-shadow: 0 0 0 6px #0b0c0c; }
h1, h2, h3 { color: var(--brand); line-height: 1.15; margin: 0 0 var(--s2); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); font-weight: 750; }
p { margin: 0 0 var(--s2); max-width: 70ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 600px) { .wrap { padding: 0 var(--s4); } }
.section { padding-top: var(--s6); padding-bottom: var(--s6); }
.skip-link { position: absolute; left: var(--s1); top: -100px; background: #fff; color: var(--brand); padding: 12px 16px; min-height: var(--tap-min); z-index: 100; font-weight: 700; }
.skip-link:focus { top: var(--s1); }
.eyebrow { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--action); margin-bottom: var(--s1); }
.eyebrow--light { color: #E7F2EA; }
.lede { font-size: 1.15em; }
.lede--dark { color: var(--ink-soft); }

/* ---------- Buttons (04: >=44px all, >=48px primary, >=8px gaps) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 10px 22px;
  border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center; }
.btn-lg { min-height: 56px; font-size: 1.1rem; padding: 12px 26px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--action); color: #fff; border-color: var(--action); }
.btn-primary:hover { background: var(--action-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--fresh); color: var(--brand); }
.btn-outline { background: transparent; color: var(--action); border-color: var(--action); }
.btn-outline:hover { background: var(--fresh); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s3) 0; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 8px var(--s2); display: flex; align-items: center; gap: var(--s2); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); min-height: var(--tap-min); margin-right: auto; }
.seal { width: 44px; height: 44px; flex: none; }
.wordmark { display: block; font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -.01em; }
.wordmark-sub { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 3px; }
.header-actions { display: none; gap: 12px; }
.menu-btn { min-height: var(--tap-min); min-width: 88px; padding: 8px 16px; border: 2px solid var(--brand); background: #fff; color: var(--brand); border-radius: var(--radius); font: inherit; font-weight: 700; cursor: pointer; }
.menu-btn::before { content: ""; display: inline-block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; vertical-align: middle; margin-right: 10px; }
.primary-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.primary-nav.is-open, html:not(.js) .primary-nav { display: block; }
.tabs { list-style: none; margin: 0 auto; padding: 0 var(--s2); max-width: var(--max); }
.tabs a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--s1); color: var(--brand); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.tabs a[aria-current="page"] { color: var(--action); }

/* ---------- Desktop: tabs/pages (house rule, 04). Breakpoint 900px ---------- */
@media (min-width: 900px) {
  html { scroll-padding-top: 130px; }
  .header-inner { padding: 12px var(--s4); }
  .header-actions { display: flex; }
  .menu-btn { display: none; }
  .primary-nav, .primary-nav.is-open { display: block; }
  .tabs { display: flex; gap: 4px; padding: 0 var(--s4); }
  .tabs a { min-height: 52px; padding: 0 18px; border-bottom: 4px solid transparent; }
  .tabs a:hover { background: var(--bg-2); }
  .tabs a[aria-current="page"] { border-bottom-color: var(--action); color: var(--brand); }
  .js .page { display: none; }
  html[data-page="home"] #home, html[data-page="grounds"] #grounds, html[data-page="property"] #property, html[data-page="other"] #other, html[data-page="seasons"] #seasons, html[data-page="housing"] #housing, html[data-page="tickets"] #tickets, html[data-page="about"] #about, html[data-page="contact"] #contact { display: block; }
}
/* Mobile: every section shows, in order, as one scroll */
@media (max-width: 899.98px) {
  .desk-only { display: none !important; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .page + .page { border-top: 8px solid var(--bg-2); }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--brand); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,22,.78) 0%, rgba(10,30,22,.72) 55%, rgba(10,30,22,.86) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: var(--s6); padding-bottom: var(--s6); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lede { color: #F0F6F2; max-width: 60ch; }
.hero .actions .btn { flex: 1 1 240px; }
.instruct { font-size: 1rem; color: #E7F2EA; border-left: 3px solid var(--gold); padding-left: 12px; }
@media (min-width: 900px) {
  .hero-inner { padding-top: 96px; padding-bottom: 96px; }
  .hero::after { background: linear-gradient(90deg, rgba(10,30,22,.88) 0%, rgba(10,30,22,.74) 50%, rgba(10,30,22,.35) 100%); }
  .hero .actions .btn { flex: 0 0 auto; }
}
.chip { position: absolute; top: 12px; right: 12px; z-index: 3; background: #fff; color: var(--brand); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }

/* ---------- Trust bar (trust at the moment of decision, 03 D4) ---------- */
.trust-bar { background: var(--fresh); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; padding-top: var(--s3); padding-bottom: var(--s3); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: .98rem; color: var(--ink); line-height: 1.3; }
.trust-logo { width: 56px; height: 40px; object-fit: contain; flex: none; }
.trust-logo--tall { width: 40px; }
.trust-ico { width: 56px; height: 40px; flex: none; display: grid; place-items: center; border: 2px solid var(--brand); border-radius: 6px; font-weight: 800; color: var(--brand); }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, 1fr); } .trust-logo, .trust-ico { width: 80px; height: 56px; } .trust-logo--tall { width: 48px; } .trust-list li { font-size: 1.05rem; } }

/* ---------- Home hub (desktop navigation aid only) ---------- */
.hub-grid { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.hub-card { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; height: 100%; }
.hub-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hub-title { display: flex; align-items: center; min-height: 56px; padding: 8px 14px; font-weight: 700; color: var(--brand); }
.hub-card:hover .hub-title { color: var(--action); text-decoration: underline; }
.where { background: var(--bg-2); border-radius: var(--radius); padding: var(--s3); }
.where p { margin: 0; }

/* ---------- About ---------- */
.two-col { display: grid; gap: var(--s4); margin-top: var(--s4); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 var(--s2) 56px; min-height: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--fresh); color: var(--brand); font-weight: 800; display: grid; place-items: center; border: 2px solid var(--action); }
.steps--small li { padding-left: 52px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.card h2 { font-size: 1.3rem; }
.card--facts { background: var(--bg-2); }
.card--accent { background: var(--fresh); border-color: #b9d3c1; }
.facts { margin: 0 0 var(--s3); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink-soft); }
.facts dd { margin: 0; }
.group-badge { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--brand); }
.group-badge img { width: 34px; height: auto; }

/* ---------- Services ---------- */
.svc { display: grid; gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.svc:first-of-type { border-top: 0; }
.svc-media { position: relative; border-radius: var(--radius); overflow: hidden; align-self: start; }
.svc-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (min-width: 900px) { .svc { grid-template-columns: 5fr 7fr; gap: var(--s6); } }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s2); }
.ticks li { position: relative; padding: 4px 0 4px 32px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 14px; height: 8px; border-left: 3px solid var(--action); border-bottom: 3px solid var(--action); transform: rotate(-45deg); }
.note { background: var(--bg-2); border-left: 4px solid var(--action); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .98em; }
.clients { font-size: .98em; color: var(--ink-soft); }
.clients span { display: block; font-weight: 700; color: var(--brand); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Work / proof ---------- */
.cases { list-style: none; padding: 0; margin: var(--s4) 0 var(--s6); display: grid; gap: var(--s3); }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.case img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.case-body { padding: var(--s3); }
.case h2 { font-size: 1.25rem; }
.case-dl { margin: 0; font-size: .98rem; }
.case-dl div { padding: 6px 0; border-top: 1px solid var(--line); }
.case-dl dt { font-weight: 700; color: var(--ink-soft); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.case-dl dd { margin: 0; }
.tbc { color: var(--note-ink); background: var(--note-bg); padding: 2px 6px; border-radius: 4px; display: inline-block; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--s2); } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(10,30,22,.85); color: #fff; font-size: .85rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; }

/* ---------- Accreditations ---------- */
.badges { list-style: none; padding: 0; margin: var(--s4) 0 var(--s2); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .badges { grid-template-columns: repeat(5, 1fr); } }
.badge { display: grid; place-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-height: 104px; padding: 12px; }
.badge img { max-height: 72px; width: auto; }
.bt-name { display: block; font-weight: 800; font-size: 1.25rem; color: var(--brand); }
.bt-sub { display: block; font-size: .85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.three-col { display: grid; gap: var(--s3); margin: var(--s4) 0 var(--s3); }
@media (min-width: 900px) { .three-col { grid-template-columns: repeat(3, 1fr); } }
.plain-links { list-style: none; padding: 0; margin: 0 0 var(--s2); }
.plain-links li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.plain-links a { display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: 700; }

/* ---------- Contact / form (GOV.UK patterns, 03 Domino 5) ---------- */
.contact-grid { display: grid; gap: var(--s4); margin-top: var(--s3); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: var(--s6); align-items: start; } }
.contact-side { display: grid; gap: var(--s2); }
.contact-side .card h2 { margin-bottom: 12px; }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); }
.hint { display: block; color: var(--ink-soft); margin: -2px 0 6px; font-size: .98rem; }
.err { display: block; color: #B10E1E; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 10px 12px; font: inherit; font-size: 1.0625rem; color: var(--ink);
  border: 2px solid var(--line-strong); border-radius: 6px; background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B10E1E; border-width: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-line { font-size: .98rem; color: var(--ink-soft); margin-top: 12px; }
.error-summary { border: 4px solid #B10E1E; padding: var(--s2) var(--s3); margin-bottom: var(--s3); border-radius: 6px; }
.error-summary h2 { font-size: 1.2rem; color: #B10E1E; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: #B10E1E; font-weight: 700; display: inline-block; min-height: 24px; }
.sent { border: 3px solid var(--action); background: var(--fresh); border-radius: var(--radius); padding: var(--s3); }

/* ---------- Build notes (mockup only) ---------- */
.build-note { display: flex; gap: 10px; align-items: flex-start; background: var(--note-bg); color: var(--note-ink); border: 1px dashed #A58A2A; border-radius: 6px; padding: 8px 12px; font-size: .9rem; line-height: 1.4; margin: 12px 0; max-width: 80ch; }
.build-badge { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 3px; padding: 1px 5px; margin-top: 1px; }
.build-note--stop { background: #FDECEC; color: #7A1010; border-color: #B33; }
.build-note--dark { background: #23463a; color: #F6EFD6; border-color: #C4A24E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: #E8F0EB; padding: var(--s6) 0 var(--s4); margin-top: var(--s6); }
.site-footer a { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); align-items: flex-start; }
.footer-brand { font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.footer-phone { display: inline-flex; align-items: center; min-height: var(--tap-min); font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.group-badge--footer { color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 8px 14px; }
.footer-links { list-style: none; padding: 0; margin: var(--s3) 0; display: flex; flex-wrap: wrap; gap: 4px var(--s3); }
.footer-links a { display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: 700; }
.footer-disclosure, .cookie-line { font-size: .95rem; color: #DCE7E0; }
.mockup-flag { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: #C9D8CF; margin-top: var(--s3); }

/* ---------- Mobile sticky bar (04: Enquire + Call, <=72px, never hides focus) ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.mobile-bar .btn { min-height: 50px; padding: 8px 12px; }
.mobile-bar.is-hidden { display: none; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Motion: minimal, and none when reduced motion is asked for ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn, .hub-card, .tabs a { transition: background-color .15s, color .15s, border-color .15s; }
}

/* ---------- Legal pages ---------- */
.legal-page .header-inner .btn { min-height: var(--tap-min); }
.legal-body h2 { margin-top: var(--s4); font-size: 1.35rem; }
.legal-body .citation { font-size: .9rem; color: var(--ink-soft); }
.privacy-line a { display: inline-block; padding: 3px 0; }
.small-print { font-size: .95rem; margin: 0; }
