/* ==========================================================================
   Livitha Portfolio — main stylesheet
   Colors, fonts, radius and width are CSS variables set from the Customizer.
   ========================================================================== */

:root {
	--lv-bg: #F7F2E9;
	--lv-beige: #EFE2CC;
	--lv-dark: #231812;
	--lv-accent: #FF8A00;
	--lv-text: #2B1D15;
	--lv-surface: #FFFFFF;
	--lv-font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
	--lv-font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
	--lv-base: 17px;
	--lv-container: 1240px;
	--lv-radius: 28px;
	--lv-radius-sm: 15px;
	--lv-radius-btn: 999px;

	/* Derived tones */
	--lv-muted: color-mix(in srgb, var(--lv-text) 68%, var(--lv-bg));
	--lv-line: color-mix(in srgb, var(--lv-text) 14%, transparent);
	--lv-accent-soft: color-mix(in srgb, var(--lv-accent) 16%, var(--lv-bg));
	--lv-on-dark: color-mix(in srgb, var(--lv-bg) 92%, transparent);
	--lv-on-dark-muted: color-mix(in srgb, var(--lv-bg) 66%, transparent);
	--lv-shadow: 0 18px 40px -22px color-mix(in srgb, var(--lv-dark) 45%, transparent);
	--lv-ease: cubic-bezier(.22, .8, .24, 1);
	--lv-gutter: clamp(18px, 4vw, 40px);
	--lv-section: clamp(72px, 10vw, 130px);
	--lv-header-h: 88px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--lv-header-h) + 12px);
}

body {
	margin: 0;
	background: var(--lv-bg);
	color: var(--lv-text);
	font-family: var(--lv-font-body);
	font-size: var(--lv-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lv-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lv-font-head);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
	font-weight: 700;
	color: inherit;
}

p { margin: 0 0 1em; }

ul,
ol { margin: 0; padding: 0; }

:focus-visible {
	outline: 3px solid var(--lv-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection { background: var(--lv-accent); color: var(--lv-dark); }

.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 !important; word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	position: fixed !important; top: 12px; left: 12px; z-index: 1000;
	background: var(--lv-dark); color: var(--lv-bg); padding: 12px 20px;
	border-radius: var(--lv-radius-btn); text-decoration: none;
}

.lv-container {
	width: 100%;
	max-width: calc(var(--lv-container) + var(--lv-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--lv-gutter);
}

.lv-container--narrow { max-width: calc(780px + var(--lv-gutter) * 2); }

.lv-section { padding-block: var(--lv-section); position: relative; }
.lv-section--tight { padding-block: clamp(40px, 6vw, 72px); }

.lv-dark { background: var(--lv-dark); color: var(--lv-on-dark); }
.lv-beige { background: var(--lv-beige); }

/* Accent highlight created with [brackets] in Customizer text */
.lv-hl { color: var(--lv-accent); }

/* Little hand-drawn scribble next to headings (reference detail) */
.lv-scribble {
	display: inline-block;
	width: .5em; height: .5em;
	margin-left: .08em;
	vertical-align: .55em;
	background:
		linear-gradient(var(--lv-accent), var(--lv-accent)) 50% 0 / 2.5px 42% no-repeat,
		linear-gradient(var(--lv-accent), var(--lv-accent)) 100% 55% / 42% 2.5px no-repeat;
	transform: rotate(18deg);
	border-radius: 2px;
}

/* ---------- Type scale ---------- */
.lv-h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.lv-h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 0; }

.lv-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .9rem;
	font-weight: 600;
	margin: 0 0 14px;
	color: inherit;
	opacity: .9;
}
.lv-label__dots {
	width: 26px; height: 12px; position: relative; flex: none;
}
.lv-label__dots::before,
.lv-label__dots::after {
	content: ""; position: absolute; top: 0; width: 12px; height: 12px; border-radius: 50%;
}
.lv-label__dots::before { left: 0; background: var(--lv-dark); }
.lv-label__dots::after { left: 10px; background: var(--lv-accent); }
.lv-dark .lv-label__dots::before { background: var(--lv-bg); }

.lv-section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.lv-section-head--split {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px 40px; flex-wrap: wrap;
}
.lv-section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.lv-section-head--center .lv-label { justify-content: center; }
.lv-section-head__intro {
	max-width: 42ch; color: var(--lv-muted); margin: 0; font-size: 1.02rem;
}
.lv-section-head--center .lv-section-head__intro { margin: 18px auto 0; max-width: 58ch; }

/* ---------- Buttons ---------- */
.lv-btn {
	--btn-bg: var(--lv-accent);
	--btn-fg: var(--lv-dark);
	--btn-icon-bg: var(--lv-dark);
	--btn-icon-fg: var(--lv-bg);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 6px 6px 6px 26px;
	border-radius: var(--lv-radius-btn);
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 2px solid var(--btn-bg);
	font-family: var(--lv-font-head);
	font-weight: 600;
	font-size: .98rem;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .35s var(--lv-ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.lv-btn:hover {
	color: var(--btn-fg);
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -14px color-mix(in srgb, var(--btn-bg) 90%, #000);
}
.lv-btn__icon {
	width: 38px; height: 38px; flex: none;
	display: grid; place-items: center;
	border-radius: var(--lv-radius-btn);
	background: var(--btn-icon-bg); color: var(--btn-icon-fg);
	transition: transform .35s var(--lv-ease);
}
.lv-btn:hover .lv-btn__icon { transform: rotate(45deg); }
.lv-btn:not(:has(.lv-btn__icon)) { padding: 6px 26px; }

.lv-btn--dark { --btn-bg: var(--lv-dark); --btn-fg: var(--lv-bg); --btn-icon-bg: var(--lv-accent); --btn-icon-fg: var(--lv-dark); }
.lv-btn--light { --btn-bg: var(--lv-surface); --btn-fg: var(--lv-dark); }
.lv-btn--outline { --btn-bg: transparent; --btn-fg: var(--lv-dark); border-color: var(--lv-dark); background: color-mix(in srgb, var(--lv-surface) 70%, transparent); }
.lv-btn--outline:hover { background: var(--lv-dark); color: var(--lv-bg); box-shadow: none; }

.lv-pill {
	display: inline-flex; align-items: center;
	padding: 8px 18px; border-radius: var(--lv-radius-btn);
	border: 1.5px solid var(--lv-line); text-decoration: none; font-weight: 600; font-size: .92rem;
	background: var(--lv-surface);
}
.lv-pill.is-active,
.lv-pill:hover { background: var(--lv-dark); color: var(--lv-bg); border-color: var(--lv-dark); }

/* ---------- Header ---------- */
.lv-header {
	position: relative;
	z-index: 100;
	padding-top: 18px;
}
.lv-sticky-header .lv-header { position: sticky; top: 0; }
.admin-bar.lv-sticky-header .lv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.lv-sticky-header .lv-header { top: 0; } }

.lv-nav-bar {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 66px;
	padding: 8px 8px 8px 12px;
	border-radius: var(--lv-radius-btn);
	background: var(--lv-dark);
	color: var(--lv-bg);
	transition: box-shadow .3s, transform .3s;
}
.lv-header.is-scrolled .lv-nav-bar { box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .55); }

.lv-brand { flex: none; }
.lv-brand .custom-logo { max-height: 48px; width: auto; }
.lv-brand__text {
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none; color: var(--lv-bg);
	font-family: var(--lv-font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em;
}
.lv-brand__text:hover { color: var(--lv-bg); }
.lv-brand__mark {
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--lv-accent); color: var(--lv-dark);
	font-size: 1.2rem; font-weight: 800;
	transform: rotate(-8deg);
}
.lv-brand__dot { color: var(--lv-accent); }

.lv-nav { margin-left: auto; }
.lv-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 2px;
}
.lv-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--lv-radius-btn);
	font-size: .92rem;
	font-weight: 600;
	color: var(--lv-on-dark-muted);
	text-decoration: none;
	transition: color .2s, background-color .2s;
}
.lv-menu a:hover,
.lv-menu .current-menu-item > a,
.lv-menu a.is-active { color: var(--lv-accent); }
.lv-menu .current-menu-item > a[href*="#"]:not(.is-active) { color: var(--lv-on-dark-muted); }

/* Dropdowns */
.lv-menu li { position: relative; }
.lv-menu .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 200px;
	background: var(--lv-dark); border-radius: var(--lv-radius-sm); padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
	box-shadow: var(--lv-shadow);
}
.lv-menu li:hover > .sub-menu,
.lv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.lv-nav__cta--desktop { margin-left: 8px; }
.lv-nav__cta--desktop .lv-btn { min-height: 48px; }
.lv-nav__cta--mobile { display: none; }

.lv-nav-toggle {
	display: none;
	margin-left: auto;
	width: 48px; height: 48px;
	border: 0; border-radius: 50%;
	background: var(--lv-accent); color: var(--lv-dark);
	cursor: pointer;
}
.lv-nav-toggle__bars { display: grid; gap: 5px; width: 20px; margin: auto; }
.lv-nav-toggle__bars span {
	display: block; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform .3s var(--lv-ease), opacity .2s;
}
.lv-nav-toggle[aria-expanded="true"] .lv-nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lv-nav-toggle[aria-expanded="true"] .lv-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.lv-nav-toggle[aria-expanded="true"] .lv-nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.lv-nav-toggle { display: block; }
	.lv-nav__cta--desktop { display: none; }
	.lv-nav {
		position: absolute;
		left: var(--lv-gutter); right: var(--lv-gutter);
		top: calc(100% + 10px);
		background: var(--lv-dark);
		border-radius: var(--lv-radius);
		padding: 16px;
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
		opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
		transform-origin: top center;
		transition: opacity .25s, transform .3s var(--lv-ease), visibility .25s;
		max-height: calc(100vh - 120px); overflow-y: auto;
	}
	.lv-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.lv-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.lv-menu a { font-size: 1.15rem; padding: 14px 16px; font-family: var(--lv-font-head); color: var(--lv-on-dark); }
	.lv-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	.lv-nav__cta--mobile { display: block; padding: 12px 8px 4px; }
	.lv-nav__cta--mobile .lv-btn { width: 100%; justify-content: space-between; }
	.lv-header .lv-container { position: relative; }
}

/* ---------- Hero ---------- */
.lv-hero {
	position: relative;
	padding: clamp(36px, 6vw, 64px) 0 0;
	background-image: var(--lv-hero-bg, none);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.lv-hero__inner { position: relative; }
.lv-hero__intro { text-align: center; position: relative; z-index: 2; }

.lv-hero__label {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 16px 6px 6px;
	border-radius: var(--lv-radius-btn);
	background: var(--lv-surface);
	border: 1px solid var(--lv-line);
	font-size: .88rem; font-weight: 600;
	margin-bottom: 22px;
}
.lv-hero__label-icon {
	width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--lv-dark); color: var(--lv-accent);
}
.lv-hero__label-icon svg { width: 14px; height: 14px; }

.lv-hero__title {
	font-size: clamp(2.35rem, 7.2vw, 5.4rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin: 0 auto 16px;
	max-width: 14ch;
	text-wrap: balance;
}
.lv-hero__sub {
	font-family: var(--lv-font-head);
	font-size: clamp(1.02rem, 1.8vw, 1.3rem);
	font-weight: 500;
	color: var(--lv-muted);
	max-width: 36ch;
	margin: 0 auto;
	text-wrap: balance;
}

/* Rotating circle badge */
.lv-badge {
	position: absolute;
	top: 0;
	right: var(--lv-gutter);
	width: 124px; height: 124px;
	border-radius: 50%;
	background: var(--lv-dark);
	color: var(--lv-bg);
	display: grid; place-items: center;
	z-index: 3;
	text-decoration: none;
	box-shadow: 0 0 0 6px var(--lv-bg), 0 0 0 7px var(--lv-line);
}
.lv-badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: lv-spin 18s linear infinite; }
.lv-badge__text text {
	fill: currentColor; font-family: var(--lv-font-head); font-size: 9.6px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
}
.lv-badge__core {
	width: 50px; height: 50px; border-radius: 50%;
	background: var(--lv-accent); color: var(--lv-dark);
	display: grid; place-items: center;
	transition: transform .4s var(--lv-ease);
}
.lv-badge__core svg { width: 20px; height: 20px; }
.lv-badge:hover .lv-badge__core { transform: rotate(45deg) scale(1.06); }
.lv-badge:hover { color: var(--lv-bg); }

.lv-hero__stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 500px) minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	margin-top: clamp(4px, 2vw, 16px);
}

.lv-hero__side { position: relative; z-index: 2; }
.lv-hero__side--left { display: grid; gap: 40px; align-self: center; }
.lv-hero__side--right { text-align: right; justify-self: end; max-width: 300px; }

.lv-hero__small { font-size: .88rem; font-weight: 600; margin-bottom: 10px; color: var(--lv-muted); }

.lv-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lv-social a {
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1.5px solid var(--lv-line);
	color: var(--lv-text);
	background: var(--lv-surface);
	transition: background-color .25s, color .25s, transform .3s var(--lv-ease), border-color .25s;
}
.lv-social a:hover { background: var(--lv-accent); border-color: var(--lv-accent); color: var(--lv-dark); transform: translateY(-3px); }
.lv-social--light a,
.lv-social--footer a { background: transparent; color: var(--lv-on-dark); border-color: color-mix(in srgb, var(--lv-bg) 22%, transparent); }

.lv-hero__community p { margin: 0; font-size: .95rem; max-width: 24ch; color: var(--lv-muted); line-height: 1.45; }
.lv-hero__community strong { color: var(--lv-accent); font-family: var(--lv-font-head); font-size: 1.15rem; display: block; }
.lv-avatars { list-style: none; display: flex; margin-bottom: 10px; }
.lv-avatars li {
	width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
	border: 3px solid var(--lv-bg);
	margin-left: -12px;
	background: var(--lv-beige);
	display: grid; place-items: center;
	font-family: var(--lv-font-head); font-weight: 700; font-size: .78rem;
}
.lv-avatars li:first-child { margin-left: 0; }
.lv-avatars li:nth-child(2) { background: var(--lv-accent); }
.lv-avatars li:nth-child(3) { background: var(--lv-dark); color: var(--lv-bg); }
.lv-avatars img { width: 100%; height: 100%; object-fit: cover; }

.lv-hero__quote { color: var(--lv-accent); display: inline-block; margin-bottom: 10px; }
.lv-hero__quote svg { width: 38px; height: auto; }
.lv-hero__desc { margin: 0; font-size: 1.02rem; color: var(--lv-muted); line-height: 1.6; }

/* Portrait composition */
.lv-hero__visual {
	position: relative;
	aspect-ratio: 5 / 6;
	display: grid;
	align-items: end;
	justify-items: center;
}
.lv-hero__ring {
	position: absolute;
	left: 50%; bottom: 0;
	width: 118%; aspect-ratio: 1;
	transform: translateX(-50%);
	border-radius: 50%;
	background:
		radial-gradient(circle, transparent 56%, color-mix(in srgb, var(--lv-beige) 90%, transparent) 56.5%, color-mix(in srgb, var(--lv-beige) 90%, transparent) 70%, transparent 70.5%);
	z-index: 0;
}
.lv-hero__blob {
	position: absolute;
	left: 50%; bottom: 0;
	width: 80%; aspect-ratio: 1 / 1.02;
	transform: translateX(-50%);
	background: var(--lv-accent);
	border-radius: 48% 52% 46% 54% / 58% 55% 45% 42%;
	z-index: 0;
}
.lv-hero__portrait {
	position: relative;
	z-index: 1;
	width: 88%;
	height: 100%;
	border-radius: 999px 999px 0 0;
	overflow: hidden;
	display: flex; align-items: flex-end;
}
.lv-hero__img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center top;
}
.lv-hero__spark { position: absolute; color: var(--lv-accent); z-index: 2; }
.lv-hero__spark--a { top: 10%; left: 2%; width: 30px; }
.lv-hero__spark--b { top: 30%; right: -2%; width: 20px; color: var(--lv-dark); }
.lv-hero__spark svg { width: 100%; height: auto; }

/* Floating labels */
.lv-float {
	display: inline-flex; align-items: center;
	padding: 9px 18px;
	border-radius: var(--lv-radius-btn);
	background: var(--lv-dark);
	color: var(--lv-bg);
	font-family: var(--lv-font-head);
	font-size: .88rem;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .55);
}
.lv-hero__labels { list-style: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.lv-hero__labels .lv-float { position: absolute; }
.lv-float--1 { top: 22%; left: -10%; background: var(--lv-surface); color: var(--lv-dark); border: 1.5px solid var(--lv-dark); }
.lv-float--2 { top: 40%; right: -12%; background: var(--lv-accent); color: var(--lv-dark); }
.lv-float--3 { top: 58%; left: -14%; }
.lv-float--4 { top: 66%; right: -8%; background: var(--lv-surface); color: var(--lv-dark); border: 1.5px solid var(--lv-dark); }

.lv-hero__actions {
	position: absolute;
	left: 50%; bottom: 24px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex; gap: 10px;
	padding: 6px;
	border-radius: var(--lv-radius-btn);
	background: color-mix(in srgb, var(--lv-surface) 55%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid color-mix(in srgb, var(--lv-surface) 70%, transparent);
}
.lv-hero__actions .lv-btn { min-height: 48px; }
.lv-hero__actions .lv-btn--outline { background: var(--lv-surface); }

@media (max-width: 1080px) {
	.lv-hero__stage { grid-template-columns: 1fr minmax(280px, 420px) 1fr; gap: 16px; }
	.lv-float--1, .lv-float--3 { left: -4%; }
	.lv-float--2, .lv-float--4 { right: -4%; }
	.lv-badge { width: 104px; height: 104px; }
}

@media (max-width: 860px) {
	.lv-badge { position: relative; right: auto; margin: 0 auto 20px; order: -1; }
	.lv-hero__inner { display: flex; flex-direction: column; }
	.lv-hero__stage { grid-template-columns: 1fr; gap: 28px; margin-top: 12px; }
	.lv-hero__visual { order: 1; width: min(100%, 440px); margin: 0 auto; }
	.lv-hero__side--right { order: 2; text-align: center; justify-self: center; max-width: 46ch; }
	.lv-hero__side--left {
		order: 3; grid-template-columns: auto auto; justify-content: center; gap: 28px;
		padding: 22px 0 8px; border-top: 1px solid var(--lv-line);
	}
	.lv-hero__actions { position: static; transform: none; margin: 18px auto 0; grid-column: 1; justify-self: center; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
	.lv-hero__visual { align-items: start; aspect-ratio: auto; }
	.lv-hero__portrait { aspect-ratio: 5 / 6; height: auto; }
	.lv-hero__ring, .lv-hero__blob { bottom: auto; top: 6%; }
	.lv-hero__blob { top: 16%; }
}

@media (max-width: 520px) {
	.lv-badge { width: 92px; height: 92px; }
	.lv-badge__text text { font-size: 10px; }
	.lv-badge__core { width: 40px; height: 40px; }
	.lv-float { font-size: .78rem; padding: 7px 13px; }
	.lv-float--1 { top: 16%; left: 0; }
	.lv-float--2 { top: 34%; right: 0; }
	.lv-float--3 { top: 46%; left: 0; }
	.lv-float--4 { top: 56%; right: 0; }
	.lv-hero__labels { z-index: 4; }
	.lv-hero__actions { flex-direction: column; width: 100%; }
	.lv-hero__actions .lv-btn { justify-content: space-between; }
	.lv-hero__actions .lv-btn--outline { justify-content: center; }
	.lv-hero__side--left { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.lv-hero__community p { margin-inline: auto; }
	.lv-avatars { justify-content: center; }
}

/* ---------- Ticker ---------- */
.lv-ticker {
	background: var(--lv-dark);
	color: var(--lv-bg);
	border-block: 4px solid var(--lv-accent);
	overflow: hidden;
	padding-block: 18px;
	position: relative;
	z-index: 2;
}
.lv-ticker__track {
	display: flex;
	width: max-content;
	animation: lv-marquee var(--lv-ticker-speed, 35s) linear infinite;
}
.lv-ticker:hover .lv-ticker__track { animation-play-state: paused; }
.lv-ticker__list { list-style: none; display: flex; flex: none; }
.lv-ticker__list li {
	display: inline-flex; align-items: center; gap: clamp(18px, 3vw, 34px);
	padding-right: clamp(18px, 3vw, 34px);
	font-family: var(--lv-font-head);
	font-weight: 600;
	font-size: clamp(1.1rem, 2.2vw, 1.6rem);
	letter-spacing: -.01em;
	white-space: nowrap;
}
.lv-ticker__spark { color: var(--lv-accent); display: inline-flex; }
.lv-ticker__spark svg { width: .8em; height: .8em; }

@keyframes lv-marquee { to { transform: translateX(-50%); } }
@keyframes lv-spin { to { transform: rotate(360deg); } }

/* ---------- About ---------- */
.lv-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 100px);
	align-items: center;
}
.lv-about__visual { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.lv-about__frame {
	position: relative;
	aspect-ratio: 4 / 4.6;
	background: var(--lv-accent);
	border-radius: var(--lv-radius) var(--lv-radius) var(--lv-radius) 120px;
	overflow: hidden;
}
.lv-about__frame::before {
	content: ""; position: absolute; inset: 14px;
	border: 2px dashed color-mix(in srgb, var(--lv-dark) 35%, transparent);
	border-radius: inherit; z-index: 1; pointer-events: none;
}
.lv-about__img { width: 100%; height: 100%; object-fit: cover; }
.lv-about__tag { position: absolute; z-index: 2; }
.lv-about__tag--1 { left: -18px; bottom: 16%; background: var(--lv-bg); color: var(--lv-dark); }
.lv-about__tag--2 { right: -14px; bottom: 5%; background: var(--lv-dark); color: var(--lv-bg); border: 1.5px solid var(--lv-accent); }
.lv-about__spark { position: absolute; top: -18px; right: 12%; color: var(--lv-accent); width: 40px; }
.lv-about__spark svg { width: 100%; height: auto; }

.lv-about__content .lv-h2 { margin-bottom: 22px; }
.lv-about__text { color: var(--lv-on-dark-muted); max-width: 62ch; }
.lv-about__text strong { color: var(--lv-on-dark); }
.lv-about__text a { color: var(--lv-accent); }

.lv-checklist {
	list-style: none;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 26px 0 34px;
}
.lv-checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--lv-on-dark); font-size: .98rem; }
.lv-checklist__icon {
	width: 26px; height: 26px; flex: none; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--lv-accent); color: var(--lv-dark);
}
.lv-checklist__icon svg { width: 13px; height: 13px; }

@media (max-width: 860px) {
	.lv-about__grid { grid-template-columns: 1fr; }
	.lv-about__visual { max-width: 400px; }
}
@media (max-width: 520px) {
	.lv-checklist { grid-template-columns: 1fr; }
	.lv-about__tag--1 { left: -6px; }
	.lv-about__tag--2 { right: -6px; }
}

/* ---------- Expertise accordion ---------- */
.lv-acc { display: grid; gap: 14px; }
.lv-acc__item {
	--row-bg: var(--lv-surface);
	--row-fg: var(--lv-text);
	background: var(--row-bg);
	color: var(--row-fg);
	border-radius: var(--lv-radius-sm);
	transition: background-color .45s var(--lv-ease), color .45s var(--lv-ease);
	position: relative;
}
/* Notched edges like the reference rows */
.lv-acc__item::before,
.lv-acc__item::after {
	content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%;
	background: var(--lv-bg); transform: translateY(-50%);
}
.lv-acc__item::before { left: -7px; }
.lv-acc__item::after { right: -7px; }
.lv-acc__item.is-open { --row-bg: var(--lv-dark); --row-fg: var(--lv-bg); }

.lv-acc__heading { margin: 0; font-size: inherit; letter-spacing: 0; }
.lv-acc__trigger {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	display: grid;
	grid-template-columns: 56px minmax(40px, 1fr) minmax(0, 2.2fr) 44px;
	align-items: center;
	gap: 18px;
	padding: 18px 22px 18px 28px;
	cursor: pointer;
	border-radius: var(--lv-radius-sm);
}
.lv-acc__trigger:focus-visible { outline: 3px solid var(--lv-accent); outline-offset: 3px; }
.lv-acc__num { font-family: var(--lv-font-head); font-weight: 600; font-size: .9rem; color: var(--lv-accent); }
.lv-acc__line { height: 1.5px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 11px); opacity: .25; }
.lv-acc__title {
	font-family: var(--lv-font-head);
	font-weight: 700;
	font-size: clamp(1.1rem, 2.2vw, 1.55rem);
	letter-spacing: -.02em;
	line-height: 1.2;
}
.lv-acc__icon {
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--lv-accent); color: var(--lv-dark);
	justify-self: end;
	transition: transform .45s var(--lv-ease);
}
.lv-acc__item.is-open .lv-acc__icon { transform: rotate(90deg); }
.lv-acc__trigger:hover .lv-acc__title { color: var(--lv-accent); }

.lv-acc__panel {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows .5s var(--lv-ease), visibility 0s linear .5s;
}
.lv-acc__item.is-open .lv-acc__panel {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows .5s var(--lv-ease), visibility 0s;
}
.lv-acc__inner { overflow: hidden; min-height: 0; }
.lv-acc__body {
	padding: 0 22px 26px 28px;
	display: grid;
	grid-template-columns: 56px minmax(40px, 1fr) minmax(0, 2.2fr) 44px;
	gap: 16px 18px;
}
.lv-acc__body > * { grid-column: 3; max-width: 640px; }
.lv-acc__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lv-acc__tags li {
	padding: 6px 14px; border-radius: var(--lv-radius-btn);
	border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
	font-size: .84rem; font-weight: 600;
}
.lv-acc__text { color: color-mix(in srgb, currentColor 72%, transparent); }
.lv-acc__text p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
	.lv-acc__trigger { grid-template-columns: 40px minmax(0, 1fr) 40px; padding: 16px 16px 16px 20px; gap: 12px; }
	.lv-acc__line { display: none; }
	.lv-acc__body { grid-template-columns: minmax(0, 1fr); padding: 0 20px 22px; }
	.lv-acc__body > * { grid-column: 1; }
}

/* ---------- Teaching steps ---------- */
.lv-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
	counter-reset: none;
}
.lv-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lv-steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lv-steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lv-steps--1 { grid-template-columns: minmax(0, 1fr); }

.lv-step {
	position: relative;
	min-height: 260px;
	padding: 26px 24px;
	border-radius: var(--lv-radius);
	background: var(--lv-surface);
	display: flex; flex-direction: column;
	overflow: hidden;
	transition: transform .45s var(--lv-ease);
}
.lv-step:hover { transform: translateY(-6px) rotate(-.6deg); }
/* Staircase rhythm: each step sits a little higher, like climbing */
.lv-steps--5 .lv-step:nth-child(1) { margin-top: 96px; }
.lv-steps--5 .lv-step:nth-child(2) { margin-top: 72px; }
.lv-steps--5 .lv-step:nth-child(3) { margin-top: 48px; }
.lv-steps--5 .lv-step:nth-child(4) { margin-top: 24px; }

.lv-step { --card-bg: var(--lv-surface); --card-fg: var(--lv-text); background: var(--card-bg); color: var(--card-fg); }
.lv-step:nth-child(5n+2),
.lv-step:nth-child(5n+4) { --card-bg: var(--lv-dark); --card-fg: var(--lv-bg); }
.lv-step:nth-child(5n+3) { --card-bg: var(--lv-beige); }
.lv-step:nth-child(5n+5),
.lv-step:last-child { --card-bg: var(--lv-accent); --card-fg: var(--lv-dark); }

.lv-step__num {
	font-family: var(--lv-font-head);
	font-weight: 800;
	font-size: 3.6rem;
	line-height: 1;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--card-fg, var(--lv-text));
	margin-bottom: auto;
}
.lv-step:last-child .lv-step__num { color: var(--lv-dark); -webkit-text-stroke: 0; }
.lv-step__title { font-size: 1.45rem; margin: 40px 0 8px; }
.lv-step__text { margin: 0; font-size: .95rem; opacity: .8; line-height: 1.5; }

@media (max-width: 1080px) {
	.lv-steps,
	.lv-steps--4,
	.lv-steps--5,
	.lv-steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lv-steps--5 .lv-step:nth-child(n) { margin-top: 0; }
	.lv-steps--5 .lv-step:nth-child(4),
	.lv-steps--5 .lv-step:nth-child(5) { grid-column: span 1; }
	.lv-step { min-height: 220px; }
}
@media (max-width: 680px) {
	.lv-steps,
	.lv-steps--3,
	.lv-steps--4,
	.lv-steps--5,
	.lv-steps--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.lv-step { min-height: 200px; padding: 20px 18px; }
	.lv-step__num { font-size: 2.6rem; }
	.lv-step__title { font-size: 1.2rem; margin-top: 28px; }
	.lv-steps--5 .lv-step:last-child { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 360px) {
	.lv-steps,
	.lv-steps--3,
	.lv-steps--4,
	.lv-steps--5,
	.lv-steps--6 { grid-template-columns: 1fr; }
}

/* ---------- Journey timeline ---------- */
.lv-timeline {
	list-style: none;
	position: relative;
	max-width: 1040px;
	margin: 0 auto;
	display: grid;
	gap: 26px;
}
.lv-timeline::before {
	content: "";
	position: absolute;
	top: 8px; bottom: 8px; left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: repeating-linear-gradient(180deg, var(--lv-dark) 0 8px, transparent 8px 16px);
	opacity: .35;
}
.lv-timeline__item {
	position: relative;
	width: 50%;
	padding-right: 52px;
}
.lv-timeline__item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 52px; }
.lv-timeline__dot {
	position: absolute;
	top: 30px; right: -11px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--lv-bg);
	border: 5px solid var(--lv-dark);
	z-index: 1;
}
.lv-timeline__item:nth-child(even) .lv-timeline__dot { right: auto; left: -11px; }
.lv-timeline__item.is-current .lv-timeline__dot {
	border-color: var(--lv-accent);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--lv-accent) 28%, transparent);
}

.lv-timeline__card {
	background: var(--lv-surface);
	border-radius: var(--lv-radius);
	padding: 26px 28px;
	transition: transform .4s var(--lv-ease);
}
.lv-timeline__card:hover { transform: translateY(-4px); }
.lv-timeline__item.is-current .lv-timeline__card { background: var(--lv-dark); color: var(--lv-bg); }
.lv-timeline__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.lv-timeline__kind {
	padding: 5px 13px; border-radius: var(--lv-radius-btn);
	background: var(--lv-accent); color: var(--lv-dark);
	font-size: .78rem; font-weight: 700;
}
.lv-timeline__period { font-size: .86rem; font-weight: 600; opacity: .7; }
.lv-timeline__title { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 6px; }
.lv-timeline__org { font-weight: 600; opacity: .7; margin-bottom: 8px; font-size: .95rem; }
.lv-timeline__text { font-size: .96rem; opacity: .82; }
.lv-timeline__text p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
	.lv-timeline::before { left: 11px; transform: none; }
	.lv-timeline__item,
	.lv-timeline__item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 0 44px; }
	.lv-timeline__dot,
	.lv-timeline__item:nth-child(even) .lv-timeline__dot { left: 0; right: auto; top: 28px; }
	.lv-timeline__card { padding: 22px 20px; }
}

/* ---------- Skills ---------- */
.lv-skills__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(28px, 6vw, 80px);
	align-items: center;
}
.lv-skills__cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.lv-skill {
	padding: 13px 24px;
	border-radius: var(--lv-radius-btn);
	font-family: var(--lv-font-head);
	font-weight: 600;
	font-size: clamp(.95rem, 1.6vw, 1.12rem);
	border: 1.5px solid var(--lv-dark);
	transition: transform .35s var(--lv-ease), background-color .25s, color .25s;
}
.lv-skill--0 { background: transparent; }
.lv-skill--1 { background: var(--lv-dark); color: var(--lv-bg); }
.lv-skill--2 { background: var(--lv-accent); border-color: var(--lv-accent); color: var(--lv-dark); }
.lv-skill--3 { background: var(--lv-surface); border-color: var(--lv-line); }
.lv-skill:hover { transform: translateY(-3px) rotate(-2deg); }

@media (max-width: 860px) {
	.lv-skills__grid { grid-template-columns: 1fr; }
	.lv-skill { padding: 10px 18px; }
}

/* ---------- Projects ---------- */
.lv-projects-section { background: var(--lv-bg); }
.lv-projects {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px;
}
.lv-projects__cell { grid-column: span 4; display: flex; }
/* Editorial rhythm: first project is a feature */
.lv-projects--3 .lv-projects__cell:nth-child(1),
.lv-projects--4 .lv-projects__cell:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.lv-projects--3 .lv-projects__cell:nth-child(n+2),
.lv-projects--4 .lv-projects__cell:nth-child(2),
.lv-projects--4 .lv-projects__cell:nth-child(3) { grid-column: span 5; }
.lv-projects--2 .lv-projects__cell { grid-column: span 6; }
.lv-projects--1 .lv-projects__cell { grid-column: span 12; }
.lv-projects--archive .lv-projects__cell,
.lv-projects--archive > .lv-project { grid-column: span 4; }

.lv-project {
	position: relative;
	display: flex; flex-direction: column;
	width: 100%;
	background: var(--lv-surface);
	border-radius: var(--lv-radius);
	overflow: hidden;
	padding: 10px;
	transition: transform .45s var(--lv-ease), box-shadow .45s var(--lv-ease);
}
.lv-project:hover { transform: translateY(-6px); box-shadow: var(--lv-shadow); }
.lv-project__media {
	position: relative;
	display: block;
	border-radius: calc(var(--lv-radius) - 8px);
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: var(--lv-beige);
}
.lv-projects--3 .lv-projects__cell:first-child .lv-project__media,
.lv-projects--4 .lv-projects__cell:first-child .lv-project__media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.lv-projects--3 .lv-projects__cell:first-child .lv-project,
.lv-projects--4 .lv-projects__cell:first-child .lv-project { background: var(--lv-dark); color: var(--lv-bg); }
.lv-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--lv-ease); }
.lv-project:hover .lv-project__media img { transform: scale(1.05); }
.lv-project__cat {
	position: absolute; top: 14px; left: 14px;
	padding: 6px 14px; border-radius: var(--lv-radius-btn);
	background: var(--lv-surface); color: var(--lv-dark);
	font-size: .8rem; font-weight: 700;
}
.lv-project__body { padding: 18px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.lv-project__title { font-size: clamp(1.12rem, 1.8vw, 1.35rem); margin: 0; }
.lv-project__title a { text-decoration: none; }
.lv-project__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lv-project__desc { margin: 0; font-size: .94rem; opacity: .75; line-height: 1.55; }
.lv-project__cta {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--lv-font-head); font-weight: 600; font-size: .92rem;
	margin-top: 6px;
}
.lv-project__cta .lv-btn__icon { width: 32px; height: 32px; background: var(--lv-accent); color: var(--lv-dark); }
.lv-project:hover .lv-project__cta .lv-btn__icon { transform: rotate(45deg); }

@media (max-width: 960px) {
	.lv-projects .lv-projects__cell:nth-child(n),
	.lv-projects--archive > .lv-project { grid-column: span 6; grid-row: auto; }
	.lv-projects--3 .lv-projects__cell:first-child,
	.lv-projects--4 .lv-projects__cell:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
	.lv-projects .lv-projects__cell:nth-child(n),
	.lv-projects--archive > .lv-project { grid-column: 1 / -1; }
}

/* ---------- Testimonials ---------- */
.lv-testimonials { background: var(--lv-beige); }
.lv-slider-nav { display: flex; gap: 10px; }
.lv-slider-btn {
	width: 52px; height: 52px; border-radius: 50%;
	border: 1.5px solid var(--lv-dark); background: transparent; color: var(--lv-dark);
	display: grid; place-items: center; cursor: pointer;
	transition: background-color .25s, color .25s;
}
.lv-slider-btn:hover { background: var(--lv-dark); color: var(--lv-bg); }
.lv-slider-btn--next { background: var(--lv-accent); border-color: var(--lv-accent); }
.lv-slider-btn--next svg { transform: scaleX(-1); }
.lv-slider-btn:disabled { opacity: .35; cursor: default; background: transparent; color: var(--lv-dark); }

.lv-slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 40px) / 3);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 6px;
	overscroll-behavior-x: contain;
}
.lv-slider::-webkit-scrollbar { display: none; }
.lv-review {
	scroll-snap-align: start;
	margin: 0;
	background: var(--lv-surface);
	border-radius: var(--lv-radius);
	padding: 28px;
	display: flex; flex-direction: column; gap: 18px;
}
.lv-review:nth-child(3n+2) { background: var(--lv-dark); color: var(--lv-bg); }
.lv-review__top { display: flex; justify-content: space-between; align-items: center; }
.lv-review__quote { color: var(--lv-accent); }
.lv-review__quote svg { width: 34px; }
.lv-review__stars { color: var(--lv-accent); letter-spacing: 2px; font-size: 1rem; }
.lv-review__text { margin: 0; font-size: 1.02rem; line-height: 1.65; flex: 1; }
.lv-review__text p:last-child { margin: 0; }
.lv-review__person { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.lv-review__photo {
	width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden;
	background: var(--lv-accent); color: var(--lv-dark);
	display: grid; place-items: center; font-family: var(--lv-font-head); font-weight: 700;
}
.lv-review__photo img { width: 100%; height: 100%; object-fit: cover; }
.lv-review__name { display: block; font-style: normal; font-family: var(--lv-font-head); font-weight: 700; }
.lv-review__role { display: block; font-size: .86rem; opacity: .7; }

@media (max-width: 960px) { .lv-slider { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .lv-slider { grid-auto-columns: 86%; gap: 14px; } }

/* ---------- Branding statement ---------- */
.lv-branding {
	position: relative;
	background: var(--lv-accent);
	color: var(--lv-dark);
	padding-block: calc(var(--lv-section) + 20px);
	overflow-x: clip;
	margin-top: 24px;
}
.lv-branding::before {
	content: ""; position: absolute; inset: 0;
	background-image: var(--lv-branding-bg, none);
	background-size: cover; background-position: center;
	opacity: .18; mix-blend-mode: multiply;
}
/* Torn-paper edges from the reference */
.lv-branding::after {
	content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px;
	background: var(--lv-accent);
	-webkit-mask: radial-gradient(17px 22px at 50% 100%, #000 98%, transparent) 0 0 / 34px 24px repeat-x;
	mask: radial-gradient(17px 22px at 50% 100%, #000 98%, transparent) 0 0 / 34px 24px repeat-x;
}
.lv-branding__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 70px); align-items: end; }
.lv-branding__title {
	margin: 0;
	font-size: clamp(2.8rem, 8.6vw, 7.4rem);
	line-height: .95;
	letter-spacing: -.05em;
	font-weight: 800;
}
.lv-branding__title span { display: block; }
.lv-branding__title span:nth-child(2) {
	color: var(--lv-accent);
	-webkit-text-stroke: 4px var(--lv-dark);
	paint-order: stroke fill;
	padding-left: .6em;
}
.lv-branding__title span:nth-child(3) { color: var(--lv-bg); }
.lv-branding__statement { margin: 0; position: relative; padding: 30px; background: var(--lv-dark); color: var(--lv-bg); border-radius: var(--lv-radius) var(--lv-radius) var(--lv-radius) 6px; }
.lv-branding__quote { color: var(--lv-accent); display: block; margin-bottom: 14px; }
.lv-branding__quote svg { width: 36px; }
.lv-branding__statement blockquote { margin: 0; }
.lv-branding__statement p { font-family: var(--lv-font-head); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.5; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.lv-branding__statement figcaption { margin-top: 18px; font-weight: 700; color: var(--lv-accent); }
.lv-branding__statement figcaption::before { content: "— "; }

@media (max-width: 860px) {
	.lv-branding__inner { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.lv-contact { padding-bottom: calc(var(--lv-section) * .7); }
.lv-contact__card {
	position: relative;
	overflow: hidden;
	border-radius: calc(var(--lv-radius) * 1.4);
	padding: clamp(32px, 6vw, 80px);
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: end;
}
.lv-contact__orb {
	position: absolute; right: -120px; top: -140px;
	width: 380px; height: 380px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, var(--lv-accent), color-mix(in srgb, var(--lv-accent) 40%, var(--lv-dark)) 70%);
	opacity: .9;
}
.lv-contact__main,
.lv-contact__side { position: relative; z-index: 1; }
.lv-contact__title { font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: 18px; line-height: 1.04; }
.lv-contact__text { color: var(--lv-on-dark-muted); max-width: 54ch; font-size: 1.05rem; margin-bottom: 30px; }
.lv-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lv-contact__list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.lv-contact__list li {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 16px 12px 12px;
	border-radius: var(--lv-radius-btn);
	background: color-mix(in srgb, var(--lv-bg) 7%, transparent);
	border: 1px solid color-mix(in srgb, var(--lv-bg) 12%, transparent);
	word-break: break-word;
}
.lv-contact__list a { text-decoration: none; }
.lv-contact__icon { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--lv-accent); color: var(--lv-dark); }
.lv-contact__social .lv-hero__small { color: var(--lv-on-dark-muted); }

@media (max-width: 860px) {
	.lv-contact__card { grid-template-columns: 1fr; }
	.lv-contact__orb { width: 240px; height: 240px; right: -90px; top: -90px; }
}
@media (max-width: 520px) {
	.lv-contact__actions .lv-btn { width: 100%; justify-content: space-between; }
	.lv-contact__actions .lv-btn:not(:has(.lv-btn__icon)) { justify-content: center; }
}

/* ---------- Footer ---------- */
.lv-footer { background: var(--lv-dark); color: var(--lv-on-dark); padding: 64px 0 28px; }
.lv-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
	gap: 32px;
	align-items: start;
	padding-bottom: 36px;
	border-bottom: 1px solid color-mix(in srgb, var(--lv-bg) 14%, transparent);
}
.lv-footer__name { font-family: var(--lv-font-head); font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.lv-footer__title { color: var(--lv-accent); font-weight: 600; margin: 2px 0 12px; }
.lv-footer__text { color: var(--lv-on-dark-muted); font-size: .95rem; max-width: 34ch; margin: 0; }
.lv-footer-menu,
.lv-footer__nav .lv-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 8px; flex-direction: row; align-items: center; }
.lv-footer-menu a,
.lv-footer__nav .lv-menu a { color: var(--lv-on-dark-muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 0; background: none; font-family: inherit; }
.lv-footer-menu a:hover,
.lv-footer__nav .lv-menu a:hover { color: var(--lv-accent); }
.lv-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	padding-top: 24px; font-size: .88rem; color: var(--lv-on-dark-muted);
}
.lv-footer__bottom p { margin: 0; }
.lv-to-top { text-decoration: none; font-weight: 600; }

@media (max-width: 860px) {
	.lv-footer__top { grid-template-columns: 1fr; }
}

/* ---------- Inner pages ---------- */
.lv-page-head { padding-block: clamp(48px, 8vw, 96px) clamp(20px, 3vw, 32px); }
.lv-page-head .lv-h1 { max-width: 20ch; }
.lv-page-head__desc { color: var(--lv-muted); max-width: 60ch; font-size: 1.1rem; }
.lv-single__meta { font-weight: 600; color: var(--lv-muted); font-size: .92rem; }
.lv-single__meta a { color: var(--lv-accent); text-decoration: none; }
.lv-single__media img { width: 100%; border-radius: var(--lv-radius); max-height: 640px; object-fit: cover; }

.lv-prose { font-size: 1.06rem; }
.lv-prose > * + * { margin-top: 1.1em; }
.lv-prose h2 { font-size: 1.8rem; margin-top: 1.8em; }
.lv-prose h3 { font-size: 1.4rem; margin-top: 1.6em; }
.lv-prose a { color: var(--lv-accent); }
.lv-prose img { border-radius: var(--lv-radius-sm); }
.lv-prose blockquote { border-left: 4px solid var(--lv-accent); margin-left: 0; padding-left: 20px; font-family: var(--lv-font-head); font-size: 1.2rem; }
.lv-prose ul, .lv-prose ol { padding-left: 1.3em; }
.lv-prose pre { background: var(--lv-dark); color: var(--lv-bg); padding: 18px; border-radius: var(--lv-radius-sm); overflow-x: auto; }
.lv-prose .alignwide { margin-inline: calc(-1 * min(12vw, 140px)); max-width: none; }
.lv-prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.lv-prose .alignleft { float: left; margin: 0 1.5em 1em 0; }
.lv-prose .alignright { float: right; margin: 0 0 1em 1.5em; }
.lv-prose .aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .85rem; color: var(--lv-muted); text-align: center; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

.lv-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lv-post-card { background: var(--lv-surface); border-radius: var(--lv-radius); overflow: hidden; padding: 10px; transition: transform .4s var(--lv-ease); }
.lv-post-card:hover { transform: translateY(-5px); }
.lv-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--lv-radius) - 8px); background: var(--lv-beige); }
.lv-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lv-post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--lv-beige), var(--lv-accent-soft)); }
.lv-post-card__body { padding: 16px 14px 10px; }
.lv-post-card__meta { font-size: .84rem; color: var(--lv-muted); margin-bottom: 6px; }
.lv-post-card__title { font-size: 1.25rem; }
.lv-post-card__title a { text-decoration: none; }
.lv-post-card__excerpt { color: var(--lv-muted); font-size: .95rem; }
@media (max-width: 960px) { .lv-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lv-post-grid { grid-template-columns: 1fr; } }

.lv-filter { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.pagination, .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.page-numbers { padding: 10px 16px; border-radius: var(--lv-radius-btn); background: var(--lv-surface); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--lv-dark); color: var(--lv-bg); }
.post-navigation .nav-links { justify-content: space-between; margin: 40px 0; }
.post-navigation a { text-decoration: none; font-weight: 700; font-family: var(--lv-font-head); }
.lv-postnav__label { display: block; font-size: .8rem; color: var(--lv-muted); font-family: var(--lv-font-body); }

.search-form { display: flex; gap: 8px; max-width: 460px; margin: 20px 0; }
.search-form label { flex: 1; }
.search-field,
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%; padding: 14px 18px; border-radius: var(--lv-radius-sm);
	border: 1.5px solid var(--lv-line); background: var(--lv-surface); font: inherit; color: inherit;
}
.search-submit,
.comment-form .submit {
	padding: 14px 24px; border: 0; border-radius: var(--lv-radius-btn);
	background: var(--lv-dark); color: var(--lv-bg); font: 600 1rem var(--lv-font-head); cursor: pointer;
}
.lv-comments { margin: 40px 0; }
.lv-comments__list { list-style: none; }
.lv-comments__list .children { list-style: none; padding-left: 24px; }
.lv-sidebar { margin: 40px 0; }

.lv-404__inner { text-align: center; }
.lv-404__inner .lv-h1 { margin-inline: auto; }
.lv-404__inner .search-form { margin-inline: auto; }
.lv-404__code { font-family: var(--lv-font-head); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: .9; margin: 0; color: var(--lv-accent); letter-spacing: -.06em; }

.lv-admin-hint { padding: 18px 22px; border: 2px dashed var(--lv-accent); border-radius: var(--lv-radius-sm); font-weight: 600; }
.lv-empty { color: var(--lv-muted); }

/* ---------- Motion ---------- */
.lv-animate .lv-float { animation: lv-bob 5s ease-in-out infinite; }
.lv-animate .lv-float--2 { animation-delay: -1.2s; }
.lv-animate .lv-float--3 { animation-delay: -2.4s; }
.lv-animate .lv-float--4 { animation-delay: -3.6s; }
.lv-animate .lv-about__tag--2 { animation-delay: -2s; }
@keyframes lv-bob { 50% { transform: translateY(-9px); } }

/* Hero entrance: one orchestrated moment on page load */
.lv-animate .lv-hero__intro > *,
.lv-animate .lv-hero__visual,
.lv-animate .lv-hero__side { animation: lv-rise .9s var(--lv-ease) both; }
.lv-animate .lv-hero__intro > :nth-child(2) { animation-delay: .08s; }
.lv-animate .lv-hero__intro > :nth-child(3) { animation-delay: .16s; }
.lv-animate .lv-hero__visual { animation-delay: .2s; }
.lv-animate .lv-hero__side { animation-delay: .35s; }
@keyframes lv-rise { from { opacity: 0; transform: translateY(26px); } }

/* Scroll reveal (only when JS is running) */
.lv-js .lv-animate .lv-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--lv-ease), transform .8s var(--lv-ease); }
.lv-js .lv-animate .lv-reveal.is-visible { opacity: 1; transform: none; }
.lv-js .lv-animate .lv-steps .lv-reveal:nth-child(2) { transition-delay: .08s; }
.lv-js .lv-animate .lv-steps .lv-reveal:nth-child(3) { transition-delay: .16s; }
.lv-js .lv-animate .lv-steps .lv-reveal:nth-child(4) { transition-delay: .24s; }
.lv-js .lv-animate .lv-steps .lv-reveal:nth-child(5) { transition-delay: .32s; }

body:not(.lv-animate) .lv-badge__text { animation: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.lv-ticker__track { animation: none !important; flex-wrap: wrap; width: auto; }
	.lv-ticker__list[aria-hidden="true"] { display: none; }
	.lv-ticker__list { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-inline: var(--lv-gutter); }
	.lv-js .lv-animate .lv-reveal { opacity: 1; transform: none; }
}

@media print {
	.lv-header, .lv-ticker, .lv-hero__actions, .lv-badge { display: none; }
}
