/* Official Ar Rahmah visual identity: green for trust and growth, orange for action. */
:root,
html[data-theme="dark"] {
	color-scheme: dark;
	--brand-green: #468B31;
	--brand-orange: #F6AA15;
	--green: #468B31;
	--deep: #1b3420;
	--orange: #F6AA15;
	--amber: #F6AA15;
	--ink: #edf1e9;
	--muted: #c0cbb9;
	--paper: #1b2820;
	--line: rgba(166, 204, 147, .2);
	--campus-cyan: #75b75f;
	--campus-lime: #F6AA15;
	--shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

html[data-theme="light"] {
	color-scheme: light;
	--brand-green: #468B31;
	--brand-orange: #F6AA15;
	--green: #468B31;
	--deep: #2f5728;
	--orange: #F6AA15;
	--amber: #a96e08;
	--ink: #343a33;
	--muted: #626b60;
	--paper: #fbfcf9;
	--line: #dce6d7;
	--campus-cyan: #468B31;
	--campus-lime: #a96e08;
	--shadow: 0 20px 55px rgba(48, 79, 38, .1);
}

/* Dark mode keeps the same identity colors on a calm, deep green surface. */
html[data-theme="dark"] body {
	color: var(--ink);
	background-color: #15231a;
	background-image: radial-gradient(ellipse at 8% 8%, rgba(70, 139, 49, .2), transparent 36%), radial-gradient(ellipse at 94% 48%, rgba(246, 170, 21, .08), transparent 31%);
}
html[data-theme="dark"] ::selection { color: #20291d; background: var(--brand-orange); }
html[data-theme="dark"] :focus-visible { outline-color: var(--brand-orange); }
html[data-theme="dark"] .topbar { color: #e8eee4; background: #101a13; border-color: rgba(166, 204, 147, .17); }
html[data-theme="dark"] .header-row,
html[data-theme="dark"] .header-inner { border-color: var(--line); background: rgba(23, 39, 27, .92); }
html[data-theme="dark"] .brand-name,
html[data-theme="dark"] .brand-fallback { color: #f1f4ed; }
html[data-theme="dark"] .nav a,
html[data-theme="dark"] .menu-list a { color: #e1e9dc; }
html[data-theme="dark"] .nav a:hover,
html[data-theme="dark"] .nav a.active,
html[data-theme="dark"] .menu-list a:hover,
html[data-theme="dark"] .menu-list .current-menu-item > a,
html[data-theme="dark"] .menu-list .is-section-active > a { color: #fff; background: rgba(70, 139, 49, .28); }
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .theme-toggle { color: #e7eee2; border-color: var(--line); background: rgba(70, 139, 49, .12); }
html[data-theme="dark"] .icon-btn:hover,
html[data-theme="dark"] .theme-toggle:hover { color: #fff; border-color: rgba(166, 204, 147, .42); background: rgba(70, 139, 49, .24); }
html[data-theme="dark"] .section.soft,
html[data-theme="dark"] .section-soft,
html[data-theme="dark"] .section-cream { border-color: rgba(166, 204, 147, .12); background: linear-gradient(135deg, #1b2c20, #17251c); }
html[data-theme="dark"] .page-hero { color: #f0f3eb; border-color: var(--line); background-color: #1b2b20; background-image: radial-gradient(ellipse at 86% 0%, rgba(70, 139, 49, .23), transparent 36%), radial-gradient(ellipse at 32% 100%, rgba(246, 170, 21, .08), transparent 40%), linear-gradient(135deg, #1b2b20, #203724 70%, #18281e); }
html[data-theme="dark"] .page-hero::before { background-image: linear-gradient(rgba(166, 204, 147, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(166, 204, 147, .07) 1px, transparent 1px); }
html[data-theme="dark"] .page-hero::after { border-color: rgba(166, 204, 147, .2); box-shadow: 0 0 0 35px rgba(70, 139, 49, .04), 0 0 0 83px rgba(70, 139, 49, .025), 0 0 90px rgba(246, 170, 21, .06); }
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .section-head > div h2,
html[data-theme="dark"] .intro-grid h2,
html[data-theme="dark"] .split-intro h2,
html[data-theme="dark"] .connect-grid h2 { color: #f1f4ed; }
html[data-theme="dark"] .page-hero h1 em,
html[data-theme="dark"] .section-head h2 em,
html[data-theme="dark"] .section-heading h2 em,
html[data-theme="dark"] .intro-grid h2 em,
html[data-theme="dark"] .split-intro h2 em { color: #8fca78; }
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .hero-copy .eyebrow,
html[data-theme="dark"] .section-head .eyebrow,
html[data-theme="dark"] .section-heading .eyebrow { color: var(--brand-orange); }
html[data-theme="dark"] .hero-copy h1 em,
html[data-theme="dark"] .hero h1 em { color: #8fca78; }
html[data-theme="dark"] .hero-note svg,
html[data-theme="dark"] .hero-note .hero-mark { color: var(--brand-orange); }
html[data-theme="dark"] .card,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .aside-box,
html[data-theme="dark"] .aside-card,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .faq,
html[data-theme="dark"] .result,
html[data-theme="dark"] .gallery-grid figure { color: var(--ink); border-color: var(--line); background: #1c2b20; }
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .content-card h3,
html[data-theme="dark"] .card-content h3,
html[data-theme="dark"] .card h3 a,
html[data-theme="dark"] .content-card h3 a,
html[data-theme="dark"] .card-content h3 a,
html[data-theme="dark"] .faq summary,
html[data-theme="dark"] .result h3 { color: #f0f3eb; }
html[data-theme="dark"] .card p,
html[data-theme="dark"] .content-card p,
html[data-theme="dark"] .card-content p,
html[data-theme="dark"] .aside-box p,
html[data-theme="dark"] .aside-card p,
html[data-theme="dark"] .contact-panel p,
html[data-theme="dark"] .faq p,
html[data-theme="dark"] .result p { color: #c0cbb9; }
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .breadcrumb a,
html[data-theme="dark"] .breadcrumbs a,
html[data-theme="dark"] .prose a,
html[data-theme="dark"] .article-content a { color: #9bd485; }
html[data-theme="dark"] .text-link:hover,
html[data-theme="dark"] .footer-links a:hover { color: var(--brand-orange); }
html[data-theme="dark"] .tag,
html[data-theme="dark"] .chip { color: #dcebd5; border-color: var(--line); background: rgba(70, 139, 49, .16); }
html[data-theme="dark"] .tag.amber,
html[data-theme="dark"] .callout,
html[data-theme="dark"] .editorial-note { color: #f6d792; border-color: rgba(246, 170, 21, .3); background: rgba(246, 170, 21, .1); }
html[data-theme="dark"] .progress-track span { background: linear-gradient(90deg, #468B31, #78b85f, #F6AA15); }
html[data-theme="dark"] .footer,
html[data-theme="dark"] .site-footer { color: #eef2e9; border-color: rgba(166, 204, 147, .16); background: radial-gradient(ellipse at 85% 0, rgba(70, 139, 49, .2), transparent 35%), #142119; }
html[data-theme="dark"] .footer h4,
html[data-theme="dark"] .footer-title { color: var(--brand-orange); }
html[data-theme="dark"] .footer-brand p,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .footer-bottom { color: #c0cbb9; }
html[data-theme="dark"] .footer-bottom { border-color: var(--line); }
html[data-theme="dark"] .mobile-dock { border-color: var(--line); background: rgba(20, 33, 25, .96); }
html[data-theme="dark"] .dialog { color: var(--ink); border-color: var(--line); background: #1b2b20; }
html[data-theme="dark"] .dialog-head h3,
html[data-theme="dark"] .dialog h3 { color: #f1f4ed; }

/* Light mode follows the blueprint's white/off-white, green, orange, charcoal balance. */
html[data-theme="light"] body {
	color: #343a33;
	background-color: #fbfcf9;
	background-image: radial-gradient(ellipse at 8% 8%, rgba(70, 139, 49, .055), transparent 35%), radial-gradient(ellipse at 94% 48%, rgba(246, 170, 21, .035), transparent 31%);
}
html[data-theme="light"] ::selection { color: #20291d; background: var(--brand-orange); }
html[data-theme="light"] :focus-visible { outline-color: var(--brand-orange); }
html[data-theme="light"] .topbar { color: #454d42; background: #f2f5ef; border-color: #e2e8dd; }
html[data-theme="light"] .topbar a { color: #3f702e; }
html[data-theme="light"] .header-row,
html[data-theme="light"] .header-inner { border-color: #e1e8dd; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 42px rgba(44, 75, 36, .09), inset 0 1px #fff; }
html[data-theme="light"] .brand-name,
html[data-theme="light"] .brand-fallback { color: #468B31; }
html[data-theme="light"] .brand-name small { color: #687365; }
html[data-theme="light"] .nav a,
html[data-theme="light"] .menu-list a { color: #414a40; }
html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .nav a.active,
html[data-theme="light"] .menu-list a:hover,
html[data-theme="light"] .menu-list .current-menu-item > a,
html[data-theme="light"] .menu-list .is-section-active > a { color: #356c27; background: rgba(70, 139, 49, .1); }
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .theme-toggle { color: #394638; border-color: #dce5d6; background: #f6f8f3; }
html[data-theme="light"] .icon-btn:hover,
html[data-theme="light"] .theme-toggle:hover { color: #356c27; border-color: rgba(70, 139, 49, .35); background: rgba(70, 139, 49, .08); }
html[data-theme="light"] .section,
html[data-theme="light"] .section.soft,
html[data-theme="light"] .section-soft,
html[data-theme="light"] .section-cream,
html[data-theme="light"] .home-story { color: #343a33; background-color: #fbfcf9; }
html[data-theme="light"] .section.soft,
html[data-theme="light"] .section-soft,
html[data-theme="light"] .section-cream { border-color: #e8ede4; background: linear-gradient(135deg, #f6f8f3, #fff); }
html[data-theme="light"] .page-hero { color: #343a33; border-color: #e5eadf; background-color: #f5f7f2; background-image: radial-gradient(ellipse at 86% 0%, rgba(70, 139, 49, .09), transparent 36%), radial-gradient(ellipse at 30% 100%, rgba(246, 170, 21, .065), transparent 40%), linear-gradient(135deg, #fbfcf9, #f3f6ef 70%, #fafbf7); }
html[data-theme="light"] .page-hero::before { opacity: .32; background-image: linear-gradient(rgba(70, 139, 49, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 139, 49, .055) 1px, transparent 1px); }
html[data-theme="light"] .page-hero::after { border-color: rgba(70, 139, 49, .15); box-shadow: 0 0 0 35px rgba(70, 139, 49, .022), 0 0 0 83px rgba(70, 139, 49, .015), 0 0 90px rgba(246, 170, 21, .04); }
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .section-head > div h2,
html[data-theme="light"] .intro-grid h2,
html[data-theme="light"] .split-intro h2,
html[data-theme="light"] .connect-grid h2,
html[data-theme="light"] .prose h2,
html[data-theme="light"] .prose h3,
html[data-theme="light"] .article-content h1,
html[data-theme="light"] .article-content h2,
html[data-theme="light"] .article-content h3 { color: #2f5728; }
html[data-theme="light"] .page-hero h1 em,
html[data-theme="light"] .section-head h2 em,
html[data-theme="light"] .section-heading h2 em,
html[data-theme="light"] .intro-grid h2 em,
html[data-theme="light"] .split-intro h2 em { color: #468B31; }
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .section-heading > p,
html[data-theme="light"] .intro-copy p,
html[data-theme="light"] .split-intro p,
html[data-theme="light"] .article-content,
html[data-theme="light"] .article-lead,
html[data-theme="light"] .prose { color: #555d53; }
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .hero-kicker,
html[data-theme="light"] .hero-copy .eyebrow,
html[data-theme="light"] .section-head .eyebrow,
html[data-theme="light"] .section-heading .eyebrow { color: #966109; }
html[data-theme="light"] .hero-copy h1,
html[data-theme="light"] .hero h1 { color: #2f5728; }
html[data-theme="light"] .hero-copy h1 em,
html[data-theme="light"] .hero h1 em { color: #468B31; }
html[data-theme="light"] .hero-note svg,
html[data-theme="light"] .hero-note .hero-mark { color: #966109; }
html[data-theme="light"] .card,
html[data-theme="light"] .content-card,
html[data-theme="light"] .aside-box,
html[data-theme="light"] .aside-card,
html[data-theme="light"] .contact-panel,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .faq,
html[data-theme="light"] .result,
html[data-theme="light"] .gallery-grid figure { color: #343a33; border-color: #e1e8dd; background: #fff; box-shadow: 0 13px 36px rgba(48, 79, 38, .07); }
html[data-theme="light"] .card h3,
html[data-theme="light"] .content-card h3,
html[data-theme="light"] .card-content h3,
html[data-theme="light"] .card h3 a,
html[data-theme="light"] .content-card h3 a,
html[data-theme="light"] .card-content h3 a,
html[data-theme="light"] .aside-box h2,
html[data-theme="light"] .aside-box h3,
html[data-theme="light"] .aside-card h2,
html[data-theme="light"] .contact-form h2,
html[data-theme="light"] .contact-panel h2,
html[data-theme="light"] .faq summary,
html[data-theme="light"] .result h3 { color: #343a33; }
html[data-theme="light"] .card p,
html[data-theme="light"] .content-card p,
html[data-theme="light"] .card-content p,
html[data-theme="light"] .aside-box p,
html[data-theme="light"] .aside-card p,
html[data-theme="light"] .contact-panel p,
html[data-theme="light"] .faq p,
html[data-theme="light"] .result p { color: #626b60; }
html[data-theme="light"] .text-link,
html[data-theme="light"] .breadcrumb a,
html[data-theme="light"] .breadcrumbs a,
html[data-theme="light"] .prose a,
html[data-theme="light"] .article-content a { color: #3d762c; }
html[data-theme="light"] .text-link:hover { color: #966109; }
html[data-theme="light"] .tag,
html[data-theme="light"] .chip { color: #3c6e2e; border-color: #dce8d5; background: #f4f8f1; }
html[data-theme="light"] .tag.amber,
html[data-theme="light"] .callout,
html[data-theme="light"] .editorial-note { color: #76500c; border-color: rgba(246, 170, 21, .32); background: rgba(246, 170, 21, .1); }
html[data-theme="light"] .progress-track { background: #e7ece2; }
html[data-theme="light"] .progress-track span { background: linear-gradient(90deg, #468B31, #6ea84f, #F6AA15); box-shadow: 0 0 12px rgba(70, 139, 49, .18); }
html[data-theme="light"] .numbers,
html[data-theme="light"] .mini-note,
html[data-theme="light"] .meta,
html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .breadcrumbs { color: #626b60; }
html[data-theme="light"] .numbers strong { color: #2f5728; }
html[data-theme="light"] .footer,
html[data-theme="light"] .site-footer { color: #f3f5ef; border-color: rgba(166, 204, 147, .17); background: radial-gradient(ellipse at 85% 0, rgba(70, 139, 49, .22), transparent 35%), #19351f; }
html[data-theme="light"] .footer h4,
html[data-theme="light"] .footer-title { color: var(--brand-orange); }
html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-bottom { color: #d1dbca; }
html[data-theme="light"] .footer-bottom { border-color: rgba(220, 230, 215, .2); }
html[data-theme="light"] .mobile-dock { border-color: #dce6d7; background: rgba(255, 255, 255, .97); box-shadow: 0 -12px 32px rgba(48, 79, 38, .1); }
html[data-theme="light"] .mobile-dock a { color: #495345; }
html[data-theme="light"] .mobile-dock a:first-child,
html[data-theme="light"] .mobile-dock a:hover { color: #468B31; }
html[data-theme="light"] .dialog { color: #343a33; border-color: #dce6d7; background: #fff; box-shadow: 0 30px 80px rgba(42, 62, 36, .2); }
html[data-theme="light"] .dialog-head h3,
html[data-theme="light"] .dialog h3 { color: #2f5728; }

/* Orange is reserved for actions; green carries navigation and informational states. */
html[data-theme] .header-cta,
html[data-theme] .header-actions .btn,
html[data-theme] .hero-copy .hero-primary,
html[data-theme] .connect-section .connect-copy .connect-whatsapp,
html[data-theme] .connect-section .cta-band > .button,
html[data-theme] .cta-band .btn,
html[data-theme] .cta-panel .button,
html[data-theme] .admission-panel .button,
html[data-theme] .button:not(.button-quiet):not(.button-light):not(.hero-secondary),
html[data-theme] .btn:not(.outline):not(.hero-secondary),
html[data-theme] .wp-block-button__link,
html[data-theme] input[type="submit"],
html[data-theme] button[type="submit"] {
	color: #263020 !important;
	border-color: #e29a08 !important;
	background: #F6AA15 !important;
	box-shadow: 0 9px 25px rgba(173, 112, 0, .16), inset 0 1px rgba(255, 255, 255, .3) !important;
}
html[data-theme] .header-cta:hover,
html[data-theme] .header-actions .btn:hover,
html[data-theme] .hero-copy .hero-primary:hover,
html[data-theme] .connect-section .connect-copy .connect-whatsapp:hover,
html[data-theme] .connect-section .cta-band > .button:hover,
html[data-theme] .cta-band .btn:hover,
html[data-theme] .cta-panel .button:hover,
html[data-theme] .admission-panel .button:hover,
html[data-theme] .button:not(.button-quiet):not(.button-light):not(.hero-secondary):hover,
html[data-theme] .btn:not(.outline):not(.hero-secondary):hover,
html[data-theme] .wp-block-button__link:hover,
html[data-theme] input[type="submit"]:hover,
html[data-theme] button[type="submit"]:hover { background: #e99d08 !important; }
html[data-theme] .button-quiet,
html[data-theme] .button-light,
html[data-theme] .hero-copy .hero-secondary { color: var(--green) !important; border-color: rgba(70, 139, 49, .42) !important; background: transparent !important; }
html[data-theme="dark"] .button-quiet,
html[data-theme="dark"] .button-light,
html[data-theme="dark"] .hero-copy .hero-secondary { color: #e6f0df !important; }
html[data-theme] .btn.outline { color: var(--green) !important; border-color: rgba(70, 139, 49, .5) !important; background: transparent !important; }
html[data-theme="dark"] .btn.outline { color: #a9d493 !important; }
html[data-theme] .text-link:hover,
html[data-theme] .foundation-text-action:hover,
html[data-theme] .foundation-inline-link:hover { color: #a96e08 !important; }

/* The foundation page has its own local color tokens, so align them directly. */
html[data-theme="light"] .foundation-profile {
	--fp-bg: #fbfcf9;
	--fp-panel: #f8faf6;
	--fp-panel-raised: #fff;
	--fp-ink: #343a33;
	--fp-muted: #626b60;
	--fp-line: #dce6d7;
	--fp-accent: #468B31;
	--fp-accent-strong: #468B31;
	--fp-highlight: #F6AA15;
	--fp-wash: rgba(70, 139, 49, .07);
	--fp-shadow: 0 24px 65px rgba(48, 79, 38, .1);
	background: radial-gradient(ellipse at 8% 4%, rgba(70, 139, 49, .055), transparent 32%), radial-gradient(ellipse at 94% 45%, rgba(246, 170, 21, .04), transparent 32%), #fbfcf9;
}
html[data-theme="dark"] .foundation-profile {
	--fp-bg: #15231a;
	--fp-panel: #1b2b20;
	--fp-panel-raised: #203324;
	--fp-ink: #edf1e9;
	--fp-muted: #c0cbb9;
	--fp-line: rgba(166, 204, 147, .2);
	--fp-accent: #8fca78;
	--fp-accent-strong: #468B31;
	--fp-highlight: #F6AA15;
	--fp-wash: rgba(70, 139, 49, .13);
	--fp-shadow: 0 24px 70px rgba(0, 0, 0, .28);
	background: radial-gradient(ellipse at 8% 4%, rgba(70, 139, 49, .18), transparent 32%), radial-gradient(ellipse at 94% 45%, rgba(246, 170, 21, .075), transparent 32%), #15231a;
}
html[data-theme="light"] .foundation-hero { background: linear-gradient(115deg, #f3f7ef, #fff 54%, #f3f6ed); }
html[data-theme="dark"] .foundation-hero { background: linear-gradient(115deg, #18291e, #1c3223 54%, #203624); }
html[data-theme] .foundation-button-primary { color: #263020 !important; border-color: #e29a08 !important; background: #F6AA15 !important; box-shadow: 0 12px 28px rgba(173, 112, 0, .17); }
html[data-theme] .foundation-button-primary:hover { background: #e99d08 !important; }

/* Preserve readable contrast for the campaign carousel and its donation controls. */
html[data-theme="light"] .home-campaigns { border-color: #e1e8dd; background: #f5f8f2; }
html[data-theme="light"] .home-campaigns .swiper-slide { border-color: #e1e8dd; background: #fff; color: #343a33; }
html[data-theme="light"] .home-campaigns .swiper-slide a { color: #3d762c; }
html[data-theme="light"] .home-campaigns .card__title { color: #343a33 !important; }
html[data-theme="light"] .home-campaigns .donation_collected { color: #3d762c !important; }
html[data-theme="light"] .home-campaigns .content_2 > div[style*="height:4px"] { background: #F6AA15 !important; }
html[data-theme="light"] .home-campaigns .tns-nav button { background: rgba(70, 139, 49, .24); }
html[data-theme="light"] .home-campaigns .tns-nav button.tns-nav-active { background: #468B31; }
html[data-theme="dark"] .home-campaigns .swiper-slide { border-color: var(--line); background: #1b2b20; color: var(--ink); }
html[data-theme="dark"] .home-campaigns .card__title { color: #f1f4ed !important; }
html[data-theme="dark"] .home-campaigns .content_2 > div[style*="height:4px"] { background: #F6AA15 !important; }

/* Shared home page accents and callout panels. */
html[data-theme] .hero-home::after { border-color: rgba(246, 170, 21, .44); box-shadow: 0 0 0 22px rgba(246, 170, 21, .035), 0 0 0 55px rgba(70, 139, 49, .07), 0 0 80px rgba(70, 139, 49, .2); }
html[data-theme] .hero-shade { background: linear-gradient(90deg, rgba(19, 39, 23, .96) 0%, rgba(25, 49, 29, .87) 35%, rgba(26, 48, 28, .58) 63%, rgba(23, 42, 26, .17) 100%), linear-gradient(0deg, rgba(16, 32, 19, .7), transparent 60%); }
html[data-theme="light"] .quick-grid { border-color: #e1e8dd; background: rgba(255, 255, 255, .97); }
html[data-theme="light"] .quick-card:not(:last-child) { border-color: #e7ede3; }
html[data-theme="light"] .quick-card:hover { background: #f4f8f1; }
html[data-theme="light"] .quick-icon { color: #468B31; border-color: #dce8d5; background: #f2f7ee; }
html[data-theme="light"] .quick-copy strong { color: #2f5728; }
html[data-theme="light"] .quick-copy small { color: #626b60; }
html[data-theme="light"] .pathway-number,
html[data-theme="light"] .quick-arrow { color: #468B31; }
html[data-theme="light"] .home-story { border-block: 1px solid #e5ebdf; background: linear-gradient(125deg, #f2f6ee, #fbfcf9 62%, #f8f7ef); }
html[data-theme="light"] .home-story::before { border-color: rgba(70, 139, 49, .14); box-shadow: 0 0 0 32px rgba(70, 139, 49, .025), 0 0 0 75px rgba(246, 170, 21, .025); }
html[data-theme="light"] .home-story .intro-grid h2,
html[data-theme="light"] .home-story .split-intro h2,
html[data-theme="light"] .home-story .values-strip strong,
html[data-theme="light"] .home-story .values-row strong { color: #2f5728; }
html[data-theme="light"] .home-story .intro-grid h2 em,
html[data-theme="light"] .home-story .split-intro h2 em { color: #468B31; }
html[data-theme="light"] .home-story .intro-grid p,
html[data-theme="light"] .home-story .split-intro p,
html[data-theme="light"] .home-story .values-strip span,
html[data-theme="light"] .home-story .values-row span { color: #555d53; }
html[data-theme="light"] .home-story .section-prehead .eyebrow { color: #966109; }
html[data-theme="light"] .home-story .text-link,
html[data-theme="light"] .home-story .split-intro .text-link { color: #3d762c; }
html[data-theme="light"] .home-story .values-row,
html[data-theme="light"] .home-story .values-strip { border-color: #dce6d7; }
html[data-theme="dark"] .home-story { border-block: 1px solid var(--line); background: linear-gradient(125deg, #17271c, #1b3021 62%, #1a2a20); }
html[data-theme="dark"] .home-story::before { border-color: rgba(166, 204, 147, .17); box-shadow: 0 0 0 32px rgba(70, 139, 49, .04), 0 0 0 75px rgba(246, 170, 21, .025); }
html[data-theme="dark"] .home-story .intro-grid h2,
html[data-theme="dark"] .home-story .split-intro h2,
html[data-theme="dark"] .home-story .values-strip strong,
html[data-theme="dark"] .home-story .values-row strong { color: #f1f4ed; }
html[data-theme="dark"] .home-story .intro-grid h2 em,
html[data-theme="dark"] .home-story .split-intro h2 em { color: #9bd485; }
html[data-theme="dark"] .home-story .intro-grid p,
html[data-theme="dark"] .home-story .split-intro p,
html[data-theme="dark"] .home-story .values-strip span,
html[data-theme="dark"] .home-story .values-row span { color: #c0cbb9; }
html[data-theme="dark"] .home-story .section-prehead .eyebrow { color: var(--brand-orange); }
html[data-theme="dark"] .home-story .text-link,
html[data-theme="dark"] .home-story .split-intro .text-link { color: #9bd485; }
html[data-theme] .cta-band,
html[data-theme] .cta-panel,
html[data-theme] .admission-panel { color: #f1f4ed; border-color: rgba(166, 204, 147, .24); background: radial-gradient(circle at 88% 0%, rgba(246, 170, 21, .12), transparent 33%), linear-gradient(115deg, #24452a, #315d32 62%, #24472b); }
html[data-theme] .cta-band h2,
html[data-theme] .cta-panel h3,
html[data-theme] .admission-panel h2 { color: #f4f6ef; }
html[data-theme] .cta-band p,
html[data-theme] .cta-panel p,
html[data-theme] .admission-panel p { color: #d4dfcf; }
html[data-theme] .cta-band-mark,
html[data-theme] .cta-band-label { color: #f6c44e; border-color: rgba(246, 170, 21, .4); background: rgba(246, 170, 21, .1); }
html[data-theme="light"] .connect-section { background: radial-gradient(ellipse at 8% 32%, rgba(70, 139, 49, .055), transparent 38%), linear-gradient(140deg, #f3f7ef, #fbfcf9 56%, #f6f8f2); }
html[data-theme="light"] .connect-section::before { border-color: rgba(70, 139, 49, .14); box-shadow: 0 0 0 32px rgba(70, 139, 49, .025), 0 0 0 70px rgba(246, 170, 21, .02); }
html[data-theme="light"] .connect-section .connect-copy h2 { color: #2f5728; }
html[data-theme="light"] .connect-section .connect-copy h2 em { color: #468B31; }
html[data-theme="light"] .connect-section .connect-copy > p { color: #555d53; }
html[data-theme="light"] .connect-section .connect-copy > .eyebrow,
html[data-theme="light"] .connect-family-label { color: #966109; }
html[data-theme="light"] .connect-response-note { color: #626b60; }
html[data-theme="light"] .connect-section .connect-family-card { border-color: #dce6d7; background: linear-gradient(145deg, #fff, #f6f8f3); box-shadow: 0 23px 58px rgba(48, 79, 38, .1); }
html[data-theme="light"] .connect-family-icon { border-color: #dce8d5; background: #f2f7ee; color: #468B31; }
html[data-theme="light"] .connect-family-copy h3 { color: #343a33; }
html[data-theme="light"] .connect-family-copy > p { color: #626b60; }
html[data-theme="light"] .connect-family-copy .text-link { color: #3d762c; }
html[data-theme="light"] .connect-section .cta-band { border-color: rgba(166, 204, 147, .24); background: radial-gradient(circle at 88% 0%, rgba(246, 170, 21, .12), transparent 33%), linear-gradient(115deg, #24452a, #315d32 62%, #24472b); }
html[data-theme="light"] .values-section .value-card,
html[data-theme="light"] .value-card { color: #343a33; border-color: #e1e8dd; border-top-color: #468B31; background: linear-gradient(145deg, #fff, #f6f8f3); box-shadow: 0 16px 40px rgba(48, 79, 38, .08); }
html[data-theme="light"] .value-card h3 { color: #2f5728; }
html[data-theme="light"] .value-card p { color: #626b60; }
html[data-theme="light"] .value-card .tile-icon { color: #468B31; border-color: #dce8d5; background: #f2f7ee; }
html[data-theme="light"] .home-parenting,
html[data-theme="light"] .home-education,
html[data-theme="light"] .home-news,
html[data-theme="light"] .home-values,
html[data-theme="light"] .home-events,
html[data-theme="light"] .values-section { background: linear-gradient(135deg, #fbfcf9, #f4f7f0); }
html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea,
html[data-theme="light"] .search-form input { color: #343a33; border-color: #dce6d7; background: #fff; }
html[data-theme="light"] .form-field input:focus,
html[data-theme="light"] .form-field select:focus,
html[data-theme="light"] .form-field textarea:focus,
html[data-theme="light"] .search-form input:focus { border-color: #468B31; outline-color: rgba(246, 170, 21, .25); }
html[data-theme="light"] .filter-row .chip:hover,
html[data-theme="light"] .filter-row .chip.active,
html[data-theme="light"] .presets button.active,
html[data-theme="dark"] .filter-row .chip:hover,
html[data-theme="dark"] .filter-row .chip.active,
html[data-theme="dark"] .presets button.active { color: #fff; border-color: #468B31; background: #468B31; }
html[data-theme="dark"] .connect-section { background: radial-gradient(ellipse at 8% 32%, rgba(70, 139, 49, .15), transparent 38%), linear-gradient(140deg, #17271c, #1b3021 56%, #19291f); }
html[data-theme="dark"] .connect-section::before { border-color: rgba(166, 204, 147, .15); box-shadow: 0 0 0 32px rgba(70, 139, 49, .04), 0 0 0 70px rgba(246, 170, 21, .025); }
html[data-theme="dark"] .connect-section .connect-copy h2 { color: #f1f4ed; }
html[data-theme="dark"] .connect-section .connect-copy h2 em { color: #9bd485; }
html[data-theme="dark"] .connect-section .connect-copy > p,
html[data-theme="dark"] .connect-family-copy > p { color: #c0cbb9; }
html[data-theme="dark"] .connect-section .connect-copy > .eyebrow,
html[data-theme="dark"] .connect-family-label { color: var(--brand-orange); }
html[data-theme="dark"] .connect-section .connect-family-card { border-color: var(--line); background: linear-gradient(145deg, #203324, #1b2b20); }
html[data-theme="dark"] .connect-section .cta-band { border-color: rgba(166, 204, 147, .24); background: radial-gradient(circle at 88% 0%, rgba(246, 170, 21, .12), transparent 33%), linear-gradient(115deg, #24452a, #315d32 62%, #24472b); }
html[data-theme="dark"] .connect-family-copy h3 { color: #f1f4ed; }
html[data-theme="dark"] .connect-family-icon { border-color: var(--line); background: rgba(70, 139, 49, .16); color: #9bd485; }
html[data-theme="dark"] .connect-family-copy .text-link { color: #9bd485; }
html[data-theme] .floating-wa { color: #263020; border-color: #e29a08; background: #F6AA15; box-shadow: 0 12px 35px rgba(173, 112, 0, .2); }
html[data-theme] .floating-wa:hover { background: #e99d08; }

@media (max-width: 960px) {
	html[data-theme="light"] .nav,
	html[data-theme="light"] .menu-list,
	html[data-theme="light"] .primary-navigation { border-color: #e1e8dd; background: rgba(255, 255, 255, .99); box-shadow: 0 22px 55px rgba(48, 79, 38, .13); }
	html[data-theme="dark"] .nav,
	html[data-theme="dark"] .menu-list,
	html[data-theme="dark"] .primary-navigation { border-color: var(--line); background: rgba(23, 39, 27, .99); }
}
