/* =========================================================
   cards.css — hairline editorial rows & pull quotes
   (hairline rows REPLACE cards — no border/shadow/bg)
   ========================================================= */

/* ============ Editorial rows ============ */
.as-rows {
	display: block;
	margin: 0;
	padding: 0;
}

.as-row {
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 32px;
	align-items: start;
	padding: 40px 0;
	border-top: 1px solid currentColor;
	position: relative;
	text-decoration: none;
	color: inherit;
	transition: color 0.25s;
}
.as-section--dark .as-row { border-top-color: var(--c-line-dark); }
.as-section--paper .as-row { border-top-color: var(--c-line-paper); }

.as-rows > .as-row:last-child { border-bottom: 1px solid; }
.as-section--dark .as-rows > .as-row:last-child { border-bottom-color: var(--c-line-dark); }
.as-section--paper .as-rows > .as-row:last-child { border-bottom-color: var(--c-line-paper); }

.as-row__num {
	font-family: var(--f-display);
	font-size: 1.5rem;
	color: var(--c-accent);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	letter-spacing: 0;
}

.as-row__body { }

.as-row__title {
	font-family: var(--f-body);
	font-weight: 600;
	font-size: 1.125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.as-row__desc {
	font-size: 1.0625rem;
	line-height: 1.65;
	margin: 0;
}
.as-section--dark .as-row__desc { color: var(--c-paper-muted); }
.as-section--paper .as-row__desc { color: var(--c-ink-muted); }

.as-row__arrow {
	align-self: center;
	font-family: var(--f-display);
	font-size: 1.5rem;
	color: var(--c-accent);
	transition: transform 0.25s;
	line-height: 1;
}

a.as-row:hover .as-row__arrow,
a.as-row:focus-visible .as-row__arrow {
	transform: translateX(4px);
}
a.as-row:hover .as-row__title,
a.as-row:focus-visible .as-row__title { color: var(--c-accent); }

/* Row with date kicker (Historie/Realizacje preview) */
.as-row__kicker {
	font-size: var(--f-label);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	margin-bottom: 10px;
	color: var(--c-accent);
	font-weight: 600;
}

/* ============ Pull quotes ============ */
.as-quote {
	position: relative;
	padding: 48px 48px 48px 64px;
	max-width: 880px;
	margin: 0 auto;
}

.as-quote__mark {
	position: absolute;
	font-family: var(--f-display);
	color: var(--c-accent);
	font-size: 4rem;
	line-height: 1;
}
.as-quote__mark--open { left: 0; top: 40px; }
.as-quote__mark--close { right: 0; bottom: 48px; }

.as-quote__body {
	font-family: var(--f-display);
	font-style: italic;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.35;
	margin: 0 0 28px 0;
}

.as-quote__attr {
	font-family: var(--f-body);
	font-size: var(--f-body-s);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.as-quote__name {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.as-quote__role {
	color: inherit;
	opacity: 0.8;
	letter-spacing: 0.04em;
}
.as-quote__meta {
	font-style: italic;
	font-size: var(--f-body-s);
	opacity: 0.7;
}

/* Featured quotes stack */
.as-quotes-featured {
	display: flex;
	flex-direction: column;
	gap: 80px;
	margin-bottom: 80px;
}

/* Text-only quote grid (6 krótszych) */
.as-quotes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.as-quotes-grid .as-quote-mini {
	padding: 32px 24px;
	border-top: 1px solid currentColor;
}
.as-section--dark .as-quotes-grid .as-quote-mini { border-top-color: var(--c-line-dark); }
.as-section--paper .as-quotes-grid .as-quote-mini { border-top-color: var(--c-line-paper); }
.as-quotes-grid .as-quote-mini:not(:nth-child(3n)) { border-right: 1px solid; }
.as-section--dark .as-quotes-grid .as-quote-mini:not(:nth-child(3n)) { border-right-color: var(--c-line-dark); }
.as-section--paper .as-quotes-grid .as-quote-mini:not(:nth-child(3n)) { border-right-color: var(--c-line-paper); }

.as-quote-mini__text {
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.1875rem;
	line-height: 1.45;
	margin: 0 0 16px 0;
}
.as-quote-mini__name {
	font-family: var(--f-body);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: var(--f-label);
	display: block;
	margin-bottom: 2px;
}
.as-quote-mini__role {
	font-family: var(--f-body);
	font-size: var(--f-label);
	letter-spacing: 0.06em;
	opacity: 0.8;
	display: block;
}

/* Case study block (realizacje) */
.as-case {
	padding: 80px 0;
	border-top: 1px solid var(--c-line-paper);
}
.as-case:first-child { border-top: none; padding-top: 0; }

.as-case__kicker {
	display: block;
	font-size: var(--f-label);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	color: var(--c-accent);
	font-weight: 600;
	margin-bottom: 20px;
}
.as-case__h {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.15;
	max-width: 880px;
	margin: 0 0 24px 0;
}
.as-case__meta {
	font-size: var(--f-label);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	padding: 14px 0;
	border-top: 1px solid var(--c-line-paper);
	border-bottom: 1px solid var(--c-line-paper);
	margin-bottom: 48px;
}

.as-case__body {
	display: grid;
	grid-template-columns: 3fr 7fr;
	gap: 48px;
	row-gap: 36px;
	margin-bottom: 48px;
}
.as-case__label {
	font-size: var(--f-label);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 600;
	padding-top: 4px;
	color: var(--c-ink-muted);
}
.as-case__para p { font-size: 1.0625rem; line-height: 1.7; margin: 0; }

.as-case__quote {
	margin: 48px 0;
	padding-left: 32px;
	border-left: 1px solid var(--c-line-paper);
}
.as-case__quote p {
	font-family: var(--f-display);
	font-style: italic;
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	line-height: 1.4;
	margin: 0 0 20px 0;
}
.as-case__quote footer {
	font-family: var(--f-body);
	font-size: var(--f-body-s);
}
.as-case__quote footer b {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.as-case__specs {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: var(--f-body-s);
	color: var(--c-ink-muted);
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.as-case__specs li::before {
	content: "— ";
	color: var(--c-accent);
	margin-right: 4px;
}

/* Perks / Games numbered block — slightly more space */
.as-rows--wide .as-row { padding: 48px 0; }
