/* Site-specific styles (loaded after style.css). */

/* ---------- Homepage banner: phrases appear one by one, a new tone each round (assets/js/home.js) ---------- */
.banner__title { text-shadow: 0 2px 28px rgba(12, 10, 8, .28); }
.banner__phrase { display: inline-block; }
.banner__title.is-animated .banner__phrase {
	opacity: 0;
	transform: translateY(.4em);
	filter: blur(8px);
	transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.banner__title.is-animated.is-in .banner__phrase {
	opacity: 1;
	transform: none;
	filter: none;
	transition-duration: 1.4s;
	transition-delay: calc(var(--i, 0) * .8s);
}
.banner__title[data-tone="0"] { color: var(--ivory); }
.banner__title[data-tone="1"] { color: var(--gold-soft); }
.banner__title[data-tone="2"] { color: #eddcb6; } /* champagne */
.banner__title[data-tone="3"] { color: #e7bfac; } /* soft rose gold */

/* ---------- Homepage categories: a slow, endless strip that pauses on hover ---------- */
.interests .section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.cat-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.cat-marquee__track {
	display: flex;
	width: max-content;
	animation: luxray-marquee var(--marquee-duration, 60s) linear infinite;
}
.cat-marquee:hover .cat-marquee__track,
.cat-marquee:focus-within .cat-marquee__track { animation-play-state: paused; }
.cat-marquee__set { display: flex; gap: clamp(16px, 2vw, 28px); padding-right: clamp(16px, 2vw, 28px); }
@keyframes luxray-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.cat-tile {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: clamp(240px, 24vw, 340px);
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ink-2);
	color: #fff;
}
.cat-tile:hover { color: #fff; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 8, 0) 40%, rgba(12, 10, 8, .66) 100%); }
.cat-tile .mosaic__name { font-size: clamp(26px, 2.4vw, 34px); }
@media (max-width: 640px) {
	.cat-tile { width: clamp(200px, 62vw, 280px); }
}

/* ---------- Homepage Luxury Guides: two large guides, then a numbered list ---------- */
.guides__leads { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
.guide-lead__media { display: block; aspect-ratio: 3 / 2; margin-bottom: 32px; overflow: hidden; background: var(--line); }
.guide-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.guide-lead:hover .guide-lead__media img { transform: scale(1.04); }
.guide-lead__title { margin-bottom: 18px; font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.08; }
.guide-lead__title a:hover, .guide-item__title a:hover { color: var(--gold); }
.guide-lead__excerpt { margin-bottom: 30px; color: var(--muted); font-size: 18px; }

.guide-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(24px, 3.2vw, 48px);
	margin: clamp(56px, 6vw, 88px) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: guide 2;
}
.guide-item {
	display: grid;
	grid-template-columns: auto 1fr 96px;
	gap: clamp(16px, 2vw, 22px);
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	counter-increment: guide;
}
.guide-item::before {
	content: counter(guide, decimal-leading-zero);
	align-self: start;
	color: var(--gold);
	font-family: var(--serif);
	font-size: clamp(34px, 3vw, 44px);
	font-weight: 300;
	line-height: 1;
}
.guide-item .meta-line { margin-bottom: 8px; }
.guide-item__title { margin: 0; font-size: clamp(21px, 1.9vw, 26px); font-weight: 400; line-height: 1.2; }
.guide-item__thumb { display: block; width: 96px; aspect-ratio: 1; overflow: hidden; background: var(--line); }
.guide-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.guide-item:hover .guide-item__thumb img { transform: scale(1.06); }
@media (max-width: 960px) {
	.guide-list { grid-template-columns: 1fr; }
	.guide-item + .guide-item { border-top: 0; }
}
@media (max-width: 760px) {
	.guides__leads { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
	.guide-item { grid-template-columns: auto 1fr; }
	.guide-item__thumb { display: none; }
}

/* ---------- Homepage Founder Features: invitation text beside the form ---------- */
.founders__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.founders__body, .founders__note { max-width: 52ch; color: var(--muted); }
.founders__note strong { color: var(--ink); font-weight: 400; }
.founders__text a { border-bottom: 1px solid var(--gold-soft); color: var(--ink); }
.founders__text a:hover { border-color: var(--gold); color: var(--gold); }
.founders .contact-form { padding-block: 8px 0; }
@media (max-width: 900px) {
	.founders__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion: no moving strip or banner animation ---------- */
@media (prefers-reduced-motion: reduce) {
	.cat-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.cat-marquee__track { animation: none !important; }
	.cat-marquee__set[aria-hidden="true"] { display: none; }
}
