/* ==========================================================================
   Chill Chill Studio — Main Stylesheet
   Modern, professional, responsive. No external dependencies.
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
	--color-primary: #2563eb;
	--color-primary-dark: #1d4ed8;
	--color-primary-light: #eff6ff;
	--color-ink: #0f172a;
	--color-body: #475569;
	--color-muted: #94a3b8;
	--color-bg: #ffffff;
	--color-bg-tint: #f8fafc;
	--color-border: #e2e8f0;
	--color-white: #ffffff;

	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);

	--container-max: 1180px;
	--gutter: 24px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-body);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	line-height: 1.25;
	color: var(--color-ink);
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: var(--color-ink);
	color: var(--color-white);
	padding: 8px 16px;
	z-index: 100000;
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	border: 2px solid transparent;
}

.btn--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn--ghost {
	background-color: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost:hover,
.btn--ghost:focus {
	background-color: var(--color-white);
	color: var(--color-ink);
	text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
	background-color: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 50;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	gap: 20px;
}

.site-branding .custom-logo {
	max-height: 48px;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
}

.site-title a {
	color: var(--color-ink);
	text-decoration: none;
}

.site-description {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--color-muted);
}

/* ---------- Navigation ---------- */
.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation ul {
	display: flex;
	gap: 28px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	color: var(--color-body);
	font-weight: 500;
	font-size: 15px;
	padding: 8px 0;
	display: block;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--color-primary);
	text-decoration: none;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--color-primary);
}

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 10px;
}

.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-ink);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(37, 99, 235, 0.25), transparent 60%),
		linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
	color: var(--color-white);
	padding: 110px 0 120px;
	text-align: center;
}

.hero__eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 13px;
	font-weight: 600;
	color: #93c5fd;
	margin-bottom: 18px;
}

.hero__title {
	font-size: clamp(40px, 6vw, 64px);
	color: var(--color-white);
	margin-bottom: 18px;
	font-weight: 800;
}

.hero__lead {
	font-size: clamp(18px, 2.4vw, 24px);
	color: #e2e8f0;
	max-width: 820px;
	margin: 0 auto 12px;
	font-weight: 500;
}

.hero__sub {
	font-size: 16px;
	color: #94a3b8;
	max-width: 720px;
	margin: 0 auto 36px;
}

.hero__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
	padding: 88px 0;
}

.section--tint {
	background-color: var(--color-bg-tint);
}

.section__header {
	max-width: 720px;
	margin: 0 auto 52px;
	text-align: center;
}

.section__eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 12px;
}

.section__title {
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 14px;
}

.section__intro {
	font-size: 17px;
	margin: 0;
}

/* ---------- Services ---------- */
.services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.service-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.service-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--color-primary-light);
	color: var(--color-primary);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 16px;
}

.service-card__media {
	margin: -28px -28px 20px;
	border-radius: var(--radius) var(--radius) 0 0;
	overflow: hidden;
}

.service-card__media img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}

.service-card__title {
	font-size: 18px;
	margin-bottom: 10px;
}

.service-card__title a {
	color: var(--color-ink);
}

.service-card__title a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.service-card__excerpt {
	font-size: 15px;
	margin: 0;
}

.services__note {
	margin-top: 32px;
	text-align: center;
	font-size: 13px;
	color: var(--color-muted);
}

/* ---------- Audience ---------- */
.audience__list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.audience__item {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 28px 18px;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience__item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.audience__icon {
	display: block;
	font-size: 32px;
	line-height: 1;
	margin-bottom: 12px;
}

.audience__label {
	font-weight: 600;
	font-size: 15px;
	color: var(--color-ink);
}

/* ---------- Differentiators ---------- */
.differentiators__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.diff-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-left: 4px solid var(--color-primary);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow-sm);
}

.diff-card__title {
	font-size: 19px;
	margin-bottom: 10px;
}

.diff-card__text {
	margin: 0;
	font-size: 15px;
}

/* ---------- Team ---------- */
.team__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.team-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 26px 22px;
	box-shadow: var(--shadow-sm);
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.team-card__title {
	font-size: 16px;
	margin-bottom: 10px;
}

.team-card__text {
	font-size: 14px;
	margin: 0;
}

/* ---------- Placeholder Blocks (About / Case Studies) ---------- */
.placeholder-block {
	border: 2px dashed #cbd5e1;
	border-radius: var(--radius);
	background: var(--color-white);
	text-align: center;
	padding: 56px 28px;
	max-width: 760px;
	margin: 0 auto;
}

.placeholder-block__badge {
	display: inline-block;
	background: #f1f5f9;
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.placeholder-block__text {
	margin: 0;
	font-size: 16px;
	color: var(--color-body);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Posts / Pages ---------- */
.site-main {
	min-height: 60vh;
	padding: 56px 0 80px;
}

.page-header {
	margin-bottom: 36px;
}

.page-title {
	font-size: clamp(28px, 4vw, 38px);
	margin-bottom: 10px;
}

.archive-description {
	color: var(--color-body);
	margin-bottom: 12px;
}

.posts-list {
	display: grid;
	gap: 20px;
}

.post-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 26px 28px;
	box-shadow: var(--shadow-sm);
}

.post-card__title {
	font-size: 22px;
	margin-bottom: 6px;
}

.post-card__meta {
	font-size: 13px;
	color: var(--color-muted);
	margin-bottom: 12px;
}

.post-card__excerpt {
	margin-bottom: 14px;
}

.post-card__more {
	font-weight: 600;
	font-size: 14px;
}

.no-results {
	text-align: center;
	color: var(--color-muted);
	padding: 40px 0;
}

.pagination {
	margin-top: 36px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-body);
	background: var(--color-white);
}

.pagination .page-numbers.current {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

/* ---------- Single Entry ---------- */
.single-entry {
	max-width: 820px;
	margin: 0 auto;
}

.single-entry__thumbnail {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 28px;
}

.single-entry__title {
	font-size: clamp(28px, 4.5vw, 42px);
	margin-bottom: 10px;
}

.single-entry__meta {
	font-size: 14px;
	color: var(--color-muted);
	margin-bottom: 28px;
}

.single-entry__content h2 {
	font-size: 26px;
	margin-top: 2em;
}

.single-entry__content img {
	border-radius: var(--radius);
}

.single-entry__content blockquote {
	border-left: 4px solid var(--color-primary);
	margin: 1.5em 0;
	padding: 8px 20px;
	background: var(--color-bg-tint);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	max-width: 820px;
	margin: 40px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

/* ---------- Footer ---------- */
.site-footer {
	background: #0f172a;
	color: #94a3b8;
	padding: 64px 0 40px;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.site-footer__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 8px;
}

.site-footer__tagline {
	font-size: 14px;
	margin: 0;
	max-width: 360px;
}

.site-footer__nav ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer__nav a {
	color: #94a3b8;
	font-size: 14px;
}

.site-footer__nav a:hover {
	color: var(--color-white);
	text-decoration: none;
}

.site-footer__legal p {
	margin: 0 0 6px;
	font-size: 14px;
	color: #cbd5e1;
	font-weight: 600;
}

.site-footer__copyright {
	font-weight: 400 !important;
	color: #64748b !important;
	font-size: 13px !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.audience__list {
		grid-template-columns: repeat(3, 1fr);
	}

	.team__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.differentiators__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 820px) {
	.services__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 640px) {
	.menu-toggle {
		display: block;
	}

	.main-navigation {
		position: relative;
	}

	.main-navigation ul {
		display: none;
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		left: 0;
		flex-direction: column;
		gap: 0;
		background: var(--color-white);
		border: 1px solid var(--color-border);
		border-radius: var(--radius);
		box-shadow: var(--shadow-md);
		padding: 8px 0;
	}

	.main-navigation ul.toggled-on {
		display: flex;
	}

	.main-navigation li a {
		padding: 12px 24px;
	}

	.hero {
		padding: 80px 0 90px;
	}

	.section {
		padding: 64px 0;
	}

	.services__grid,
	.differentiators__grid,
	.team__grid {
		grid-template-columns: 1fr;
	}

	.audience__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero__actions {
		flex-direction: column;
		align-items: center;
	}

	.btn {
		width: 100%;
		max-width: 320px;
	}
}
