/**
 * Vaibhav Darade theme — main stylesheet.
 *
 * Minimal, content-first and mobile-first. Uses a system font stack (no
 * render-blocking web fonts), CSS custom properties for theming, and native
 * elements (details/summary) to keep JavaScript to a minimum.
 */

/* -------------------------------------------------------------------------
 * Design tokens
 * ---------------------------------------------------------------------- */
:root {
	--vd-primary: #1a56db;
	--vd-primary-dark: #1e429f;
	--vd-ink: #14181f;
	--vd-muted: #5b6673;
	--vd-bg: #ffffff;
	--vd-soft: #f5f7fb;
	--vd-soft-2: #eef2f9;
	--vd-border: #e4e8ef;
	--vd-radius: 12px;
	--vd-radius-sm: 8px;
	--vd-max: 1120px;
	--vd-narrow: 760px;
	--vd-gap: clamp(1rem, 2vw, 1.5rem);
	--vd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
	--vd-shadow: 0 1px 2px rgba(20, 24, 31, .06), 0 8px 24px rgba(20, 24, 31, .06);
}

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

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

body {
	margin: 0;
	font-family: var(--vd-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--vd-ink);
	background: var(--vd-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

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

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

blockquote {
	margin: 1.5em 0;
	padding: .5em 1.25em;
	border-left: 4px solid var(--vd-primary);
	color: var(--vd-muted);
	font-style: italic;
}

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { background: var(--vd-soft); padding: 1rem; border-radius: var(--vd-radius-sm); overflow: auto; }

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

.vd-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: .75rem 1.25rem;
	background: var(--vd-ink);
	color: #fff;
	border-radius: 0 0 var(--vd-radius-sm) 0;
}
.vd-skip-link:focus {
	left: 0;
	clip: auto;
	width: auto;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--vd-primary);
	outline-offset: 2px;
	border-radius: 3px;
}

/* Programmatic skip-link target should not draw a focus ring. */
#vd-main:focus { outline: none; }

/* -------------------------------------------------------------------------
 * Layout
 * ---------------------------------------------------------------------- */
.vd-container {
	width: 100%;
	max-width: var(--vd-max);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.vd-narrow { max-width: var(--vd-narrow); }

.vd-content-area {
	padding-block: clamp(1.75rem, 4vw, 3rem);
	display: grid;
	gap: clamp(1.5rem, 4vw, 3rem);
}
.vd-content-area.vd-has-sidebar {
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
	.vd-content-area.vd-has-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}
.vd-main-column { min-width: 0; }

/* -------------------------------------------------------------------------
 * Header & navigation
 * ---------------------------------------------------------------------- */
.vd-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--vd-border);
}
.vd-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 64px;
}
.vd-brand { display: inline-flex; align-items: center; text-decoration: none; }
.vd-brand-name {
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--vd-ink);
	letter-spacing: -.02em;
}
.custom-logo { max-height: 44px; width: auto; }

.vd-primary-nav .vd-menu {
	list-style: none;
	display: flex;
	gap: .35rem;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.vd-menu a {
	display: block;
	padding: .5rem .8rem;
	color: var(--vd-ink);
	border-radius: var(--vd-radius-sm);
	font-weight: 500;
	text-decoration: none;
}
.vd-menu a:hover,
.vd-menu .current-menu-item > a {
	background: var(--vd-soft);
	color: var(--vd-primary);
}
.vd-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: .35rem;
}

.vd-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border: 1px solid var(--vd-border);
	background: #fff;
	border-radius: var(--vd-radius-sm);
	cursor: pointer;
}
.vd-nav-toggle-icon,
.vd-nav-toggle-icon::before,
.vd-nav-toggle-icon::after {
	display: block;
	width: 20px; height: 2px;
	background: var(--vd-ink);
	position: relative;
	transition: transform .2s ease, opacity .2s ease;
}
.vd-nav-toggle-icon::before,
.vd-nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.vd-nav-toggle-icon::before { top: -6px; }
.vd-nav-toggle-icon::after { top: 6px; }
.vd-nav-toggle[aria-expanded="true"] .vd-nav-toggle-icon { background: transparent; }
.vd-nav-toggle[aria-expanded="true"] .vd-nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.vd-nav-toggle[aria-expanded="true"] .vd-nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 782px) {
	.vd-nav-toggle { display: inline-flex; }
	.vd-primary-nav {
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid var(--vd-border);
		box-shadow: var(--vd-shadow);
		display: none;
	}
	.vd-primary-nav.is-open { display: block; }
	.vd-primary-nav .vd-menu {
		flex-direction: column;
		gap: 0;
		padding: .5rem clamp(1rem, 4vw, 2rem) 1rem;
	}
	.vd-menu a { padding: .75rem .5rem; border-radius: 0; border-bottom: 1px solid var(--vd-border); }
	.no-js .vd-primary-nav { display: block; } /* usable without JS */
}

/* -------------------------------------------------------------------------
 * Buttons & chips
 * ---------------------------------------------------------------------- */
.vd-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .7rem 1.15rem;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1;
	border: 1px solid var(--vd-border);
	background: #fff;
	color: var(--vd-ink);
	cursor: pointer;
	text-decoration: none;
	transition: transform .12s ease, background .2s ease, border-color .2s ease;
}
.vd-btn:hover { text-decoration: none; transform: translateY(-1px); }
.vd-btn-primary { background: var(--vd-primary); border-color: var(--vd-primary); color: #fff; }
.vd-btn-primary:hover { background: var(--vd-primary-dark); border-color: var(--vd-primary-dark); color: #fff; }
.vd-btn-ghost { background: transparent; }
.vd-btn-ghost:hover { background: var(--vd-soft); }

.vd-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.vd-chip {
	display: inline-block;
	padding: .35rem .75rem;
	background: var(--vd-soft);
	border: 1px solid var(--vd-border);
	border-radius: 999px;
	font-size: .9rem;
	color: var(--vd-muted);
}
.vd-chip-role { background: #e7efff; border-color: #cfe0ff; color: var(--vd-primary-dark); font-weight: 600; }

/* -------------------------------------------------------------------------
 * Sections
 * ---------------------------------------------------------------------- */
.vd-section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.vd-section:nth-of-type(even) { background: var(--vd-soft); }
.vd-section-title { margin-bottom: 1rem; }
.vd-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.vd-section-head .vd-section-title { margin-bottom: 0; }
.vd-section-link { font-weight: 600; white-space: nowrap; }
.vd-section-block { padding-block: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--vd-border); margin-top: 2rem; }

/* -------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------- */
.vd-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--vd-border); }
.vd-hero-inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) {
	.vd-hero-inner { grid-template-columns: 1.4fr 1fr; }
}
.vd-hero-name { margin-bottom: .25rem; }
.vd-hero-role { font-size: 1.05rem; font-weight: 600; color: var(--vd-primary); margin-bottom: 1rem; letter-spacing: .01em; }
.vd-hero-intro { font-size: 1.15rem; color: var(--vd-ink); }
.vd-hero-intro-secondary { color: var(--vd-muted); }
.vd-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.vd-hero-media { justify-self: center; }
.vd-hero-portrait {
	border-radius: 20px;
	box-shadow: var(--vd-shadow);
	max-width: 320px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.vd-hero-monogram {
	width: clamp(140px, 30vw, 240px);
	aspect-ratio: 1 / 1;
	border-radius: 24px;
	display: grid;
	place-items: center;
	font-size: clamp(3rem, 9vw, 5rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: .02em;
	background: linear-gradient(135deg, var(--vd-primary), var(--vd-primary-dark));
	box-shadow: var(--vd-shadow);
}

/* Areas of work cards */
.vd-work-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.vd-work-card {
	padding: 1.1rem 1.25rem;
	background: #fff;
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(20, 24, 31, .04);
}
.vd-work-card::before {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--vd-primary);
	margin-bottom: .6rem;
}

/* -------------------------------------------------------------------------
 * Post cards & grids
 * ---------------------------------------------------------------------- */
.vd-post-list { display: grid; gap: 1.5rem; }
.vd-post-list-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.vd-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .12s ease;
}
.vd-card:hover { box-shadow: var(--vd-shadow); transform: translateY(-2px); }
.vd-card-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vd-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.vd-card-kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--vd-primary); }
.vd-card-title { font-size: 1.2rem; margin: 0; }
.vd-card-title a { color: var(--vd-ink); }
.vd-card-title a:hover { color: var(--vd-primary); }
.vd-card-meta, .vd-entry-meta, .vd-card-excerpt { color: var(--vd-muted); font-size: .95rem; }
.vd-card-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.vd-card-excerpt { margin: 0; }
.vd-card-more { font-weight: 600; margin-top: auto; }
.vd-meta-sep { opacity: .5; }
.vd-date-updated { color: var(--vd-primary); }

/* -------------------------------------------------------------------------
 * Single content typography
 * ---------------------------------------------------------------------- */
.vd-single { max-width: var(--vd-narrow); margin-inline: auto; }
.vd-single-header { margin-bottom: 1.25rem; }
.vd-single-title { margin-bottom: .5rem; }
.vd-single .vd-entry-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.vd-featured-image { margin: 0 0 1.75rem; }
.vd-featured-image img { width: 100%; border-radius: var(--vd-radius); aspect-ratio: 16 / 9; object-fit: cover; }
.vd-entry-content { font-size: 1.075rem; }
.vd-entry-content > * { max-width: 100%; }
.vd-entry-content h2 { margin-top: 1.8em; }
.vd-entry-content h3 { margin-top: 1.4em; }
.vd-entry-content img { border-radius: var(--vd-radius-sm); margin: 1.25em 0; }
.vd-entry-content ul, .vd-entry-content ol { padding-left: 1.4em; }
.vd-entry-content li { margin-bottom: .4em; }
.vd-entry-content a { text-decoration: underline; }
.vd-lead { font-size: 1.2rem; color: var(--vd-muted); }

.vd-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 0; }
.vd-tags a { display: inline-block; padding: .25rem .7rem; background: var(--vd-soft); border-radius: 999px; font-size: .85rem; color: var(--vd-muted); }
.vd-single-footer { margin-top: 2rem; }
.vd-page-links { margin-top: 1.5rem; display: flex; gap: .4rem; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
 * Breadcrumbs & pagination
 * ---------------------------------------------------------------------- */
.vd-breadcrumbs { font-size: .9rem; color: var(--vd-muted); margin-bottom: 1.5rem; }
.vd-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.vd-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }
.vd-breadcrumbs a { color: var(--vd-muted); }
.vd-breadcrumbs a:hover { color: var(--vd-primary); }

.vd-pagination { margin-top: 2.5rem; }
.vd-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.vd-pagination a, .vd-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 .6rem;
	border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm);
	text-decoration: none; color: var(--vd-ink);
}
.vd-pagination .current { background: var(--vd-primary); border-color: var(--vd-primary); color: #fff; }
.vd-pagination a:hover { background: var(--vd-soft); }

/* -------------------------------------------------------------------------
 * Author card & related
 * ---------------------------------------------------------------------- */
.vd-author-card {
	display: flex; gap: 1.25rem; align-items: flex-start;
	max-width: var(--vd-narrow); margin: 2.5rem auto 0;
	padding: 1.5rem; background: var(--vd-soft); border-radius: var(--vd-radius);
}
.vd-author-avatar { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.vd-author-card-title { margin: 0 0 .4rem; font-size: 1.15rem; }
.vd-author-card-bio { margin: 0 0 .5rem; color: var(--vd-muted); }
.vd-author-card-link { font-weight: 600; }

.vd-related { max-width: var(--vd-narrow); margin: 2.5rem auto 0; }
.vd-related-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.vd-related-item { border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); overflow: hidden; color: var(--vd-ink); text-decoration: none; }
.vd-related-item img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.vd-related-title { display: block; padding: .6rem .75rem; font-weight: 600; font-size: .95rem; }

/* -------------------------------------------------------------------------
 * Projects
 * ---------------------------------------------------------------------- */
.vd-project-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vd-project-card {
	display: flex; flex-direction: column;
	border: 1px solid var(--vd-border); border-radius: var(--vd-radius);
	overflow: hidden; background: #fff;
	transition: box-shadow .2s ease, transform .12s ease;
}
.vd-project-card:hover { box-shadow: var(--vd-shadow); transform: translateY(-2px); }
.vd-project-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vd-project-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.vd-project-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.vd-project-title { font-size: 1.15rem; margin: 0; }
.vd-project-title a { color: var(--vd-ink); }
.vd-project-excerpt { color: var(--vd-muted); font-size: .95rem; margin: 0; }
.vd-project-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; font-size: .9rem; }
.vd-project-year { color: var(--vd-muted); }
.vd-project-visit { font-weight: 600; }

.vd-project-single .vd-project-facts { margin: 1.5rem 0; }
.vd-project-facts dl { display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; padding: 1.25rem; background: var(--vd-soft); border-radius: var(--vd-radius); }
.vd-project-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--vd-muted); margin: 0; }
.vd-project-facts dd { margin: .1rem 0 0; font-weight: 600; }
.vd-project-lead { font-size: 1.15rem; color: var(--vd-muted); }
.vd-project-cta { margin-top: 2rem; }

/* -------------------------------------------------------------------------
 * Quick facts & timeline
 * ---------------------------------------------------------------------- */
.vd-about-layout { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 900px) {
	.vd-about-layout.vd-about-has-aside { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}
.vd-about-body { max-width: none; }
.vd-about-header { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.vd-about-portrait img { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; box-shadow: var(--vd-shadow); }
.vd-about-role { color: var(--vd-primary); font-weight: 600; margin: 0; }

.vd-quick-facts { background: var(--vd-soft); border: 1px solid var(--vd-border); border-radius: var(--vd-radius); padding: 1.25rem 1.5rem; position: sticky; top: 84px; }
.vd-quick-facts-title { font-size: 1.05rem; margin: 0 0 .75rem; }
.vd-quick-facts-list { margin: 0; }
.vd-quick-facts-row { display: grid; grid-template-columns: 40% 1fr; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--vd-border); }
.vd-quick-facts-row:first-child { border-top: 0; }
.vd-quick-facts-row dt { color: var(--vd-muted); font-size: .9rem; margin: 0; }
.vd-quick-facts-row dd { margin: 0; font-weight: 600; }
.vd-about-social { margin-top: 1.25rem; }

.vd-timeline { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.vd-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--vd-border); }
.vd-timeline-item { position: relative; padding: 0 0 1.25rem 2rem; }
.vd-timeline-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--vd-primary); }
.vd-timeline-label { display: block; font-weight: 700; }
.vd-timeline-text { display: block; color: var(--vd-muted); }

.vd-achievement-list, .vd-interview-list, .vd-connection-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.vd-achievement, .vd-interview, .vd-connection { padding: 1rem 1.25rem; border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); background: #fff; }
.vd-achievement-title, .vd-connection-name { display: block; font-weight: 700; }
.vd-achievement-meta, .vd-interview-meta, .vd-connection-meta, .vd-connection-desc { display: block; color: var(--vd-muted); font-size: .95rem; }

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */
.vd-faq-list { display: grid; gap: .6rem; }
.vd-faq-item { border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); background: #fff; overflow: hidden; }
.vd-faq-item summary {
	cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.vd-faq-item summary::-webkit-details-marker { display: none; }
.vd-faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--vd-primary); line-height: 1; }
.vd-faq-item[open] summary::after { content: "\2212"; }
.vd-faq-answer { padding: 0 1.25rem 1.1rem; color: var(--vd-muted); }
.vd-faq-answer p { margin: 0; }

/* -------------------------------------------------------------------------
 * Contact form
 * ---------------------------------------------------------------------- */
.vd-contact-form { max-width: var(--vd-narrow); display: grid; gap: 1rem; margin-top: 1.5rem; }
.vd-field { display: grid; gap: .35rem; margin: 0; }
.vd-field label { font-weight: 600; }
.vd-field input, .vd-field textarea {
	width: 100%; padding: .7rem .85rem; font: inherit;
	border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); background: #fff; color: var(--vd-ink);
}
.vd-field input:focus, .vd-field textarea:focus { border-color: var(--vd-primary); outline: none; box-shadow: 0 0 0 3px rgba(26, 86, 219, .15); }
.vd-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

.vd-notice { padding: 1rem 1.25rem; border-radius: var(--vd-radius-sm); margin: 1.5rem 0; }
.vd-notice-success { background: #e8f6ec; border: 1px solid #b7e4c1; color: #1a7f37; }
.vd-notice-error { background: #fdecec; border: 1px solid #f5c2c2; color: #b42318; }
.vd-notice p { margin: 0; }

/* -------------------------------------------------------------------------
 * Social lists
 * ---------------------------------------------------------------------- */
.vd-social { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: .5rem 0 0; }
.vd-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--vd-border); color: var(--vd-ink); background: #fff;
}
.vd-social a:hover { background: var(--vd-primary); color: #fff; border-color: var(--vd-primary); }
.vd-social-large a { width: 48px; height: 48px; }

/* -------------------------------------------------------------------------
 * 404
 * ---------------------------------------------------------------------- */
.vd-404 { text-align: center; max-width: var(--vd-narrow); margin-inline: auto; }
.vd-404-title { font-size: clamp(2rem, 6vw, 3rem); }
.vd-404-links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 0; }
.vd-404-search { max-width: 420px; margin: 1.5rem auto 0; }

/* -------------------------------------------------------------------------
 * Search form
 * ---------------------------------------------------------------------- */
.vd-search-form { display: flex; gap: .5rem; }
.vd-search-field { flex: 1; padding: .65rem .85rem; font: inherit; border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); }
.vd-search-submit { display: inline-flex; align-items: center; justify-content: center; padding: 0 1rem; border: 1px solid var(--vd-primary); background: var(--vd-primary); color: #fff; border-radius: var(--vd-radius-sm); cursor: pointer; }

/* -------------------------------------------------------------------------
 * Archive header
 * ---------------------------------------------------------------------- */
.vd-archive-header { margin-bottom: 2rem; }
.vd-archive-title { margin-bottom: .5rem; }
.vd-archive-description { color: var(--vd-muted); }

/* -------------------------------------------------------------------------
 * None / empty states
 * ---------------------------------------------------------------------- */
.vd-none { text-align: center; padding: 2.5rem 1rem; }
.vd-none-title { margin-bottom: .5rem; }

/* -------------------------------------------------------------------------
 * Comments
 * ---------------------------------------------------------------------- */
.vd-comments { max-width: var(--vd-narrow); margin: 2.5rem auto 0; }
.vd-comment-list { list-style: none; padding: 0; }
.vd-comment-list ol { list-style: none; }
.vd-comments-title { margin-bottom: 1rem; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--vd-border); }
.comment-respond { margin-top: 1.5rem; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea {
	width: 100%; padding: .7rem .85rem; font: inherit; border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm);
}
.comment-form p { margin-bottom: 1rem; }

/* -------------------------------------------------------------------------
 * Sidebar & widgets
 * ---------------------------------------------------------------------- */
.vd-sidebar .widget, .vd-footer-widgets .widget { margin-bottom: 1.75rem; }
.widget-title { font-size: 1.05rem; margin-bottom: .75rem; }
.vd-sidebar ul { list-style: none; padding: 0; }
.vd-sidebar li { padding: .35rem 0; border-bottom: 1px solid var(--vd-border); }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
.vd-footer-widgets { background: var(--vd-soft); border-top: 1px solid var(--vd-border); padding-block: 2.5rem; }
.vd-footer-widgets-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.vd-site-footer { background: var(--vd-ink); color: #cbd3de; padding-block: 2.5rem; margin-top: 3rem; }
.vd-footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 720px) {
	.vd-footer-inner { grid-template-columns: 1.5fr 1fr; align-items: start; }
	.vd-copyright { grid-column: 1 / -1; }
}
.vd-footer-name { font-weight: 800; font-size: 1.2rem; color: #fff; margin: 0 0 .25rem; }
.vd-footer-tagline { margin: 0 0 .75rem; color: #9aa6b5; }
.vd-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0; }
.vd-footer-menu a { color: #cbd3de; }
.vd-footer-menu a:hover { color: #fff; }
.vd-site-footer .vd-social a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #cbd3de; }
.vd-site-footer .vd-social a:hover { background: var(--vd-primary); color: #fff; }
.vd-copyright { margin: 0; color: #8b97a6; font-size: .9rem; }

/* -------------------------------------------------------------------------
 * YouTube facade (privacy-friendly lazy embed)
 * ---------------------------------------------------------------------- */
.vd-yt-facade { position: relative; aspect-ratio: 16 / 9; background: #000 center/cover no-repeat; border-radius: var(--vd-radius); cursor: pointer; overflow: hidden; border: 0; width: 100%; padding: 0; }
.vd-yt-facade .vd-yt-play {
	position: absolute; inset: 0; margin: auto; width: 68px; height: 48px;
	background: rgba(0,0,0,.75); border-radius: 12px;
}
.vd-yt-facade .vd-yt-play::before { content: ""; position: absolute; inset: 0; margin: auto; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }

/* -------------------------------------------------------------------------
 * Reduced motion
 * ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
