/*
 * Um okkur (page-templates/about.php) – „less is more" (MINIMAL-PLAN §6.2): the story in one calm column,
 * the timeline as a plain list, the "Til sjávar og sveita" line and two text links.
 * Enqueued by inc/content-pages.php. Tokens only (ARCHITECTURE §5).
 */

.ms-about {
	display: grid;
	gap: var(--ms-block-gap);
}

.ms-about__story > :last-child {
	margin-bottom: 0;
}

.ms-about__title {
	margin: 0 0 var(--ms-space-4);
	font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
}

/* Timeline: year – event, thin dividers, no dots or lines. */
.ms-about__timeline {
	max-width: 68ch;
}

.ms-timeline {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ms-color-rule);
	list-style: none;
}

.ms-timeline__item {
	display: grid;
	grid-template-columns: 4.5em minmax(0, 1fr);
	gap: var(--ms-space-4);
	padding: var(--ms-space-4) 0;
	border-bottom: 1px solid var(--ms-color-rule);
}

.ms-timeline__year {
	color: var(--ms-color-ink);
	font-weight: var(--ms-fw-bold);
	line-height: 1.6;
	font-variant-numeric: var(--ms-num);
}

.ms-timeline__text {
	margin: 0;
	color: var(--ms-color-text-muted);
	line-height: 1.6;
}

.ms-timeline__text strong {
	display: block;
	color: var(--ms-color-ink);
	font-weight: var(--ms-fw-bold);
}

.ms-about__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ms-space-2) var(--ms-space-6);
	margin: calc(var(--ms-block-gap) * -.5) 0 0;
}

/* "Til sjávar og sveita": sea on the left, mown grass on the right, the white mark between the words. */
.ms-sea-land__frame {
	position: relative;
	height: clamp(200px, 26vw, 380px);
	overflow: hidden;
	border-radius: var(--ms-radius-2xl);
	background: var(--ms-color-brand);
}

/* A light navy veil keeps the white line legible on the grass. */
.ms-sea-land__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--ms-color-brand) 30%, transparent);
}

.ms-sea-land__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	object-fit: cover;
}

.ms-sea-land__image--land {
	left: 50%;
}

.ms-sea-land__line {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 2vw, 28px);
	margin: 0;
	color: var(--ms-color-on-brand);
	font-size: clamp(1.25rem, .9rem + 1.3vw, 2rem);
	font-weight: var(--ms-fw-bold);
	line-height: 1.1;
	letter-spacing: -.01em;
}

.ms-sea-land__word {
	flex: 1 1 0;
	text-shadow: 0 1px 16px var(--ms-color-brand-strong);
}

.ms-sea-land__word:first-child {
	text-align: right;
}

.ms-sea-land__mark {
	flex: none;
	width: clamp(52px, 6.5vw, 96px);
	height: auto;
}
