/* Shared extras: accessibility controls, tap to call, chat, and click-to-load embeds (map, booking). */
/* SOCIAL FEEDS + CQC WIDGET */
#social { background: var(--cream); }
.social-intro { max-width: 60ch; color: var(--text-light); margin-bottom: 2.5rem; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.social-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: 4px; padding: 2rem; min-width: 0; }
.social-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--green-deep); margin-bottom: 0.8rem; }
.social-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.2rem; }
.embed-slot { margin-bottom: 1.2rem; }
.embed-slot iframe { display: block; max-width: 100%; border: 0; }
.embed-load { border: 0; cursor: pointer; font-family: var(--font-body); }
.social-follow { color: var(--green-mid); font-weight: 500; font-size: 0.9rem; }
.preview-note { border: 1px dashed var(--green-light); border-radius: 4px; padding: 0.9rem 1rem; font-size: 0.85rem; color: #2e2e2e !important; background: #e8f4ee; }
@media (max-width: 1024px) { .social-grid { grid-template-columns: 1fr; } }
.map-card { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); }
.map-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: white; margin-bottom: 0.6rem; }
.map-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1rem; }
.map-card .social-follow { color: var(--gold-light); }
.map-card iframe { width: 100%; height: 300px; border-radius: 4px; }

/* TAP TO CALL (phones) */
.call-fab { display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid #fff; position: fixed; right: 16px; bottom: calc(16px + var(--fab-lift, 0px)); z-index: 900; background: var(--gold); color: var(--charcoal); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 0.85rem 1.2rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.call-fab .call-short { display: none; }
.call-fab:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
@media (max-width: 768px) { .call-fab .call-short { display: inline; } .call-fab .call-long { display: none; } body.has-call-bar .call-fab { display: none; } }

/* ACCESSIBILITY CONTROLS */
.a11y { position: fixed; left: 16px; bottom: calc(16px + var(--fab-lift, 0px)); z-index: 900; font-family: Arial, Helvetica, sans-serif; }
.a11y-toggle { background: var(--green-deep); color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 0.7rem 1.1rem; font: 600 0.95rem/1 Arial, Helvetica, sans-serif; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.a11y-panel { position: absolute; left: 0; bottom: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: #fff; color: #111; border: 2px solid var(--green-deep); border-radius: 10px; padding: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.a11y-title { font: 700 1rem/1.3 Arial, Helvetica, sans-serif; margin-bottom: 0.8rem; color: #111; }
.a11y-row { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; }
.a11y-row span { flex: 1; font-size: 0.95rem; color: #111; }
.a11y-panel button { font: 600 0.95rem/1.2 Arial, Helvetica, sans-serif; background: #fff; color: #111; border: 2px solid #111; border-radius: 6px; padding: 0.55rem 0.7rem; cursor: pointer; }
.a11y-panel > button { display: block; width: 100%; text-align: left; margin-bottom: 0.5rem; }
.a11y-panel button[aria-pressed="true"] { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.a11y-panel button:focus-visible, .a11y-toggle:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
html.a11y-contrast { --text: #000; --text-light: #1a1a1a; --green-light: #14573b; --green-mid: #0e3d2c; --cream: #fff; --cream-dark: #bdbdbd; --green-pale: #fff; --gold-light: #ffe08a; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast :is(#home, #services, #supported-living, #day-opportunities, #social, #contact, footer, nav, .mobile-menu) :is(p, li, span, a, label, cite, blockquote, strong, h3, .stat-label, .footer-copy, .footer-legal, .footer-logo):not(.btn-primary):not(.nav-cta):not(.preview-note) { color: #fff !important; }
html.a11y-contrast :is(#home, #services, #supported-living, #day-opportunities, #social, #contact) em { color: #ffe08a !important; }
html.a11y-contrast input, html.a11y-contrast textarea, html.a11y-contrast select { border-color: #fff !important; }
html.a11y-contrast ::placeholder { color: #e6e6e6 !important; }
html.a11y-readable body *:not(.a11y *) { font-family: Verdana, Arial, Helvetica, sans-serif !important; font-style: normal !important; letter-spacing: 0.01em; word-spacing: 0.08em; }
html.a11y-readable :is(p, li) { line-height: 1.9 !important; }
html.a11y-links a:not(.btn-primary):not(.nav-cta):not(.call-fab) { text-decoration: underline !important; text-underline-offset: 0.2em; }
html.a11y-calm { scroll-behavior: auto; }
html.a11y-calm * { animation: none !important; transition: none !important; }
html.a11y-calm .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 768px) { .a11y-toggle { padding: 0.85rem 1rem; } }

/* BOOK A CALL */
#book { background: var(--white); }
.book-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.book-layout > div > p { color: var(--text-light); max-width: 52ch; }
.book-card { background: var(--cream); border: 1px solid var(--cream-dark); border-radius: 4px; padding: 2rem; min-width: 0; }
.book-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.2rem; }
.book-card .book-alt { margin: 0; }
.book-card .book-alt a { color: var(--green-mid); font-weight: 500; }
.book-card iframe { width: 100%; height: 720px; }
@media (max-width: 1024px) { .book-layout { grid-template-columns: 1fr; gap: 2rem; } }

/* CHAT LAUNCHER */
.chat-fab { position: fixed; right: 16px; bottom: calc(16px + var(--fab-lift, 0px)); z-index: 900; background: var(--green-deep); color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 0.75rem 1.2rem; font: 600 0.95rem/1 Arial, Helvetica, sans-serif; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.chat-fab:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.chat-card { position: fixed; right: 16px; bottom: calc(72px + var(--fab-lift, 0px)); z-index: 901; width: min(320px, calc(100vw - 32px)); background: #fff; color: #111; border: 2px solid var(--green-deep); border-radius: 10px; padding: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); font-family: Arial, Helvetica, sans-serif; }
.chat-card p { font-size: 0.95rem; line-height: 1.5; color: #111; margin-bottom: 0.8rem; }
.chat-card .chat-title { font-weight: 700; font-size: 1rem; }
.chat-card .chat-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chat-card button { font: 600 0.95rem/1.2 Arial, Helvetica, sans-serif; border: 2px solid var(--green-deep); border-radius: 6px; padding: 0.55rem 0.9rem; cursor: pointer; background: #fff; color: var(--green-deep); }
.chat-card button.chat-go { background: var(--green-deep); color: #fff; }
.chat-card button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
@media (max-width: 768px) { .chat-fab { bottom: calc(76px + var(--fab-lift, 0px)); } .chat-card { bottom: calc(132px + var(--fab-lift, 0px)); } }

/* BOOK A CALL nudge in the contact section */
.book-nudge { margin-top: 1rem; }
.book-nudge a { color: var(--gold-light); font-weight: 500; }

/* Pages that already have the bottom call bar on phones */
body.has-call-bar .chat-fab { bottom: calc(16px + var(--fab-lift, 0px)); }
body.has-call-bar .chat-card { bottom: calc(72px + var(--fab-lift, 0px)); }

/* LISTEN TO THIS PAGE */
.a11y-reading { outline: 3px solid #ffbf47 !important; outline-offset: 4px; border-radius: 2px; }

/* WHAT'S ON */
#whats-on { background: var(--green-pale); }
.whatson-intro { max-width: 62ch; color: var(--text-light); margin-bottom: 2.5rem; }
.whatson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.whatson-card { background: var(--white); border-left: 4px solid var(--green-light); border-radius: 4px; padding: 2rem; min-width: 0; }
.whatson-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--green-deep); margin-bottom: 0.6rem; }
.whatson-card p { color: var(--text-light); font-size: 0.95rem; }
.whatson-card .whatson-when { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-mid); font-weight: 600; margin-bottom: 0.8rem; }
.whatson-join { margin-top: 2.5rem; }
.whatson-join p { color: var(--text); max-width: 62ch; margin-bottom: 1.2rem; }
.whatson-join .whatson-alt { margin: 1.2rem 0 0; font-size: 0.9rem; color: var(--text-light); }
.whatson-join .whatson-alt a { color: var(--green-mid); font-weight: 500; }
@media (max-width: 1024px) { .whatson-grid { grid-template-columns: 1fr; } }
.whatson-badge { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; }
.whatson-badge-free { background: var(--green-deep); color: #fff; }
.whatson-badge-paid { background: var(--gold); color: var(--charcoal); }
.whatson-card-paid { border-left-color: var(--gold); }

/* SOCIAL: two follow buttons */
.social-intro { margin-bottom: 1.8rem; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.social-buttons .btn-primary { display: inline-block; }

/* SOCIAL: feature band */
#social { background: var(--green-deep); text-align: center; }
#social .section-tag { color: var(--gold-light); justify-content: center; }
#social .section-tag::before { background: var(--gold); }
#social h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
#social h2 em { color: var(--gold-light); }
#social .social-intro { color: rgba(255,255,255,0.8); max-width: 62ch; margin: 0 auto 3rem; font-size: 1.05rem; }
.social-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; }
.social-tile { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-top: 3px solid var(--gold); border-radius: 4px; padding: 2rem; min-width: 0; }
.social-tile-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; }
.social-tile h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: #fff; margin-bottom: 0.6rem; }
.social-tile p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.social-cta { margin-top: 3rem; }
.social-handle { color: rgba(255,255,255,0.8); margin-bottom: 1.2rem; }
.social-handle strong { color: var(--gold-light); font-weight: 600; }
#social .social-buttons { justify-content: center; }
#contact { border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 1024px) { .social-tiles { grid-template-columns: 1fr; } }

/* SOCIAL: single box */
#social .social-intro { margin-bottom: 2.5rem; }
.social-box { max-width: 760px; margin: 0 auto; text-align: left; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-top: 3px solid var(--gold); border-radius: 4px; padding: 2.5rem; }
.social-box h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: #fff; margin-bottom: 1.2rem; }
.social-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.social-list li { position: relative; padding: 0.55rem 0 0.55rem 1.8rem; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.08); }
.social-list li:last-child { border-bottom: 0; }
.social-list li::before { content: ''; position: absolute; left: 0.2rem; top: 1.1rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
#social .social-box .social-buttons { justify-content: flex-start; }
@media (max-width: 600px) { .social-box { padding: 1.5rem; } }

/* SOCIAL: everything in one box */
#social .social-box { max-width: 900px; text-align: center; padding: 3.5rem 3rem; }
#social .social-box .social-intro { margin: 0 auto 2.2rem; }
#social .social-box .social-buttons { justify-content: center; }
@media (max-width: 600px) { #social .social-box { padding: 2rem 1.25rem; } }
#social .social-box h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); text-wrap: balance; }

/* Links from the home page summaries to the full service pages */
.heading-link { color: inherit; text-decoration: none; }
.heading-link:hover, .heading-link:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.more-note { margin-top: 1.6rem; font-size: 0.95rem; font-weight: 500; color: var(--gold-light) !important; }

/* Hero: text nudge to the two service pages */
.hero-nudge { margin-top: 1.4rem; color: rgba(255,255,255,0.8); font-size: 1rem; }
.hero-nudge a { color: var(--gold-light); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.hero-nudge a:hover, .hero-nudge a:focus-visible { color: #fff; }

/* ===== Audit fixes, 1 Dec 2026 ===== */
/* Skip link (home now has one too) with readable text */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--gold); color: var(--charcoal); font-weight: 600; padding: 0.7rem 1.2rem; text-decoration: none; }
.skip-link:focus { left: 1rem; top: 1rem; }
/* Contrast */
#about .section-tag, .team-layout .section-tag, #why .section-tag, #whats-on .section-tag, .careers-heading .section-tag, .book-layout .section-tag { color: var(--green-mid); }
#about .section-tag::before, .team-layout .section-tag::before, #why .section-tag::before, #whats-on .section-tag::before, .careers-heading .section-tag::before, .book-layout .section-tag::before { background: var(--green-mid); }
#services .service-card p { color: rgba(255,255,255,0.85); }
footer .footer-links a { color: rgba(255,255,255,0.8); }
footer .footer-links a:hover { color: #fff; }
footer .footer-copy { color: rgba(255,255,255,0.75); }
.day-step .day-time { color: #7a5f1e; }
.legal-inner .modal-updated { color: #5a5a5a; }
/* Bigger tap area for the menu button */
button.hamburger { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
/* Contact form: permanent labels */
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500; }
/* Day Opportunities page: what's coming up at the Hub */
.hub-sub { font-family: var(--font-display); color: #fbf6ea; font-size: 1.8rem; font-weight: 500; margin: 0.5rem 0 1.5rem; }
.hub-whatson { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto 2rem; text-align: left; }
.hub-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-top: 3px solid var(--gold); border-radius: 4px; padding: 1.6rem; min-width: 0; }
.hub-item h4 { font-family: var(--font-display); color: #fff; font-size: 1.35rem; font-weight: 500; margin-bottom: 0.5rem; }
.hub-item p { color: rgba(255,255,255,0.82); font-size: 0.92rem; line-height: 1.7; }
.hub-badge { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem; background: var(--gold); color: var(--charcoal); }
.hub-badge-free { background: #fff; color: var(--green-deep); }
@media (max-width: 1024px) { .hub-whatson { grid-template-columns: 1fr; } }
.legal-inner .modal-updated, .modal-box .modal-updated { color: #5a5a5a !important; }
.why-card .why-num { color: #4f9a78; }
.legal-inner ul { margin: 0 0 1rem 1.2rem; }
.legal-inner li { margin-bottom: 0.3rem; }
.legal-inner li a { color: var(--green-mid); font-weight: 500; }

/* Top menu: keep it on one line on 1400–1650px screens (e.g. 1440px laptops) */
.nav-links a, .nav-logo { white-space: nowrap; }
@media (min-width: 1401px) and (max-width: 1800px) {
  #navbar { padding-left: 2rem !important; padding-right: 2rem !important; }
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: 0.8rem; }
}
/* Full-width "your choices" boxes under both columns */
#supported-living > .pillar-wide, #day-opportunities > .pillar-wide { grid-column: 1 / -1; order: 3; margin-top: -1.5rem; padding: 1.4rem 1.6rem !important; border-top: 3px solid var(--gold) !important; }
@media (max-width: 1024px) {
  #supported-living > .about-pillars-col, #day-opportunities > .about-pillars-col { border-top: 0; padding-top: 0; }
  #supported-living > .pillar-wide, #day-opportunities > .pillar-wide { margin-top: 0; }
}

/* ===== Second audit, 1 Dec 2026 ===== */
.modal-updated { opacity: 1 !important; }
/* Phones and tablets: keep the "Our team" heading above its list */
.team-layout > .about-text { order: 0; }
/* Less empty space between sections on wide screens */
@media (min-width: 1025px) {
  main > section:not(.sl-hero):not(.legal-page):not(.hub-banner):not(.careers-section) { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  #social { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  #contact { padding-top: 4rem; }
  .careers-section { padding-top: 3rem; padding-bottom: 3rem; }
}

/* Ten menu items (Supported Holidays added): keep them on one line at every width */
@media (min-width: 1025px) and (max-width: 1180px) { .nav-links { gap: 0.55rem !important; } .nav-links a { font-size: 0.64rem !important; letter-spacing: 0.02em; } .nav-logo { font-size: 1.15rem; margin-right: 0.6rem; } }
@media (min-width: 601px) and (max-width: 1024px) { .nav-links { gap: 0.25rem !important; } .nav-links a { font-size: 1.28vw !important; letter-spacing: 0.01em; } .nav-links .nav-cta { padding: 0.3rem 0.5rem; } }
@media (min-width: 601px) and (max-width: 900px) { .nav-links { flex-wrap: wrap !important; justify-content: center !important; gap: 0.3rem 1rem !important; } .nav-links a { font-size: 0.72rem !important; } }

/* Supported Holidays: link on the home page service card; CTA buttons wrap on mid-width screens */
#services .service-card .card-link { display: inline-block; margin-top: 0.9rem; color: #fff; font-size: 0.88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
#services .service-card .card-link { text-decoration-color: var(--gold); }
#services .service-card .card-link:hover, #services .service-card .card-link:focus-visible { color: var(--gold-light); }
.careers-box .careers-cta { flex-wrap: wrap; }
@media (min-width: 1025px) and (max-width: 1280px) { .careers-box { flex-wrap: wrap; } .careers-box .careers-cta { flex: 1 1 100%; } }

/* staff checks box (home, Our Team) */
.staff-checks-box{margin-top:3.5rem;background:var(--green-pale);border-left:3px solid var(--gold);border-radius:4px;padding:2.4rem 2.6rem}
.staff-checks-box .section-tag{color:var(--green-mid)}
.staff-checks-box .section-tag::before{background:var(--green-mid)}
.staff-checks-box h3{font-family:var(--font-display);color:var(--green-deep);font-size:1.6rem;font-weight:500;line-height:1.3;margin:0}
.staff-checks-grid{display:grid !important;grid-template-columns:1fr 1fr;gap:1rem 3rem;margin-top:1.4rem !important}
@media (max-width:800px){.staff-checks-grid{grid-template-columns:1fr}.staff-checks-box{padding:1.8rem 1.5rem}}

/* slim "at a glance" line under subpage hero text */
.sl-facts.sl-facts-line{display:flex;flex-wrap:wrap;gap:.35rem 0;margin:1.8rem 0 0;padding:0;list-style:none}
.sl-facts.sl-facts-line li{border:0;padding:0;border-radius:0;background:none;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-light);display:inline-flex;align-items:center}
.sl-facts.sl-facts-line li + li::before{content:"";width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.45);margin:0 .9rem}
@media (max-width:600px){.sl-facts.sl-facts-line{flex-direction:column;gap:.45rem}.sl-facts.sl-facts-line li + li::before{display:none}}

/* Home button, to the right of Accessibility */
.a11y{display:flex;align-items:center;gap:8px}
.home-fab{display:inline-flex;align-items:center;gap:.45rem;background:var(--green-deep);color:#fff !important;border:2px solid #fff;border-radius:999px;padding:.6rem 1.05rem;font:600 .95rem/1 Arial,Helvetica,sans-serif;cursor:pointer;text-decoration:none !important;box-shadow:0 6px 20px rgba(0,0,0,.3)}
.home-fab[hidden]{display:none}
.home-fab:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
@media (max-width:480px){.home-fab{padding:.6rem .7rem}.home-fab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
