/**
 * The homepage (template-home.php). Loaded after layout3.css and layout4.css, which carry the
 * hero, the proof bar, the slim reviews band, the results card and the contact band. This file
 * adds what the homepage has of its own: the hero's subtitle, the section heads, the neighbourhood
 * photo grid, the card grids and the "your broker" band. Tokens only. Mobile first; 600 and 900 px.
 */

/* The homepage runs edge to edge, like the listing and neighbourhood pages (theme.css). */
.seymour-home .site.grid-container {
	max-width: none;
}

.seymour-home .content-area {
	width: 100%;
}

/* The hero meets the navy header, and the navy contact band meets the footer, with no white
 * strip between (Kaz, October 22, 2026). */
.seymour-home .site-content {
	padding-bottom: 0;
	padding-top: 0;
}

.seymour-home .seymour-home-page {
	margin-bottom: 0;
}

.seymour-home .inside-article {
	margin: 0;
	padding: 0;
}

/* The hero: a taller picture than a neighbourhood page, and a line under the title. */
.seymour-home-hero .seymour-l3-hero__media {
	min-height: 70vh;
}

/* Navy and gold, like the team page (Kaz, October 22, 2026): deep navy rises from the lower left
 * behind the words, the label is gold between two short gold rules, "Midtown Toronto" is gold italic
 * on its own line, and the footer's gold bar runs along the foot of the photo. */
.seymour-home-hero .seymour-l3-hero__media {
	border-bottom: var(--footer-accent-height) solid var(--footer-gold);
}

.seymour-home-hero .seymour-l3-hero__media::after {
	background:
		radial-gradient(ellipse 75% 85% at 0% 100%, rgba(10, 22, 40, 0.82) 0%, rgba(10, 22, 40, 0.55) 45%, rgba(10, 22, 40, 0) 80%),
		linear-gradient(to top, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.2) 40%, rgba(10, 22, 40, 0) 65%);
}

.seymour-home-hero .seymour-l3-hero__eyebrow {
	align-items: center;
	color: var(--footer-gold);
	display: flex;
	gap: var(--space-3);
}

.seymour-home-hero .seymour-l3-hero__eyebrow::before,
.seymour-home-hero .seymour-l3-hero__eyebrow::after {
	background: var(--footer-gold);
	content: "";
	height: 2px;
	width: 36px;
}

.seymour-home-hero .seymour-l3-hero__title {
	font-size: var(--fs-display);
	line-height: 1.05;
	text-shadow: 0 2px 18px rgba(10, 22, 40, 0.5);
}

.seymour-home-hero .seymour-l3-hero__title {
	max-width: none;
}

.seymour-home-hero__line {
	display: block;
}

/* From 900 px the subline breaks after "Rosedale" (Kaz, October 22, 2026). */
@media (min-width: 900px) {
	.seymour-home-hero .seymour-home-hero__sub {
		max-width: none;
	}

	.seymour-home-hero__sub-end {
		display: block;
	}
}

.seymour-home-hero__accent {
	color: var(--footer-gold);
	display: block;
	font-style: italic;
	text-shadow: 0 2px 14px rgba(10, 22, 40, 0.8);
}

.seymour-home-hero__sub {
	color: var(--white);
	font-family: var(--font-sans);
	font-size: var(--fs-lead);
	line-height: 1.5;
	margin: var(--space-4) 0 0;
	max-width: 36em;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Section heads: eyebrow over the H2, with room below. */
.seymour-home-section__head {
	margin-bottom: var(--space-6);
	max-width: var(--measure);
}

.seymour-home-section__head .seymour-eyebrow {
	margin: 0 0 var(--space-2);
}

.seymour-home-section__head h2 {
	margin: 0;
}

/* The neighbourhoods: photo tiles with the name on the picture. The first tile is twice as wide. */
.seymour-home-places__grid {
	display: grid;
	gap: var(--space-3);
	grid-template-columns: minmax(0, 1fr);
}

.seymour-home-place {
	background: var(--navy-900);
	color: var(--white);
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.seymour-home-place__media {
	aspect-ratio: 3 / 2;
	display: block;
	width: 100%;
}

.seymour-home-place__image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms ease;
	width: 100%;
}

.seymour-home-place:hover .seymour-home-place__image,
.seymour-home-place:focus-visible .seymour-home-place__image {
	transform: scale(1.03);
}

.seymour-home-place::after {
	background: linear-gradient(to top, rgba(21, 42, 69, 0.85), rgba(21, 42, 69, 0) 55%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.seymour-home-place__name {
	bottom: var(--space-4);
	color: var(--white);
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-h3);
	font-variation-settings: var(--font-serif-settings);
	font-weight: var(--weight-medium);
	left: var(--space-4);
	line-height: var(--lh-tight);
	position: absolute;
	right: var(--space-4);
	z-index: 1;
}

.seymour-home-place:focus-visible {
	outline: var(--focus-ring);
	outline-offset: var(--focus-offset);
}

/* Card grids: one across, then two, then three. */
.seymour-home-grid {
	display: grid;
	gap: var(--grid-gap);
	grid-template-columns: minmax(0, 1fr);
}

/* The fallback post card, until the blog's own card part lands. */
.seymour-home-post__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.seymour-home-post__media {
	aspect-ratio: 3 / 2;
	background: var(--navy-100);
	overflow: hidden;
}

.seymour-home-post__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* "Why sellers choose us": the rating's "/ 5" sits small beside the number. */
.seymour-home-why__unit {
	color: var(--footer-muted);
	font-size: 0.5em;
	font-weight: var(--weight-regular);
}

/* "Why sellers choose us" in navy and gold (Kaz, October 22, 2026): a deep navy card over the
 * photo with the footer's gold bar on top, white figures, gold numbers and labels, gold
 * hairlines between the reasons, and a gold button. */
.seymour-home-why .seymour-l3-results__card {
	background: rgba(10, 22, 40, 0.7); /* 70%, so the reel shows through (Kaz, October 26, 2026). */
	border-top: var(--footer-accent-height) solid var(--footer-gold);
	box-shadow: 0 18px 40px rgba(10, 22, 40, 0.35);
}

.seymour-home-why .seymour-l3-results__title {
	color: var(--white);
}

.seymour-home-why .seymour-l3-result {
	border-top-color: rgba(201, 168, 76, 0.35);
}

.seymour-home-why .seymour-l3-result__number {
	color: var(--footer-gold);
}

.seymour-home-why .seymour-l3-result__value {
	color: var(--white);
}

.seymour-home-why .seymour-l3-result__label {
	color: var(--footer-gold);
}

.seymour-home-why .seymour-l3-result__meta {
	color: var(--footer-muted);
}

/* "from 57 Google reviews" links to the Google profile. */
.seymour-home-why .seymour-home-why__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(201, 168, 76, 0.55);
	text-underline-offset: 0.2em;
}

.seymour-home-why .seymour-home-why__link:hover,
.seymour-home-why .seymour-home-why__link:focus-visible {
	color: var(--gold-200);
	text-decoration-color: currentColor;
}

.seymour-button.seymour-home-why__button {
	background: var(--footer-gold);
	border-color: var(--footer-gold);
	color: var(--footer-bg);
}

.seymour-button.seymour-home-why__button:hover,
.seymour-button.seymour-home-why__button:focus-visible {
	background: var(--gold-hover);
	border-color: var(--gold-hover);
	color: var(--footer-bg);
}

/* Your broker: the photo beside three lines, on cream. */
.seymour-home-jet {
	background: var(--cream);
	border-top: 1px solid var(--line);
}

.seymour-home-jet__inner {
	align-items: center;
	display: grid;
	gap: var(--space-6);
	grid-template-columns: minmax(0, 1fr);
}

.seymour-home-jet__photo {
	margin: 0 auto;
	max-width: 280px;
	width: 100%;
}

.seymour-home-jet__image {
	aspect-ratio: 1;
	border-radius: 0;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.seymour-home-jet__text h2 {
	margin: 0 0 var(--space-2);
}

.seymour-home-jet__role {
	color: var(--grey-600);
	font-size: var(--fs-meta);
	margin: 0 0 var(--space-4);
}

.seymour-home-jet__line {
	color: var(--navy);
	font-family: var(--font-serif);
	font-optical-sizing: auto;
	font-size: var(--fs-lead);
	font-variation-settings: var(--font-serif-settings);
	font-weight: var(--weight-regular);
	line-height: 1.5;
	margin: 0 0 var(--space-4);
	max-width: var(--measure);
}

/* The tagline on one line from 900 px (Kaz, October 22, 2026). */
@media (min-width: 900px) {
	.seymour-home-jet__line {
		max-width: none;
		white-space: nowrap;
	}
}

.seymour-home-jet__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-6);
	margin: 0;
}

@media (min-width: 600px) {
	.seymour-home-places__grid,
	.seymour-home-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.seymour-home-place--lead {
		grid-column: span 2;
	}

	.seymour-home-place--lead .seymour-home-place__media {
		aspect-ratio: 2 / 1;
	}

	.seymour-home-jet__inner {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.seymour-home-jet__photo {
		margin: 0;
	}
}

@media (min-width: 900px) {
	.seymour-home-hero .seymour-l3-hero__media {
		min-height: 78vh;
	}

	/* Three across; the lead tile takes two columns and two rows, so six tiles fill three rows. */
	.seymour-home-places__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.seymour-home-place--lead {
		grid-column: span 2;
		grid-row: span 2;
	}

	.seymour-home-place--lead .seymour-home-place__media {
		aspect-ratio: auto;
		height: 100%;
	}

	.seymour-home-place--lead .seymour-home-place__name {
		font-size: var(--fs-h2);
	}

	.seymour-home-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.seymour-home-jet__inner {
		grid-template-columns: 320px minmax(0, 1fr);
		gap: var(--space-8);
	}
}

/* A phrase that stays on one line, such as "street by street" in the neighbourhoods heading. */
.seymour-nowrap {
	white-space: nowrap;
}

/* ------------------------------------------------------------------
 * Neighbourhood tiles, refined (Kaz, October 22, 2026): two rows on desktop, Davisville Village
 * the large tile, deep navy under each name, the names in italics, a gold hairline
 * frame on hover, and a navy "All our neighbourhoods" tile to close the grid.
 * ------------------------------------------------------------------ */

.seymour-home-place::after {
	background: linear-gradient(to top, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.35) 38%, rgba(10, 22, 40, 0) 62%);
	box-shadow: inset 0 0 0 0 var(--footer-gold);
	transition: box-shadow 300ms ease;
}

.seymour-home-place:hover::after,
.seymour-home-place:focus-visible::after {
	box-shadow: inset 0 0 0 1px var(--footer-gold);
}

.seymour-home-place__name {
	font-size: var(--fs-h4);
	font-style: italic;
	font-weight: var(--weight-regular);
}

/* The closing tile: navy, a gold frame, the words in gold. */
.seymour-home-place--all {
	align-items: flex-start;
	background: var(--footer-bg);
	box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.55);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	justify-content: flex-end;
	min-height: 160px;
	padding: var(--space-4);
}

.seymour-home-place--all::after {
	display: none;
}

.seymour-home-place__all-label {
	color: var(--footer-gold);
	font-family: var(--font-serif);
	font-size: var(--fs-h4);
	font-style: italic;
	line-height: var(--lh-tight);
}

.seymour-home-place__all-arrow {
	color: var(--footer-gold);
	font-size: 22px;
	transition: transform 300ms ease;
}

.seymour-home-place--all:hover,
.seymour-home-place--all:focus-visible {
	background: var(--navy);
}

.seymour-home-place--all:hover .seymour-home-place__all-arrow,
.seymour-home-place--all:focus-visible .seymour-home-place__all-arrow {
	transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
	.seymour-home-place::after,
	.seymour-home-place__all-arrow {
		transition: none;
	}
}

/* Phones: two across, Davisville Village full width on top, the other eight in four even rows. */
@media (max-width: 599px) {
	.seymour-home-places__grid {
		gap: var(--space-2);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.seymour-home-place--lead {
		grid-column: span 2;
	}

	.seymour-home-place__media {
		aspect-ratio: 1 / 1;
	}

	.seymour-home-place--lead .seymour-home-place__media {
		aspect-ratio: 3 / 2;
	}

	.seymour-home-place__name,
	.seymour-home-place__all-label {
		font-size: 16px;
	}

	.seymour-home-place__name {
		bottom: var(--space-3);
		left: var(--space-3);
		right: var(--space-3);
	}

	.seymour-home-place--lead .seymour-home-place__name {
		font-size: var(--fs-h3);
	}

	.seymour-home-place--all {
		min-height: 0;
		padding: var(--space-3);
	}
}

/* Desktop: six columns, two rows. Davisville Village takes two columns and both rows; the other
 * seven and the closing tile sit four across beside it. */
@media (min-width: 900px) {
	.seymour-home-places__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.seymour-home-place__media {
		aspect-ratio: 4 / 5;
	}

	.seymour-home-place__name {
		bottom: var(--space-3);
		font-size: var(--fs-h5, 18px);
		left: var(--space-3);
		right: var(--space-3);
	}

	.seymour-home-place--lead .seymour-home-place__name {
		bottom: var(--space-5);
		font-size: var(--fs-h2);
		left: var(--space-5);
	}

	.seymour-home-place--all {
		min-height: 0;
		padding: var(--space-3);
	}

	.seymour-home-place__all-label {
		font-size: var(--fs-h5, 18px);
	}
}

/* Listing cards on the home page, smaller (Kaz, October 22, 2026): four across from 1,100 px,
 * with a tighter body. */
@media (min-width: 1100px) {
	.seymour-home-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--space-4);
	}

	.seymour-home-grid .seymour-card__body {
		padding: var(--space-3) var(--space-4) var(--space-4);
	}

	.seymour-home-grid .seymour-card__title {
		font-size: var(--fs-h4);
	}
}

/* Market update cards on the home page, smaller: the photo, the headline (up to three lines)
 * and the date only, so the four cards sit even (Kaz, October 22, 2026). */
.seymour-home-grid .seymour-card--post .seymour-card__eyebrow,
.seymour-home-grid .seymour-card--post .seymour-card__excerpt {
	display: none;
}

.seymour-home-grid .seymour-card--post .seymour-card__title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	overflow: hidden;
}


/* The client quote beside the home page form (Kaz, October 22, 2026): regular weight, and the
 * column stops level with the form's last button. The review scrolls inside it, with a thin gold
 * scrollbar and a fade at the foot; "See more Seymour Team reviews" goes to the Reviews page. */
.seymour-home-page .seymour-l3-contact__quote blockquote {
	margin: 0;
	font-size: 17px;
	font-weight: var(--weight-regular);
	line-height: 1.6;
}

.seymour-home-contact__scroll {
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3rem), transparent);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 3rem), transparent);
	max-height: 22rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: var(--space-4);
	padding-right: var(--space-3);
	scrollbar-color: var(--footer-gold) transparent;
	scrollbar-width: thin;
}

.seymour-home-contact__scroll.is-end {
	-webkit-mask-image: none;
	mask-image: none;
}

.seymour-home-contact__scroll:focus-visible {
	outline: 2px solid var(--footer-gold);
	outline-offset: 4px;
}

.seymour-home-contact__scroll::-webkit-scrollbar {
	width: 4px;
}

.seymour-home-contact__scroll::-webkit-scrollbar-thumb {
	background: var(--footer-gold);
	border-radius: 4px;
}

.seymour-home-contact__more {
	font-size: var(--fs-meta);
	margin: var(--space-3) 0 0;
}

@media (min-width: 900px) {
	/* The form sets the row's height; the quote column takes that height and no more. */
	.seymour-home-page .seymour-l3-contact__inner {
		align-items: stretch;
	}

	.seymour-home-page .seymour-l3-contact__aside {
		display: flex;
		flex-direction: column;
		height: 0;
		min-height: 100%;
	}

	.seymour-home-page .seymour-l3-contact__quote {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		min-height: 0;
	}

	/* The review takes only the room it needs (scrolling if longer), so the name follows it. */
	.seymour-home-contact__scroll {
		flex: 0 1 auto;
		max-height: none;
		min-height: 0;
	}
}

/* Section headings on one line from 900 px: "How Midtown Toronto's market is moving" and
 * "Homes for sale with The Seymour Team" (Kaz, October 22, 2026). */
@media (min-width: 900px) {
	.seymour-home-section__head:has(#seymour-home-market-title),
	.seymour-home-section__head:has(#seymour-home-homes-title) {
		max-width: none;
	}

	#seymour-home-market-title,
	#seymour-home-homes-title {
		white-space: nowrap;
	}
}

/* Jethro's details at the top of the navy contact band, as large as the old Your broker band
 * (Kaz, October 22, 2026): "Talk to Jethro", then his photo beside his name, role, tagline and
 * links, then a gold line, then the form and the review. */
.seymour-home-contact__top {
	border-bottom: 1px solid var(--footer-gold);
	margin-bottom: var(--space-7);
	padding-bottom: var(--space-7);
}

.seymour-l3-contact .seymour-home-jet__eyebrow {
	color: var(--footer-gold);
	margin: 0 0 var(--space-2);
}

.seymour-l3-contact .seymour-home-jet {
	align-items: center;
	background: transparent;
	border: 0;
	display: grid;
	gap: var(--space-6);
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
}

.seymour-l3-contact .seymour-home-jet__photo {
	margin: 0;
	max-width: 240px;
	width: 100%;
}

.seymour-l3-contact .seymour-home-jet__image {
	aspect-ratio: 1;
	border: 2px solid var(--footer-gold);
	box-sizing: border-box;
	display: block;
	height: auto;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.seymour-l3-contact .seymour-home-jet__name {
	color: var(--white);
	font-size: var(--fs-h2);
	margin: 0 0 var(--space-2);
}

.seymour-l3-contact .seymour-home-jet__role {
	color: var(--footer-muted);
	font-size: var(--fs-meta);
	margin: 0 0 var(--space-4);
}

.seymour-l3-contact .seymour-home-jet__line {
	color: var(--white);
	font-family: var(--font-serif);
	font-size: var(--fs-lead);
	font-style: normal;
	font-weight: var(--weight-regular);
	margin: 0 0 var(--space-4);
}

.seymour-l3-contact .seymour-home-jet__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-5);
	margin: 0;
}

.seymour-l3-contact .seymour-home-jet__links a {
	color: var(--footer-gold);
}

@media (min-width: 900px) {
	.seymour-l3-contact .seymour-home-jet {
		gap: var(--space-8);
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.seymour-l3-contact .seymour-home-jet__line {
		white-space: nowrap;
	}
}

/* No rule above the review: the gold line under Jethro's block already divides the band. */
.seymour-home-page .seymour-l3-contact__quote {
	border-top: 0;
	padding-top: 0;
}

/* "Why sellers choose": each neighbourhood's hero clip behind the card in turn (Kaz, October 25,
 * 2026). The clips sit over the band's photo, under its navy tint; the name sits in the corner. */
.seymour-home-why__reel {
	inset: 0;
	overflow: hidden;
	position: absolute;
}

.seymour-home-why__clip {
	height: 100%;
	inset: 0;
	object-fit: cover;
	opacity: 0;
	position: absolute;
	transition: opacity 1.2s ease;
	width: 100%;
}

.seymour-home-why__clip.is-on {
	opacity: 1;
}

.seymour-home-why__place {
	bottom: var(--space-5);
	color: var(--footer-gold); /* Gold (Kaz, October 26, 2026). */
	font-family: var(--font-sans);
	font-size: var(--fs-eyebrow);
	font-weight: var(--weight-medium);
	letter-spacing: var(--tracking-eyebrow);
	margin: 0;
	opacity: 0;
	position: absolute;
	right: var(--space-6);
	text-shadow: 0 1px 8px rgba(10, 22, 40, 0.8);
	text-transform: uppercase;
	transition: opacity 0.6s ease;
	z-index: 2;
}

.seymour-home-why__place.is-on {
	opacity: 1;
}

@media (max-width: 599px) {
	.seymour-home-why__place {
		bottom: var(--space-3);
		right: var(--space-4);
	}
}

/* "street by street" in the gold italic accent, and the tiles lift on hover (Kaz, October 27, 2026). */
#seymour-home-places-title em {
	color: var(--gold-800, #8a6d22);
	font-style: italic;
}

.seymour-home-place {
	transition: box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.seymour-home-place:hover,
.seymour-home-place:focus-visible {
	box-shadow: 0 14px 32px rgba(10, 22, 40, 0.22), 0 2px 6px rgba(10, 22, 40, 0.12);
	transform: translateY(-6px);
	z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
	.seymour-home-place:hover,
	.seymour-home-place:focus-visible {
		transform: none;
	}
}

/* "Why sellers choose" sits on the same edges as the listing boxes above it (Kaz, October 27, 2026). */
.seymour-home-why .seymour-l3-results__inner {
	max-width: 1200px;
}
