.projects-page .brand-a {
	display: block;
	shape-rendering: geometricPrecision;
}

.projects-page .page-intro {
	padding: 86px 0 54px;
}

.projects-page .page-intro p {
	max-width: 56ch;
}

.projects-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.projects-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.projects-nav a:hover {
	border-color: var(--accent);
}

.projects-section {
	padding: 72px 0 82px;
	border-bottom: 1px solid var(--line);
}

.projects-section--shops {
	background: #f1efe6;
}

.projects-section--apps {
	background: var(--white);
}

.projects-section-copy {
	max-width: 58ch;
	margin-bottom: 30px;
}

.projects-section-label {
	margin-bottom: 10px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.projects-section-copy h2 {
	font-size: clamp(26px, 3.1vw, 38px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.projects-section-copy p {
	margin-top: 12px;
	max-width: 52ch;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.55;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.project-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.project-card--wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 24px;
	align-items: center;
	padding: 16px;
}

.mac-window {
	overflow: hidden;
	border: 1px solid #d8d4c8;
	border-radius: 14px;
	background: #e9e7df;
	box-shadow: 0 8px 24px rgba(15, 31, 10, 0.08);
}

.mac-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 36px;
	padding: 0 12px;
	border-bottom: 1px solid #d3d0c5;
	background: #f4f2eb;
}

.mac-dots {
	display: flex;
	gap: 5px;
	flex: 0 0 auto;
}

.mac-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c4c1b6;
}

.mac-dots span:first-child {
	background: #e7a79a;
}

.mac-dots span:nth-child(2) {
	background: #e4c27e;
}

.mac-dots span:last-child {
	background: #9bc58f;
}

.preview-url {
	overflow: hidden;
	color: #8b887e;
	font-size: 10px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.preview-stage {
	position: relative;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(135deg, rgba(46, 204, 18, 0.12), transparent 45%),
		var(--bg);
}

.preview-stage iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--white);
}

.preview-empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 18px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	pointer-events: none;
}

.project-preview.is-loaded .preview-empty {
	display: none;
}

.project-copy {
	padding: 22px 10px 8px;
}

.project-card--wide .project-copy {
	padding: 8px 12px 8px 0;
}

.project-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.project-number {
	color: var(--ink);
}

.project-tag {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-top: 14px;
	padding: 0 9px;
	border-radius: 999px;
	background: var(--pill-bg);
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
}

.project-title {
	margin-top: 10px;
	color: var(--ink);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.project-copy p {
	margin-top: 9px;
	color: #3d342c;
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 760px) {
	.projects-page .page-intro {
		padding: 62px 0 42px;
	}

	.projects-section {
		padding: 54px 0 62px;
	}

	.project-card--wide {
		display: flex;
	}

	.project-card--wide .project-copy {
		padding: 22px 10px 8px;
	}
}

@media (max-width: 560px) {
	.project-grid,
	.projects-nav {
		justify-content: flex-start;
	}

	.project-title {
		font-size: 19px;
	}
}
