/**
 * Travel With Dev — content-driven Home page.
 *
 * All rules are scoped to .twd-home-wrapper and inherit the child theme's
 * canonical color tokens.
 */

.twd-home-wrapper {
	--twd-home-navy: var(--twd-color-navy, #071024);
	--twd-home-green: var(--twd-color-green, #356b50);
	--twd-home-cream: var(--twd-color-cream, #f7f4ed);
	--twd-home-gold: var(--twd-color-gold, #b9975b);
	--twd-home-white: var(--twd-color-white, #ffffff);
	--twd-home-ink: #101a2e;
	--twd-home-muted: #5e6877;
	--twd-home-line: rgba(7, 16, 36, 0.14);
	--twd-home-serif: "Playfair Display", Georgia, serif;
	--twd-home-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--twd-home-radius: 18px;
	--twd-home-section-space: clamp(5.5rem, 9vw, 9rem);

	position: relative;
	width: 100%;
	background: var(--twd-home-cream);
	color: var(--twd-home-ink);
	font-family: var(--twd-home-sans);
	font-size: 1rem;
	line-height: 1.7;
	overflow: visible;
}

.twd-home-wrapper *,
.twd-home-wrapper *::before,
.twd-home-wrapper *::after {
	box-sizing: border-box;
}

.twd-home-wrapper img {
	display: block;
	max-width: 100%;
	height: auto;
}

.twd-home-wrapper figure,
.twd-home-wrapper p,
.twd-home-wrapper h1,
.twd-home-wrapper h2,
.twd-home-wrapper h3,
.twd-home-wrapper dl,
.twd-home-wrapper dd {
	margin-top: 0;
}

.twd-home-wrapper a {
	text-decoration: none;
}

.twd-home-wrapper a:focus {
	outline: none;
}

.twd-home-wrapper a:focus-visible {
	border-radius: 5px;
	outline: 3px solid var(--twd-home-gold);
	outline-offset: 4px;
}

.twd-home-container {
	width: min(100% - 3rem, 1240px);
	margin-inline: auto;
}

.twd-home-section {
	position: relative;
	padding-block: var(--twd-home-section-space);
}

.twd-home-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.twd-home-eyebrow {
	margin-bottom: 1rem;
	color: var(--twd-home-green);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.26em;
	line-height: 1.3;
	text-transform: uppercase;
}

.twd-home-eyebrow-light {
	color: rgba(255, 255, 255, 0.78);
}

.twd-home-section-title,
.twd-home-statement h2 {
	margin-bottom: 1.25rem;
	font-family: var(--twd-home-serif);
	font-size: clamp(2.6rem, 5vw, 5rem);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.03;
	color: var(--twd-home-navy);
}

.twd-home-title-light {
	color: var(--twd-home-white);
}

.twd-home-section-header {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.twd-home-section-header .twd-home-section-title {
	max-width: 760px;
	margin-bottom: 0;
}

.twd-home-section-lead {
	max-width: 560px;
	margin-bottom: 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--twd-home-line);
	color: var(--twd-home-muted);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.twd-home-section-header-light .twd-home-section-lead {
	border-top-color: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.72);
}

.twd-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	align-items: center;
}

.twd-home-wrapper a.twd-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.75rem 1.55rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.twd-home-wrapper a.twd-home-button:hover {
	transform: translateY(-2px);
}

.twd-home-wrapper a.twd-home-button-primary {
	background: var(--twd-home-gold);
	color: var(--twd-home-navy);
}

.twd-home-wrapper a.twd-home-button-primary:hover {
	background: var(--twd-home-green);
	color: var(--twd-home-white);
}

.twd-home-wrapper a.twd-home-button-ghost {
	border-color: rgba(255, 255, 255, 0.48);
	background: rgba(7, 16, 36, 0.1);
	color: var(--twd-home-white);
	backdrop-filter: blur(8px);
}

.twd-home-wrapper a.twd-home-button-ghost:hover,
.twd-home-wrapper a.twd-home-button-outline-light:hover {
	border-color: var(--twd-home-white);
	background: var(--twd-home-white);
	color: var(--twd-home-navy);
}

.twd-home-wrapper a.twd-home-button-outline {
	border-color: var(--twd-home-line);
	background: transparent;
	color: var(--twd-home-navy);
}

.twd-home-wrapper a.twd-home-button-outline:hover {
	border-color: var(--twd-home-green);
	background: var(--twd-home-green);
	color: var(--twd-home-white);
}

.twd-home-wrapper a.twd-home-button-outline-light {
	border-color: rgba(255, 255, 255, 0.42);
	background: transparent;
	color: var(--twd-home-white);
}

.twd-home-wrapper a.twd-home-text-link {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding-bottom: 0.2rem;
	border-bottom: 1px solid currentColor;
	color: var(--twd-home-green);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: color 180ms ease;
}

.twd-home-wrapper a.twd-home-text-link:hover {
	color: var(--twd-home-gold);
}

.twd-home-wrapper a.twd-home-text-link-light {
	margin-top: 2.25rem;
	color: var(--twd-home-white);
}

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

.twd-home-wrapper .twd-home-hero {
	position: relative;
	display: flex;
	align-items: center;
	width: 100vw;
	min-height: 86vh;
	min-height: 86svh;
	margin-left: calc(50% - 50vw);
	padding-block: clamp(8rem, 16vw, 13rem) clamp(6.5rem, 10vw, 9rem);
	color: var(--twd-home-white);
	overflow: hidden;
	isolation: isolate;
}

.twd-home-hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.twd-home-hero-image {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center 54%;
}

.twd-home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			180deg,
			rgba(7, 16, 36, 0.66) 0,
			rgba(7, 16, 36, 0.46) var(--twd-header-height, 78px),
			rgba(7, 16, 36, 0.08) calc(var(--twd-header-height, 78px) + 150px)
		),
		linear-gradient(90deg, rgba(7, 16, 36, 0.88) 0%, rgba(7, 16, 36, 0.63) 42%, rgba(7, 16, 36, 0.16) 76%, rgba(7, 16, 36, 0.06) 100%),
		linear-gradient(180deg, rgba(7, 16, 36, 0.02), rgba(7, 16, 36, 0.5));
}

.twd-home-hero-content {
	position: relative;
	z-index: 1;
}

.twd-home-hero-title {
	max-width: 850px;
	margin-bottom: 1.5rem;
	font-family: var(--twd-home-serif);
	font-size: clamp(4rem, 8vw, 7.6rem);
	font-weight: 600;
	letter-spacing: -0.055em;
	line-height: 0.92;
	color: var(--twd-home-white);
}

.twd-home-hero-text {
	max-width: 690px;
	margin-bottom: 2.2rem;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	line-height: 1.7;
}

.twd-home-scroll {
	position: absolute;
	z-index: 2;
	right: max(1.5rem, calc((100vw - 1240px) / 2));
	bottom: 2.4rem;
	display: grid;
	place-items: center;
	width: 44px;
	height: 62px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
}

.twd-home-scroll-line {
	position: relative;
	display: block;
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.82);
}

.twd-home-scroll-line::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: -3px;
	width: 7px;
	height: 7px;
	border-right: 1px solid rgba(255, 255, 255, 0.82);
	border-bottom: 1px solid rgba(255, 255, 255, 0.82);
	transform: rotate(45deg);
}

/* Introduction ---------------------------------------------------------- */

.twd-home-intro {
	background: var(--twd-home-white);
}

.twd-home-intro-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(3rem, 8vw, 8rem);
	align-items: center;
}

.twd-home-intro-media {
	position: relative;
	margin-bottom: 0;
}

.twd-home-intro-media::before {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 1.6rem -1.2rem -1.2rem 1.6rem;
	border: 1px solid rgba(53, 107, 80, 0.26);
	border-radius: var(--twd-home-radius);
}

.twd-home-intro-image {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--twd-home-radius);
	object-fit: cover;
	object-position: center 68%;
}

.twd-home-intro-copy {
	max-width: 620px;
}

.twd-home-intro-copy p:not(.twd-home-eyebrow) {
	margin-bottom: 1.15rem;
	color: var(--twd-home-muted);
	font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.twd-home-intro-copy .twd-home-text-link {
	margin-top: 0.8rem;
}

/* Solo philosophy ------------------------------------------------------- */

.twd-home-solo,
.twd-home-treks,
.twd-home-gallery {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--twd-home-navy);
	color: var(--twd-home-white);
}

.twd-home-solo-header {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
	column-gap: clamp(3rem, 8vw, 8rem);
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.twd-home-solo-header .twd-home-eyebrow,
.twd-home-solo-header .twd-home-section-title {
	grid-column: 1;
}

.twd-home-solo-quote,
.twd-home-solo-text {
	grid-column: 2;
}

.twd-home-solo-quote {
	grid-row: 1 / span 2;
	margin-bottom: 1rem;
	font-family: var(--twd-home-serif);
	font-size: clamp(2rem, 3.5vw, 3.7rem);
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: var(--twd-home-white);
}

.twd-home-solo-text {
	color: rgba(255, 255, 255, 0.68);
}

.twd-home-solo-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.twd-home-solo-media {
	margin-bottom: 0;
}

.twd-home-solo-image {
	width: 100%;
	aspect-ratio: 16 / 11;
	border-radius: var(--twd-home-radius);
	object-fit: cover;
}

.twd-home-solo-list {
	padding: 0;
	margin: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.twd-home-solo-item {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 1.25rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.twd-home-solo-number {
	color: var(--twd-home-gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.twd-home-solo-item h3 {
	margin-bottom: 0.35rem;
	font-family: var(--twd-home-serif);
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	color: var(--twd-home-white);
}

.twd-home-solo-item p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.64);
}

/* Journeys -------------------------------------------------------------- */

.twd-home-journeys {
	background: var(--twd-home-cream);
}

.twd-home-journeys-list,
.twd-home-stories-list,
.twd-home-feature-list {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.twd-home-layout-pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.twd-home-layout-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.twd-home-journey-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--twd-home-white);
	border-radius: var(--twd-home-radius);
	overflow: hidden;
}

.twd-home-card-media,
.twd-home-feature-media,
.twd-home-story-media,
.twd-home-gallery-item a {
	display: block;
	overflow: hidden;
}

.twd-home-card-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 600ms ease;
}

.twd-home-journey-card:hover .twd-home-card-image,
.twd-home-feature-card:hover .twd-home-feature-image,
.twd-home-story-card:hover .twd-home-story-image,
.twd-home-gallery-item:hover .twd-home-gallery-image {
	transform: scale(1.035);
}

.twd-home-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.twd-home-card-kicker {
	margin-bottom: 0.7rem;
	color: var(--twd-home-green);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.twd-home-card-title {
	margin-bottom: 0.45rem;
	font-family: var(--twd-home-serif);
	font-size: clamp(2rem, 3vw, 3rem);
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.twd-home-card-title a,
.twd-home-feature-copy h3 a,
.twd-home-story-copy h3 a {
	color: var(--twd-home-navy);
	text-decoration: none !important;
	border-bottom: 0;
}

.twd-home-card-location {
	margin-bottom: 1rem;
	color: var(--twd-home-gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.twd-home-card-excerpt {
	flex: 1;
	margin-bottom: 1.4rem;
	color: var(--twd-home-muted);
}

.twd-home-layout-single .twd-home-journey-card {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.twd-home-layout-single .twd-home-card-image {
	height: 100%;
	aspect-ratio: auto;
}

/* Treks and Destinations ------------------------------------------------ */

.twd-home-feature-list {
	margin-bottom: 2.25rem;
}

.twd-home-feature-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
	background: var(--twd-home-white);
	border-radius: var(--twd-home-radius);
	overflow: hidden;
}

.twd-home-feature-image {
	width: 100%;
	height: 100% !important;
	min-height: 440px;
	object-fit: cover;
	transition: transform 600ms ease;
}

.twd-home-feature-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(2rem, 4vw, 4rem);
}

.twd-home-feature-copy h3,
.twd-home-story-copy h3 {
	margin-bottom: 1rem;
	font-family: var(--twd-home-serif);
	font-size: clamp(2.25rem, 4vw, 4.2rem);
	letter-spacing: -0.045em;
	line-height: 1;
}

.twd-home-feature-copy > p:not(.twd-home-card-kicker) {
	margin-bottom: 1.5rem;
	color: var(--twd-home-muted);
}

.twd-home-metadata {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.8rem;
	padding-block: 1rem;
	border-top: 1px solid var(--twd-home-line);
	border-bottom: 1px solid var(--twd-home-line);
}

.twd-home-metadata dt {
	color: var(--twd-home-muted);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.twd-home-metadata dd {
	margin-bottom: 0;
	color: var(--twd-home-navy);
	font-size: 0.84rem;
	font-weight: 700;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.twd-home-feature-list.twd-home-layout-pair,
.twd-home-feature-list.twd-home-layout-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.twd-home-feature-list.twd-home-layout-pair .twd-home-feature-card,
.twd-home-feature-list.twd-home-layout-grid .twd-home-feature-card {
	display: flex;
	flex-direction: column;
}

.twd-home-feature-list.twd-home-layout-pair .twd-home-feature-image,
.twd-home-feature-list.twd-home-layout-grid .twd-home-feature-image {
	min-height: 0;
	aspect-ratio: 16 / 10;
}

.twd-home-feature-list.twd-home-layout-pair .twd-home-feature-copy h3,
.twd-home-feature-list.twd-home-layout-grid .twd-home-feature-copy h3 {
	font-size: clamp(2rem, 3vw, 3rem);
}

.twd-home-feature-list.twd-home-layout-pair .twd-home-metadata,
.twd-home-feature-list.twd-home-layout-grid .twd-home-metadata {
	grid-template-columns: 1fr;
}

.twd-home-destinations {
	background: var(--twd-home-white);
}

/* Stories --------------------------------------------------------------- */

.twd-home-stories {
	background: var(--twd-home-cream);
}

.twd-home-stories-list {
	margin-bottom: 2.25rem;
}

.twd-home-story-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--twd-home-white);
	border-radius: var(--twd-home-radius);
	overflow: hidden;
}

.twd-home-story-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 600ms ease;
}

.twd-home-story-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.twd-home-story-copy h3 {
	font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.twd-home-story-copy > p:not(.twd-home-card-kicker) {
	flex: 1;
	max-width: 580px;
	margin-bottom: 1.3rem;
	color: var(--twd-home-muted);
}

.twd-home-stories-list.twd-home-layout-single .twd-home-story-card {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.twd-home-stories-list.twd-home-layout-single .twd-home-story-copy {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

/* Gallery --------------------------------------------------------------- */

.twd-home-gallery-header {
	max-width: 760px;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.twd-home-gallery-header p:last-child {
	max-width: 600px;
	color: rgba(255, 255, 255, 0.68);
}

.twd-home-gallery-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 120px;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.twd-home-gallery-item {
	grid-column: span 4;
	grid-row: span 3;
	margin-bottom: 0;
	border-radius: var(--twd-home-radius);
	overflow: hidden;
}

.twd-home-gallery-item-1 {
	grid-column: span 7;
	grid-row: span 4;
}

.twd-home-gallery-item-2 {
	grid-column: span 5;
	grid-row: span 3;
}

.twd-home-gallery-item-3 {
	grid-column: span 5;
	grid-row: span 4;
}

.twd-home-gallery-item a,
.twd-home-gallery-image {
	width: 100%;
	height: 100% !important;
}

.twd-home-gallery-image {
	object-fit: cover;
	transition: transform 600ms ease;
}

/* Personal statement ---------------------------------------------------- */

.twd-home-statement {
	position: relative;
	display: flex;
	align-items: center;
	width: 100vw;
	min-height: 72vh;
	min-height: 72svh;
	margin-left: calc(50% - 50vw);
	padding-block: clamp(7rem, 12vw, 11rem);
	color: var(--twd-home-white);
	overflow: hidden;
	isolation: isolate;
}

.twd-home-statement-media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.twd-home-statement-image {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.twd-home-statement::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(7, 16, 36, 0.9) 0%, rgba(7, 16, 36, 0.62) 54%, rgba(7, 16, 36, 0.18) 100%);
}

.twd-home-statement-content {
	position: relative;
	z-index: 1;
}

.twd-home-statement h2 {
	max-width: 760px;
	margin-bottom: 1.4rem;
	color: var(--twd-home-white);
	font-size: clamp(3.4rem, 7vw, 7rem);
}

.twd-home-statement-content > p:last-child {
	max-width: 660px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

/* Final CTA ------------------------------------------------------------- */

.twd-home-final {
	background: var(--twd-home-cream);
}

.twd-home-final-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 3rem;
	align-items: end;
}

.twd-home-final-layout .twd-home-section-title {
	max-width: 780px;
	margin-bottom: 0.8rem;
}

.twd-home-final-text {
	margin-bottom: 0;
	color: var(--twd-home-muted);
	font-size: 1.15rem;
}

/* Progressive reveal --------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.twd-home-wrapper.twd-home-animate .twd-home-reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 650ms ease, transform 650ms ease;
	}

	.twd-home-wrapper.twd-home-animate .twd-home-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1000px) {
	.twd-home-container {
		width: min(100% - 2.5rem, 780px);
	}

	.twd-home-section-header,
	.twd-home-intro-layout,
	.twd-home-solo-header,
	.twd-home-solo-layout,
	.twd-home-feature-card,
	.twd-home-stories-list.twd-home-layout-single,
	.twd-home-final-layout {
		grid-template-columns: 1fr;
	}

	.twd-home-section-header {
		gap: 1.5rem;
	}

	.twd-home-section-lead {
		padding-top: 1.25rem;
	}

	.twd-home-intro-layout {
		gap: 4rem;
	}

	.twd-home-intro-media {
		width: min(100% - 1rem, 580px);
	}

	.twd-home-solo-header {
		gap: 0;
	}

	.twd-home-solo-header .twd-home-eyebrow,
	.twd-home-solo-header .twd-home-section-title,
	.twd-home-solo-quote,
	.twd-home-solo-text {
		grid-column: 1;
		grid-row: auto;
	}

	.twd-home-solo-quote {
		margin-top: 1.5rem;
	}

	.twd-home-feature-image {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.twd-home-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 260px;
	}

	.twd-home-gallery-item,
	.twd-home-gallery-item-1,
	.twd-home-gallery-item-2,
	.twd-home-gallery-item-3 {
		grid-column: span 1;
		grid-row: span 1;
	}

	.twd-home-final-layout {
		align-items: start;
	}
}

@media (max-width: 700px) {
	.twd-home-wrapper {
		--twd-home-section-space: 4.8rem;
	}

	.twd-home-container {
		width: min(100% - 2.25rem, 560px);
	}

	.twd-home-wrapper .twd-home-hero {
		min-height: 82vh;
		min-height: 82svh;
		padding-block: 8.5rem 6rem;
	}

	.twd-home-hero::after {
		background: linear-gradient(180deg, rgba(7, 16, 36, 0.6) 0%, rgba(7, 16, 36, 0.42) 35%, rgba(7, 16, 36, 0.78) 100%);
	}

	.twd-home-hero-image {
		object-position: 57% center;
	}

	.twd-home-hero-title {
		font-size: clamp(3.2rem, 15vw, 5rem);
	}

	.twd-home-actions,
	.twd-home-wrapper a.twd-home-button {
		width: 100%;
	}

	.twd-home-actions {
		flex-direction: column;
	}

	.twd-home-scroll {
		display: none;
	}

	.twd-home-section-title {
		font-size: clamp(2.5rem, 12vw, 3.8rem);
	}

	.twd-home-intro-media::before {
		inset: 1rem -0.65rem -0.65rem 1rem;
	}

	.twd-home-layout-pair,
	.twd-home-layout-grid,
	.twd-home-layout-single .twd-home-journey-card {
		grid-template-columns: 1fr;
	}

	.twd-home-layout-single .twd-home-card-image {
		aspect-ratio: 16 / 10;
	}

	.twd-home-feature-copy {
		padding: 1.6rem;
	}

	.twd-home-metadata {
		grid-template-columns: 1fr;
	}

	.twd-home-gallery-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.twd-home-gallery-item,
	.twd-home-gallery-item-1,
	.twd-home-gallery-item-2,
	.twd-home-gallery-item-3 {
		aspect-ratio: 4 / 3;
	}

	.twd-home-statement {
		min-height: 66vh;
		min-height: 66svh;
	}

	.twd-home-statement::after {
		background: linear-gradient(180deg, rgba(7, 16, 36, 0.36), rgba(7, 16, 36, 0.82));
	}

	.twd-home-statement h2 {
		font-size: clamp(3.2rem, 15vw, 5rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.twd-home-wrapper *,
	.twd-home-wrapper *::before,
	.twd-home-wrapper *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
