:root { color-scheme: light; --ink: #253b37; --muted: #52645f; --teal: #24665f; --teal-dark: #184d47; --cream: #faf7f0; --line: #dedfd5; --coral: #c7664c; --radius: 1.25rem; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
[hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: .25em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1rem; }
h1, h2, h3 { line-height: 1.18; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 4.3rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.025em; }
h3 { font-size: 1.35rem; }
.container { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; padding: .8rem 1.2rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .75rem; flex-wrap: wrap; }
.brand { flex-shrink: 0; }
.brand img { width: 124px; height: 124px; object-fit: contain; }
.primary-navigation { display: flex; align-items: center; gap: 1.5rem; }
.primary-navigation ul { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.primary-navigation li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.primary-navigation a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 100px; background: var(--teal); color: #fff; font-weight: 650; text-decoration: none; }
.button:hover { color: #fff; background: var(--teal-dark); }
.button-small { font-size: .93rem; padding: .65rem 1.2rem; white-space: nowrap; }
.nav-toggle { min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--teal); border-radius: .5rem; background: #fff; color: var(--teal); font: inherit; cursor: pointer; }
.hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-inner { padding-block: clamp(3rem, 7vw, 6rem); }
.hero-copy { max-width: 48rem; }
.eyebrow { color: var(--teal); text-transform: uppercase; font-size: .76rem; font-weight: 750; letter-spacing: .14em; margin-bottom: 1rem; }
.eyebrow::before { content: ""; display: inline-block; width: 1.5rem; height: 3px; background: var(--coral); margin-right: .65rem; vertical-align: middle; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); margin-top: 1.5rem; max-width: 40rem; }
.hero-home .hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-image img { width: 100%; height: 440px; object-fit: cover; object-position: center 35%; border-radius: 6rem var(--radius) var(--radius) var(--radius); }
.hero-image figcaption { margin-top: .8rem; color: var(--muted); font-size: .85rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 650; }
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-heading { margin-bottom: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }
:is(.card, .contact-card) { padding: 2rem; border: 1px solid var(--line); border-top: 3px solid #91b4a0; border-radius: var(--radius); }
:is(.card, .contact-card):nth-child(2) { border-top-color: #dcac65; }
:is(.card, .contact-card):nth-child(3) { border-top-color: #d69580; }
:is(.card, .contact-card) p { margin-top: 1rem; color: var(--muted); }
:is(.card, .contact-card) .text-link { margin-top: 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.photo-card { overflow: hidden; background: var(--cream); border-radius: var(--radius); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; }
.photo-card figcaption { padding: 1.2rem 1.5rem; font-weight: 650; }
.faq-list { max-width: 52rem; }
details { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
summary { min-height: 44px; cursor: pointer; font-size: 1.15rem; font-weight: 650; }
details p { padding-top: .5rem; color: var(--muted); }
.enquiry-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: #edf3ed; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); margin-bottom: 4rem; }
.enquiry-panel p { margin-top: .75rem; color: var(--muted); }
.enquiry-panel .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.5rem; }
.footer-name { font-weight: 750; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { font-size: .85rem; color: var(--muted); }
@media (max-width: 70rem) {
    .primary-navigation { width: 100%; align-items: stretch; flex-direction: column; padding-block: .5rem 1rem; gap: 1rem; }
    .primary-navigation ul { flex-direction: column; gap: .25rem; }
    .primary-navigation li a { width: 100%; padding: .35rem .5rem; }
    .primary-navigation .button { align-self: flex-start; }
}
@media (max-width: 45rem) {
    .container { width: min(100% - 2rem, 76rem); }
    .brand img { width: 100px; height: 100px; }
    .hero-home .hero-inner { grid-template-columns: 1fr; }
    .hero-image img { height: 320px; border-top-left-radius: 4rem; }
    .photo-grid { grid-template-columns: 1fr; }
    .enquiry-panel { align-items: flex-start; flex-direction: column; }
    :is(.card, .contact-card) { padding: 1.5rem; }
}
/* Homepage: real centre content and photography. */
:root { --teal: #22665f; --teal-dark: #184d47; }
.hero-tagline { margin-top: 1.25rem; font-size: clamp(1.5rem, 2.7vw, 2.15rem); line-height: 1.3; font-weight: 600; text-wrap: balance; }
.hero-home h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.hero-home .hero-inner { grid-template-columns: 1.1fr 1fr; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-home .hero-image img { height: clamp(360px, 41vw, 510px); object-position: center; border-radius: 5rem 1.25rem 5rem 1.25rem; }
.button-outline { border: 1px solid var(--teal); background: transparent; color: var(--teal); }
.button-outline:hover { background: #e7efeb; color: var(--teal-dark); }
.section-tinted { background: var(--cream); }
.section-tinted :is(.card, .contact-card) { background: #fff; }
.card-number { display: block; color: var(--teal); font-size: .8rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 1.75rem; }
.benefit-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.benefit-grid li { display: flex; gap: .8rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.benefit-grid li::before { content: '\2713'; color: var(--teal); font-weight: 700; }
.feature-list { padding-left: 1.25rem; margin-block: 1.5rem 0; }
.feature-list li { padding-block: .4rem; }
.feature-list li::marker { color: var(--teal); }
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.care-panel { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.care-panel h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1.25rem; }
.section-intro { color: var(--muted); margin-top: 1rem; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.highlights-grid img { aspect-ratio: 4 / 5; object-position: center; }
.location-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
address { font-style: normal; }
.location-layout address { margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.8; }
.location-layout .text-link { margin-top: 1rem; }
.contact-details h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.contact-details dl { margin: 0 0 2rem; }
.contact-details dl > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .5rem; margin-bottom: .5rem; }
.contact-details dt { font-weight: 600; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-details p + p { margin-top: .5rem; }
.final-cta { text-align: center; max-width: 52rem; }
.final-cta > p:not(.eyebrow) { margin-top: 1.5rem; color: var(--muted); }
.final-cta .actions { justify-content: center; }
.footer-inner { align-items: start; }
.footer-inner address { margin-top: .6rem; font-size: .9rem; }
.footer-contact { display: grid; font-size: .9rem; }
.footer-contact a { min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.footer-inner nav { gap: .5rem 1.25rem; }
.copyright { width: 100%; border-top: 1px solid var(--line); padding-top: 1.5rem; }
#enquiries { scroll-margin-top: 1rem; }
/* Restrained logo-inspired pastels, scoped to the homepage. */
.pastel-theme {
    --mint: #e7f3ed;
    --peach: #fbece2;
    --lavender: #f0edf8;
    --yellow: #faf4dc;
    --sky: #eaf3f8;
    --line: #d8e4de;
    background: #fffefa;
}
.pastel-theme .site-header { border-bottom-color: #e2ebe6; }
.pastel-theme .primary-navigation a[aria-current="page"] { text-decoration-color: #a9d4c2; text-underline-offset: .5em; }
.pastel-theme .button {
    border: 1px solid #accfc1;
    background: #cde8dc;
    color: var(--teal-dark);
    box-shadow: 0 3px 0 #184d470d;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.pastel-theme .button:hover { background: #b8dccb; box-shadow: 0 4px 12px #184d4714; }
.pastel-theme .button-outline { background: #fffaf6; border-color: #d7b8a4; }
.pastel-theme .button-outline:hover { background: var(--peach); }
.pastel-theme .hero-home {
    background: radial-gradient(ellipse at 100% 0, #fbece2 0, transparent 55%), linear-gradient(120deg, #edf6f0, #faf8ee 65%);
    border-bottom-color: #dce9df;
}
.pastel-theme .hero-copy > .eyebrow {
    display: inline-block;
    padding: .5rem .85rem;
    background: #ffffffb8;
    border: 1px solid #d6e6db;
    border-radius: 100px;
    letter-spacing: .09em;
}
.pastel-theme .hero-tagline { color: var(--teal); }
.pastel-theme .hero-image { padding: .65rem; background: #ffffffb8; border: 1px solid #fff; border-radius: 5.6rem 1.9rem 1.9rem 1.9rem; box-shadow: 0 12px 32px #253b370a; }
.pastel-theme .hero-image figcaption { padding: .2rem .5rem .4rem; }
.pastel-theme [aria-labelledby="offer-heading"] { background: #f4f8f5; }
.pastel-theme :is(.card, .contact-card) { border: 1px solid #cedfd5; border-top: 4px solid #a9d4c2; background: var(--mint); box-shadow: 0 6px 18px #253b3705; }
.pastel-theme :is(.card, .contact-card):nth-child(2) { background: var(--peach); border-color: #eed8c8; border-top-color: #e9c1a5; }
.pastel-theme :is(.card, .contact-card):nth-child(3) { background: var(--lavender); border-color: #dfd9ee; border-top-color: #c9bce1; }
.pastel-theme .card-number { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .9rem; background: #ffffffb8; letter-spacing: .05em; }
.pastel-theme .benefit-grid { gap: 1rem; }
.pastel-theme .benefit-grid li { align-items: center; padding: 1rem 1.2rem; border: 1px solid #e0e8e4; border-radius: 1rem; background: #f1f7f3; }
.pastel-theme .benefit-grid li:nth-child(3n + 2) { background: #f5f2fa; border-color: #e7e1ef; }
.pastel-theme .benefit-grid li:nth-child(3n) { background: #fdf7e7; border-color: #eee5ca; }
.pastel-theme .benefit-grid li::before { display: inline-flex; flex: 0 0 1.65rem; height: 1.65rem; align-items: center; justify-content: center; border-radius: 50%; background: #fff; }
.pastel-theme .care-panel { background: #fcf7e9; border-color: #ece2c8; }
.pastel-theme .care-panel:nth-child(2) { background: #f5f2fa; border-color: #e4ddef; }
.pastel-theme .highlights-grid .photo-card { border: 1px solid #e4ded4; background: var(--peach); }
.pastel-theme .highlights-grid .photo-card:nth-child(2) { background: var(--lavender); }
.pastel-theme .highlights-grid .photo-card:nth-child(3) { background: var(--yellow); }
.pastel-theme #enquiries { background: #f8f4ee; border-block: 1px solid #eee3d6; }
.pastel-theme .contact-details:not(.contact-card) { background: #ffffffb8; padding: 2rem; border: 1px solid #e6dfd5; border-radius: var(--radius); }
.pastel-theme .final-cta { max-width: 76rem; margin-block: clamp(2rem, 5vw, 4rem); padding-inline: clamp(1.25rem, 4vw, 4rem); border: 1px solid #e2dcec; border-radius: 2rem; background: radial-gradient(ellipse at 0 100%, #e8f3ed, transparent 65%), #f3eff9; }
.pastel-theme .final-cta h2, .pastel-theme .final-cta > p { max-width: 42rem; margin-inline: auto; }
.pastel-theme .site-footer { border-top: .35rem solid #c9e2d6; background: #f1f7f3; }
.pastel-theme .footer-name { color: var(--teal-dark); }
.pastel-theme .copyright { border-top-color: #d4e2d9; }
@media (prefers-reduced-motion: reduce) {
    .pastel-theme .button { transition: none; }
}
@media (max-width: 45rem) {
    .pastel-theme .hero-copy > .eyebrow { border-radius: 1rem; }
    .pastel-theme .hero-image { border-top-left-radius: 4rem; }
    .pastel-theme .hero-home .hero-image img { height: clamp(280px, 90vw, 400px); border-top-left-radius: 3.4rem; }
    .pastel-theme .contact-details:not(.contact-card) { padding: 1.25rem; }
}
@media (max-width: 60rem) {
    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .highlights-grid { gap: 1rem; }
}
@media (max-width: 45rem) {
    .hero-home .hero-image img { height: 400px; }
    .benefit-grid { grid-template-columns: 1fr; gap: .25rem; }
    .highlights-grid { grid-template-columns: 1fr; }
    .highlights-grid img { aspect-ratio: 4 / 3; }
    .care-panel { padding: 1.5rem; }
    .contact-details dl > div { grid-template-columns: 5.5rem minmax(0, 1fr); }
    .final-cta .actions { gap: 1rem; }
}
@media (max-width: 45rem) {
    .hero-home .hero-inner { grid-template-columns: minmax(0, 1fr); }
}

/* Shared approved pastel presentation and revised content layouts. */
.story-content { max-width: 58rem; }
.story-content p { margin-top: 1.5rem; }
.directions { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.directions p { margin-top: 1rem; max-width: 58rem; }
:is(.card, .contact-card) h2 { font-size: 1.35rem; }
.pastel-theme .hero-home .hero-image img { height: auto; object-fit: contain; border-radius: 4.5rem 1.25rem 1.25rem 1.25rem; }
@media (max-width: 45rem) {
    .hero-home .hero-inner, .daily-grid, .location-layout { grid-template-columns: minmax(0, 1fr); }
    .pastel-theme .hero-home .hero-image img { height: auto; border-top-left-radius: 3.4rem; }
}
@media (max-width: 60rem) { .location-layout { gap: 2rem; } }

/* Contact form uses the shared typography, controls and pastel palette. */
#enquiry { scroll-margin-top: 1rem; }
.enquiry-form { max-width: 58rem; margin-top: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-block: 1.5rem; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: .5rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: .75rem; border: 1px solid #accfc1; border-radius: .65rem; background: #fffefa; color: var(--ink); font: inherit; }
.form-field textarea { resize: vertical; }
.form-field-wide { grid-column: 1 / -1; }
.consent-label { display: flex; align-items: flex-start; gap: .8rem; padding-block: .75rem; cursor: pointer; }
.consent-label input { flex: 0 0 auto; width: 1.4rem; height: 1.4rem; margin-top: .2rem; accent-color: var(--teal); }
.form-help { color: var(--muted); }
.enquiry-form .button { margin-top: 1rem; font: inherit; font-weight: 650; cursor: pointer; }
.enquiry-form .button:disabled { opacity: .65; cursor: not-allowed; }
.contact-section address { margin-top: 1rem; margin-bottom: 1rem; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.contact-cards > .contact-card { min-width: 0; overflow-wrap: anywhere; }
.contact-visit { grid-column: 1 / -1; }
.contact-section.contact-details dl { margin: 1rem 0 0; }
.contact-section.contact-details dl > div { grid-template-columns: 6rem minmax(0, 1fr); align-items: center; }
.contact-section.contact-details dd a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; max-width: 100%; }
@media (max-width: 45rem) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 45rem) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.form-notice { max-width: 58rem; margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: .75rem; overflow-wrap: anywhere; }
.form-success { background: var(--mint); }
.form-errors { background: var(--peach); border-color: #d7b8a4; }
.form-errors ul { margin-bottom: 0; padding-left: 1.25rem; }
.field-error { margin-top: .5rem; color: #863b2b; overflow-wrap: anywhere; }
.form-field [aria-invalid="true"] { border-color: #863b2b; }

/* Home care cards follow the Programmes card structure, retaining their pastels. */
.page-home .daily-grid { gap: 1.5rem; padding-bottom: 0; }
.page-home :is(.care-panel, .final-cta) {
    min-width: 0;
    padding: 2rem;
    border-width: 1px;
    border-top-width: 4px;
    border-top-color: #a9d4c2;
    border-radius: var(--radius);
    box-shadow: 0 6px 18px #253b3705;
}
.page-home .care-panel:nth-child(2) { border-top-color: #e9c1a5; }
.page-home :is(.care-panel, .final-cta) h2 { font-size: 1.35rem; margin-bottom: 0; }
.page-home :is(.care-panel, .final-cta) p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.page-home .daily-grid + .final-cta { margin-top: 1.5rem; border-top-color: #c9bce1; }
@media (max-width: 45rem) {
    .page-home :is(.care-panel, .final-cta) { padding: 1.5rem; }
}
