:root {
    --ink: #243f49;
    --muted: #506970;
    --accent: #177c80;
    --button: #174e69;
    --soft-accent: #e2f1ee;
    --accent-hover: #103c52;
    --paper: #fffefd;
    --wash: #f0f7f5;
    --line: #d3e5e2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { min-height: 65vh; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.5rem; }
p:last-child { margin-bottom: 0; }
.container { width: min(1180px, calc(100% - 4rem)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: 1rem; top: -8rem; z-index: 100; padding: .7rem 1.2rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 108px; padding-block: 1rem; }
.brand { text-decoration: none; font-weight: 650; font-size: 1.2rem; line-height: 1.2; }
.brand-subtitle { display: block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .35rem; }
.brand-logo { width: auto; max-width: 240px; max-height: 70px; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; font-size: .95rem; padding-block: .65rem; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-contact { border: 1px solid var(--button); border-radius: .45rem; padding: .65rem 1.2rem; color: white; background: var(--button); }
.site-nav .nav-contact:hover { color: white; background: var(--accent-hover); }
.nav-contact span { margin-left: .6rem; }
.hero { background: linear-gradient(115deg, #e5f2ee 0%, #f3f8f5 60%, #eef5f5 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 4rem; padding-block: 5.5rem; }
.hero-text-only { grid-template-columns: minmax(0, 1fr); max-width: 1180px; }
.hero-text-only .hero-content { max-width: 850px; }
.eyebrow { color: var(--accent); font-size: .75rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.6rem; color: var(--button); }
.hero-intro { max-width: 40rem; font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 50px; border: 1px solid transparent; border-radius: .45rem; padding: .8rem 1.5rem; color: white; background: var(--button); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; }
.button:hover { color: white; background: var(--accent-hover); }
.text-link { font-size: .95rem; font-weight: 600; }
.text-link span { margin-left: .5rem; }
.hero-image { position: relative; }
.care-image { width: 100%; max-height: 600px; object-fit: cover; border-radius: 1.5rem .5rem 1.5rem .5rem; }
.section { padding-block: 6rem; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 5rem; }
.section-heading { margin-bottom: 2.5rem; }
.about-copy { font-size: 1.1rem; }
.rich-text { overflow-wrap: anywhere; }
.rich-text p, .rich-text ul, .rich-text ol { margin-top: 0; margin-bottom: 1.2rem; }
.rich-text > :last-child, .rich-text .rich-text > :last-child { margin-bottom: 0; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin-top: 1.75rem; }
.rich-text img { max-width: 100%; height: auto; }
.rich-text .richtext-image.left { float: left; margin: 0 1.5rem 1rem 0; }
.rich-text .richtext-image.right { float: right; margin: 0 0 1rem 1.5rem; }
.services-section { background: var(--wash); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.service-card { padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; }
.service-number { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin-bottom: 2rem; background: var(--soft-accent); border-radius: 50%; font-size: .8rem; color: var(--accent); }
.service-card h3 { margin-bottom: 1.25rem; }
.service-card .rich-text { color: var(--muted); }
.contact-section .section-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.contact-list { margin: 2rem 0 0; }
.contact-list > div { margin-bottom: 1.5rem; }
.contact-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.form-card { background: var(--wash); border: 1px solid var(--line); border-radius: .8rem; padding: 2.5rem; }
.form-card > h3 { margin-bottom: 1.5rem; }
.enquiry-form { margin-top: 1.5rem; }
.enquiry-form > div { margin-bottom: 1.25rem; }
label, legend { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select { display: block; width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid #8ba9ac; border-radius: .3rem; background: white; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); vertical-align: middle; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.helptext { font-size: .85rem; color: var(--muted); }
.errorlist, .form-error { color: #a32925; }
.errorlist { padding-left: 1.25rem; font-size: .9rem; }
[aria-invalid="true"] { border-color: #a32925 !important; }
.page-section h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-bottom: 2rem; }
.page-section .button { margin-top: 1.5rem; }
.page-section .enquiry-form .button { margin-top: 0; }
.search-form { margin-block: 2rem; }
.search-controls { display: flex; gap: .75rem; }
.search-controls .button { margin: 0; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.search-results h2 { font-size: 1.5rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.empty-state { padding-block: 2rem; }
.site-footer { background: var(--soft-accent); color: var(--ink); border-top: 1px solid var(--line); font-size: .8rem; padding-block: 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; }
.site-footer a:hover { color: var(--accent); }
@media (max-width: 800px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: 3.5rem; }
    .hero-image { max-width: 560px; }
    .care-image { max-height: 480px; }
    .section-grid, .contact-section .section-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .section { padding-block: 3.5rem; }
    .site-nav { gap: 1rem; }
    .brand-logo { max-width: 190px; }
}
@media (max-width: 540px) {
    html { scroll-padding-top: 10rem; }
    .container { width: calc(100% - 2.5rem); }
    .header-inner { flex-wrap: wrap; justify-content: center; gap: .8rem; padding-block: .85rem; }
    .brand { text-align: center; }
    .brand-logo { max-height: 48px; }
    .site-nav { justify-content: center; width: 100%; gap: 1.2rem; }
    .site-nav a { font-size: .8rem; }
    .site-nav .nav-contact { padding: .4rem .8rem; }
    .form-card, .service-card { padding: 1.5rem; }
    .footer-inner { flex-direction: column; gap: .75rem; }
    .search-controls { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
