/**
 * Rhodes Boat — typography system.
 */

.rb-eyebrow {
	display: inline-block;
	margin: 0 0 var(--rb-space-3);
	font-family: var(--rb-font-body);
	font-size: var(--rb-text-xs);
	font-weight: 600;
	letter-spacing: var(--rb-tracking-eyebrow);
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--rb-gold);
}

.rb-eyebrow--on-light {
	color: var(--rb-gold-dark);
}

.rb-display {
	font-family: var(--rb-font-display);
	font-weight: 500;
	line-height: var(--rb-leading-tight);
	letter-spacing: -0.01em;
	margin: 0 0 var(--rb-space-4);
	color: var(--rb-text);
}

.rb-display--hero {
	font-size: var(--rb-text-hero);
	color: var(--rb-white);
}

.rb-display--hero em,
.rb-display--accent {
	font-style: normal;
	color: var(--rb-gold);
}

.rb-display--section {
	font-size: var(--rb-text-4xl);
}

.rb-display--card {
	font-family: var(--rb-font-display);
	font-size: clamp(var(--rb-text-xl), 2vw, var(--rb-text-2xl));
	font-weight: 500;
	line-height: var(--rb-leading-snug);
	margin: 0 0 var(--rb-space-2);
	color: var(--rb-text);
}

.rb-lead {
	font-size: var(--rb-text-lg);
	line-height: var(--rb-leading-normal);
	color: var(--rb-muted);
	max-width: 40rem;
	margin: 0 0 var(--rb-space-5);
}

.rb-lead--on-dark {
	color: rgba(255, 255, 255, 0.78);
}

.rb-body {
	font-size: var(--rb-text-base);
	line-height: var(--rb-leading-normal);
	color: var(--rb-text);
}

.rb-body--sm {
	font-size: var(--rb-text-md);
}

.rb-body--muted {
	color: var(--rb-muted);
}

.rb-meta {
	font-size: var(--rb-text-sm);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--rb-muted);
}

.rb-price {
	font-family: var(--rb-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	color: var(--rb-gold);
	line-height: 1;
}

.rb-price--sm {
	font-size: 1.25rem;
}

.rb-price__prefix,
.rb-price__suffix {
	font-family: var(--rb-font-body);
	font-size: 0.55em;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rb-muted);
	vertical-align: middle;
}

.rb-section-heading {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto var(--rb-space-6);
}

.rb-section-heading--left {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.rb-section-heading .rb-display {
	margin-bottom: var(--rb-space-3);
}

.rb-section-heading .rb-lead {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

.rb-section-heading--left .rb-lead {
	margin-left: 0;
}
