/*
 * About us.
 *
 * The house style on the content pages is a bordered cream card with a hard
 * offset shadow, and this page keeps it — but leans on alternating full-bleed
 * bands rather than a stack of identical boxes, because eight identical cards
 * in a row reads as a policy document, and this is the one page meant to be
 * enjoyed rather than consulted.
 *
 * The figures band is the only place that breaks the grid on purpose: big navy
 * numerals on gold, because those counts are the argument.
 */

.about {
	--about-rule: 3px solid var(--retro-navy);
	--about-shadow: 5px 5px 0 var(--retro-navy);
	padding-bottom: 3rem;
}

/* -- Hero -------------------------------------------------------------- */

.about-hero {
	background: var(--retro-navy);
	color: var(--retro-cream);
	padding: 3.5rem 0 3rem;
	/* A candy-stripe hairline under the hero, rather than a flat border. */
	border-bottom: 8px solid transparent;
	border-image: repeating-linear-gradient(
		90deg,
		var(--retro-red) 0 18px,
		var(--retro-cream) 18px 36px
	) 8;
}

.about-eyebrow {
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--retro-yellow);
	margin-bottom: 0.9rem;
}

.about-title {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 6.5vw, 4rem);
	line-height: 1.02;
	color: var(--retro-cream);
	margin: 0 0 1.2rem;
	text-wrap: balance;
}

.about-title span {
	color: var(--retro-yellow);
}

.about-lede {
	font-family: var(--font-body);
	font-size: clamp(1rem, 2.1vw, 1.2rem);
	line-height: 1.7;
	max-width: 52ch;
	color: color-mix(in srgb, var(--retro-cream) 88%, transparent);
}

/* -- The numbers ------------------------------------------------------- */

.about-figures {
	background: var(--retro-yellow);
	padding: 2.5rem 0;
	border-bottom: var(--about-rule);
}

.fig-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fig {
	text-align: center;
	padding: 0 0.5rem;
}

/* Vertical rules between figures, but not before the first — cheaper and
   more robust than a border on every item plus a :first-child reset. */
.fig + .fig {
	border-left: 2px dashed color-mix(in srgb, var(--retro-navy) 35%, transparent);
}

.fig-num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1;
	color: var(--retro-navy);
	font-variant-numeric: tabular-nums;
}

.fig-label {
	display: block;
	margin-top: 0.6rem;
	font-family: var(--font-body);
	font-size: 0.85rem;
	line-height: 1.45;
	color: color-mix(in srgb, var(--retro-navy) 82%, transparent);
	text-wrap: balance;
}

.fig-note {
	margin-top: 1.6rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-style: italic;
	color: color-mix(in srgb, var(--retro-navy) 70%, transparent);
}

/* -- Content bands ----------------------------------------------------- */

.about-block {
	padding: 3rem 0;
}

.about-block--candy {
	background: var(--retro-cream);
	border-top: var(--about-rule);
	border-bottom: var(--about-rule);
}

.about-block--cta {
	text-align: center;
}

.about-h2 {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.4vw, 2.1rem);
	color: var(--retro-navy);
	margin: 0 0 1.1rem;
}

.about-block p {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 1.1rem;
}

.about-block strong {
	color: var(--retro-orange);
	font-weight: 700;
}

.about-wide {
	max-width: 68ch;
}

.about-block--cta .about-wide {
	margin-inline: auto;
}

.about-wide--muted {
	font-size: 0.92rem;
	color: color-mix(in srgb, var(--text-secondary) 78%, transparent);
}

/* -- Two-column bands -------------------------------------------------- */

.about-split {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.about-block--people .about-split {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-card {
	background: var(--bg-card);
	border: var(--about-rule);
	border-radius: 12px;
	box-shadow: var(--about-shadow);
	padding: 1.6rem;
	/* Sticks alongside the prose on a tall screen, but only where there is
	   room for it to be useful. */
	position: sticky;
	top: 1.5rem;
}

.about-card h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--retro-navy);
	margin: 0 0 0.8rem;
}

.about-card address {
	font-family: var(--font-body);
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--text-secondary);
	margin-bottom: 1.1rem;
	padding-bottom: 1.1rem;
	border-bottom: 2px dashed color-mix(in srgb, var(--retro-navy) 28%, transparent);
}

.about-dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.45rem 1rem;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.87rem;
}

.about-dl dt {
	color: color-mix(in srgb, var(--retro-navy) 70%, transparent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.72rem;
	align-self: center;
}

.about-dl dd {
	margin: 0;
	color: var(--retro-navy);
	font-weight: 700;
}

/* -- Quote ------------------------------------------------------------- */

.about-quote {
	margin: 0 0 1.2rem;
	padding: 1.2rem 1.4rem;
	background: var(--retro-cream);
	border-left: 6px solid var(--retro-red);
	border-radius: 0 10px 10px 0;
}

.about-quote p {
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	line-height: 1.5;
	color: var(--retro-navy);
	margin: 0;
}

/* -- Marketplaces ------------------------------------------------------ */

.channel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0 0 1.4rem;
	padding: 0;
}

.channel {
	background: var(--bg-card);
	border: var(--about-rule);
	border-radius: 10px;
	box-shadow: 3px 3px 0 var(--retro-navy);
	padding: 1rem 1.1rem;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.channel:hover {
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 var(--retro-navy);
}

/* The storefront the visitor is already on gets the emphasis — it is the
   one with no marketplace commission in the price. */
.channel--here {
	background: var(--retro-red);
	border-color: var(--retro-navy);
}

.channel--here .channel-name,
.channel--here .channel-note {
	color: var(--retro-cream);
}

.channel-name {
	display: block;
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: var(--retro-navy);
	margin-bottom: 0.25rem;
}

.channel-note {
	display: block;
	font-family: var(--font-body);
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--text-secondary);
}

/* -- Calls to action --------------------------------------------------- */

.about-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	justify-content: center;
	margin-top: 1.6rem;
}

.retro-button--ghost {
	background: transparent;
	color: var(--retro-navy);
}

/* -- Narrow ------------------------------------------------------------ */

@media (max-width: 820px) {
	.about-split {
		grid-template-columns: 1fr;
	}

	.about-card {
		position: static;
	}

	/* Dashed dividers between figures only make sense in a row. Once the
	   grid wraps to one or two columns they land in arbitrary places. */
	.fig + .fig {
		border-left: none;
		border-top: 2px dashed color-mix(in srgb, var(--retro-navy) 35%, transparent);
		padding-top: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.channel {
		transition: none;
	}

	.channel:hover {
		transform: none;
	}
}
