/* ==========================================================================
   HeroMount main landing page sections (spec Section 7), in page order.
   ========================================================================== */

/* 7.1 Announcement ticker --------------------------------------------------- */

.ticker {
	display: flex;
	align-items: stretch;
	height: 44px;
	background: var(--gold);
	color: var(--navy);
}

.ticker[hidden] {
	display: none;
}

.ticker__link {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.ticker__link:hover {
	color: inherit;
}

.ticker__link:focus-visible {
	outline-color: var(--navy);
	outline-offset: -3px;
}

.ticker__track {
	display: flex;
	flex: none;
	width: max-content;
	animation: hm-marquee var(--marquee-duration, 90s) linear infinite;
}

/* Pauses on hover, keyboard focus, or touch. */
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track {
	animation-play-state: paused;
}

.ticker__set {
	display: flex;
	flex: none;
	align-items: center;
}

.ticker__item {
	padding-inline: 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.ticker__dot {
	flex: none;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.55;
}

.ticker__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	padding: 0;
	border: 0;
	background: var(--gold);
	color: var(--navy);
}

.ticker__close:hover {
	background: #CFAE45;
}

.ticker__close:focus-visible {
	outline-color: var(--navy);
	outline-offset: -3px;
}

@media (min-width: 1100px) {
	.ticker {
		height: 36px;
	}
}

/* Reduced motion: no scrolling. Show the messages once, standing still. */
@media (prefers-reduced-motion: reduce) {
	.ticker {
		height: auto;
		min-height: 44px;
	}

	.ticker__track {
		width: auto;
		flex: 1 1 auto;
		justify-content: center;
		animation: none;
	}

	.ticker__set {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 8px;
		padding-block: 10px;
	}

	.ticker__set + .ticker__set,
	.ticker__set .ticker__dot:last-child {
		display: none;
	}
}

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

.hero {
	padding-block: 24px 40px;
	background: var(--white);
}

.hero__grid {
	display: grid;
	gap: 24px;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--blue-tint);
	color: var(--blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

.hero__title {
	font-size: clamp(22px, 6.6vw, 50px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

/* Each line slides up in turn on load, once, in under a second. */
.hero__line {
	display: block;
	padding-bottom: 0.08em;
	overflow: hidden;
}

.hero__line > span {
	display: block;
	animation: hm-line-up 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__line:nth-child(2) > span {
	animation-delay: 0.15s;
}

.hero__line:nth-child(3) > span {
	animation-delay: 0.3s;
}

.hero__line--blue {
	color: var(--blue);
}

@keyframes hm-line-up {
	from {
		opacity: 0;
		transform: translateY(100%);
	}
}

.hero__text {
	max-width: 580px;
	font-size: 16px;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-top: 8px;
}

.hero__assurance {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	width: 100%;
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.4;
}

.hero__assurance .icon {
	margin-top: 1px;
	color: var(--gold-dark);
}

.hero__visual {
	position: relative;
}

.hero__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--border);
	box-shadow: 0 12px 32px rgba(2, 5, 25, 0.12);
}

/* Real photo: loads blur-to-sharp, then a slow 5% zoom over 15 seconds. */
.hero__media .photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.6s ease;
	animation: hm-slow-zoom 15s ease-out both;
}

.hero__media .photo.is-loading {
	filter: blur(14px);
}

@keyframes hm-slow-zoom {
	to {
		transform: scale(1.05);
	}
}

.hero__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: rgba(2, 5, 25, 0.8);
	color: var(--white);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.hero__caption-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
	animation: hm-live-glow 1.8s ease-in-out infinite;
}

/* Floating stat card: desktop only. */
.hero__stat-card {
	display: none;
}

@media (min-width: 600px) {
	.hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
		width: auto;
	}

	.hero__assurance {
		justify-content: flex-start;
		font-size: 14px;
	}
}

@media (min-width: 1024px) {
	.hero {
		padding-block: 36px 72px;
	}

	.hero__grid {
		grid-template-columns: 7fr 5fr;
		gap: 40px;
		align-items: start;
	}

	/* Sized so "Empowering Community." always stays on one line beside the photo. */
	.hero__title {
		font-size: clamp(38px, 3.9vw, 50px);
	}

	.hero__text {
		font-size: 18px;
	}

	.hero__actions {
		gap: 16px;
	}

	.hero__visual {
		padding-bottom: 24px;
	}

	.hero__caption {
		padding: 14px 18px 20px;
		font-size: 14px;
	}

	.hero__stat-card {
		position: absolute;
		bottom: 0;
		left: 24px;
		z-index: 1;
		display: inline-flex;
		align-items: center;
		gap: 10px;
		padding: 11px 18px;
		border: 1px solid var(--border);
		border-radius: var(--radius-pill);
		background: var(--white);
		box-shadow: var(--shadow-2);
		color: var(--navy);
		font-family: var(--font-head);
		font-size: 14px;
		font-weight: 700;
		line-height: 1.2;
	}

	.hero__stat-dot {
		flex: none;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--blue);
	}
}

/* 7.3 Impact stats ------------------------------------------------------------ */

.stats {
	padding-block: 8px 40px;
	background: var(--white);
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.stat {
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	background: var(--blue-tint);
}

.stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--white);
	color: var(--blue);
}

.stat__value {
	margin-top: 16px;
	color: var(--navy);
	font-family: var(--font-head);
	font-size: clamp(24px, 6.4vw, 36px);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.stat__label {
	margin-top: 6px;
	color: var(--navy);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.stat--gold {
	border-color: rgba(217, 185, 83, 0.55);
	background: var(--gold-tint);
}

.stat--gold .stat__icon,
.stat--gold .stat__value,
.stat--gold .stat__label {
	color: var(--gold-dark);
}

.stats__note {
	margin-top: 24px;
	color: var(--text-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
}

.stats__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	margin: 16px auto 0;
	padding: 10px 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: var(--shadow-1);
	color: var(--navy);
	font-size: 14px;
	line-height: 1.4;
}

.stats__badge .icon {
	color: var(--gold-dark);
}

@media (min-width: 900px) {
	.stats {
		padding-block: 0 56px;
	}

	.stats__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}

	.stat {
		padding: 24px;
	}

	.stat__icon {
		width: 48px;
		height: 48px;
	}

	.stat__value {
		margin-top: 24px;
		font-size: 36px;
	}

	.stats__note {
		margin-top: 40px;
	}

	.stats__badge {
		border-radius: var(--radius-pill);
		font-size: 15px;
	}
}

/* 7.4 Partners & Supporters ----------------------------------------------------- */

.partners {
	padding-block: 24px 48px;
	background: var(--white);
}

.partners__kicker {
	margin-bottom: 20px;
	text-align: center;
}

@media (min-width: 900px) {
	.partners {
		padding-block: 24px 72px;
	}

	.partners__kicker {
		margin-bottom: 28px;
	}
}

/* 7.5 Direct Action Upgrades ---------------------------------------------------- */

.caps {
	padding-top: 24px;
}

.caps__grid {
	display: grid;
	gap: 10px;
}

.cap {
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-1);
}

.cap__trigger {
	gap: 12px;
	min-height: 64px;
	padding: 12px 16px;
	border-radius: var(--radius-md);
}

.cap__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue);
}

.cap__title {
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.cap .accordion__chevron {
	color: var(--text-muted);
}

.cap__body {
	padding: 0 16px 8px;
}

.cap__text {
	font-size: 15px;
}

@media (min-width: 900px) {
	.caps {
		padding-top: 40px;
	}

	.caps__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.cap {
		display: flex;
		flex-direction: column;
		padding: 32px;
		border-radius: var(--radius-card);
		background: var(--blue-tint);
	}

	/* Desktop shows all three cards open; the heading is no longer a control. */
	.cap__trigger {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		min-height: 0;
		padding: 0;
		cursor: default;
		pointer-events: none;
	}

	.cap__icon {
		width: 56px;
		height: 56px;
		border-radius: var(--radius-md);
		background: var(--white);
		box-shadow: var(--shadow-1);
	}

	.cap__title {
		font-size: 20px;
	}

	.cap .accordion__chevron {
		display: none;
	}

	.js .cap > .accordion__panel,
	.cap > .accordion__panel {
		display: flex;
		flex: 1 1 auto;
		visibility: visible;
	}

	.cap .accordion__inner {
		display: flex;
		flex: 1 1 auto;
		overflow: visible;
	}

	.cap__body {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		padding: 12px 0 0;
	}

	.cap__text {
		font-size: 16px;
	}

	.cap__link {
		margin-top: auto;
		padding-top: 16px;
		font-size: 16px;
		font-weight: 500;
	}
}

/* 7.6 Verified Field Record ----------------------------------------------------- */

.mission-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-top: 3px solid var(--gold);
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: var(--shadow-1);
}

.mission-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	/* Keeps the box at 16:9 once the (4:3) photo loads, so nothing below it shifts. */
	overflow: hidden;
	background: var(--border);
}

/* Faces sit in the upper part of most photos, so the card keeps the top. */
.mission-card__media .photo {
	object-position: 50% 22%;
}

.mission-card__date,
.mission-card__amount {
	position: absolute;
	top: 12px;
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.mission-card__date {
	left: 12px;
	background: var(--navy);
	color: var(--white);
}

.mission-card__amount {
	right: 12px;
	background: #FBE28A;
	color: var(--navy);
}

.mission-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px 20px 10px;
}

.mission-card__location {
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mission-card__title {
	margin-top: 4px;
	font-size: 17px;
	line-height: 1.3;
}

.mission-card__line {
	margin-top: 8px;
	margin-bottom: 14px;
	font-size: 15px;
}

.mission-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 12px;
	margin-top: auto;
	border-top: 1px solid var(--border);
}

.mission-card__partner {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--blue);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

/* The whole card opens the mission, not just the "Details" text. */
.mission-card__open::after {
	content: "";
	position: absolute;
	inset: 0;
}

.mission-card__open:focus-visible {
	outline: none;
}

.mission-card:has(.mission-card__open:focus-visible) {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
}

@media (min-width: 700px) {
	.missions__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}

	.missions .carousel__dots {
		display: none;
	}
}

@media (min-width: 1024px) {
	.missions__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 7.7 How Funding Works (the stepper itself is a shared component) ------------------ */

.funding__action {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.funding__action .btn {
	width: 100%;
}

@media (min-width: 900px) {
	.funding__action {
		margin-top: 40px;
	}

	.funding__action .btn {
		width: auto;
	}
}

/* 7.8 Swing Fore a Cause card ---------------------------------------------------- */

.swing__grid {
	display: grid;
	gap: 24px;
}

.swing__media {
	aspect-ratio: 3 / 1;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	background: #151B33;
}

.swing__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.swing__label {
	margin-bottom: 0;
	font-size: 12px;
}

.swing__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swing__title {
	margin-top: 16px;
	font-size: clamp(26px, 6.6vw, 44px);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.swing__deadline,
.swing__goal {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 16px;
	padding: 8px 14px;
	border-radius: var(--radius-md);
	font-size: 14px;
	line-height: 1.4;
}

.swing__deadline {
	border: 1px solid rgba(217, 185, 83, 0.6);
	background: rgba(217, 185, 83, 0.1);
	color: var(--gold);
	font-weight: 700;
}

.swing__deadline .icon,
.swing__goal .icon {
	margin-top: 2px;
}

.swing__text {
	max-width: 560px;
	margin-top: 16px;
	font-size: 16px;
}

.swing__goal {
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	font-weight: 500;
}

.swing__goal .icon {
	color: var(--gold);
}

.swing__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
}

.swing__primary {
	text-align: center;
}

.swing__actions .btn {
	width: 100%;
}

@media (min-width: 600px) {
	.swing__deadline,
	.swing__goal {
		border-radius: var(--radius-pill);
	}

	.swing__actions {
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
	}

	.swing__primary {
		text-align: left;
	}

	.swing__actions .btn {
		width: auto;
	}

	.swing__primary .checkout-note {
		padding-left: 4px;
	}
}

@media (min-width: 1024px) {
	.swing__grid {
		grid-template-columns: 7fr 5fr;
		gap: 48px;
		align-items: center;
	}

	.swing__media {
		order: 2;
		aspect-ratio: 4 / 3;
		border-radius: var(--radius-card);
	}

	.swing__text {
		font-size: 17px;
	}
}

/* 7.9 Ways to Partner ------------------------------------------------------------ */

.way-card {
	display: flex;
	flex-direction: column;
	padding: 24px 20px 20px;
	border-top: 3px solid var(--blue);
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: var(--shadow-1);
}

.way-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue);
}

.way-card__label {
	margin-top: 20px;
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.way-card__title {
	margin-top: 4px;
	font-size: 20px;
}

.way-card__tagline {
	margin-top: 4px;
	color: var(--blue);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.way-card__price {
	margin-top: 14px;
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.way-card__text {
	margin-top: 12px;
	margin-bottom: 20px;
	font-size: 15px;
}

.way-card__button {
	margin-top: auto;
}

@media (min-width: 900px) {
	.ways__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}

	.ways .carousel__dots {
		display: none;
	}

	.way-card {
		padding: 32px;
	}

	.way-card__price {
		font-size: 24px;
	}
}

/* 7.10 Trust chips and Meet the Team --------------------------------------------- */

.team {
	padding-block: 40px 48px;
}

.team__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.team__kicker {
	margin: 28px 0 16px;
	text-align: center;
}

/* Phones: a swipe row of round avatars with name and role. */
.team__list {
	display: flex;
	gap: 8px;
	margin-inline: calc(var(--gutter) * -1);
	padding: 4px var(--gutter) 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.team__list::-webkit-scrollbar {
	display: none;
}

.team__list::before,
.team__list::after {
	content: "";
	flex: 1 0 0px;
}

.team__item {
	flex: none;
}

.person {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 132px;
	padding: 8px;
	border: 0;
	border-radius: var(--radius-md);
	background: none;
	color: var(--navy);
	font: inherit;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.person:hover {
	color: var(--navy);
}

.person__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 50%;
	background: #E4E8F1;
	color: #4B5468;
}

.person__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Gold ring around a person's photo. */
.person:not(.person--join) .person__avatar {
	border: 3px solid var(--white);
	box-shadow: 0 0 0 2px var(--gold);
}

.person__avatar--join {
	border: 2px dashed var(--gold);
	background: var(--gold-tint);
	color: var(--gold-dark);
}

.person__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.person__name {
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.person__role {
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.3;
}

.person__role--link {
	color: var(--blue);
	font-weight: 700;
}

.person__title,
.person__quote,
.person__more {
	display: none;
}

@media (min-width: 900px) {
	.team {
		padding-block: 64px;
	}

	.team__kicker {
		margin: 40px 0 24px;
	}

	/* Desktop: horizontal cards. */
	.team__list {
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: center;
		gap: 24px;
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}

	.team__list::before,
	.team__list::after {
		content: none;
	}

	.team__item {
		display: flex;
	}

	.person {
		flex-direction: row;
		gap: 20px;
		width: auto;
		max-width: 520px;
		padding: 24px;
		border: 1px solid var(--border);
		border-radius: var(--radius-card);
		background: var(--white);
		box-shadow: var(--shadow-1);
		text-align: left;
	}

	.person__text {
		gap: 4px;
	}

	.person__name {
		font-size: 17px;
	}

	.person__role {
		display: none;
	}

	.person--join .person__role {
		display: block;
		font-size: 14px;
	}

	.person__title {
		display: block;
		color: var(--blue);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.4;
		text-transform: uppercase;
	}

	.person__quote {
		display: block;
		margin-top: 6px;
		color: var(--text-body);
		font-size: 15px;
		font-style: italic;
		line-height: 1.5;
	}

	.person__more {
		display: block;
		margin-top: 8px;
		color: var(--blue);
		font-size: 14px;
		font-weight: 700;
	}
}

/* 7.11 What Partners Get --------------------------------------------------------- */

/* Phones: two columns of slim pills. */
.benefits__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.benefit {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: var(--white);
}

.benefit__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue);
}

.benefit__title {
	display: block;
	color: var(--navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

/* The short line shows on desktop tiles; on phones it stays available to screen readers. */
.benefit__line {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.benefits__summary {
	max-width: 640px;
	margin: 24px auto 0;
	font-size: 16px;
	text-align: center;
}

@media (min-width: 1024px) {
	/* Desktop: one row of white tiles with short lines. */
	.benefits__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 20px;
	}

	.benefit {
		flex-direction: column;
		justify-content: flex-start;
		gap: 14px;
		padding: 24px 12px;
		border-radius: var(--radius-card);
		box-shadow: var(--shadow-1);
		text-align: center;
	}

	.benefit__icon {
		width: 48px;
		height: 48px;
	}

	.benefit__title {
		font-size: 15px;
	}

	.benefit__line {
		position: static;
		display: block;
		width: auto;
		height: auto;
		margin-top: 4px;
		overflow: visible;
		clip: auto;
		color: var(--text-muted);
		font-size: 13px;
		line-height: 1.35;
		white-space: normal;
	}

	.benefits__summary {
		margin-top: 40px;
		font-size: 17px;
	}
}

/* 7.13 Join the Crew --------------------------------------------------------------- */

.crew__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 680px;
	margin-inline: auto;
}

.crew .pill-tabs {
	width: 100%;
	max-width: 340px;
}

.crew .pill-tabs__tab[aria-selected="true"] {
	background: var(--gold);
	color: var(--navy);
}

.crew__card {
	width: 100%;
	padding: 28px 20px;
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: var(--shadow-1);
	text-align: center;
}

html:not(.js) .crew__panel + .crew__panel {
	margin-top: 28px;
}

.crew__text {
	color: var(--navy);
	font-size: 16px;
}

.crew__button {
	margin-top: 20px;
}

@media (min-width: 900px) {
	.crew__card {
		padding: 40px 48px;
	}

	.crew__text {
		font-size: 17px;
	}

	.crew__button {
		margin-top: 28px;
	}
}

/* 7.14 Get in Touch ------------------------------------------------------------------ */

.contact__grid {
	display: grid;
	gap: 24px;
}

/* Phones: the contact details live in the footer; the form comes first. */
.contact__facts,
.contact__next {
	display: none;
}

.contact__card {
	padding: 20px 16px;
	/* Jumping to the form leaves a little of the section showing above the card. */
	scroll-margin-top: 16px;
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: var(--shadow-2);
}

.contact__tabs {
	margin-bottom: 20px;
}

.contact__tabs .pill-tabs__tab {
	padding-inline: 6px;
	font-size: 14px;
}

.contact__noscript {
	margin-top: 16px;
	font-size: 14px;
}

.contact__support {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 8px;
	padding: 8px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
	font-size: 14px;
	text-align: center;
}

@media (min-width: 600px) {
	.contact__card {
		padding: 32px;
	}

	.contact__tabs .pill-tabs__tab {
		font-size: 15px;
	}
}

@media (min-width: 1024px) {
	.contact__grid {
		grid-template-columns: 5fr 7fr;
		grid-template-rows: auto 1fr;
		gap: 24px 48px;
	}

	.contact__card {
		grid-row: 1 / span 2;
		grid-column: 2;
		align-self: start;
	}

	.contact__facts {
		display: grid;
		gap: 16px;
		margin-top: 28px;
	}

	.contact__facts li {
		display: flex;
		align-items: center;
		gap: 14px;
		font-size: 14px;
		line-height: 1.4;
	}

	.contact__facts strong {
		display: block;
		color: var(--navy);
		font-size: 15px;
	}

	.contact__facts a {
		text-decoration: none;
	}

	.contact__facts a:hover {
		text-decoration: underline;
	}

	.contact__fact-icon {
		display: inline-flex;
		flex: none;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: var(--white);
		color: var(--blue);
	}

	.contact__next {
		display: block;
		margin-top: 28px;
		padding-top: 24px;
		border-top: 1px solid #D4DBEB;
	}

	.contact__next-title {
		color: var(--gold-dark);
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.contact__next-list {
		display: grid;
		gap: 12px;
		margin-top: 14px;
		counter-reset: next;
	}

	.contact__next-list li {
		display: flex;
		align-items: center;
		gap: 12px;
		color: var(--navy);
		font-size: 15px;
		counter-increment: next;
	}

	.contact__next-list li::before {
		content: counter(next);
		display: inline-flex;
		flex: none;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background: var(--blue);
		color: var(--white);
		font-size: 12px;
		font-weight: 700;
	}

	.contact__support {
		grid-column: 1;
		flex-direction: column;
		align-items: flex-start;
		align-self: start;
		gap: 0;
		padding: 16px 20px 8px;
		text-align: left;
	}
}

/* 7.15 Mobile sticky bar -------------------------------------------------------------- */

.sticky-cta {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 -4px 20px rgba(2, 5, 25, 0.08);
	transition: transform 0.25s ease;
}

.sticky-cta.is-away {
	transform: translateY(110%);
}

.sticky-cta__button {
	min-height: 48px;
}

/* Never while a window is open, and never on desktop. */
.is-locked .sticky-cta {
	display: none;
}

@media (min-width: 768px) {
	.sticky-cta {
		display: none;
	}
}
