/* ==========================================================
   OM-SEKTION – design fra "Forside v2" (Claude Design)
   Farverne kommer fra colors.css, skrifterne fra fonts.css
   ========================================================== */

.aboutsection {
	padding-top: 96px;
	padding-bottom: 96px;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 768px) {
	.about-grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 64px;
	}
}

@media (min-width: 1200px) {
	.about-grid {
		gap: 96px;
	}
}

/* ---------- Billede med pixel-dekoration ---------- */

.about-image {
	position: relative;
	max-width: 440px;
	width: 100%;
}

.about-image img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.about-pixels {
	position: absolute;
	right: 0;                   /* tæt på det runde billede */
	bottom: 0;
	display: grid;
	grid-template-columns: repeat(4, 14px);
	grid-auto-rows: 14px;
	gap: 4px;
}

.about-pixels span {
	border-radius: 2px;
}

.about-pixels .pixel-p1 { background: var(--p1); }
.about-pixels .pixel-p2 { background: var(--p2); }
.about-pixels .pixel-p3 { background: var(--p3); }

/* ---------- Tekst ---------- */

.about-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.about-title {
	margin: 0;
	color: var(--ink);
}

.about-title em {
	font-style: normal;
	color: var(--accent);
}

.about-text p {
	margin: 0;
	max-width: 54ch;
	font-family: var(--font-ui);
	font-size: var(--text-base);
	line-height: 1.7;
	color: var(--body);
	text-wrap: pretty;
}

.about-text a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--p1);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.about-text a:hover,
.about-text a:focus-visible {
	color: var(--accent);
	text-decoration-color: var(--accent);
}
