/**
 * Rebirth Enterprises - About page sections.
 * Loaded on the About page only. Tokens come from rebirth.css.
 */

/* ==========================================================================
   Hero
   ========================================================================== */
.rb-abouthero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 480px at 10% -15%, var(--rb-orange-100) 0%, transparent 62%),
		linear-gradient(180deg, #fff 0%, var(--rb-wash) 100%);
}

.rb-abouthero__glow {
	position: absolute;
	top: -180px;
	right: -140px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(243, 146, 0, 0.2), transparent 66%);
	pointer-events: none;
	animation: rb-drift 20s var(--rb-ease-soft) infinite alternate;
}

.rb-abouthero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 900px) {
	.rb-abouthero__inner {
		grid-template-columns: 1fr;
	}
}

.rb-abouthero__title {
	margin: 0.75rem 0 0;
	font-family: var(--rb-font-head);
	font-size: clamp(2rem, 4.8vw, 3.25rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--rb-teal);
	text-wrap: balance;
}

.rb-abouthero__lead {
	margin: 1.15rem 0 0;
	max-width: 56ch;
	font-family: var(--rb-font-body);
	font-size: clamp(1rem, 1.6vw, 1.0625rem);
	line-height: 1.75;
	color: var(--rb-slate);
}

.rb-abouthero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.9rem;
}

/* ==========================================================================
   Story + timeline
   ========================================================================== */
.rb-story {
	background: #fff;
}

.rb-story__inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: start;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 900px) {
	.rb-story__inner {
		grid-template-columns: 1fr;
	}
}

.rb-story__text {
	margin: 1rem 0 0;
	font-family: var(--rb-font-body);
	font-size: 0.9875rem;
	line-height: 1.8;
	color: var(--rb-slate);
}

.rb-timeline {
	position: relative;
	margin: 0;
	padding: 0 0 0 1.75rem;
	list-style: none;
	display: grid;
	gap: 1.75rem;
}

/* The line draws itself down as the block comes into view. */
.rb-timeline::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--rb-orange), rgba(243, 146, 0, 0.15));
	transform-origin: top center;
	animation: rb-grow 1.4s var(--rb-ease) both;
}

.rb-timeline li {
	position: relative;
	font-family: var(--rb-font-body);
}

.rb-timeline__dot {
	position: absolute;
	left: -1.75rem;
	top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px var(--rb-orange);
}

.rb-timeline li:hover .rb-timeline__dot {
	animation: rb-pulse 1.2s var(--rb-ease-soft) infinite;
}

.rb-timeline strong {
	display: block;
	font-family: var(--rb-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--rb-teal);
}

.rb-timeline span:last-child {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rb-slate);
}

@keyframes rb-grow {
	from { transform: scaleY(0); }
	to   { transform: scaleY(1); }
}

@keyframes rb-pulse {
	0%, 100% { box-shadow: 0 0 0 3px var(--rb-orange); }
	50%      { box-shadow: 0 0 0 6px rgba(243, 146, 0, 0.35); }
}

/* ==========================================================================
   How we work
   ========================================================================== */
.rb-values {
	background: var(--rb-wash);
}

.rb-values__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.1rem;
}

.rb-value {
	position: relative;
	padding: clamp(1.4rem, 3vw, 1.85rem);
	border-radius: var(--rb-radius-lg);
	background: #fff;
	border: 1px solid rgba(0, 50, 61, 0.06);
	overflow: hidden;
	transition: transform 0.45s var(--rb-ease), box-shadow 0.45s var(--rb-ease);
}

.rb-value::after {
	content: "";
	position: absolute;
	inset: auto -40px -60px auto;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--rb-orange-100), transparent 70%);
	opacity: 0;
	transition: opacity 0.5s var(--rb-ease);
}

.rb-value:hover {
	transform: translateY(-6px);
	box-shadow: var(--rb-shadow);
}

.rb-value:hover::after {
	opacity: 1;
}

.rb-value > * {
	position: relative;
}

.rb-value__ico {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: var(--rb-orange-100);
	color: var(--rb-orange-600);
	transition: transform 0.45s var(--rb-ease), background-color 0.45s var(--rb-ease), color 0.45s var(--rb-ease);
}

.rb-value:hover .rb-value__ico {
	background: var(--rb-orange);
	color: #fff;
	transform: rotate(-8deg) scale(1.06);
}

.rb-value__title {
	margin: 0;
	font-family: var(--rb-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rb-teal);
}

.rb-value__text {
	margin: 0.5rem 0 0;
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rb-slate);
}

/* ==========================================================================
   Category chips
   ========================================================================== */
.rb-aboutcats {
	background: #fff;
}

.rb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.rb-chips .rb-chip {
	padding: 0.65rem 1.1rem 0.65rem 0.75rem;
}

.rb-chip__mark {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--rb-orange-100);
	color: var(--rb-orange-600);
	transition: background-color 0.35s var(--rb-ease), color 0.35s var(--rb-ease);
}

.rb-chip:hover .rb-chip__mark {
	background: var(--rb-orange);
	color: #fff;
}

.rb-chip__count {
	margin-left: 0.15rem;
	padding: 0.1rem 0.45rem;
	border-radius: var(--rb-radius-pill);
	background: var(--rb-wash);
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--rb-slate);
}

/* ==========================================================================
   Marketplace tiles
   ========================================================================== */
.rb-aboutstores {
	background: var(--rb-wash);
}

.rb-aboutstores__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1.1rem;
}

.rb-storetile {
	position: relative;
	display: block;
	padding: clamp(1.4rem, 3vw, 1.85rem);
	border-radius: var(--rb-radius-lg);
	background: #fff;
	border: 1px solid rgba(0, 50, 61, 0.06);
	color: var(--rb-teal);
	text-decoration: none !important;
	overflow: hidden;
	transition: transform 0.45s var(--rb-ease), box-shadow 0.45s var(--rb-ease), border-color 0.45s var(--rb-ease);
}

.rb-storetile:hover {
	transform: translateY(-6px);
	box-shadow: var(--rb-shadow);
	border-color: rgba(243, 146, 0, 0.4);
}

.rb-storetile--static {
	opacity: 0.68;
}

.rb-storetile--static:hover {
	transform: none;
	box-shadow: none;
	border-color: rgba(0, 50, 61, 0.06);
}

.rb-storetile__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: var(--rb-orange);
	color: #fff;
	font-family: var(--rb-font-head);
	font-size: 1.125rem;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(243, 146, 0, 0.3);
	transition: transform 0.45s var(--rb-ease);
}

.rb-storetile:hover .rb-storetile__mark {
	transform: rotate(-8deg) scale(1.06);
}

.rb-storetile__name {
	display: block;
	font-family: var(--rb-font-head);
	font-size: 1.125rem;
	font-weight: 600;
}

.rb-storetile__meta {
	display: block;
	margin-top: 0.2rem;
	font-family: var(--rb-font-body);
	font-size: 0.8125rem;
	color: var(--rb-slate);
}

.rb-storetile__arrow {
	position: absolute;
	top: clamp(1.4rem, 3vw, 1.85rem);
	right: clamp(1.4rem, 3vw, 1.85rem);
	color: var(--rb-orange);
	transition: transform 0.45s var(--rb-ease);
}

.rb-storetile:hover .rb-storetile__arrow {
	transform: translate(4px, -4px);
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.rb-abouthero__glow,
	.rb-timeline::before,
	.rb-timeline li:hover .rb-timeline__dot {
		animation: none !important;
	}
}

/* ==========================================================================
   Corporate gifting page
   ========================================================================== */
.rb-corphero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 480px at 10% -15%, var(--rb-orange-100) 0%, transparent 62%),
		linear-gradient(180deg, #fff 0%, var(--rb-wash) 100%);
}

/* Inline check list under the hero copy */
.rb-checks--inline {
	margin-top: 2rem;
	gap: 0.6rem;
}

.rb-checks--inline li {
	font-size: 0.9375rem;
}

/* "What to send us" card */
.rb-quotecard {
	position: relative;
	padding: clamp(1.6rem, 4vw, 2.25rem);
	border-radius: var(--rb-radius-lg);
	background: linear-gradient(145deg, var(--rb-teal) 0%, var(--rb-teal-600) 100%);
	color: rgba(255, 255, 255, 0.82);
	box-shadow: var(--rb-shadow-lg);
	overflow: hidden;
	font-family: var(--rb-font-body);
}

.rb-quotecard::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -110px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(243, 146, 0, 0.26), transparent 68%);
	pointer-events: none;
}

.rb-quotecard > * {
	position: relative;
}

.rb-quotecard__ico {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.2rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--rb-orange-300);
}

.rb-quotecard h2 {
	margin: 0 0 1.1rem;
	font-family: var(--rb-font-head);
	font-size: 1.375rem;
	font-weight: 600;
	color: #fff;
}

.rb-quotecard ul {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.9rem;
}

.rb-quotecard li {
	display: grid;
	gap: 0.15rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--rb-line-light);
}

.rb-quotecard li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.rb-quotecard li strong {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.rb-quotecard li span {
	font-size: 0.9375rem;
	color: #fff;
}

.rb-corpsteps {
	background: #fff;
}
