/* ==========================================================================
   Vaibhav Pandya theme — main stylesheet
   Mobile-first. Breakpoint for desktop layouts: 961px.
   ========================================================================== */

:root {
	--bone: #F3F1EC;
	--paper: #FFFFFF;
	--ink: #0E0E0E;
	--char: #1A1916;
	--char-2: #1F1E1B;
	--line: #DDD8CE;
	--line-soft: #EEEAE2;
	--line-dark: #3A3833;
	--muted: #4A463F;
	--muted-dark: #B8B2A7;
	--soft-dark: #CFC9BE;
	--accent: #FF6A2B;
	--accent-rgb: 255, 106, 43;
	--radius: 24px;
	--radius-lg: 24px; /* one corner radius for every card and panel */
	--gutter: clamp(20px, 4.5vw, 88px);
	--max: 1760px;
	--font-head: 'Outfit', system-ui, sans-serif;
	--font-body: 'Lato', system-ui, sans-serif;
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bone);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: #5A5650; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--bone); padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--bone); }

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

/* ---------- Type helpers ---------- */
.eyebrow {
	font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .1em;
	text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--muted-dark); }
/* Type scale: one consistent ladder used on every page.
   Display 38→80 · H2 30→52 · H3 24→34 · lead 18→21 · body 17→18 · small 15 · label 12 */
@media (min-width: 961px) { body { font-size: 18px; } }
.display {
	font-weight: 800; font-size: clamp(38px, 5.2vw, 80px); line-height: 1; letter-spacing: -0.035em;
}
.h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-weight: 700; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.12; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #2A2824; }
.on-dark .lead { color: var(--soft-dark); }
.hl { background: var(--accent); color: var(--ink); padding: 0 .12em; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.thin { font-weight: 300; font-style: italic; padding-right: .08em; } /* stops italic text touching the next word */
.muted { color: var(--muted); }
.on-dark .muted, .card--dark .muted { color: var(--soft-dark); }
.small { font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 14px 24px; border-radius: 999px;
	font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none;
	border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--bone); }
.btn--dark:hover { color: var(--bone); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.on-dark .btn--outline { border-color: var(--bone); color: var(--bone); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* Comfortable tap targets for standalone text links (≥44px tall). */
.text-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.byline__who a { display: inline-block; padding: 8px 0; }

/* ---------- Layout helpers ---------- */
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { min-width: 0; }
.split { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; }
.split > * { min-width: 0; }
/* Vertical spacing only: never touch left/right padding, so .container.section keeps the same
   side margins as the header and every other section (one consistent left edge). */
.section { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 961px) { .section { padding-top: 96px; padding-bottom: 96px; } }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 32px; }
.section-head p { margin: 0; max-width: 420px; }

/* ---------- Cards ---------- */
.card {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px; text-decoration: none; color: var(--ink);
}
@media (min-width: 961px) { .card { padding: 32px; } }
.card--dark { background: var(--ink); color: var(--bone); border-color: transparent; }
.card--dark a { color: var(--bone); }
.card--accent { background: var(--accent); border-color: transparent; }
.card--soft { background: var(--bone); border: 0; }
.card-label {
	display: block; font-family: var(--font-head); font-weight: 600; font-size: 12px;
	letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.card--dark .card-label, .on-dark .card-label { color: var(--muted-dark); }

/* ---------- Dark band with glow + dot grid ---------- */
.on-dark { background: var(--ink); color: var(--bone); }
.on-dark a { color: var(--bone); }
.band { position: relative; overflow: hidden; }
.band::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(circle at 85% 30%, rgba(var(--accent-rgb), .35) 0%, rgba(var(--accent-rgb), .08) 30%, rgba(14,14,14,0) 55%);
}
.band--left::before {
	background: radial-gradient(circle at 15% 25%, rgba(var(--accent-rgb), .30) 0%, rgba(var(--accent-rgb), .06) 30%, rgba(14,14,14,0) 55%);
}
.band::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(243,241,236,.08) 1px, transparent 1px); background-size: 18px 18px;
}
.band > .container { position: relative; z-index: 1; }
.rounded-top { border-radius: 32px 32px 0 0; }
@media (min-width: 961px) { .rounded-top { border-radius: 40px 40px 0 0; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-logo img { width: 150px; height: auto; }
@media (min-width: 961px) { .site-logo img { width: 168px; } }
/* Progressive enhancement: without JavaScript the menu is simply shown (stacked on phones)
   and the toggle button is hidden. The .js class is added by an inline script in <head>. */
.nav-toggle { display: none; }
.js .nav-toggle {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
	border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
	font: 700 15px/1 var(--font-body); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
	content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars span { top: 5px; } .nav-toggle__bars::after { bottom: 0; }
.site-nav { flex: 1 1 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.js .site-nav { display: none; }
.js .site-nav.is-open {
	display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: 100%;
	background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 10px;
	box-shadow: 0 18px 40px rgba(14,14,14,.12);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav a { display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 16px; }
.site-nav .current-menu-item > a, .site-nav .current_page_parent > a { background: var(--bone); font-weight: 700; }
.site-nav .nav-cta { margin-top: 6px; background: var(--ink); color: var(--bone); text-align: center; font-weight: 700; }
.site-nav .nav-cta.is-current { background: var(--accent); color: var(--ink); }
@media (min-width: 961px) {
	.nav-toggle, .js .nav-toggle { display: none; }
	.site-nav, .js .site-nav, .js .site-nav.is-open {
		flex: 0 0 auto;
		display: flex; position: static; align-items: center; gap: 4px; padding: 6px;
		background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: none;
	}
	.site-nav ul { flex-direction: row; gap: 4px; }
	.site-nav a { padding: 10px 16px; border-radius: 999px; font-size: 15px; }
	.site-nav .nav-cta { margin: 0; padding: 10px 18px; }
}

/* ---------- Hero (home) ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; padding-top: 24px; padding-bottom: 56px; }
.hero__text { flex: 1 1 520px; display: flex; flex-direction: column; justify-content: center; }
.hero__visual { flex: 1 1 380px; }
.availability {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; background: var(--paper);
	border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; margin-bottom: 24px;
}
.availability__dot { width: 9px; height: 9px; border-radius: 50%; background: #1F9D55; animation: vp-pulse 2s ease-in-out infinite; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 32px; border-top: 1px solid #CFC9BE; padding-top: 22px; margin-top: 36px; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -0.02em; }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Portrait: warm stone background, bold black circle framing the head and shoulders,
   offset orange ring, and the cutout large enough to fill the card (cropped at the hips). */
.portrait {
	position: relative; min-height: 480px; height: 100%; border-radius: var(--radius); overflow: hidden;
	background: #E7E1D6; isolation: isolate;
}
@media (min-width: 961px) { .portrait { min-height: 600px; } }
.portrait::before {
	content: ""; position: absolute; z-index: 0; left: 50%; top: 12%;
	width: min(80%, 480px); aspect-ratio: 1 / 1; transform: translateX(-50%);
	border-radius: 50%; background: var(--ink);
}
.portrait::after {
	content: ""; position: absolute; z-index: 0; left: 50%; top: 8%;
	width: min(80%, 480px); aspect-ratio: 1 / 1; transform: translateX(-44%);
	border-radius: 50%; border: 2px solid var(--accent);
}
.portrait img {
	position: absolute; left: 0; right: 0; bottom: 0; top: 6%; width: 100%; height: 94%; z-index: 1;
	object-fit: cover; object-position: 50% 0%;
}
/* Real photographs: fill the card edge to edge (no circle or stone background). */
.portrait--photo { background: var(--char); }
.portrait--photo::before, .portrait--photo::after { display: none; }
.portrait--photo img { top: 0; height: 100%; object-fit: cover; }
.portrait--home img { object-position: 50% 28%; }
.portrait--about img { object-position: 50% 18%; }
.portrait--photo::after {
	/* soft shade at the bottom so the overlaid result card sits cleanly on busy backgrounds */
	content: ""; display: block; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 1;
	background: linear-gradient(to top, rgba(14,14,14,.45), rgba(14,14,14,0)); border: 0; transform: none; width: auto; aspect-ratio: auto; border-radius: 0; left: 0; top: auto;
}
.portrait__badge {
	position: absolute; z-index: 2; top: 18px; left: 18px; background: var(--bone); border-radius: 16px; padding: 10px 14px;
}
.portrait__badge small { display: block; font: 600 11px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.portrait__badge strong { font: 700 17px/1.3 var(--font-head); }
.portrait__result {
	position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 14px; align-items: center;
	justify-content: space-between; background: rgba(243,241,236,.96); border-radius: 20px; padding: 16px 18px; text-decoration: none;
}
.portrait__result strong { font: 700 17px/1.25 var(--font-head); display: block; }
.portrait__go {
	flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--accent);
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px;
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--bone); overflow: hidden; }
.marquee__track {
	display: flex; width: max-content; gap: 44px; padding: 20px 0;
	font: 500 clamp(20px, 2vw, 26px)/1 var(--font-head); white-space: nowrap; animation: vp-marquee 38s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 44px; }
.marquee__track span::after { content: "✦"; color: var(--accent); }

/* ---------- Service cards ---------- */
.service { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.service h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }
.service p { margin: 0; font-size: 17px; }
.service .text-link { margin-top: auto; padding-top: 10px; }
.tag-accent { background: var(--accent); color: var(--ink); border-radius: 999px; padding: 2px 10px; margin-left: 8px; letter-spacing: .04em; }

/* Service detail (Services page) */
.offer { display: flex; flex-wrap: wrap; gap: 24px; border-radius: var(--radius); }
@media (min-width: 961px) { .offer { gap: 40px; padding: 40px; } }
.offer__list li { font-size: 17px; }
.offer__main { flex: 1 1 320px; }
.offer__main h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 14px; }
.offer__price { font: 600 22px/1.3 var(--font-head); margin-bottom: 20px; }
.offer__list { flex: 1 1 380px; border-radius: 18px; padding: 18px; background: var(--bone); }
@media (min-width: 961px) { .offer__list { padding: 28px; } }
.card--dark .offer__list { background: var(--char); color: #E6E2DA; }
.offer__list ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Triage map ---------- */
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.bento > * { min-width: 0; }
.triage { flex: 2 1 560px; }
.triage__layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.triage__map {
	flex: 3 1 340px; min-width: 0; position: relative; height: 440px; border-radius: 20px; overflow: hidden;
	background-color: #FAF9F6; background-image: radial-gradient(#D9D4C9 1px, transparent 1px); background-size: 18px 18px;
}
.triage__tint { position: absolute; left: 0; top: 0; width: 50%; height: 50%; background: rgba(var(--accent-rgb), .14); }
.triage__v { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed #CFC9BE; }
.triage__h { position: absolute; top: 50%; left: 0; right: 0; border-top: 1.5px dashed #CFC9BE; }
.triage__zone { position: absolute; font: 600 11px/1 var(--font-head); letter-spacing: .1em; color: var(--muted); }
.triage__zone--tl { left: 14px; top: calc(50% - 26px); color: var(--ink); font-weight: 700; }
.triage__zone--tr { right: 14px; top: calc(50% - 26px); }
.triage__zone--bl { left: 14px; bottom: 14px; }
.triage__zone--br { right: 14px; bottom: 14px; }
.chip {
	position: absolute; max-width: 46%; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	padding: 8px 14px; border-radius: 999px; font: 700 13px/1.2 var(--font-body); text-align: left; cursor: pointer;
	color: var(--ink); background: var(--paper); border: 1px solid #E2DDD3; box-shadow: 0 1px 3px rgba(14,14,14,.08);
	transition: transform .15s ease, box-shadow .15s ease;
}
.chip__dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--ink)); }
.chip[aria-pressed="true"] {
	background: var(--accent); border-color: var(--ink); box-shadow: 0 10px 24px rgba(14,14,14,.18); transform: scale(1.04); z-index: 3;
}
.chip[aria-pressed="true"] .chip__dot { background: var(--ink); }
/* Phones: the map becomes a clean 2-column list of tappable problems (no cramped, overlapping pills).
   The dark panel underneath still shows which zone each one belongs to. */
@media (max-width: 640px) {
	.triage__map {
		height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
		padding: 12px; background-image: none;
	}
	.triage__tint, .triage__v, .triage__h, .triage__zone, .triage__legend { display: none; }
	.chip { position: static; max-width: none; width: 100%; font-size: 14px; transform: none !important; border-radius: 14px; align-items: flex-start; padding: 12px; }
	.chip__dot { margin-top: 5px; }
}
.triage__panel { flex: 2 1 240px; display: flex; flex-direction: column; gap: 12px; border-radius: 20px; padding: 24px; }
.triage__tag {
	align-self: flex-start; font: 700 11px/1 var(--font-head); letter-spacing: .1em; padding: 7px 12px; border-radius: 999px;
	background: #2E2C28; color: var(--bone);
}
.triage__tag.is-quick { background: var(--accent); color: var(--ink); }
.triage__title { font: 600 22px/1.2 var(--font-head); margin: 0; }
.triage__note { font-size: 16px; line-height: 1.55; color: var(--soft-dark); margin: 0; }
.triage__next {
	margin-top: auto; align-self: flex-start; min-height: 44px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid #4A463F; background: transparent; color: var(--bone); font: 700 14px/1 var(--font-body); cursor: pointer;
}
.triage__count { font: 500 13px/1 var(--font-head); color: #8F897E; }

.triage-all { margin-top: 18px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.triage-all summary { cursor: pointer; font: 700 15px/1.4 var(--font-body); min-height: 32px; }
.triage-all dl { margin: 12px 0 0; display: grid; gap: 4px 0; }
.triage-all dt { font: 600 16px/1.3 var(--font-head); margin-top: 12px; }
.triage-all dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.side-stack { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.clock-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #2E2C28; }
.clock-row span:first-child { font-size: 15px; color: var(--soft-dark); }
.clock-row time { font: 600 24px/1 var(--font-head); }
.quote-card { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.side-cta { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.side-cta__title { font: 700 22px/1.2 var(--font-head); margin: 0; letter-spacing: -0.01em; }
.side-cta .btn { align-self: flex-start; margin-top: 6px; }
.quote-card p { font: 600 24px/1.25 var(--font-head); margin: 0; }

/* ---------- Results ---------- */
.big-num { font-family: var(--font-head); font-weight: 800; line-height: .95; letter-spacing: -0.04em; font-size: clamp(52px, 6vw, 84px); }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.metric { background: var(--char); border-radius: 18px; padding: 20px; }
.metric b { display: block; font: 800 clamp(36px, 4vw, 52px)/1 var(--font-head); letter-spacing: -0.03em; }
.metric span { display: block; font-size: 14px; color: var(--soft-dark); margin-top: 6px; }
.metric--accent b { color: var(--accent); }
.steps { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: #E6E2DA; }
.steps strong { color: var(--bone); }

/* ---------- Myths ---------- */
/* Four items → always a balanced 2 × 2 grid on desktop, one column on phones. */
.myth-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 961px) { .myth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.myth { flex: 1 1 460px; background: var(--char); border-radius: var(--radius); padding: 24px; }
@media (min-width: 961px) { .myth { padding: 28px; } }
.myth__claim { font: 600 22px/1.25 var(--font-head); color: #8F897E; text-decoration: line-through; margin: 0 0 12px; }
.myth p:last-child { margin: 0; font-size: 17px; }
.myth a { color: var(--accent); }

/* ---------- Post lists ---------- */
.post-rows { border-top: 1px solid var(--line-dark); }
.post-row {
	display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; padding: 20px 0;
	border-bottom: 1px solid var(--line-dark); text-decoration: none;
}
.post-row__cat { flex: 0 0 150px; font: 600 12px/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.post-row__title { flex: 1 1 320px; font: 500 clamp(19px, 2vw, 24px)/1.25 var(--font-head); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.post-card__meta { display: flex; justify-content: space-between; gap: 12px; font: 600 12px/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font: 600 22px/1.2 var(--font-head); letter-spacing: -0.01em; }
.post-card__excerpt { color: var(--muted); font-size: 16px; }
.post-card__more { margin-top: auto; font-weight: 700; font-size: 16px; }
.link-trio { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.link-trio a { flex: 1 1 260px; min-width: 0; text-decoration: none; border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.link-trio a span:last-child { font: 600 20px/1.25 var(--font-head); }

/* Category filter (links to real category archives) */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 0; list-style: none; }
.cat-pills a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; font-size: 15px;
}
.cat-pills a[aria-current="page"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.pagination { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700;
}
.pagination .current { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonial { flex: 1 1 380px; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.testimonial blockquote { margin: 0; font: 500 clamp(20px, 2vw, 24px)/1.3 var(--font-head); }
.testimonial figcaption strong { display: block; }

/* ---------- CTA ---------- */
.cta-wrap { background: var(--accent); }
.cta {
	max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter);
	display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between;
}
@media (min-width: 961px) { .cta { padding-top: 104px; padding-bottom: 104px; } }
.cta h2 { font-weight: 800; font-size: clamp(40px, 6vw, 92px); line-height: .95; letter-spacing: -0.04em; margin-bottom: 16px; }
.cta p { margin: 0; max-width: 560px; font-size: 18px; }
.cta__text { flex: 1 1 520px; min-width: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 48px; padding-bottom: 32px; }
.footer-logo { background: var(--bone); padding: 12px 16px; border-radius: 12px; display: inline-block; line-height: 0; }
.footer-logo img { width: 150px; height: auto; }
.site-footer p { margin: 16px 0 0; max-width: 320px; font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; font-size: 15px; }
.footer-cols h2 { font: 700 15px/1.4 var(--font-body); letter-spacing: 0; color: var(--bone); margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--muted-dark); text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-cols a:hover { color: var(--bone); }
.footer-bottom { border-top: 1px solid #2E2C28; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }

/* ---------- Page header band (inner pages) ---------- */
.page-band { padding: 56px 0 64px; margin-top: 4px; }
@media (min-width: 961px) { .page-band { padding: 72px 0 80px; } }
.page-band h1 { margin-bottom: 0; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.jump-links a { border: 1px solid var(--line-dark); border-radius: 999px; padding: 10px 16px; text-decoration: none; font-weight: 700; font-size: 14px; }

/* ---------- Process / FAQ ---------- */
.process-step { flex: 1 1 240px; border-top: 2px solid #4A463F; padding-top: 20px; }
.process-step:first-child { border-top-color: var(--accent); }
.process-step__n { font: 300 44px/1 var(--font-head); color: #8F897E; }
.process-step h3 { font-size: 23px; font-weight: 600; margin: 10px 0 8px; }
.process-step p { margin: 0; color: var(--soft-dark); font-size: 16px; }
.faq { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); padding: 20px 0; }
.faq summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
	font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--soft-dark); font-size: 16px; }

/* ---------- About ---------- */
.timeline-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item b { flex: 0 0 72px; font: 700 19px/1.4 var(--font-head); }
.timeline-item p { margin: 0; }
.fact { flex: 1 1 150px; border-radius: 20px; padding: 18px 20px; }
.fact b { display: block; font: 700 30px/1 var(--font-head); letter-spacing: -0.02em; }
.fact span { display: block; font-size: 14px; margin-top: 6px; }

/* ---------- Contact ---------- */
.steps-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin: 0 0 36px; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.steps-list li > span:first-child {
	flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bone);
	display: flex; align-items: center; justify-content: center; font: 700 16px/1 var(--font-head);
}
.steps-list li:last-child > span:first-child { background: var(--accent); color: var(--ink); }
.contact-form { flex: 1 1 440px; min-width: 0; border-radius: var(--radius-lg); padding: 28px 22px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 961px) { .contact-form { padding: 40px; } }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--soft-dark); flex: 0 0 auto; }
.contact-form .row { gap: 16px; }
.contact-form .row label { flex: 1 1 200px; }
.contact-form input, .contact-form select, .contact-form textarea {
	width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--line-dark); background: var(--char);
	color: var(--bone); padding: 12px 16px; font: 16px/1.4 var(--font-body);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Contact page: full-height split screen, form panel runs to the right edge */
.contact-split { display: flex; flex-wrap: wrap; align-items: stretch; }
.contact-split__info {
	flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center;
	padding: 40px var(--gutter) 64px;
}
/* --edge = where every page's content starts (same as .container) */
/* 100% (not 100vw) so the scrollbar width isn't counted; resolves against the full-width section. */
:root { --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
@media (min-width: 961px) {
	.contact-split { min-height: calc(100vh - 82px); }
	.contact-split__info { padding: 64px clamp(32px, 4vw, 80px) 88px var(--edge); }
}
.contact-split__info > * { max-width: 680px; }
.contact-form.contact-split__form {
	flex: 1 1 480px; border-radius: 0; justify-content: center; position: relative;
	padding: 48px var(--gutter) 56px;
}
@media (min-width: 961px) {
	.contact-form.contact-split__form { padding: 72px var(--edge) 88px clamp(32px, 4vw, 80px); }
}
.contact-split__form > * { position: relative; z-index: 1; max-width: 640px; width: 100%; }
.form-notice { border-radius: 14px; padding: 14px 16px; margin: 0; font-weight: 700; }
.form-notice--ok { background: #1F9D55; color: #fff; }
.form-notice--err { background: #B42318; color: #fff; }

/* ---------- Single post ---------- */
.post-band { padding: 40px 0 56px; }
@media (min-width: 961px) { .post-band { padding: 56px 0 72px; } }
.breadcrumbs { font-size: 14px; color: var(--muted-dark); margin-bottom: 24px; }
.breadcrumbs a { color: var(--soft-dark); }
.post-band h1 { font-weight: 800; font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 20px; max-width: 980px; }
.post-band .lead { max-width: 760px; margin-bottom: 28px; }
.cat-badge {
	display: inline-flex; align-items: center; min-height: 36px; background: var(--accent); color: var(--ink) !important; border-radius: 999px; padding: 6px 16px;
	font: 700 12px/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.byline { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.byline__who { display: flex; align-items: center; gap: 12px; }
.avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--accent); }
/* Round author photo: crop the square headshot to the face. */
.avatar { background: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.7); transform-origin: 46% 26%; }
.avatar--lg { width: 88px; height: 88px; }
.byline__meta { font-size: 14px; color: var(--muted-dark); }

/* Blog posts start on the same left edge as the logo and every other page.
   The article keeps a comfortable reading width; the sidebar sits right next to it. */
.container--read { max-width: var(--max); }
.post-layout { display: flex; flex-wrap: wrap; gap: 40px 80px; align-items: flex-start; justify-content: flex-start; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 961px) { .post-layout { padding-top: 64px; padding-bottom: 96px; } }
.post-main { flex: 1 1 600px; min-width: 0; max-width: 720px; }
.post-aside { flex: 0 1 320px; min-width: 260px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .post-aside { flex: 1 1 100%; min-width: 0; } }

.toc-mobile { display: block; margin-bottom: 28px; padding: 14px 18px; }
.toc-mobile summary { font: 700 16px/1.4 var(--font-head); cursor: pointer; min-height: 28px; }
.toc-desktop { display: none; }
@media (min-width: 961px) {
	.toc-mobile { display: none; }
	.toc-desktop { display: block; }
}
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; margin-top: 12px; }
.toc a { text-decoration: none; }

.featured-img { border-radius: 20px; overflow: hidden; margin-bottom: 32px; }
.featured-img img { width: 100%; }

/* Readable article typography */
.entry { font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
@media (min-width: 961px) { .entry { font-size: 18px; } }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; margin-top: 2em; scroll-margin-top: 24px; }
.entry h3 { font-weight: 600; font-size: clamp(21px, 2.2vw, 24px); line-height: 1.2; margin-top: 1.6em; }
.entry h4 { font-size: 19px; margin-top: 1.4em; }
.entry p { margin: 0; }
.entry > * + p, .entry > p + * { margin-top: 1.1em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.entry img { border-radius: 16px; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry blockquote {
	margin-left: 0; margin-right: 0; padding-left: 22px; border-left: 4px solid var(--accent);
	font: 600 clamp(21px, 2.4vw, 26px)/1.3 var(--font-head);
}
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry .wp-block-table, .entry .table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.entry th, .entry td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; }
@media (max-width: 600px) { .entry table { font-size: 14px; } .entry th, .entry td { padding: 10px 8px; } }
.entry pre { overflow-x: auto; background: var(--char); color: var(--bone); padding: 18px; border-radius: 14px; font-size: 15px; }
.entry iframe { max-width: 100%; }

/* Blocks already used inside existing posts, restyled to match the theme.
   !important is needed only to beat the colours saved inline in the old blocks. */
.entry .wp-block-genesis-blocks-gb-notice {
	background: var(--ink) !important; color: #E6E2DA !important; border-radius: 22px; padding: 26px 26px 22px; border: 0;
}
.entry .gb-notice-title, .entry .gb-notice-title p {
	color: var(--accent) !important; background: none !important; padding: 0; margin: 0 0 10px;
	font: 700 12px/1.4 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
}
.entry .gb-notice-text { border: 0 !important; padding: 0; background: none !important; color: #E6E2DA !important; font-size: 16px; line-height: 1.6; }
.entry .gb-notice-text ul { padding-left: 1.2em; }
.entry .gb-notice-text a { color: var(--bone); }
.entry hr, .entry .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; opacity: 1; }
.entry .wp-block-yoast-faq-block { border-top: 1px solid var(--line); }
.entry .schema-faq-section { border-bottom: 1px solid var(--line); padding: 18px 0; margin: 0; }
.entry .schema-faq-question { display: block; font: 600 clamp(18px, 1.8vw, 20px)/1.35 var(--font-head); margin-bottom: 8px; }
.entry .schema-faq-answer { margin: 0; color: #2A2824; font-size: 16px; }
.entry .wp-block-quote cite { display: block; margin-top: 8px; font: 400 14px/1.4 var(--font-body); color: var(--muted); }

/* Reminder boxes left in drafts for Vaibhav ([CLIENT STORY] / [SCREENSHOT]). Visible in preview
   so nothing gets published by accident with a placeholder still in it. */
.entry .vp-todo {
	background: #FFF3C4; border: 2px dashed #B7791F; border-radius: 14px; padding: 14px 16px; color: #3D2E00; font-size: 16px;
}

.related-inline {
	display: flex; gap: 14px; align-items: center; text-decoration: none; margin-top: 40px;
}
.related-inline .tag { flex: 0 0 auto; font: 700 11px/1 var(--font-head); letter-spacing: .1em; background: var(--accent); border-radius: 999px; padding: 6px 10px; }
.related-inline strong { font: 600 17px/1.35 var(--font-head); }

.most-read ol { list-style: none; padding: 0; }
.most-read li { border-top: 1px solid var(--line-soft); }
.most-read a { display: flex; gap: 14px; padding: 14px 0; text-decoration: none; line-height: 1.4; }
.most-read b { font: 800 22px/1 var(--font-head); color: var(--accent); }
.most-read span { font: 600 16px/1.35 var(--font-head); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.topic-chips a { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--bone); text-decoration: none; font-weight: 700; font-size: 14px; }
.author-box { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 48px; }
.author-box p { margin: 4px 0 10px; font-size: 15px; color: var(--muted); }

/* ---------- Generic page ---------- */
.page-content { padding-top: 48px; padding-bottom: 96px; }
.page-content .entry { max-width: 760px; }

/* ---------- Animations ---------- */
@keyframes vp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track, .availability__dot { animation: none; }
	.btn:hover { transform: none; }
}
