/* t1245u Chapter 09 — Guides / Knowledge. Staging only.
   Version 1.0.2-ch09-guide-covers-t1256u (t1249u: pinned scroll build; t1256u: Buyer/Seller publication covers;
   visual design from t1245u preserved)
   Light ivory editorial. Chapter rail language from Ch07/Ch08.
   Does not restyle Chapter 08. Does not start Chapter 10.
   No palm / tropical / decorative background imagery. */

#t1245u-ch09 {
	--t1245u-ivory: #F8F5EE;
	--t1245u-stone: #F2EEE4;
	--t1245u-card: #FFFcf7;
	--t1245u-navy: #0E1C2C;
	--t1245u-navy-mid: #274565;
	--t1245u-charcoal: #1A1A1A;
	--t1245u-gold: #C9A65A;
	--t1245u-border: rgba(14, 28, 44, 0.10);
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin: 0;
	margin-left: calc(50% - 50vw);
	padding: 0;
	background: #F8F5EE;
	color: #1A1A1A;
	font-family: Inter, Helvetica, Arial, sans-serif;
	overflow-x: clip;
}

#t1245u-ch09 *,
#t1245u-ch09 *::before,
#t1245u-ch09 *::after {
	box-sizing: border-box;
}

#t1245u-ch09 .t1245u__shell {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	max-width: 100%;
	min-height: 0;
	background: #F8F5EE;
}

/* Left chapter rail — light editorial counterpart to Ch08 */
#t1245u-ch09 .t1245u__rail {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 56px 0 48px;
	background: #F2EEE4;
	border-right: 1px solid rgba(201, 166, 90, 0.28);
}

#t1245u-ch09 .t1245u__num {
	margin: 0 0 10px;
	font-family: Cinzel, "Times New Roman", Georgia, serif;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	color: #C9A65A;
}

#t1245u-ch09 .t1245u__rail-label {
	margin: 0 0 18px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.35;
	text-align: center;
	text-transform: uppercase;
	color: rgba(14, 28, 44, 0.62);
}

#t1245u-ch09 .t1245u__rail-label span {
	display: block;
}

#t1245u-ch09 .t1245u__rail-line {
	display: block;
	width: 2px;
	flex: 1 1 auto;
	min-height: 140px;
	max-height: 320px;
	background: rgba(201, 166, 90, 0.22);
	overflow: hidden;
}

#t1245u-ch09 .t1245u__rail-fill {
	display: block;
	width: 2px;
	height: 100%;
	background: #C9A65A;
	transform: scaleY(0);
	transform-origin: top center;
	transition: none !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__main {
	position: relative;
	min-width: 0;
	padding: 64px 48px 88px 40px;
	background: #F8F5EE;
}

#t1245u-ch09 .t1245u__intro {
	max-width: 720px;
	margin: 0 0 40px;
}

#t1245u-ch09 .t1245u__eyebrow {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #C9A65A;
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: none !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__headline {
	margin: 0 0 18px;
	font-family: Cinzel, "Times New Roman", Georgia, serif;
	font-weight: 500;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: #0E1C2C;
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: none !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__hl {
	display: block;
	opacity: 1;
	transform: none;
	transition: none !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__support {
	margin: 0 0 26px;
	max-width: 38em;
	font-size: 16.5px;
	line-height: 1.55;
	font-weight: 400;
	color: #1A1A1A;
	opacity: 0;
	transform: translate3d(0, 18px, 0);
	transition: none !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid #C9A65A;
	border-radius: 2px;
	background: #FFFcf7;
	color: #0E1C2C;
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: none !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__cta:hover,
#t1245u-ch09 .t1245u__cta:focus-visible {
	border-color: #C9A65A;
	color: #0E1C2C;
	background: #F8F5EE;
	outline: 2px solid #C9A65A;
	outline-offset: 3px;
}

#t1245u-ch09 .t1245u__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

#t1245u-ch09 .t1245u__card-item {
	margin: 0;
	padding: 0;
	min-width: 0;
	display: flex;
}

#t1245u-ch09 .t1245u__card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
	background: #FFFcf7;
	border: 1px solid rgba(14, 28, 44, 0.10);
	border-radius: 2px;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	opacity: 0;
	transform: translate3d(0, 34px, 0) scale(0.985);
	transition: border-color 160ms ease, box-shadow 160ms ease !important;
	animation: none !important;
}

#t1245u-ch09 .t1245u__card:focus-visible {
	outline: 2px solid #C9A65A;
	outline-offset: 3px;
}

#t1245u-ch09 .t1245u__card-media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 3.7;
	overflow: hidden;
	background: #F2EEE4;
}

#t1245u-ch09 .t1245u__card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transform: scale(1);
	transition: transform 180ms ease;
}

#t1245u-ch09 .t1245u__card-body {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 16px 18px;
	min-height: 118px;
}

#t1245u-ch09 .t1245u__card-title {
	display: block;
	margin: 0 0 8px;
	padding-right: 28px;
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
	color: #0E1C2C;
	min-height: 2.5em;
}

#t1245u-ch09 .t1245u__card-desc {
	display: block;
	margin: 0;
	padding-right: 28px;
	font-size: 14px;
	line-height: 1.45;
	color: #1A1A1A;
	flex: 1 1 auto;
}

#t1245u-ch09 .t1245u__card-arrow {
	position: absolute;
	right: 14px;
	bottom: 16px;
	font-size: 16px;
	line-height: 1;
	color: #C9A65A;
	transform: translateX(0);
	transition: transform 160ms ease;
}

#t1245u-ch09 .t1245u__card:hover,
#t1245u-ch09 .t1245u__card:focus-visible {
	border-color: rgba(201, 166, 90, 0.72);
}

#t1245u-ch09 .t1245u__card:hover .t1245u__card-img,
#t1245u-ch09 .t1245u__card:focus-visible .t1245u__card-img {
	transform: scale(1.015);
}

#t1245u-ch09 .t1245u__card:hover .t1245u__card-arrow,
#t1245u-ch09 .t1245u__card:focus-visible .t1245u__card-arrow {
	transform: translateX(4px);
}

#t1245u-ch09 .t1245u__card[data-t1245u-dest="unavailable"] {
	cursor: default;
}

#t1245u-ch09 .t1245u__card[data-t1245u-dest="unavailable"]:hover .t1245u__card-img,
#t1245u-ch09 .t1245u__card[data-t1245u-dest="unavailable"]:focus-visible .t1245u__card-img {
	transform: none;
}

#t1245u-ch09 .t1245u__card[data-t1245u-dest="unavailable"]:hover .t1245u__card-arrow,
#t1245u-ch09 .t1245u__card[data-t1245u-dest="unavailable"]:focus-visible .t1245u__card-arrow {
	transform: none;
}

/* ---------- t1249u pinned scroll build ----------
   Track height (shell + build distance) and sticky top are set by JS from live layout.
   Without JS / with reduced motion the track collapses to normal document flow. */
#t1245u-ch09 .t1249u__track {
	position: relative;
	height: auto;
	background: linear-gradient(to right, #F2EEE4 0, #F2EEE4 72px, #F8F5EE 72px, #F8F5EE 100%);
}

#t1245u-ch09 .t1249u__sticky {
	position: sticky;
	top: var(--t1249u-sticky-top, 0px);
	overflow: visible;
}

#t1245u-ch09[data-t1249u-pin="1"] .t1245u__shell {
	will-change: transform;
}

/* t1256u: Buyer / Seller now use portrait publication covers (same 1020x1320 ratio as Landlord),
   so they share the default card framing — no per-card object-position override. */

/* Tablet — 2×2 */
@media (max-width: 1024px) {
	#t1245u-ch09 .t1245u__shell {
		grid-template-columns: 56px minmax(0, 1fr);
	}
	#t1245u-ch09 .t1249u__track {
		background: linear-gradient(to right, #F2EEE4 0, #F2EEE4 56px, #F8F5EE 56px, #F8F5EE 100%);
	}
	#t1245u-ch09 .t1245u__num {
		font-size: 24px;
	}
	#t1245u-ch09 .t1245u__main {
		padding: 48px 28px 72px 24px;
	}
	#t1245u-ch09 .t1245u__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
	#t1245u-ch09 .t1245u__headline {
		font-size: clamp(26px, 4vw, 36px);
	}
}

/* Phone — single column */
@media (max-width: 699px) {
	#t1245u-ch09 .t1245u__shell {
		grid-template-columns: 1fr;
	}
	#t1245u-ch09 .t1245u__rail {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 14px;
		padding: 18px 20px;
		border-right: 0;
		border-bottom: 1px solid rgba(201, 166, 90, 0.28);
	}
	#t1245u-ch09 .t1245u__num {
		font-size: 20px;
		margin: 0;
	}
	#t1245u-ch09 .t1245u__rail-label {
		margin: 0;
		text-align: left;
		font-size: 10px;
	}
	#t1245u-ch09 .t1245u__rail-label span {
		display: inline;
	}
	#t1245u-ch09 .t1245u__rail-label span + span::before {
		content: " ";
	}
	#t1245u-ch09 .t1245u__rail-line {
		display: none;
	}
	#t1245u-ch09 .t1245u__main {
		padding: 28px 18px 56px;
	}
	#t1245u-ch09 .t1245u__intro {
		margin-bottom: 28px;
	}
	#t1245u-ch09 .t1245u__cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	#t1245u-ch09 .t1245u__card-media {
		aspect-ratio: 16 / 11;
	}
	#t1245u-ch09 .t1245u__card-img {
		object-position: center 18%;
	}
	#t1245u-ch09 .t1249u__track {
		background: #F8F5EE;
	}
	#t1245u-ch09 .t1245u__card-title {
		min-height: 0;
	}
	#t1245u-ch09 .t1245u__card-body {
		min-height: 96px;
	}
	#t1245u-ch09 .t1245u__headline {
		font-size: clamp(24px, 7vw, 30px);
	}
	#t1245u-ch09 .t1245u__support {
		font-size: 15.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#t1245u-ch09 [data-t1245u-piece],
	#t1245u-ch09 .t1245u__card {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}
	#t1245u-ch09 .t1249u__track {
		height: auto !important;
	}
	#t1245u-ch09 .t1249u__sticky {
		position: relative !important;
		top: auto !important;
		height: auto !important;
	}
	#t1245u-ch09 .t1245u__shell {
		transform: none !important;
		will-change: auto !important;
	}
	#t1245u-ch09 .t1245u__rail-fill {
		transform: scaleY(1) !important;
	}
	#t1245u-ch09 .t1245u__card-img,
	#t1245u-ch09 .t1245u__card-arrow {
		transition: none !important;
	}
}
