/*
 * atvesmir — "O táboře" (about) page (block 06)
 * 1:1 with the prototype's about screen: a mono eyebrow + serif display title +
 * lead intro band, a 21:9 rounded hero image (zoom on hover), a narrow serif
 * reading column for the page body (the real, full legacy content — every link
 * and sponsor logo preserved), and a dark "night" application CTA card.
 * Colours/metrics come from the design tokens (tokens.css) so the page follows
 * light/dark. Measured against tests/design (about screen).
 */

.at-about { padding-bottom: clamp(56px, 8vw, 96px); }

/* ---------------------------------------------------------------- *
 * 1. Intro band — eyebrow / display title / lead
 * ---------------------------------------------------------------- */
.at-about__intro {
	max-width: var(--at-content);
	margin-inline: auto;
	padding: clamp(34px, 9px + 3.8vw, 64px) var(--at-gutter) 0;
}
.at-about__eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.65;
	color: var(--ink3);
	margin: 0 0 14px;
	padding: 0;
}
.at-about__title {
	font-family: var(--font-serif);
	font-size: clamp(2.2rem, 1rem + 2.95vw, 3.6rem);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.08;
	color: var(--ink);
	max-width: 12.9em;
	margin: 0;
	padding: 0;
}
/* Below the prototype's isMobile breakpoint (900px) the display title wraps in a
 * tighter column (matches the proto's ~480px tablet measure); harmless at 390
 * where the content box is already narrower. */
@media (max-width: 899px) {
	.at-about__title { max-width: 480px; }
}
.at-about__lead {
	font-family: var(--font-serif);
	font-size: clamp(1.15rem, 0.8rem + 0.7vw, 1.4rem);
	line-height: 1.55;
	color: var(--ink2);
	max-width: 33.2em;
	margin: 24px 0 0;
	padding: 0;
}

/* ---------------------------------------------------------------- *
 * 2. Hero image — 21:9 rounded, zoom on hover (reuses .at-imgzoom)
 * ---------------------------------------------------------------- */
.at-about__figure {
	max-width: var(--at-content);
	margin: clamp(40px, 6vw, 64px) auto 0;
	padding-inline: var(--at-gutter);
}
.at-about__imgwrap {
	display: block;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 21 / 9;
	background: var(--bg3);
}
.at-about__imgwrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------------------------------------------------------------- *
 * 3. Article — the real legacy content under the prototype's prose metric
 *    (narrow centred serif column). Every legacy link / sponsor logo kept.
 * ---------------------------------------------------------------- */
.at-about__article {
	max-width: 880px;
	margin: clamp(36px, 5vw, 51px) auto 0;
	padding-inline: var(--at-gutter);
	font-family: var(--font-serif);
	font-size: 1.16rem;
	line-height: 1.75;
	color: var(--ink);
}
.at-about__article > :first-child { margin-top: 0; }
.at-about__article p { margin: 0 0 24px; padding: 0; line-height: 1.75; }
.at-about__article h2 {
	font-family: var(--font-serif);
	font-size: 1.7rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.01em;
	margin: 40px 0 14px;
	padding: 0;
}
.at-about__article h3 {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.25;
	margin: 32px 0 12px;
	padding: 0;
}
.at-about__article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.at-about__article a:visited { color: var(--accent); }
.at-about__article a:hover { color: var(--accent2); }
.at-about__article ul,
.at-about__article ol { margin: 0 0 24px; padding-left: 1.4em; }
.at-about__article li { margin: 0 0 8px; line-height: 1.6; }
.at-about__article img { height: auto; border-radius: 10px; }
.at-about__article figure { margin: 0 0 24px; }
/* Honour the legacy float alignments used inside the prose. */
.at-about__article .alignleft { float: left; margin: 6px 28px 16px 0; max-width: 50%; }
.at-about__article .alignright { float: right; margin: 6px 0 16px 28px; max-width: 50%; }
.at-about__article .aligncenter { display: block; margin: 16px auto; }
.at-about__article::after { content: ""; display: block; clear: both; }

/* ---------------------------------------------------------------- *
 * 4. Application CTA card — dark "night" gradient panel
 * ---------------------------------------------------------------- */
.at-about__ctawrap {
	max-width: var(--at-content);
	margin: clamp(40px, 6vw, 64px) auto 0;
	padding-inline: var(--at-gutter);
}
.at-about__cta {
	background: radial-gradient(120% 140% at 85% 0%, var(--night2), var(--night));
	color: var(--nightInk);
	border-radius: 20px;
	padding: clamp(32px, 5vw, 60px);
}
.at-about__cta-eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.65;
	color: var(--accent2);
	margin: 0 0 16px;
	padding: 0;
}
.at-about__cta-title {
	font-family: var(--font-serif);
	font-size: clamp(1.8rem, 3.7vw, 2.8rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--nightInk);
	margin: 0;
	padding: 0;
	max-width: 620px;
}
.at-about__cta-lead {
	font-family: var(--font-serif);
	font-size: 1.2rem;
	line-height: 1.55;
	color: var(--nightInk2);
	margin: 20px 0 0;
	padding: 0;
	max-width: 620px;
}
.at-about__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 30px;
}
.at-about__btn {
	font-family: var(--font-sans);
	font-size: 18px;
	border-radius: var(--at-radius-pill, 999px);
	text-decoration: none;
	display: inline-block;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.at-about__btn--primary {
	background: var(--accent);
	color: #fff;
	font-weight: 500;
	padding: 15px 32px;
}
.at-about__btn--primary:visited,
.at-about__btn--primary:focus,
.at-about__btn--primary:active { color: #fff; }
.at-about__btn--primary:hover { background: var(--accent2); color: #fff; }
.at-about__btn--ghost {
	background: transparent;
	color: var(--nightInk);
	border: 1px solid rgba(255, 255, 255, .4);
	font-weight: 600;
	padding: 14px 28px;
}
.at-about__btn--ghost:visited,
.at-about__btn--ghost:focus,
.at-about__btn--ghost:active { color: var(--nightInk); }
.at-about__btn--ghost:hover { border-color: rgba(255, 255, 255, .7); color: var(--nightInk); }
.at-about__btn:active { transform: translateY(1px); }
.at-about__btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
