/*
Theme Name: Smiling Tree
Theme URI: https://www.smilingtree.in
Author: Smiling Tree Foundation
Description: A calm, green editorial theme for the Smiling Tree NGO. Magazine-style home page with featured stories and topic rows, animated impact counters, call-to-action bands, a CSR partnership page and a contact page with built-in enquiry forms and an Enquiries inbox, plus a journal built for hundreds of articles: topic chips with counts, search, numbered pagination, related stories and reading time.
Version: 1.1.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smilingtree
Tags: blog, news, one-column, two-columns, three-columns, custom-logo, custom-menu, featured-images, editor-style, threaded-comments, translation-ready, wide-blocks
*/

/* Layout: an airy editorial magazine. Mist-green ground, deep forest bands for counters,
   CTA and footer; Young Serif headlines over Figtree text, mono for labels and dates. */
:root {
	--mist: #EDF3EC;
	--paper: #FBFDF9;
	--forest: #1E3A2A;
	--deep: #183323;
	--leaf: #3D7A4E;
	--leaf-dark: #2F6340;
	--sprout: #A7C97B;
	--tint: #DFEBD9;
	--bark: #7A6A55;
	--ink-soft: #4E6455;
	--line: #CFDCCB;
	--on-deep: #E8F2E2;
	--danger: #A4473B;
	--focus: #2F6C9A;

	--f-display: "Young Serif", Georgia, "Times New Roman", serif;
	--f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

	--r: 16px;
	--r-sm: 10px;
	--wrap: 1200px;
	--narrow: 760px;
	--gutter: max(20px, 4vw);
	--shadow: 0 1px 2px rgba(30, 58, 42, .05), 0 12px 32px -12px rgba(30, 58, 42, .18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--mist);
	color: var(--forest);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 400; line-height: 1.16; margin: 0; text-wrap: balance; color: var(--forest); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sprout); color: var(--forest); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bark); }
.eyebrow-light { color: var(--sprout); }
.small { font-size: 14px; color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 999px; padding: 13px 24px;
	font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-primary { background: var(--leaf); color: var(--paper); }
.btn-primary:hover { background: var(--leaf-dark); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--leaf); }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: var(--sprout); color: var(--forest); }
.btn-outline-light { background: transparent; color: var(--on-deep); box-shadow: inset 0 0 0 1.5px rgba(232, 242, 226, .45); }
.btn-outline-light:hover { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--on-deep); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--leaf); }
.text-link .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 120; z-index: 50;
	background: var(--deep); color: var(--on-deep); 
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	
}
.admin-bar .site-header { top: 42px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); flex: none; }
.brand-mark, .brand-logo { width: 64px; height: 64px; }
.brand-logo { object-fit: contain; width: auto; max-height: 44px; }
.brand-name { font-family: var(--f-display); font-size: 23px; line-height: 1; }
.nav-panel { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--on-deep); font-weight: 500; font-size: 15.5px; }
.primary-nav a:hover { color: var(--forest); background: var(--tint); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current_page_parent > a, .primary-nav .current-menu-ancestor > a { color: var(--forest); background: var(--tint); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { border-radius: 8px; }
.header-search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
.header-search input { border: 0; background: transparent; width: 150px; padding: 7px 0; outline: none; font-size: 14.5px; }
.header-search button { border: 0; background: none; color: var(--ink-soft); cursor: pointer; padding: 6px; display: grid; place-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--forest); border-radius: 2px; content: ""; transition: .2s ease; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { top: -6px; left: 0; right: 0; }
.nav-toggle .bars::after { top: 6px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.header-search { display: none; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav-panel { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px var(--gutter) 24px; background: var(--mist); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
	.nav-panel.open { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav a { padding: 12px 14px; font-size: 17px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
	.header-search { display: flex; }
	.header-search input { width: 100%; }
	.header-cta { align-self: flex-start; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: 32px 72px; }
.section-tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head > div { display: grid; gap: 8px; }
.section-title { font-size: clamp(30px, 4vw, 44px); }
.section-note { color: var(--ink-soft); max-width: 46ch; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -380px; top: -420px; border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 34px, rgba(61, 122, 78, .07) 34px 36px);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-title { font-size: clamp(42px, 6.2vw, 76px); letter-spacing: -.012em; line-height: 1.04; }
.hero-title em { font-style: normal; color: var(--leaf); position: relative; white-space: nowrap; }
.hero-title em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .14em; border-radius: 99px; background: var(--sprout); opacity: .7; z-index: -1; }
.lede { font-size: 19.5px; color: var(--ink-soft); max-width: 50ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-lead { display: grid; gap: 12px; min-width: 0; }
.lead-label { padding-left: 4px; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; position: relative; }
.card-media { display: block; border-radius: var(--r); overflow: hidden; background: var(--tint); aspect-ratio: 16 / 10; max-width: 100%; }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.035); }
.card-body { display: grid; gap: 9px; min-width: 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--bark); }
.card-meta > span + span { padding-left: 12px; border-left: 1px solid var(--line); }
.cat { display: inline-block; text-decoration: none; background: var(--tint); color: var(--leaf-dark); padding: 3px 10px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.cat:hover { background: var(--sprout); color: var(--forest); }
.section-tint .cat { background: var(--paper); }
.card-title { font-size: 23px; }
.card-title a { color: var(--forest); text-decoration: none; background-image: linear-gradient(var(--sprout), var(--sprout)); background-size: 0 .12em; background-position: 0 92%; background-repeat: no-repeat; transition: background-size .35s ease; }
.card:hover .card-title a { background-size: 100% .12em; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card .cat, .card .text-link { position: relative; z-index: 1; }
.card-excerpt { color: var(--ink-soft); font-size: 16px; }

.card--feature { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: 12px; box-shadow: var(--shadow); gap: 0; }
.card--feature .card-media { aspect-ratio: 16 / 9; border-radius: var(--r); }
.card--feature .card-body { padding: 22px 14px 14px; gap: 12px; }
.card--feature .card-title { font-size: clamp(26px, 2.8vw, 34px); }

.card--row { flex-direction: row; gap: 18px; align-items: center; padding-block: 18px; border-top: 1px solid var(--line); }
.card--row:first-child { border-top: 0; padding-top: 0; }
.card--row .card-media { flex: 0 0 34%; max-width: 190px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.card--row .card-title { font-size: 20px; }
.card--row .card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }

.latest-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.latest-main .card-title { font-size: clamp(26px, 2.6vw, 32px); }
.latest-main .card-media { aspect-ratio: 4 / 3; }
.latest-list { display: flex; flex-direction: column; min-width: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }

/* Topic chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 15px; transition: .15s ease; }
.chip span { font-family: var(--f-mono); font-size: 11.5px; color: var(--bark); }
.chip:hover { border-color: var(--leaf); color: var(--forest); }
.chip[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.chip[aria-current="page"] span { color: var(--sprout); }

/* ---------- Stats ---------- */
.stats { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(167, 201, 123, .08) 22px 23px); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: clamp(40px, 5vw, 64px); position: relative; z-index: 1; }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-1 { grid-template-columns: 1fr; }
.stat { display: grid; gap: 6px; padding-left: 20px; border-left: 1px solid rgba(232, 242, 226, .18); }
.stat-num { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 54px); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.stat-num .suffix { color: var(--sprout); margin-left: 2px; }
.stat-label { font-size: 15px; opacity: .82; max-width: 26ch; }

/* ---------- Programmes ---------- */
.programmes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.programme { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.programme:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prog-icon { width: 52px; height: 52px; margin-bottom: 6px; }
.programme h3 { font-size: 24px; }
.programme p { color: var(--ink-soft); font-size: 16px; }
.programme .text-link { margin-top: auto; padding-top: 6px; }

.topic-row + .topic-row { padding-top: 0; }
.topic-row + .topic-row .wrap { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--on-deep); overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center; padding-block: clamp(56px, 7vw, 88px); position: relative; }
.cta-rings { position: absolute; width: 440px; height: 440px; right: -120px; top: 50%; transform: translateY(-50%); color: var(--sprout); pointer-events: none; }
.cta-copy { display: grid; gap: 14px; position: relative; }
.cta-copy h2 { color: var(--paper); font-size: clamp(30px, 4vw, 46px); }
.cta-copy p { max-width: 56ch; opacity: .88; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-photo { border-radius: 240px 240px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; background: var(--tint); }
.founder-photo img, .founder-photo svg { width: 100%; height: 100%; object-fit: cover; }
.founder-copy { display: grid; gap: 16px; max-width: 60ch; }
.founder-role { color: var(--bark); font-size: 17px; }
.founder-quote { margin: 8px 0; padding-left: 22px; border-left: 3px solid var(--sprout); font-family: var(--f-display); font-size: 22px; line-height: 1.4; color: var(--leaf); }
.founder-copy .btn { justify-self: start; }

/* ---------- Page hero & listing ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--tint), var(--mist)); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.page-hero .wrap > * { min-width: 0; }
.page-title { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.01em; }
.page-lede { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--bark); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--leaf); text-decoration: underline; }
.listing-tools { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 10px; }
.result-count { font-family: var(--f-mono); font-size: 13px; color: var(--bark); }
.page-hero .chips { margin-top: 6px; }
.search-inline { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 16px; width: min(100%, 460px); }
.search-inline .icon { color: var(--bark); flex: none; }
.search-inline input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 6px 0; }
.listing-feature { margin-bottom: 56px; }
.listing-feature .card--feature { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
.listing-feature .card--feature .card-body { padding: 18px 28px; }

.pagination { margin-top: 64px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); color: var(--forest); font-weight: 600; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--leaf); }
.pagination .current { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.pagination .dots { background: transparent; border: 0; }

.empty-state { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 48px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; color: var(--ink-soft); background: var(--paper); }
.empty-state svg { width: 100%; max-width: 360px; border-radius: var(--r-sm); }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--leaf); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.article-head { padding-block: clamp(32px, 5vw, 56px) 32px; }
.article-head .wrap { display: grid; gap: 16px; }
.cat-lg { justify-self: start; }
.article-title { font-size: clamp(36px, 5.2vw, 60px); letter-spacing: -.01em; line-height: 1.08; }
.article-dek { font-size: 20px; color: var(--ink-soft); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.byline img { border-radius: 50%; }
.byline-name { display: block; font-weight: 600; color: var(--forest); text-decoration: none; }
.byline-meta { font-size: 14.5px; color: var(--ink-soft); }
.article-media { margin: 0 auto 40px; }
.article-media img, .article-media > svg { width: 100%; border-radius: calc(var(--r) + 4px); aspect-ratio: 16 / 9; object-fit: cover; }
.article-media figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

.prose { font-size: 18.5px; line-height: 1.8; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: 23px; margin-top: 1.6em; }
.prose h4 { font-size: 19px; margin-top: 1.4em; font-family: var(--f-body); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--leaf); }
.prose blockquote, .prose .wp-block-quote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--sprout); font-family: var(--f-display); font-size: 24px; line-height: 1.45; color: var(--leaf); }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--f-body); font-size: 15px; font-style: normal; color: var(--bark); }
.prose .wp-block-pullquote { border: 0; border-block: 2px solid var(--sprout); padding: 28px 0; text-align: center; }
.prose img, .prose .wp-block-image img { border-radius: var(--r-sm); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; text-align: left; }
.prose a { font-weight: 500; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose pre { background: var(--forest); color: var(--on-deep); padding: 18px; border-radius: var(--r-sm); overflow-x: auto; font-size: 14px; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--tint); padding: 2px 6px; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose .alignwide { margin-inline: calc(50% - min(48vw, 600px)); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.prose .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-button__link { background: var(--leaf); border-radius: 999px; padding: 12px 22px; text-decoration: none; color: var(--paper); }
.prose::after { content: ""; display: table; clear: both; }
.prose-wrap { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.article-foot { display: grid; gap: 32px; margin-top: 48px; padding-bottom: clamp(48px, 7vw, 88px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 14px; text-decoration: none; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.tag:hover { color: var(--leaf); border-color: var(--leaf); }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 20px; border-block: 1px solid var(--line); }
.share .eyebrow { margin-right: 6px; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--forest); transition: .15s ease; }
.share-btn:hover { background: var(--leaf); border-color: var(--leaf); color: var(--paper); }
.drive-box { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: start; background: var(--tint); border-radius: var(--r); padding: 28px; }
.drive-box h2 { font-size: 24px; margin-bottom: 6px; }
.drive-box p { color: var(--ink-soft); }
.drive-box-actions { grid-column: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.author-box img { border-radius: 50%; }
.author-box > div { display: grid; gap: 8px; }
.author-box h2 { font-size: 24px; }
.author-box p { color: var(--ink-soft); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: grid; gap: 6px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: var(--forest); background: var(--paper); transition: .15s ease; }
.post-nav a:hover { border-color: var(--leaf); }
.post-nav b { font-family: var(--f-display); font-weight: 400; font-size: 19px; line-height: 1.3; }
.post-nav .next { text-align: right; grid-column: 2; }
.widgets-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.widget-title { font-size: 22px; margin-bottom: 12px; }

/* Comments */
.comments-section { padding-top: 0; }
.comments-title, .comment-reply-title { font-size: 28px; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 20px; }
.comment-list .children { list-style: none; padding-left: 28px; margin-top: 20px; display: grid; gap: 20px; }
.comment-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--bark); text-decoration: none; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }

/* ---------- Forms ---------- */
.st-form, .comment-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--forest); padding: 0; }
.req { color: var(--danger); }
.field input, .field select, .field textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--mist); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus, .comment-form textarea:focus, .comment-form input:focus { border-color: var(--leaf); background: var(--paper); outline: none; box-shadow: 0 0 0 3px rgba(61, 122, 78, .15); }
.field textarea { min-height: 130px; resize: vertical; }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--mist); cursor: pointer; font-size: 15px; }
.check input { accent-color: var(--leaf); width: 18px; height: 18px; flex: none; }
.check:has(input:checked) { border-color: var(--leaf); background: var(--tint); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); font-size: 15.5px; }
.notice.ok { background: var(--tint); border: 1px solid var(--sprout); }
.notice.ok .icon { color: var(--leaf); flex: none; margin-top: 2px; }
.notice.err { background: #FBEDEA; border: 1px solid #E7B9B1; color: #6E2A20; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); min-width: 0; }
.form-title { font-size: 28px; margin-bottom: 22px; }

/* ---------- CSR ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.two-col > * { min-width: 0; }
.form-layout { grid-template-columns: .9fr 1.1fr; }
.form-layout > div:first-child { display: grid; gap: 14px; align-content: start; }
.page-hero .csr-hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: end; }
.csr-hero-grid > div { display: grid; gap: 14px; }
.schedule-card { background: var(--forest); color: var(--on-deep); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.schedule-card .eyebrow { color: var(--sprout); }
.schedule-item { font-family: var(--f-display); font-size: 20px; line-height: 1.45; color: var(--paper); }
.schedule-item span { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sprout); margin-bottom: 8px; }
.schedule-card .small { color: var(--on-deep); opacity: .8; }
.programmes-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-bottom: 26px; position: relative; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--leaf); color: var(--leaf); font-family: var(--f-mono); font-weight: 500; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: 4px; width: 1.5px; background: var(--line); }
.steps b { font-size: 18px; padding-top: 9px; }
.steps span { color: var(--ink-soft); }
.gets-card { background: var(--paper); border-radius: var(--r); padding: 32px; border: 1px solid var(--line); display: grid; gap: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 17px; }
.checklist .icon { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--tint); color: var(--leaf); }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq h3 { font-size: 22px; margin-bottom: 6px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; transition: border-color .15s ease; }
.faq details[open] { border-color: var(--leaf); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 20px; color: var(--leaf); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-info { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.info-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--leaf); display: grid; place-items: center; }
.info-card a, .info-card p { color: var(--forest); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--leaf); }
.info-note { margin-top: 10px; padding: 24px; border-radius: var(--r); background: var(--tint); display: grid; gap: 8px; }
.info-note h2 { font-size: 22px; }
.info-note p { color: var(--ink-soft); }

/* ---------- 404 ---------- */
.not-found .wrap { gap: 20px; }
.not-found .search-inline { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 28px; }
.brand-light { color: var(--paper); margin-bottom: 16px; }
.footer-about p { opacity: .8; font-size: 15.5px; max-width: 44ch; }
.footer-title { font-size: 20px; color: var(--paper); margin-bottom: 16px; }
.footer-links, .site-footer .menu, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-deep); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--sprout); }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15.5px; }
.footer-contact .icon { color: var(--sprout); margin-top: 3px; }
.footer-contact span { opacity: .85; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(232, 242, 226, .2); opacity: 1; }
.socials a:hover { background: var(--sprout); color: var(--forest); border-color: var(--sprout); }
.footer-base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(232, 242, 226, .15); padding-top: 22px; margin-top: 24px; font-size: 13.5px; opacity: .7; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- WordPress core ---------- */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--ink-soft); }
.sticky, .bypostauthor { /* styled via cards */ }
.alignnone { margin: 0; }
.page-links { margin-top: 24px; display: flex; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.programmes, .programmes-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.hero-grid, .latest-grid, .founder-grid, .two-col, .form-layout, .page-hero .csr-hero-grid { grid-template-columns: 1fr !important; }
	.listing-feature .card--feature { grid-template-columns: 1fr; }
	.listing-feature .card--feature .card-body { padding: 22px 14px 14px; }
	.cta-inner { grid-template-columns: 1fr; }
	.founder-photo { max-width: 360px; }
}
@media (max-width: 600px) {
	body { font-size: 16.5px; }
	.card-grid, .programmes, .programmes-6 { grid-template-columns: 1fr; }
	.form-grid, .checks { grid-template-columns: 1fr; }
	.card--row .card-media { flex-basis: 38%; }
	.card--row .card-excerpt { display: none; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: auto; text-align: left; }
	.drive-box, .author-box { grid-template-columns: 1fr; }
	.drive-box-actions { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; }
	.stat { padding-left: 14px; }
	.prose { font-size: 17.5px; }
	.prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .share, .drive-box, .post-nav, .cta-band, .wa-float, .read-progress { display: none !important; }
}

/* =========================================================
   Home slider
   ========================================================= */
.slider { position: relative; background: var(--deep); color: var(--paper); overflow: hidden; isolation: isolate; }
.slides { position: relative; height: clamp(520px, 76vh, 740px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media img, .slide-media svg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 8s ease-out; }
.slide.is-active .slide-media img, .slide.is-active .slide-media svg { transform: scale(1.1); }
.slide-shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(14, 32, 21, .88) 0%, rgba(14, 32, 21, .62) 42%, rgba(14, 32, 21, .12) 78%),
		linear-gradient(0deg, rgba(14, 32, 21, .7) 0%, rgba(14, 32, 21, 0) 40%);
}
.slide-content { position: relative; height: 100%; display: flex; align-items: center; padding-bottom: 96px; }
.slide-copy { max-width: 640px; display: grid; gap: 18px; }
.slide-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-copy > *:nth-child(3) { transition-delay: .22s; }
.slide.is-active .slide-copy > *:nth-child(4) { transition-delay: .3s; }
.slide.is-active .slide-copy > *:nth-child(5) { transition-delay: .38s; }
.slide-eyebrow { justify-self: start; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); background: var(--sprout); padding: 5px 12px; border-radius: 999px; }
.slide-title { color: var(--paper); font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.012em; }
.slide--story .slide-title { font-size: clamp(34px, 4.8vw, 60px); }
.slide-title a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--sprout), var(--sprout)); background-size: 0 .08em; background-position: 0 95%; background-repeat: no-repeat; transition: background-size .4s ease; }
.slide-title a:hover { background-size: 100% .08em; color: var(--paper); }
.slide-title em { font-style: normal; color: var(--sprout); }
.slide-text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(251, 253, 249, .88); max-width: 52ch; }
.slide-meta { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: rgba(251, 253, 249, .7); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 28px; }
.slider-ui-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.slider-dots { display: flex; gap: 14px; flex: 1; min-width: 0; max-width: 820px; }
.slider-dot { flex: 1 1 0; min-width: 0; background: none; border: 0; padding: 8px 0 0; color: rgba(251, 253, 249, .6); text-align: left; cursor: pointer; display: grid; gap: 10px; transition: color .2s ease; }
.slider-dot:hover, .slider-dot[aria-current="true"] { color: var(--paper); }
.dot-label { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.3; min-width: 0; }
.dot-num { font-family: var(--f-mono); font-size: 12px; color: var(--sprout); flex: none; }
.dot-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dot-bar { display: block; height: 2px; background: rgba(251, 253, 249, .22); border-radius: 2px; overflow: hidden; }
.dot-bar span { display: block; height: 100%; width: 100%; background: var(--sprout); transform-origin: 0 50%; transform: scaleX(0); }
.slider-dot.is-done .dot-bar span { transform: scaleX(1); }
.slider-dot[aria-current="true"] .dot-bar span { animation: st-progress var(--dur, 6000ms) linear forwards; }
.slider.is-paused .slider-dot[aria-current="true"] .dot-bar span { animation-play-state: paused; }
.slider[data-autoplay="0"] .slider-dot[aria-current="true"] .dot-bar span, .slider.is-stopped .slider-dot[aria-current="true"] .dot-bar span { animation: none; transform: scaleX(1); }
@keyframes st-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 10px; flex: none; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(251, 253, 249, .35); background: rgba(14, 32, 21, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: .18s ease; }
.slider-btn:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-pause .i-play { display: none; }
.slider.is-stopped .slider-pause .i-play { display: block; }
.slider.is-stopped .slider-pause .i-pause { display: none; }

/* =========================================================
   Journal tiles (home)
   ========================================================= */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 18px; }
.tiles-7 { grid-template-areas: "a a b c" "a a b d" "e f g g"; }
.tiles-7 .tile-1 { grid-area: a; } .tiles-7 .tile-2 { grid-area: b; } .tiles-7 .tile-3 { grid-area: c; }
.tiles-7 .tile-4 { grid-area: d; } .tiles-7 .tile-5 { grid-area: e; } .tiles-7 .tile-6 { grid-area: f; } .tiles-7 .tile-7 { grid-area: g; }
.tiles:not(.tiles-7) .tile-1 { grid-column: span 2; grid-row: span 2; }

.tile { position: relative; border-radius: 22px; overflow: hidden; background: var(--forest); color: var(--paper); isolation: isolate; box-shadow: 0 1px 2px rgba(30, 58, 42, .06); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.tile:hover, .tile:focus-within { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(30, 58, 42, .45); }
.tile-media { position: absolute; inset: 0; z-index: -2; }
.tile-media img, .tile-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-media img, .tile:hover .tile-media svg { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 32, 21, 0) 25%, rgba(14, 32, 21, .55) 58%, rgba(14, 32, 21, .92) 100%); transition: opacity .35s ease; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(251, 253, 249, .12); pointer-events: none; }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; display: grid; gap: 8px; }
.tile-cat { justify-self: start; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: rgba(251, 253, 249, .9); padding: 3px 10px; border-radius: 999px; }
.tile-title { color: var(--paper); font-size: 20px; line-height: 1.22; }
.tile-title a { color: inherit; text-decoration: none; }
.tile-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile-title a:focus-visible { outline: none; }
.tile:has(.tile-title a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.tile-more > div { overflow: hidden; }
.tile:hover .tile-more, .tile:focus-within .tile-more { grid-template-rows: 1fr; }
.tile-excerpt { font-size: 14.5px; line-height: 1.5; color: rgba(251, 253, 249, .85); }
.tile-meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(251, 253, 249, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-meta span { margin-inline: 6px; }
.tiles-7 .tile-3 .tile-more, .tiles-7 .tile-4 .tile-more, .tiles-7 .tile-5 .tile-more, .tiles-7 .tile-6 .tile-more { display: none; }
.tile-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-arrow { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--forest); display: grid; place-items: center; opacity: 0; transform: translate(-6px, 6px) rotate(-45deg); transition: .35s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-arrow, .tile:focus-within .tile-arrow { opacity: 1; transform: rotate(-45deg); }
.tile-1 .tile-body { padding: 30px 32px; gap: 12px; }
.tile-1 .tile-title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.tile-1 .tile-more { grid-template-rows: 1fr; }
.tile-1 .tile-excerpt { font-size: 16.5px; max-width: 46ch; }
.tile-2 .tile-title, .tile-7 .tile-title { font-size: 24px; }

@media (max-width: 1024px) {
	.slides { height: clamp(520px, 70vh, 640px); }
	.dot-title { display: none; }
	.slider-dots { max-width: 360px; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
	.tiles-7 { grid-template-areas: "a a" "a a" "b c" "b d" "e f" "g g"; }
}
@media (max-width: 600px) {
	.slides { height: 600px; }
	.slide-shade { background: linear-gradient(0deg, rgba(14, 32, 21, .94) 0%, rgba(14, 32, 21, .7) 55%, rgba(14, 32, 21, .25) 100%); }
	.slide-content { align-items: flex-end; padding-bottom: 104px; }
	.slide-copy { gap: 14px; }
	.slide-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
	.slider-ui { padding-bottom: 22px; }
	.slider-dots { gap: 8px; }
	.slider-btn { width: 42px; height: 42px; }
	.slider-pause { display: none; }
	.tiles, .tiles-7 { grid-template-columns: 1fr; grid-template-areas: none; grid-auto-rows: minmax(250px, auto); gap: 14px; }
	.tiles .tile { grid-area: auto !important; grid-column: auto !important; grid-row: auto !important; }
	.tiles .tile-1 { grid-row: span 1; min-height: 360px; }
	.tiles-7 .tile-1, .tiles .tile-1 { height: auto; }
	.tile-more { grid-template-rows: 1fr; }
	.tiles-7 .tile .tile-more { display: grid; }
	.tile-excerpt { -webkit-line-clamp: 2; }
	.tile-1 .tile-body { padding: 22px; }
}
@media (hover: none) {
	.tile-arrow { opacity: 1; transform: rotate(-45deg); width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.slide-media img, .slide-media svg, .slide.is-active .slide-media img, .slide.is-active .slide-media svg { transform: none; }
	.slide-copy > * { opacity: 1; transform: none; }
}

/* Static site */
.msg-copy { white-space: pre-wrap; font-family: var(--f-mono); font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 10px 0; max-height: 260px; overflow: auto; }
