/*
Theme Name: Tushar Deo — Tove
Description: A colorful portfolio theme for Tushar Deo, based on Tove.
Author: Tushar Deo
Version: 1.0.0
Template: tove
Text Domain: tove-tushar
*/

:root {
	--td-blue: #374ac8;
	--td-paper: #fbf4ef;
	--td-pink: #ffc3cf;
	--td-yellow: #fff3c3;
	--td-lilac: #d5c3ff;
	--td-mint: #c3fff3;
	--td-ink: #20233c;
	--td-line: var(--td-blue);
	--td-shadow: 6px 6px 0 var(--td-blue);
	--td-gutter: clamp(20px, 5vw, 76px);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	background: var(--td-paper);
	color: var(--td-ink);
	font-family: "DM Sans", ui-sans-serif, sans-serif;
	font-size: 18px;
	line-height: 1.55;
}

a {
	color: var(--td-blue);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--td-ink);
}

a:focus-visible {
	outline: 3px solid var(--td-blue);
	outline-offset: 4px;
}

.wp-site-blocks {
	min-height: 100vh;
}

.tove-deo-header,
.tove-deo-main,
.tove-deo-footer {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1600px;
	padding-inline: var(--td-gutter);
}

.tove-deo-header {
	align-items: center;
	border-bottom: 2px solid var(--td-blue);
	display: flex;
	gap: 32px;
	justify-content: space-between;
	padding-block: 22px;
}

.tove-deo-brand {
	align-items: center;
	color: var(--td-blue);
	display: inline-flex;
	font-size: 22px;
	font-weight: 800;
	gap: 12px;
	letter-spacing: -0.06em;
	text-decoration: none;
	white-space: nowrap;
}

.tove-deo-brand__mark {
	align-items: center;
	background: var(--td-pink);
	border: 2px solid var(--td-blue);
	border-radius: 50%;
	box-shadow: 3px 3px 0 var(--td-blue);
	display: inline-flex;
	font-size: 12px;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.tove-deo-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px clamp(14px, 2vw, 30px);
	justify-content: flex-end;
}

.tove-deo-nav a {
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.tove-deo-nav .tove-deo-nav__contact {
	background: var(--td-pink);
	border: 2px solid var(--td-blue);
	box-shadow: 3px 3px 0 var(--td-blue);
	padding: 8px 14px;
}

.tove-deo-main {
	padding-block: clamp(36px, 6vw, 88px);
}

.tove-deo-content {
	margin-inline: auto;
	max-width: 1320px;
}

.tove-deo-hero {
	background: var(--td-yellow);
	border: 2px solid var(--td-blue);
	box-shadow: var(--td-shadow);
	margin: 0 6px 40px 0;
	overflow: hidden;
	padding: clamp(28px, 6vw, 78px);
	position: relative;
}

.tove-deo-hero::after {
	border: 2px solid var(--td-blue);
	border-radius: 50%;
	content: "";
	height: clamp(180px, 30vw, 420px);
	position: absolute;
	right: -12%;
	top: -42%;
	width: clamp(180px, 30vw, 420px);
}

.tove-deo-hero__eyebrow,
.tove-deo-kicker {
	color: var(--td-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.11em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.tove-deo-hero__grid {
	align-items: end;
	display: grid;
	gap: clamp(28px, 6vw, 90px);
	grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.65fr);
	position: relative;
	z-index: 1;
}

.tove-deo-hero h1 {
	color: var(--td-blue);
	font-size: clamp(64px, 10.5vw, 142px);
	font-weight: 800;
	letter-spacing: -0.09em;
	line-height: 0.91;
	margin: 0;
	max-width: 900px;
}

.tove-deo-hero h1 span {
	color: var(--td-ink);
	display: block;
}

.tove-deo-hero__intro {
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.5;
	margin: 28px 0 0;
	max-width: 680px;
}

.tove-deo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.tove-deo-button {
	background: var(--td-blue);
	border: 2px solid var(--td-blue);
	color: white;
	display: inline-flex;
	font-size: 15px;
	font-weight: 750;
	justify-content: center;
	padding: 12px 18px;
	text-decoration: none;
	transition: box-shadow 140ms ease, transform 140ms ease;
}

.tove-deo-button:hover {
	background: var(--td-blue);
	box-shadow: 4px 4px 0 var(--td-ink);
	color: white;
	transform: translate(-2px, -2px);
}

.tove-deo-button--outline {
	background: transparent;
	color: var(--td-blue);
}

.tove-deo-button--outline:hover {
	background: var(--td-pink);
	color: var(--td-blue);
}

.tove-deo-note {
	background: var(--td-pink);
	border: 2px solid var(--td-blue);
	box-shadow: 5px 5px 0 var(--td-blue);
	padding: 24px;
	transform: rotate(2deg);
}

.tove-deo-note__label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.tove-deo-note ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tove-deo-note li {
	border-top: 1px solid rgb(55 74 200 / 35%);
	font-size: 15px;
	font-weight: 650;
	padding: 11px 0;
}

.tove-deo-note li span {
	color: var(--td-blue);
	font-size: 12px;
	margin-right: 8px;
}

.tove-deo-proof {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 clamp(72px, 10vw, 140px);
}

.tove-deo-proof__item {
	background: var(--td-lilac);
	border: 2px solid var(--td-blue);
	box-shadow: 4px 4px 0 var(--td-blue);
	padding: 24px;
}

.tove-deo-proof__item:nth-child(2) {
	background: var(--td-mint);
}

.tove-deo-proof__item:nth-child(3) {
	background: var(--td-pink);
}

.tove-deo-proof__value {
	color: var(--td-blue);
	display: block;
	font-size: clamp(42px, 6vw, 72px);
	font-weight: 800;
	letter-spacing: -0.08em;
	line-height: 1;
}

.tove-deo-proof__label {
	display: block;
	font-size: 14px;
	font-weight: 650;
	margin-top: 12px;
	max-width: 260px;
}

.tove-deo-section {
	margin: 0 0 clamp(72px, 10vw, 140px);
	scroll-margin-top: 24px;
}

.tove-deo-section__kicker {
	color: var(--td-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.tove-deo-section h2 {
	color: var(--td-blue);
	font-size: clamp(42px, 7vw, 88px);
	font-weight: 800;
	letter-spacing: -0.075em;
	line-height: 0.98;
	margin: 0 0 26px;
	max-width: 1000px;
}

.tove-deo-about {
	align-items: start;
	display: grid;
	gap: clamp(28px, 7vw, 100px);
	grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
}

.tove-deo-about__copy p {
	margin: 0 0 18px;
	max-width: 760px;
}

.tove-deo-quote {
	background: var(--td-mint);
	border: 2px solid var(--td-blue);
	box-shadow: 5px 5px 0 var(--td-blue);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 750;
	letter-spacing: -0.04em;
	line-height: 1.25;
	margin: 10px 0 0;
	padding: 26px;
	transform: rotate(-2deg);
}

.tove-deo-section__lead {
	font-size: 20px;
	margin: -6px 0 30px;
	max-width: 720px;
}

.tove-deo-work-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tove-deo-work-card {
	background: white;
	border: 2px solid var(--td-blue);
	box-shadow: 4px 4px 0 var(--td-blue);
	padding: clamp(22px, 3vw, 34px);
}

.tove-deo-work-card:nth-child(4n + 2) {
	background: var(--td-pink);
}

.tove-deo-work-card:nth-child(4n + 3) {
	background: var(--td-mint);
}

.tove-deo-work-card:nth-child(4n + 4) {
	background: var(--td-yellow);
}

.tove-deo-work-card__meta {
	color: var(--td-blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.tove-deo-work-card h3 {
	color: var(--td-blue);
	font-size: clamp(25px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -0.055em;
	line-height: 1.05;
	margin: 0 0 14px;
}

.tove-deo-work-card p {
	font-size: 16px;
	margin: 0 0 16px;
}

.tove-deo-work-card__impact {
	border-top: 1px solid rgb(55 74 200 / 35%);
	font-weight: 700;
	margin: 18px 0 0 !important;
	padding-top: 16px;
}

.tove-deo-capabilities {
	display: grid;
	gap: 0 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tove-deo-capabilities article {
	border-top: 2px solid var(--td-blue);
	padding: 20px 0;
}

.tove-deo-capabilities h3 {
	color: var(--td-blue);
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.1;
	margin: 0 0 12px;
}

.tove-deo-capabilities p {
	font-size: 16px;
	margin: 0;
}

.tove-deo-skills {
	background: var(--td-yellow);
	border: 2px solid var(--td-blue);
	font-size: 15px;
	margin-top: 24px;
	padding: 18px 22px;
}

.tove-deo-career {
	border-top: 2px solid var(--td-blue);
}

.tove-deo-career__item {
	align-items: baseline;
	border-bottom: 2px solid var(--td-blue);
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1.5fr);
	padding: 18px 0;
}

.tove-deo-career__date {
	color: var(--td-blue);
	font-size: 14px;
	font-weight: 750;
}

.tove-deo-career__role {
	font-size: 20px;
	font-weight: 750;
	margin: 0;
}

.tove-deo-career__company {
	font-size: 15px;
	font-weight: 500;
	margin-left: 8px;
}

.tove-deo-writing {
	align-items: center;
	background: var(--td-lilac);
	border: 2px solid var(--td-blue);
	box-shadow: var(--td-shadow);
	display: flex;
	gap: 30px;
	justify-content: space-between;
	padding: clamp(24px, 5vw, 48px);
}

.tove-deo-writing h3 {
	color: var(--td-blue);
	font-size: clamp(30px, 5vw, 54px);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
	margin: 0 0 12px;
}

.tove-deo-writing p {
	margin: 0;
}

.tove-deo-writing__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tove-deo-writing__links a {
	background: var(--td-paper);
	border: 2px solid var(--td-blue);
	font-size: 14px;
	font-weight: 750;
	padding: 10px 14px;
	text-decoration: none;
	white-space: nowrap;
}

.tove-deo-contact {
	background: var(--td-pink);
	border: 2px solid var(--td-blue);
	box-shadow: var(--td-shadow);
	padding: clamp(26px, 5vw, 58px);
}

.tove-deo-contact h2 {
	max-width: 900px;
}

.tove-deo-contact > p:not(.tove-deo-section__kicker) {
	font-size: 19px;
	max-width: 620px;
}

.tove-deo-contact__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 24px;
}

.tove-deo-contact__links a {
	font-size: 15px;
	font-weight: 800;
}

.tove-deo-footer {
	align-items: center;
	border-top: 2px solid var(--td-blue);
	color: var(--td-blue);
	display: flex;
	font-size: 13px;
	gap: 16px;
	justify-content: space-between;
	padding-block: 18px 28px;
}

.tove-deo-footer p {
	margin: 0;
}

@media (max-width: 900px) {
	.tove-deo-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.tove-deo-nav {
		justify-content: flex-start;
	}

	.tove-deo-hero__grid,
	.tove-deo-about {
		grid-template-columns: minmax(0, 1fr);
	}

	.tove-deo-note {
		max-width: 520px;
		transform: none;
	}

	.tove-deo-proof {
		gap: 12px;
	}

	.tove-deo-proof__item {
		padding: 18px;
	}

	.tove-deo-work-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tove-deo-capabilities {
		grid-template-columns: minmax(0, 1fr);
	}

	.tove-deo-writing {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	.tove-deo-header {
		padding-block: 16px;
	}

	.tove-deo-nav {
		gap: 8px 16px;
	}

	.tove-deo-nav a {
		font-size: 13px;
	}

	.tove-deo-main {
		padding-block: 30px;
	}

	.tove-deo-hero {
		padding: 26px 22px;
	}

	.tove-deo-hero h1 {
		font-size: clamp(56px, 15vw, 84px);
	}

	.tove-deo-proof {
		grid-template-columns: minmax(0, 1fr);
	}

	.tove-deo-proof__item {
		display: flex;
		gap: 16px;
		justify-content: space-between;
	}

	.tove-deo-proof__label {
		align-self: center;
		max-width: 190px;
		text-align: right;
	}

	.tove-deo-career__item {
		gap: 4px;
		grid-template-columns: minmax(0, 1fr);
	}

	.tove-deo-career__company {
		display: block;
		margin: 3px 0 0;
	}

	.tove-deo-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}
