/*
Theme Name: iSpace
Theme URI: https://ispaceinc.net
Author: VG Magics – Digital Design Co.
Description: Custom theme for iSpace, Inc. — education technology company in Princeton, NJ. Activating the theme creates all site pages, sets the homepage and builds the menus automatically.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary – built for iSpace, Inc.
Text Domain: ispace
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0b1f3a;
	--navy-2: #12305a;
	--blue: #1d5fd6;
	--blue-600: #174fb5;
	--sky: #1aa7e6;
	--sky-50: #eaf6fd;
	--orange: #f28a1c;
	--orange-600: #d9740a;
	--red: #d7262e;
	--ink: #13233a;
	--body: #3d4d63;
	--muted: #66768c;
	--line: #e3e9f1;
	--paper: #f5f8fc;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
	--shadow: 0 10px 30px -10px rgba(11, 31, 58, .18);
	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 95, 214, .6); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(242, 138, 28, .7); }
.btn-accent:hover { background: var(--orange-600); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-family: var(--font-head); color: var(--blue); }
.link-arrow .icon { transition: transform .15s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Eyebrows & heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215, 38, 46, .12); }
.eyebrow-light { color: #9fd8ff; }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.18rem; color: var(--muted); }
.lead-sm { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.section { padding: 96px 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy); color: #c6d3e6; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #a8b8d0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d6ea; font-size: .86rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #c9d6ea; }
.topbar a.topbar-item:hover { color: #fff; }
.topbar-right { display: flex; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 62px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-list a { display: block; padding: 10px 12px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: 8px; position: relative; }
.nav-list a:hover { color: var(--blue); background: var(--sky-50); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--blue); }
.nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange); border-radius: 2px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; background: radial-gradient(1100px 500px at 85% 0%, var(--sky-50), transparent 60%), linear-gradient(180deg, #fff, var(--paper)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hl { background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--orange); }
.hero-media { position: relative; padding: 0 0 40px 40px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 28px 28px 28px 120px; box-shadow: var(--shadow); }
.hero-photo-sm { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero-badge { position: absolute; right: -10px; bottom: 70px; display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.hero-badge small { color: var(--muted); font-size: .82rem; }
.hero-badge-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff3e6; color: var(--orange); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 24px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.trust-item span { font-size: .92rem; color: var(--muted); }

/* ---------- Pillars & cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { position: relative; padding: 36px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.pillar::before { content: ""; position: absolute; left: 32px; top: 0; width: 48px; height: 4px; border-radius: 0 0 4px 4px; background: var(--orange); }
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pillar-icon, .card-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sky-50); color: var(--blue); margin-bottom: 20px; }
.pillar h3 { font-size: 1.45rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: box-shadow .2s, transform .2s, border-color .2s; color: var(--body); display: flex; flex-direction: column; }
.card p { flex: 0 1 auto; }
.card-link:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfe0f6; color: var(--body); }
.card-link .link-arrow { margin-top: auto; }
.card-link:nth-child(3n+2) .card-icon { background: #fff3e6; color: var(--orange-600); }
.card-link:nth-child(3n) .card-icon { background: #ecf0ff; color: #3d4fd1; }
.mini-list li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: .96rem; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

/* ---------- Split layouts ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-grid.reverse > :first-child { order: 2; }
.rounded-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 480px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.mosaic img:first-child { grid-row: span 2; border-radius: 18px 18px 18px 80px; }
.chip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 32px; }
.chip-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.chip-list .icon { color: var(--blue); }
.check-list { margin: 20px 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.check-list .icon { color: #fff; background: var(--sky); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.check-list.light li { color: #e6eef9; }
.check-list.light .icon { background: var(--orange); }

/* ---------- Dark trust cards ---------- */
.section-dark::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 167, 230, .28), transparent 65%); }
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.trust-card { padding: 30px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.trust-card .icon { color: var(--orange); margin-bottom: 18px; }
.trust-card p { margin: 0; font-size: .97rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.quote-mark { color: var(--orange); }
.quote-mark .icon { fill: currentColor; stroke: none; opacity: .9; }
.quote-card blockquote { margin: 0; flex: 1; }
.quote-card blockquote p { color: var(--ink); font-size: 1.04rem; margin: 0; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-card figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.quote-card figcaption small { color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-family: var(--font-head); font-weight: 700; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, #1a47a8 55%, var(--navy) 100%); color: #dbe7fa; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #c9d9f4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 96px 0 88px; background: var(--navy); color: #c6d3e6; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 58, .97) 0%, rgba(11, 31, 58, .85) 45%, rgba(18, 48, 90, .55) 100%); }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #b9c9e0; max-width: 680px; margin: 0; }
.crumbs { font-size: .88rem; color: #8ea3c2; margin-bottom: 26px; }
.crumbs a { color: #b9cbe6; }
.crumbs a:hover { color: #fff; }

/* ---------- Sub navigation ---------- */
.subnav { position: sticky; top: 84px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.subnav a:hover { background: var(--sky-50); color: var(--blue); }
.product { scroll-margin-top: 150px; }

/* ---------- Product visuals ---------- */
.feature-panel { border-radius: var(--radius-lg); padding: 44px; color: #fff; }
.feature-blue { background: linear-gradient(140deg, var(--blue), var(--sky)); box-shadow: var(--shadow); }
.feature-panel h3 { color: #fff; font-size: 1.5rem; margin-top: 18px; }
.feature-panel li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .25); font-weight: 500; }
.logo-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 36px; box-shadow: var(--shadow-sm); }
.img-pair { display: grid; gap: 16px; }
.img-pair img:last-child { aspect-ratio: 16 / 9; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.data-visual { border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); padding: 36px; position: relative; }
.dv-bars { display: flex; align-items: flex-end; gap: 14px; height: 240px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.dv-bars span { flex: 1; height: var(--h); border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.dv-bars span:nth-child(6) { background: linear-gradient(180deg, #ffb25e, var(--orange)); }
.dv-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: #dbe6f6; font-weight: 600; font-size: .92rem; }
.dv-labels span { display: inline-flex; gap: 8px; align-items: center; }
.dv-labels .icon { color: var(--orange); }

/* ---------- About ---------- */
.facts-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.timeline { position: relative; display: grid; gap: 0; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 144px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.tl-date { font-family: var(--font-head); font-weight: 700; color: var(--blue); padding-top: 2px; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; }

/* ---------- Discovery Spot ---------- */
.partner-logos { background: var(--paper); border-radius: var(--radius-lg); padding: 48px; text-align: center; border: 1px solid var(--line); }
.partner-logos img { margin: 0 auto 16px; max-width: 280px; }
.partner-logos p { margin: 0; color: var(--muted); font-weight: 500; }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.activity:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.activity img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.activity-body { padding: 24px 26px 28px; position: relative; }
.activity-icon { position: absolute; top: -22px; right: 22px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.activity p { margin: 0; font-size: .97rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; }
.team-card img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--sky-50); }
.team-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.08rem; }
.team-card span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- Camps ---------- */
.camp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.camp-card { border-radius: var(--radius-lg); padding: 34px 30px; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.camp-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.camp-card:nth-child(2)::after { background: linear-gradient(90deg, var(--orange), #ffb25e); }
.camp-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--sky-50); color: var(--blue); margin-bottom: 20px; }
.camp-card:nth-child(2) .camp-icon { background: #fff3e6; color: var(--orange-600); }
.camp-card .check-list { margin-bottom: 0; }
.feature-list { display: grid; gap: 22px; margin-top: 24px; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feature-list li > span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.feature-list h3 { margin-bottom: 2px; font-size: 1.08rem; }
.feature-list p { margin: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: #fff; padding: 36px 32px; transition: background .2s; }
.service:hover { background: var(--paper); }
.service p { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.steps li > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 16px; }
.steps p { margin: 0; }

/* ---------- Careers ---------- */
.card-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.role-list { display: grid; gap: 14px; }
.role { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.role h3 { margin-bottom: 4px; }
.role p { margin: 0; }
.tag { flex-shrink: 0; font-size: .8rem; font-weight: 700; font-family: var(--font-head); padding: 6px 12px; border-radius: 999px; background: var(--sky-50); color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 26px; margin-top: 28px; }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.contact-list li > span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--blue); }
.contact-list h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-list p { margin: 0 0 4px; color: var(--ink); }
.quick-links { margin-top: 36px; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.quick-links h3 { font-size: 1rem; margin-bottom: 10px; }
.quick-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-family: var(--font-head); font-size: .95rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.form-note { color: var(--muted); font-size: .92rem; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); width: 100%; transition: border-color .15s, background .15s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 95, 214, .12); }
.contact-form button { justify-self: start; }
.consent { font-size: .85rem; color: var(--muted); margin: 0; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #e8f7ee; color: #17653a; }
.alert-error { background: #fdeceb; color: #9b1c1c; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

/* ---------- Prose & posts ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.post-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-date { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.notfound img { margin: 0 auto 20px; }
.notfound-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #081830; color: #9fb0c8; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { width: 120px; background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 20px; }
.footer-since { color: #fff; font-weight: 600; font-family: var(--font-head); }
.footer-title { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a, .footer-social { color: #b9c8dc; }
.footer-links a:hover, .footer-contact a:hover, .footer-social:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact .icon { color: var(--orange); margin-top: 3px; }
.footer-social { display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9c8dc; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	* { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav-list a { padding: 10px 8px; font-size: .9rem; }
	.site-nav { gap: 14px; }
	.trust-cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
	.card-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - 84px); overflow-y: auto; }
	.site-nav.open { opacity: 1; transform: none; visibility: visible; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-list .current-menu-item > a::after { display: none; }
	.nav-cta { justify-content: center; margin-top: 8px; }
	.hero-grid, .split-grid, .cta-inner, .contact-grid { grid-template-columns: 1fr; }
	.split-grid.reverse > :first-child { order: 0; }
	.hero { padding: 48px 0 72px; }
	.hero-media { max-width: 620px; }
	.pillars, .card-grid, .quote-grid, .activity-grid, .camp-grid, .service-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.cta-actions { justify-content: flex-start; }
	.subnav { top: 84px; }
	.section { padding: 72px 0; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.topbar-inner > .topbar-item { display: none; }
	.topbar-inner { justify-content: center; }
	.header-inner { height: 72px; }
	.brand img { height: 50px; }
	.site-nav { inset: 72px 0 auto 0; max-height: calc(100vh - 72px); }
	.subnav { top: 72px; }
	.pillars, .card-grid, .quote-grid, .activity-grid, .camp-grid, .service-grid, .steps, .trust-cards, .team-grid, .form-row, .chip-list, .footer-grid { grid-template-columns: 1fr; }
	.card-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
	.hero-media { padding: 0 0 30px 24px; }
	.hero-badge { right: 0; bottom: 40px; padding: 10px 14px; }
	.mosaic { height: 340px; }
	.timeline::before { left: 7px; }
	.timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
	.timeline li::before { left: 0; }
	.facts div { grid-template-columns: 1fr; gap: 2px; }
	.role { flex-direction: column; align-items: flex-start; }
	.form-card, .feature-panel, .partner-logos, .facts-card { padding: 26px 20px; }
	.section { padding: 60px 0; }
	.page-hero { padding: 64px 0 56px; }
	.btn { padding: 13px 20px; }
}
