/*
Theme Name: StrataDigi
Theme URI: https://stratadigi.com/
Author: StrataDigi
Description: Fast, SEO-optimised agency theme for StrataDigi. Server-rendered pages, built-in schema markup, Open Graph tags, self-hosted fonts and no jQuery. On activation it creates the Home, Services, About, Blog, Contact, Privacy and Terms pages plus menus automatically.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
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: stratadigi
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready, dark
*/

/* Fonts: @font-face is printed in <head> by inc/setup.php (self-hosted, with CDN fallback). */

/* ---------- Tokens ---------- */
:root {
	--bg: #0f1729;
	--bg-alt: #141e33;
	--surface: #1d283a;
	--surface-2: #243247;
	--border: rgba(148, 163, 184, 0.16);
	--text: #ffffff;
	--muted: #a3b1c6;
	--accent: #00ffe6;
	--accent-2: #14b8a6;
	--accent-ink: #0f1729;
	--orange: #ff6a2b;
	--star: #ff7a1a;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	--glow: 0 0 40px -8px rgba(0, 255, 230, 0.45);
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--container: 1240px;
	--header-h: 80px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #7ffff2; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--accent); color: var(--accent-ink);
	border-radius: 8px; font-weight: 600;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; position: relative; }
.section--alt { background: rgba(29, 40, 58, 0.5); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.text-accent { color: var(--accent); }
.text-gradient {
	background: linear-gradient(90deg, var(--accent), #22d3ee);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
	border: 2px solid transparent; cursor: pointer; line-height: 1.2;
	transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon--move { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow); }
.btn--primary:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 0 55px -6px rgba(0, 255, 230, .6); }
.btn--ghost { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { color: var(--text); border-color: var(--accent); }
.btn--outline { color: var(--accent); border-color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: var(--accent-ink); }
.btn--sm { padding: 10px 20px; font-size: .9375rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(15, 23, 41, 0.95);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.brand:hover { color: var(--text); }
.brand__name span { color: var(--accent); }
.brand .custom-logo { max-height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { list-style: none; display: flex; gap: 32px; }
.main-nav li a { color: var(--text); font-weight: 500; font-size: .9375rem; position: relative; padding: 6px 0; }
.main-nav .btn { color: var(--accent-ink); }
.main-nav li a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-page-ancestor > a, .main-nav .current_page_parent > a { color: var(--accent); }
.nav-toggle {
	display: none; background: transparent; border: 1px solid var(--border); border-radius: 10px;
	width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }
.nav-open .nav-toggle .icon--menu { display: none; }

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg);
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 28px;
		border-bottom: 1px solid var(--border); transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.0625rem; }
	.main-nav .btn { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 120px; text-align: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.hero::before {
	content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -120px; top: 40%;
	background: radial-gradient(circle, rgba(0, 255, 230, .22), transparent 65%); filter: blur(10px);
	animation: float 12s ease-in-out infinite;
}
.hero::after {
	content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -220px; top: -80px;
	border: 1px solid rgba(0, 255, 230, .12); border-radius: 50%;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.hero__badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
	background: rgba(0, 255, 230, .08); border: 1px solid rgba(0, 255, 230, .25); color: var(--accent);
	font-size: .875rem; font-weight: 500; margin-bottom: 28px;
}
.hero__badge .icon { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); max-width: 900px; margin: 0 auto 24px; }
.hero__lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 40px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Page hero (inner pages) */
.page-hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 230, .14), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.25rem, 6vw, 4rem); margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: 1.1875rem; max-width: 720px; margin: 0 auto; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { padding: 64px 0; background: rgba(29, 40, 58, 0.5); border-block: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; list-style: none; }
.stat { text-align: center; }
.stat__icon {
	width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(0, 255, 230, .1); color: var(--accent);
}
.stat__icon .icon { width: 22px; height: 22px; }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.5rem); line-height: 1.1; display: block; }
.stat__label { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) { .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 520px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 32px; position: relative; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 255, 230, .35); box-shadow: var(--shadow); }
.card h3 { font-size: 1.375rem; margin-bottom: 12px; }
.card p { color: var(--muted); }
.card__icon {
	width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
	background: linear-gradient(135deg, rgba(0, 255, 230, .18), rgba(34, 211, 238, .06)); color: var(--accent);
	border: 1px solid rgba(0, 255, 230, .2);
}
.card__icon .icon { width: 26px; height: 26px; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 20px 0 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: #d6deea; font-size: .9375rem; }
.checklist .icon { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* Services CTA band */
.band {
	margin-top: 64px; padding: 48px; border-radius: var(--radius-lg); text-align: center;
	background: linear-gradient(135deg, rgba(255, 68, 0, .1), rgba(0, 255, 230, .1), rgba(0, 255, 255, .1));
	border: 1px solid var(--border);
}
.band h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.band p { color: var(--muted); max-width: 640px; margin: 0 auto 28px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; counter-reset: step; }
.step { text-align: center; padding: 8px 12px; position: relative; }
.step__num {
	width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px;
	font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--accent-ink);
	background: var(--accent); box-shadow: var(--glow);
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); }
@media (min-width: 861px) {
	.step:not(:last-child)::after {
		content: ""; position: absolute; top: 44px; left: calc(50% + 52px); width: calc(100% - 72px); height: 2px;
		background: linear-gradient(90deg, rgba(0, 255, 230, .5), transparent);
	}
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover .project__media img { transform: scale(1.05); }
.project__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 16px; }
.tag { font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(0, 255, 230, .1); color: var(--accent); }
.project__sub { color: var(--accent); font-weight: 500; font-size: .9375rem; margin: -6px 0 10px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); list-style: none; }
.metrics strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--text); }
.metrics span { font-size: .8125rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; margin: 0; }
.testimonial__stars { display: flex; gap: 3px; color: var(--star); margin-bottom: 18px; }
.testimonial__stars .icon { width: 18px; height: 18px; fill: currentColor; }
.testimonial__quote-mark { position: absolute; top: 26px; right: 28px; color: rgba(0, 255, 230, .25); }
.testimonial__quote-mark .icon { width: 40px; height: 40px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.0625rem; line-height: 1.7; color: #e3e9f2; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0, 255, 230, .4); }
.testimonial cite { font-style: normal; font-weight: 600; display: block; }
.testimonial small { color: var(--muted); font-size: .875rem; }

/* ---------- CTA ---------- */
.cta {
	text-align: center; padding: 104px 0; position: relative; overflow: hidden;
	background: linear-gradient(135deg, #0e3b43 0%, #0f1729 55%, #1b2233 100%);
}
.cta::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(0, 255, 230, .18), transparent 45%), radial-gradient(circle at 85% 90%, rgba(255, 106, 43, .12), transparent 45%);
}
.cta .container { position: relative; }
.cta h2 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
.cta p { color: #c8d3e2; font-size: 1.1875rem; max-width: 640px; margin: 0 auto 36px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 24px; }
.cta__note { font-size: .9375rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: 8px; }
.form label .req { color: var(--accent); }
.form input, .form textarea, .form select {
	width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
	color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 255, 230, .15); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.notice--ok { background: rgba(0, 255, 230, .1); border: 1px solid rgba(0, 255, 230, .4); color: var(--accent); }
.notice--err { background: rgba(255, 106, 43, .1); border: 1px solid rgba(255, 106, 43, .5); color: #ffb08c; }
.info-list { list-style: none; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .card__icon { width: 46px; height: 46px; margin: 0; flex: none; }
.info-list .card__icon .icon { width: 20px; height: 20px; }
.info-list strong { display: block; margin-bottom: 2px; }
.info-list a, .info-list span { color: var(--muted); }
.info-list a:hover { color: var(--accent); }
.stack { display: grid; gap: 24px; }
.card h2.h3 { font-size: 1.375rem; margin-bottom: 18px; }

/* ---------- Services page ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; padding: 44px; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-detail + .service-detail { margin-top: 28px; }
.service-detail__head { grid-column: 1 / -1; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.service-detail__head .card__icon { margin: 0; }
.service-detail__head h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin-bottom: 6px; }
.duration { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--accent); font-weight: 500; }
.duration .icon { width: 16px; height: 16px; }
.service-detail__lead { grid-column: 1 / -1; color: var(--muted); font-size: 1.0625rem; margin: 0; }
.service-detail h3 { font-size: 1.125rem; margin-bottom: 4px; }
.service-detail__actions { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 760px) { .service-detail { grid-template-columns: 1fr; padding: 28px; gap: 12px; } }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--accent); flex: none; }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- About ---------- */
.prose-lg { max-width: 820px; margin: 0 auto; font-size: 1.125rem; color: #d3dce8; }
.prose-lg p { margin-bottom: 1.3em; }
.mv { text-align: left; }
.mv h3 { color: var(--accent); }
.mv p { font-size: 1.125rem; color: #d3dce8; margin: 0; }
.team-card { text-align: center; }
.avatar {
	width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
	font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; color: var(--accent-ink);
	background: linear-gradient(135deg, var(--accent), #22d3ee);
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-weight: 500; font-size: .9375rem; margin-bottom: 12px; }
.team-card p { font-size: .9375rem; }

/* ---------- Blog ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin-bottom: 48px; }
.filter a { display: inline-block; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-weight: 500; font-size: .9375rem; }
.filter a:hover, .filter .is-active a { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.3125rem; }
.post-card h2 a, .post-card h3 a { color: var(--text); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); }
.meta { font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.empty .card__icon { margin: 0 auto 18px; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); color: var(--text); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Single post / generic content */
.article { max-width: 780px; margin: 0 auto; }
.article__media { margin: 0 auto 48px; max-width: 1000px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { font-size: 1.125rem; color: #d7dfea; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-size: 2rem; margin-top: 1.8em; color: var(--text); }
.entry-content h3 { font-size: 1.5rem; margin-top: 1.6em; color: var(--text); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); color: var(--text); font-style: italic; }
.entry-content img { border-radius: var(--radius); }
.entry-content pre, .entry-content code { background: var(--surface); border-radius: 8px; font-size: .9em; }
.entry-content code { padding: 2px 6px; }
.entry-content pre { padding: 18px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-caption-text, figcaption.wp-element-caption { font-size: .875rem; color: var(--muted); text-align: center; margin-top: 8px; }
.post-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.post-nav a { display: block; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { color: var(--muted); display: block; }
.post-nav .next { text-align: right; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 48px; padding: 24px; }
.author-box img { border-radius: 50%; }
.comments-area { max-width: 780px; margin: 64px auto 0; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-respond input:not([type=submit]):not([type=checkbox]), .comment-respond textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--text); }
.comment-respond .submit { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 600; cursor: pointer; }

.search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.search-form input[type=search] { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid p { color: var(--muted); max-width: 380px; margin-top: 16px; }
.footer-title { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; font-weight: 700; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; list-style: none; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .875rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 680px) {
	.section { padding: 72px 0; }
	.hero { padding: 72px 0 88px; }
	.card { padding: 26px; }
	.band { padding: 32px 22px; }
	.hero__actions .btn, .cta__actions .btn { width: 100%; }
	.btn { white-space: normal; text-align: center; }
	.post-nav { grid-template-columns: 1fr; }
}
