/* Homepage sections. Shared components (buttons, cards, headings) live in base/global.css. */

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

.hf-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: max(560px, min(86svh, 880px));
	padding-block: clamp(96px, 14vh, 160px) clamp(32px, 6vh, 64px);
	background: #4c5a60;
	color: #fff;
	overflow: hidden;
}

.hf-hero__media,
.hf-hero__media picture {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hf-hero__image,
.hf-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 35%;
}

.hf-hero__video {
	opacity: 0;
	transition: opacity 1.2s var(--ease-out);
}

.hf-hero__video.is-playing {
	opacity: 1;
}

.hf-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 33, 56, 0.35) 0%, rgba(0, 33, 56, 0) 28%),
		linear-gradient(0deg, rgba(0, 33, 56, 0.88) 0%, rgba(0, 33, 56, 0.55) 38%, rgba(0, 33, 56, 0) 72%);
}

.hf-hero__content {
	position: relative;
}

.hf-hero__eyebrow {
	color: #ffc58f;
}

.hf-hero__title {
	max-width: 15ch;
	color: #fff;
	font-size: var(--fs-display);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-shadow: 0 2px 24px rgba(0, 33, 56, 0.35);
}

.hf-hero__lead {
	max-width: 46ch;
	margin-top: var(--sp-4);
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--fs-lead);
	line-height: 1.55;
}

.hf-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 640px;
	margin-top: var(--sp-8);
	padding: 6px;
	border-radius: var(--radius-pill);
	background: #fff;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.hf-hero__search > .hf-icon {
	position: absolute;
	left: 22px;
	width: 22px;
	height: 22px;
	color: var(--hf-muted);
	pointer-events: none;
}

.hf-hero__search input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 12px 0 50px;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--hf-ink);
	font-size: 1rem;
	outline: none;
}

.hf-hero__search input::placeholder {
	color: #6b7a8c;
}

.hf-hero__search:focus-within {
	box-shadow:
		0 0 0 4px rgba(253, 126, 20, 0.55),
		0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.hf-hero__search .hf-button {
	min-height: 52px;
	padding-inline: 26px;
}

.hf-hero__highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
	margin-top: var(--sp-8);
	color: rgba(255, 255, 255, 0.92);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.hf-hero__highlights li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hf-hero__highlights .hf-icon {
	width: 20px;
	height: 20px;
	color: #ffc58f;
}

/* Search button: text on larger screens, round icon button on phones. */
.hf-hero__submit-icon {
	display: none;
}

/* ---------- Hero on phones: centred layout ---------- */

@media (max-width: 699px) {
	.hf-hero {
		align-items: center;
		min-height: max(540px, 82svh);
		padding-block: 72px 40px;
		text-align: center;
	}

	.hf-hero__scrim {
		background:
			linear-gradient(180deg, rgba(0, 33, 56, 0.45) 0%, rgba(0, 33, 56, 0.25) 35%, rgba(0, 33, 56, 0.55) 70%, rgba(0, 33, 56, 0.85) 100%);
	}

	.hf-hero__eyebrow,
	.hf-hero__lead {
		display: none;
	}

	.hf-hero__title {
		max-width: none;
		margin-inline: auto;
		font-size: clamp(1.875rem, 7.4vw + 0.25rem, 2.5rem);
		line-height: 1.12;
		letter-spacing: -0.025em;
	}

	.hf-hero__search {
		margin-top: var(--sp-6);
		padding: 5px 5px 5px 0;
	}

	.hf-hero__search > .hf-icon {
		display: none;
	}

	.hf-hero__search input {
		height: 48px;
		padding: 0 8px 0 20px;
	}

	.hf-hero__search .hf-hero__submit {
		width: 48px;
		min-height: 48px;
		padding: 0;
		border-radius: 50%;
	}

	.hf-hero__submit-icon {
		display: block;
		width: 22px;
		height: 22px;
	}

	.hf-hero__submit-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.hf-hero__highlights {
		gap: 20px 12px;
		margin-top: var(--sp-8);
		font-size: var(--fs-xs);
	}

	.hf-hero__highlights li {
		flex-direction: column;
		gap: 8px;
		text-align: center;
		line-height: 1.35;
	}

	.hf-hero__highlights .hf-icon {
		width: 28px;
		height: 28px;
	}
}

@media (min-width: 900px) {
	.hf-hero__highlights {
		display: flex;
		flex-wrap: wrap;
		gap: 12px 32px;
		padding-top: var(--sp-6);
		border-top: 1px solid rgba(255, 255, 255, 0.22);
		font-size: var(--fs-sm);
	}
}

/* ---------- Trending carousel ---------- */

.hf-carousel {
	--per-view: 1.15;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--grid-gap)) / var(--per-view));
	gap: var(--grid-gap);
	margin-inline: calc(var(--gutter) * -1);
	padding: 4px var(--gutter) 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.hf-carousel::-webkit-scrollbar {
	display: none;
}

.hf-carousel:focus-visible {
	outline-offset: -2px;
}

.hf-carousel__slide {
	scroll-snap-align: start;
	min-width: 0;
}

.hf-carousel-nav {
	display: none;
	gap: 10px;
}

.hf-carousel-nav__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--hf-line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--hf-ink);
	transition:
		background-color var(--dur-2) var(--ease-out),
		border-color var(--dur-2) var(--ease-out),
		color var(--dur-2) var(--ease-out),
		opacity var(--dur-2) var(--ease-out);
}

.hf-carousel-nav__btn:hover:not(:disabled) {
	border-color: var(--hf-blue-500);
	background: var(--hf-blue-500);
	color: #fff;
}

.hf-carousel-nav__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.hf-carousel-nav__btn .hf-icon {
	width: 22px;
	height: 22px;
}

@media (min-width: 700px) {
	.hf-carousel {
		--per-view: 2;
	}

	.hf-carousel-nav {
		display: flex;
	}
}

@media (min-width: 1100px) {
	.hf-carousel {
		--per-view: 3;
		margin-inline: 0;
		padding-inline: 0;
		scroll-padding-inline: 0;
	}
}

/* ---------- Regions (bento) ---------- */

.hf-regions__grid {
	display: grid;
	gap: var(--grid-gap);
}

.hf-region__link {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	height: 100%;
	min-height: 260px;
	padding: var(--sp-6);
	border-radius: var(--radius-l);
	background: var(--hf-deep-700);
	color: #fff;
	overflow: hidden;
}

.hf-region__image,
.hf-region__placeholder {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--ease-out);
}

.hf-region__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(0, 33, 56, 0.85) 0%, rgba(0, 33, 56, 0.15) 55%, rgba(0, 33, 56, 0) 100%);
}

.hf-region__link:hover .hf-region__image {
	transform: scale(1.06);
}

.hf-region__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hf-region__count {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hf-region__name {
	color: #fff;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
	font-weight: 800;
	line-height: 1.1;
}

.hf-region__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffc58f;
	font-size: var(--fs-sm);
	font-weight: 700;
}

.hf-region__cta .hf-icon {
	width: 18px;
	height: 18px;
	transition: transform var(--dur-2) var(--ease-out);
}

.hf-region__link:hover .hf-region__cta .hf-icon {
	transform: translateX(4px);
}

@media (min-width: 700px) {
	.hf-regions__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hf-region:first-child {
		grid-column: span 2;
	}

	.hf-region:first-child .hf-region__link {
		min-height: 380px;
	}
}

@media (min-width: 1100px) {
	.hf-regions__grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(2, 280px);
	}

	.hf-region:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}

	.hf-region:nth-child(2) {
		grid-column: span 2;
	}

	.hf-region .hf-region__link,
	.hf-region:first-child .hf-region__link {
		min-height: 0;
	}

	.hf-region:first-child .hf-region__link {
		padding: var(--sp-10);
	}

	.hf-region:nth-child(n + 3) .hf-region__name {
		font-size: 1.375rem;
	}
}

/* ---------- Full-width band ---------- */

.hf-band {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(440px, 60vw, 620px);
	padding-block: var(--section-y);
	background: var(--hf-deep-700);
	color: #fff;
	overflow: hidden;
}

.hf-band__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hf-band__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 33, 56, 0.86) 0%, rgba(0, 33, 56, 0.55) 45%, rgba(0, 33, 56, 0.1) 100%);
}

.hf-band__content {
	max-width: calc(var(--container) + var(--gutter) * 2);
}

.hf-band__title {
	max-width: 14ch;
	color: #fff;
	font-size: var(--fs-h1);
	font-weight: 800;
	line-height: 1.05;
}

.hf-band__text {
	max-width: 44ch;
	margin: var(--sp-4) 0 var(--sp-8);
	color: rgba(255, 255, 255, 0.88);
	font-size: var(--fs-lead);
}

/* ---------- About ---------- */

.hf-about__grid {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.hf-about__media {
	position: relative;
}

.hf-about__image {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: var(--radius-l);
}

.hf-about__since {
	position: absolute;
	left: var(--sp-5);
	bottom: calc(var(--sp-5) * -1);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: var(--radius-pill);
	background: var(--hf-orange-500);
	color: var(--hf-ink);
	font-weight: 800;
	box-shadow: var(--shadow-3);
}

.hf-about__since .hf-icon {
	width: 20px;
	height: 20px;
}

.hf-about__text {
	display: grid;
	gap: var(--sp-4);
	margin-top: var(--sp-5);
	font-size: 1.0625rem;
}

.hf-about__points {
	display: grid;
	gap: var(--sp-4);
	margin: var(--sp-8) 0;
}

.hf-about__points li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.hf-about__points strong {
	display: block;
	color: var(--hf-ink);
	font-weight: 700;
}

.hf-about__points li > span:last-child > span {
	color: var(--color-muted);
	font-size: var(--fs-sm);
}

.hf-about__point-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--hf-blue-50);
	color: var(--color-primary-text);
}

.hf-about__point-icon .hf-icon {
	width: 22px;
	height: 22px;
}

@media (min-width: 640px) {
	.hf-about__points {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.hf-about__grid {
		grid-template-columns: 1fr 1.05fr;
	}

	.hf-about__image {
		aspect-ratio: 4 / 5;
	}
}

/* ---------- Plan your trek (with the director's portrait) ---------- */

.hf-plan__panel {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: var(--sp-8);
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--radius-l);
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(var(--hf-blue-rgb), 0.55) 0%, rgba(var(--hf-blue-rgb), 0) 60%),
		linear-gradient(140deg, var(--hf-blue-600) 0%, #00406b 100%);
	color: rgba(255, 255, 255, 0.88);
	overflow: hidden;
}

.hf-plan__ridge {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: clamp(90px, 16vw, 200px);
	fill: rgba(var(--hf-blue-rgb), 0.32);
}

.hf-plan__ridge-back {
	fill: rgba(0, 33, 56, 0.35);
}

/* Portrait: tilted primary-blue frame behind a rounded photo. */
.hf-plan__portrait {
	position: relative;
	justify-self: center;
	width: min(100%, 360px);
}

.hf-plan__frame {
	position: relative;
	border-radius: var(--radius-l);
}

.hf-plan__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--hf-blue-500);
	transform: rotate(-5deg) translate(-10px, 8px);
}

.hf-plan__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	border: 4px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-l);
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}

.hf-plan__play {
	position: absolute;
	left: 50%;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 8px;
	border: 0;
	border-radius: var(--radius-pill);
	background: #fff;
	color: var(--hf-ink);
	font-size: var(--fs-xs);
	font-weight: 700;
	white-space: nowrap;
	box-shadow: var(--shadow-3);
	transform: translateX(-50%);
	transition: transform var(--dur-2) var(--ease-out);
}

.hf-plan__play:hover {
	transform: translateX(-50%) translateY(-2px);
}

.hf-plan__play-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hf-blue-500);
	color: #fff;
}

.hf-plan__play-icon::after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 2px solid var(--hf-blue-500);
	border-radius: 50%;
	opacity: 0.5;
	animation: hf-pulse 2.4s var(--ease-out) infinite;
}

@keyframes hf-pulse {
	0% {
		transform: scale(0.85);
		opacity: 0.6;
	}

	100% {
		transform: scale(1.35);
		opacity: 0;
	}
}

.hf-plan__play-icon .hf-icon {
	width: 24px;
	height: 24px;
}

.hf-plan__name {
	display: flex;
	flex-direction: column;
	margin-top: var(--sp-5);
	line-height: 1.35;
	text-align: center;
}

.hf-plan__name strong {
	color: #fff;
	font-size: 1.0625rem;
}

.hf-plan__name span {
	font-size: var(--fs-xs);
}

/* Content */
.hf-plan__content {
	align-self: center;
}

.hf-plan__content .hf-eyebrow {
	color: #ffc58f;
}

.hf-plan__title {
	max-width: 14ch;
	color: #fff;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.hf-plan__text {
	max-width: 46ch;
	margin-top: var(--sp-4);
	font-size: var(--fs-lead);
}

.hf-plan__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-8);
}

.hf-plan__actions .hf-icon {
	width: 20px;
	height: 20px;
}

.hf-plan__contacts {
	display: grid;
	gap: var(--sp-3);
	margin-top: var(--sp-8);
	padding-top: var(--sp-6);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hf-plan__contacts a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.hf-plan__contacts small {
	display: block;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.75rem;
	font-weight: 600;
}

.hf-plan__contact-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffc58f;
	transition: background-color var(--dur-2) var(--ease-out);
}

.hf-plan__contacts a:hover .hf-plan__contact-icon {
	background: var(--hf-blue-500);
	color: #fff;
}

.hf-plan__contact-icon .hf-icon {
	width: 20px;
	height: 20px;
}

@media (min-width: 640px) {
	.hf-plan__contacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.hf-plan__panel {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: clamp(40px, 6vw, 96px);
		align-items: center;
	}
}

/* Video dialog */
.hf-video-dialog {
	width: min(960px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--radius-m);
	background: #000;
	overflow: visible;
}

.hf-video-dialog::backdrop {
	background: rgba(0, 33, 56, 0.82);
}

.hf-video-dialog__frame {
	aspect-ratio: 16 / 9;
	border-radius: inherit;
	overflow: hidden;
}

.hf-video-dialog__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.hf-video-dialog__close {
	position: absolute;
	top: -52px;
	right: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.hf-video-dialog__close:hover {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
}

/* ---------- Reviews ---------- */

.hf-reviews__source + .hf-reviews__source {
	margin-top: var(--sp-12);
}

.hf-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-bottom: var(--sp-5);
	padding: var(--sp-4) var(--sp-5);
	border-radius: var(--radius-m);
	background: #fff;
	box-shadow: var(--shadow-1);
}

.hf-reviews__platform {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hf-ink);
	font-weight: 800;
}

.hf-reviews__logo {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
}

.hf-reviews__logo--tripadvisor {
	background: #00aa6c;
}

.hf-reviews__logo--google {
	background: #4285f4;
}

.hf-reviews__logo .hf-icon {
	width: 20px;
	height: 20px;
}

.hf-reviews__rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hf-text);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.hf-reviews__stars {
	display: inline-flex;
	gap: 2px;
	color: #f59e0b;
}

.hf-reviews__stars .hf-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.hf-reviews__head .hf-text-link {
	margin-left: auto;
}

.hf-reviews__widget {
	min-height: 220px;
}

/* ---------- Travel stories ---------- */

.hf-stories__grid {
	display: grid;
	gap: var(--sp-10) var(--grid-gap);
}

.hf-story {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hf-story__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-l);
	background: var(--hf-surface-sunk);
	overflow: hidden;
}

.hf-story__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--ease-out);
}

.hf-story:hover .hf-story__image {
	transform: scale(1.04);
}

.hf-story__cat {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.94);
	color: var(--hf-ink);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hf-story__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--sp-3);
	padding-top: var(--sp-5);
}

.hf-story__meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-muted);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.hf-story__meta .hf-icon {
	width: 16px;
	height: 16px;
	color: var(--hf-orange-700);
}

.hf-story__title {
	font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	line-height: 1.3;
}

.hf-story__title a {
	transition: color var(--dur-2) var(--ease-out);
}

.hf-story__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.hf-story:hover .hf-story__title a {
	color: var(--color-primary-text);
}

.hf-story__title a:focus-visible {
	outline: none;
}

.hf-story:has(a:focus-visible) .hf-story__media {
	box-shadow: var(--ring);
}

.hf-story__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--color-muted);
	font-size: var(--fs-sm);
}

.hf-story__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: var(--sp-1);
	color: var(--color-primary-text);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.hf-story__more .hf-icon {
	width: 18px;
	height: 18px;
	transition: transform var(--dur-2) var(--ease-out);
}

.hf-story:hover .hf-story__more .hf-icon {
	transform: translateX(4px);
}

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

/* ---------- FAQ ---------- */

.hf-faq__grid {
	display: grid;
	gap: var(--sp-10);
}

.hf-faq__intro .hf-button {
	margin-top: var(--sp-6);
}

.hf-faq__list {
	display: grid;
	gap: var(--sp-3);
}

.hf-faq__item {
	border: 1px solid var(--hf-line);
	border-radius: var(--radius-m);
	background: #fff;
	transition:
		border-color var(--dur-2) var(--ease-out),
		box-shadow var(--dur-2) var(--ease-out);
}

.hf-faq__item[open] {
	border-color: var(--hf-blue-200);
	box-shadow: var(--shadow-2);
}

.hf-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	min-height: 64px;
	padding: var(--sp-4) var(--sp-5);
	color: var(--hf-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.hf-faq__question::-webkit-details-marker {
	display: none;
}

.hf-faq__question:hover {
	color: var(--color-primary-text);
}

.hf-faq__question:focus-visible {
	border-radius: var(--radius-m);
	outline-offset: -2px;
}

.hf-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hf-blue-50);
}

.hf-faq__icon::before,
.hf-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--hf-blue-500);
	transform: translate(-50%, -50%);
	transition: transform var(--dur-2) var(--ease-out);
}

.hf-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.hf-faq__item[open] .hf-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.hf-faq__answer {
	padding: 0 var(--sp-5) var(--sp-5);
	color: var(--hf-text);
}

.hf-faq__answer > * + * {
	margin-top: var(--sp-3);
}

.hf-faq__answer a {
	color: var(--color-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hf-faq__answer ul,
.hf-faq__answer ol {
	padding-left: 1.25em;
	list-style: disc;
}

@media (min-width: 1000px) {
	.hf-faq__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
		gap: clamp(40px, 6vw, 96px);
		align-items: start;
	}

	.hf-faq__intro {
		position: sticky;
		top: calc(var(--hf-header-offset, 0px) + 32px);
		transition: top var(--dur-3) var(--ease-out);
	}
}

/* ---------- Partners ---------- */

.hf-partners {
	padding-block: var(--sp-12);
	border-top: 1px solid var(--hf-line);
}

.hf-partners__title {
	margin-bottom: var(--sp-6);
	color: var(--color-muted);
	font-size: var(--fs-eyebrow);
	font-weight: 700;
	letter-spacing: var(--tracking-eyebrow);
	text-align: center;
	text-transform: uppercase;
}

.hf-partners__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--sp-8) clamp(32px, 6vw, 88px);
}

.hf-partners__item img {
	display: block;
	width: auto;
	height: clamp(52px, 6vw, 72px);
	object-fit: contain;
}
