/*
Theme Name: Winslow Portfolio
Description: Responsive portfolio theme for UX, product, and experience designers.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: winslow-portfolio
*/

:root {
	--paper: #f3f1eb;
	--ink: #20211f;
	--muted: #74736d;
	--line: #dcd9d1;
	--purple: #6422b7;
	--white: #fff;
	--gutter: clamp(16px, 3.4vw, 42px);
	--content-width: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 4px;
}

.site-shell {
	width: min(100%, var(--content-width));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-header {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 14px;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.custom-logo-link { display: inline-flex; align-items: center; }

.custom-logo {
	width: auto;
	max-width: 128px;
	max-height: 44px;
}

.site-mark,
.footer-mark {
	display: grid;
	place-items: center;
	background: var(--white);
	font-weight: 800;
	letter-spacing: -2px;
}

.site-mark {
	width: 42px;
	height: 34px;
	border-radius: 5px;
	font-size: 16px;
}

.site-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(20px, 4vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.primary-navigation a:hover,
.footer-navigation a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.hero {
	padding-block: clamp(34px, 7vw, 88px);
}

.hero-title {
	max-width: 1150px;
	margin: 0;
	font-size: clamp(48px, 9.3vw, 132px);
	font-weight: 600;
	line-height: .94;
	letter-spacing: -.075em;
}

.hero-title span { display: block; }

.hero-lower {
	display: grid;
	grid-template-columns: minmax(120px, .62fr) minmax(0, 1.38fr);
	align-items: start;
	gap: clamp(28px, 7vw, 100px);
	margin-top: clamp(24px, 4vw, 48px);
}

.hero-symbol {
	color: var(--purple);
	font-size: clamp(40px, 5vw, 64px);
	font-weight: 300;
	line-height: 1;
}

.hero-copy {
	max-width: 650px;
	margin: 0;
	font-size: clamp(14px, 1.35vw, 18px);
	line-height: 1.55;
}

.work-section {
	border-top: 1px solid var(--line);
	padding-top: 14px;
}

.section-kicker {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.section-kicker-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.section-kicker-note {
	color: var(--muted);
	font-size: 11px;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(22px, 3.2vw, 46px) 18px;
}

.project-card { grid-column: span 5; min-width: 0; }

.project-card:nth-child(4n + 1),
.project-card:nth-child(4n + 4) { grid-column: span 7; }

.project-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.project-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.44 / 1;
	background: #dedbd3;
}

.project-card:nth-child(4n + 2) .project-image,
.project-card:nth-child(4n + 3) .project-image {
	aspect-ratio: 1.25 / 1;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(.2, .65, .3, 1);
}

.project-card-link:hover .project-image img { transform: scale(1.035); }

.project-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: rgba(32, 33, 31, .55);
	font-size: clamp(32px, 6vw, 72px);
	font-weight: 600;
	letter-spacing: -.06em;
}

.project-caption {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: start;
	gap: 12px;
	padding-top: 10px;
}

.project-title {
	margin: 0;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.04em;
}

.project-description {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.4;
}

.project-arrow {
	font-size: 26px;
	font-weight: 300;
	line-height: 1;
	transition: transform 180ms ease;
}

.project-card-link:hover .project-arrow { transform: translate(3px, -3px); }

.empty-projects {
	grid-column: 1 / -1;
	padding: 28px;
	border: 1px dashed var(--line);
	color: var(--muted);
}

.explore-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: clamp(28px, 5vw, 56px);
	color: var(--purple);
	font-size: clamp(20px, 3vw, 30px);
	font-weight: 500;
	letter-spacing: -.045em;
	text-decoration: none;
}

.explore-link:hover .explore-arrow { transform: translateX(6px); }

.explore-arrow {
	font-size: 36px;
	font-weight: 300;
	transition: transform 180ms ease;
}

.contact-section {
	background: var(--purple);
	color: var(--white);
}

.contact-inner { padding-block: clamp(30px, 5vw, 58px) 24px; }

.contact-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: clamp(30px, 5vw, 58px);
}

.contact-kicker {
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.contact-top-arrow { font-size: 36px; font-weight: 300; line-height: 1; }

.contact-heading {
	max-width: 1050px;
	margin: 0;
	font-size: clamp(42px, 8vw, 104px);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.075em;
}

.contact-heading a {
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.contact-heading a:hover { text-decoration-thickness: 3px; }

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: clamp(28px, 4vw, 48px);
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .28);
	font-size: 11px;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

.footer-mark {
	width: 28px;
	height: 24px;
	border-radius: 3px;
	color: var(--ink);
	font-size: 12px;
}

.footer-note {
	margin: 0;
	opacity: .85;
	text-align: right;
}

.content-area,
.archive-header { padding-block: clamp(38px, 7vw, 90px); }

.archive-header h1,
.entry-header h1 {
	max-width: 1000px;
	margin: 0 0 18px;
	font-size: clamp(42px, 7vw, 88px);
	line-height: .98;
	letter-spacing: -.07em;
}

.archive-description,
.entry-content { max-width: 760px; }

.entry-content > * { margin-block: 0 1.2em; }
.entry-content a { color: var(--purple); }

.single-project-image {
	margin-block: 32px;
	background: #dedbd3;
}

.single-project-image img {
	width: 100%;
	max-height: 78vh;
	object-fit: cover;
}

.single-project-meta {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
}

.pagination,
.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.pagination a,
.post-navigation a {
	color: var(--purple);
	text-decoration: none;
}

.pagination a:hover,
.post-navigation a:hover { text-decoration: underline; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	clip-path: inset(50%);
	border: 0;
}

@media (max-width: 720px) {
	.site-header { min-height: 58px; flex-wrap: wrap; }

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-size: 12px;
		font-weight: 600;
	}

	.primary-navigation {
		display: none;
		width: 100%;
		padding-block: 8px 12px;
	}

	.primary-navigation.is-open { display: block; }

	.primary-navigation ul {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.hero { padding-top: 34px; }

	.hero-title { font-size: clamp(45px, 12vw, 76px); }

	.hero-lower {
		grid-template-columns: 32px 1fr;
		gap: 18px;
	}

	.hero-symbol { font-size: 36px; }
	.section-kicker { margin-bottom: 18px; }
	.section-kicker-note { font-size: 10px; text-align: right; }

	.project-grid { grid-template-columns: 1fr; gap: 24px; }

	.project-card,
	.project-card:nth-child(n) { grid-column: 1; }

	.project-image,
	.project-card:nth-child(n) .project-image { aspect-ratio: 1.22 / 1; }

	.project-title { font-size: 18px; }
	.project-description { font-size: 11px; }
	.contact-heading { font-size: clamp(42px, 11.5vw, 64px); }
	.site-footer { align-items: flex-start; }
	.footer-note { max-width: 150px; }
}

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

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}