/*
 * Homepage — "OWN A - Homepage v2".
 *
 * Every value here is the handoff's. The section rhythm is deliberate and was
 * tuned in the design: 1200px container, 80px band padding, and backgrounds
 * that alternate white → dark → white → tint → white → dark → white → tint →
 * white so no two neighbouring sections share a ground.
 *
 * Grids are auto-fit/minmax and reflow on their own; the only media queries
 * are the ones the fluid type scale cannot do (the plan band's two columns and
 * the checklist's two columns, which need a real breakpoint to stack).
 */

/* --- Shared frame ------------------------------------------------------- */

/*
 * main.css constrains `.own-main` to the 1200px container. The homepage's
 * dark and tinted bands are full-bleed, so the page takes the full width and
 * each section's own `.own-hp-inner` does the constraining instead.
 */
.own-main.own-hp {
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}

/* Links inside these components are cards, rows, pills and buttons, not
   running text: none of them are underlined. */
.own-hp a {
	text-decoration: none;
}

.own-hp-head__lead a,
.own-hp-couples__footer a,
.own-hp-planform__done a {
	text-decoration: underline;
}

.own-hp-inner {
	max-width: var(--own-width-content);
	margin: 0 auto;
	padding-inline: var(--own-gutter);
}

.own-hp-section,
.own-hp-tint,
.own-hp-band {
	padding-block: clamp(3rem, 7vw, 5rem);
}

.own-hp-tint {
	background: var(--own-color-surface-panel);
	border-top: 1px solid var(--own-color-border);
	border-bottom: 1px solid var(--own-color-border);
}

.own-hp-eyebrow {
	margin: 0 0 12px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--own-color-accent);
}

.own-hp-eyebrow--light {
	color: #8fc0ff;
}

.own-hp-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.own-hp-head__text {
	max-width: 560px;
}

.own-hp-head h2 {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 3.4vw, 1.875rem);
	line-height: 1.2;
	font-weight: 600;
}

.own-hp-head__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--own-color-text-2);
}

.own-hp-outline {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--own-color-primary);
	border: 1px solid var(--own-color-border);
	padding: 11px 16px;
	border-radius: var(--own-radius);
	white-space: nowrap;
	background: var(--own-color-surface);
	transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.own-hp-outline:hover,
.own-hp-outline:focus-visible {
	border-color: var(--own-color-accent);
	color: var(--own-color-accent);
}

.own-hp-stars {
	color: var(--own-color-star);
	letter-spacing: .04em;
}

.own-hp-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--own-color-success);
	flex: none;
	display: inline-block;
}

.own-hp-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
}

.own-hp-btn {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	padding: 13px 22px;
	border-radius: var(--own-radius);
	transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.own-hp-btn--white {
	background: #fff;
	color: var(--own-color-primary);
}

.own-hp-btn--white:hover {
	background: var(--own-color-accent);
	color: #fff;
}

.own-hp-btn--ghost {
	border: 1.5px solid rgba(255, 255, 255, .4);
	color: #fff;
}

.own-hp-btn--ghost:hover {
	border-color: #fff;
	color: #fff;
}

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

.own-hp-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
}

.own-hp-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 40%;
	opacity: 0;
	transition: opacity 1.1s ease;
}

.own-hp-hero__slide.is-active {
	opacity: 1;
}

.own-hp-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 22, 26, .35) 0%, rgba(20, 22, 26, .62) 100%);
}

.own-hp-hero__inner {
	position: relative;
	width: 100%;
	max-width: 900px;
	padding: 76px var(--own-gutter) 96px;
}

.own-hp-hero__eyebrow {
	margin: 0 0 14px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .85;
}

.own-hp-hero__title {
	margin: 0 0 16px;
	font-size: clamp(1.9rem, 5.2vw, 2.75rem);
	line-height: 1.15;
	font-weight: 600;
	text-wrap: balance;
	color: #fff;
}

.own-hp-hero__lead {
	margin: 0 auto 28px;
	font-size: 15px;
	line-height: 1.75;
	opacity: .9;
	max-width: 560px;
}

.own-hp-hero__popular {
	margin: 16px 0 0;
	font-size: 12.5px;
	opacity: .9;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.own-hp-hero__popular > span {
	margin-right: 6px;
}

.own-hp-hero__popular a {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .35);
	padding: 5px 11px;
	border-radius: var(--own-radius-pill);
	transition: border-color .16s ease;
}

.own-hp-hero__popular a:hover {
	border-color: #fff;
}

.own-hp-hero__dots {
	position: absolute;
	left: var(--own-gutter);
	bottom: 20px;
	display: flex;
	gap: 7px;
	align-items: center;
	z-index: 2;
}

.own-hp-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: var(--own-radius-pill);
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: width .3s ease, background-color .3s ease;
}

.own-hp-hero__dot.is-active {
	width: 22px;
	background: #fff;
}

.own-hp-hero__credit {
	position: absolute;
	right: var(--own-gutter);
	bottom: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	font-size: 11.5px;
	background: rgba(20, 22, 26, .45);
	padding: 7px 12px;
	border-radius: var(--own-radius-pill);
	transition: background-color .16s ease;
}

.own-hp-hero__credit:hover {
	background: rgba(20, 22, 26, .7);
	color: #fff;
}

.own-hp-hero__credit-label,
.own-hp-hero__credit-meta {
	opacity: .7;
}

/* The search bar — GeoDirectory's own parameters, this theme's chrome. */

.own-hp-search {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	background: #fff;
	padding: 6px;
	border-radius: var(--own-radius-md);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
	color: var(--own-color-primary);
	font-size: 13px;
	text-align: left;
}

/* `hidden` has to beat the flex display, or the category select for the post
   type that is not being searched stays on screen. */
.own-hp-search__field[hidden] {
	display: none;
}

.own-hp-search__field {
	display: flex;
	align-items: center;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border-right: 1px solid var(--own-color-border);
}

.own-hp-search__field--type {
	flex: 1 1 150px;
	font-weight: 500;
}

.own-hp-search__field--cat {
	flex: 1 1 130px;
}

.own-hp-search__field--near {
	flex: 1 1 160px;
	border-right: 0;
}

.own-hp-search__field select,
.own-hp-search__field input {
	font: inherit;
	font-size: 13px;
	color: inherit;
	border: 0;
	background: transparent;
	width: 100%;
	min-width: 0;
	padding: 0;
}

.own-hp-search__field select:focus,
.own-hp-search__field input:focus {
	outline: none;
}

.own-hp-search__field--cat select,
.own-hp-search__field--near input::placeholder {
	color: var(--own-color-muted);
}

.own-hp-search__go {
	flex: 0 0 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	background: var(--own-color-accent);
	border: 0;
	border-radius: var(--own-radius);
	color: #fff;
	cursor: pointer;
	transition: background-color .16s ease;
}

.own-hp-search__go:hover {
	background: var(--own-color-accent-hover);
}

/* --- 1.2 Browse by category --------------------------------------------- */

.own-hp-cats__group-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--own-color-primary);
	margin-bottom: 14px;
}

.own-hp-cats__group-head h3 {
	margin: 0;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.own-hp-cats__group-meta {
	display: flex;
	align-items: baseline;
	gap: 14px;
}

.own-hp-cats__group-meta span {
	font-size: 12px;
	color: var(--own-color-muted);
}

.own-hp-cats__group-meta a {
	font-size: 12.5px;
	font-weight: 600;
}

.own-hp-cats__grid {
	display: grid;
	/* 270px keeps this four across at the 1400px container (five would need
	   1390px of track); at 1200px it is still four. */
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 10px;
	margin-bottom: 32px;
}

.own-hp-cat {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-lg);
	background: var(--own-color-surface);
	color: var(--own-color-primary);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.own-hp-cat:hover,
.own-hp-cat:focus-visible {
	border-color: var(--own-color-accent);
	box-shadow: 0 8px 24px rgba(26, 111, 212, .1);
	color: var(--own-color-primary);
}

.own-hp-cat__icon {
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 9px;
	background: var(--own-color-accent-tint);
	color: var(--own-color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.own-hp-cat__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.own-hp-cat__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.own-hp-cat__count {
	font-size: 11.5px;
	color: var(--own-color-muted);
}

.own-hp-cat__chev {
	margin-left: auto;
	flex: none;
	font-size: 15px;
	color: #c9ced6;
}

/* --- 1.3 Free planning service ------------------------------------------ */

.own-hp-band {
	position: relative;
	background: var(--own-color-primary);
	color: #fff;
	overflow: hidden;
}

.own-hp-plan {
	background: #22252b;
}

.own-hp-band__photo {
	position: absolute;
	inset: 0;
	background-image: var(--own-hp-plan-photo, none);
	background-size: cover;
	background-position: center;
	opacity: .22;
}

.own-hp-band__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(34, 37, 43, .96) 0%, rgba(34, 37, 43, .78) 55%, rgba(34, 37, 43, .6) 100%);
}

.own-hp-plan__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 56px;
	align-items: center;
}

.own-hp-plan__text h2 {
	margin: 0 0 12px;
	font-size: clamp(1.6rem, 4vw, 2.125rem);
	line-height: 1.15;
	font-weight: 600;
	color: #fff;
}

.own-hp-plan__lead {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.75;
	opacity: .85;
}

.own-hp-plan__ticks {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 12px;
	font-size: 14px;
}

.own-hp-plan__ticks li {
	display: flex;
	align-items: center;
	gap: 11px;
}

.own-hp-plan__ticks span {
	width: 19px;
	height: 19px;
	flex: none;
	border-radius: 50%;
	background: rgba(143, 192, 255, .18);
	color: #8fc0ff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.own-hp-plan__trust {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 12.5px;
	opacity: .7;
}

.own-hp-planform {
	background: #fff;
	color: var(--own-color-primary);
	border-radius: var(--own-radius-xl);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	overflow: hidden;
}

.own-hp-planform__head {
	padding: 18px 20px;
	border-bottom: 1px solid var(--own-color-border);
}

.own-hp-planform__title {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 600;
}

.own-hp-planform__lead {
	margin: 0;
	font-size: 12.5px;
	color: var(--own-color-muted);
}

.own-hp-planform__form {
	padding: 20px;
}

.own-hp-planform__gotcha {
	position: absolute;
	left: -9999px;
}

.own-hp-planform__error {
	margin: 0 0 14px;
	font-size: 12.5px;
	color: var(--own-color-featured);
}

.own-hp-planform__stepno {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--own-color-muted);
}

.own-hp-planform__stepbar {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.own-hp-planform__back {
	border: 0;
	background: none;
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--own-color-accent);
	cursor: pointer;
	padding: 0;
}

.own-hp-planform__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px;
}

.own-hp-planform__form label > span {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--own-color-muted);
}

.own-hp-planform__form input[type="date"],
.own-hp-planform__form input[type="email"],
.own-hp-planform__form select {
	font: inherit;
	font-size: 13px;
	color: var(--own-color-primary);
	width: 100%;
	min-width: 0;
	padding: 10px;
	border: 1px solid var(--own-color-border-input);
	border-radius: var(--own-radius);
	background: #fff;
}

.own-hp-planform__form input:focus,
.own-hp-planform__form select:focus {
	border-color: var(--own-color-accent);
	outline: none;
}

.own-hp-planform__email {
	display: block;
	margin-top: 12px;
}

.own-hp-planform__next,
.own-hp-planform__submit {
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .04em;
	width: 100%;
	margin-top: 16px;
	padding: 14px;
	border: 0;
	border-radius: var(--own-radius);
	background: var(--own-color-accent);
	color: #fff;
	cursor: pointer;
	transition: background-color .16s ease;
}

.own-hp-planform__next:hover,
.own-hp-planform__submit:hover {
	background: var(--own-color-accent-hover);
}

.own-hp-planform__reply {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--own-color-muted);
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

.own-hp-planform__needs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.own-hp-need {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 12px;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-md);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	background: #fff;
	transition: border-color .16s ease, background-color .16s ease;
}

.own-hp-need input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.own-hp-need__box {
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: var(--own-radius-sm);
	border: 1px solid #c9ced6;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.own-hp-need__box::after {
	content: "\2713";
	font-size: 10px;
	color: #fff;
	opacity: 0;
}

.own-hp-need:has(input:checked) {
	border-color: var(--own-color-accent);
	background: #f4f8fe;
}

.own-hp-need:has(input:checked) .own-hp-need__box {
	border-color: var(--own-color-accent);
	background: var(--own-color-accent);
}

.own-hp-need:has(input:checked) .own-hp-need__box::after {
	opacity: 1;
}

.own-hp-need:has(input:focus-visible) {
	outline: 2px solid var(--own-color-accent);
	outline-offset: 2px;
}

.own-hp-planform__count {
	margin: 12px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--own-color-muted);
}

.own-hp-planform__done {
	padding: 34px 26px 30px;
	text-align: center;
}

.own-hp-planform__tick {
	width: 38px;
	height: 38px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--own-color-accent-pale);
	color: var(--own-color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.own-hp-planform__done-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
}

.own-hp-planform__done-lead {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--own-color-text-2);
}

.own-hp-planform .cf-turnstile {
	margin-top: 14px;
}

/* --- 1.4 Featured listings ---------------------------------------------- */

.own-hp-cards {
	display: grid;
	/* Same reasoning as the category rows: four across, wider cards. */
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 20px;
}

.own-hp-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-lg);
	background: #fff;
	color: var(--own-color-primary);
	overflow: hidden;
	transition: box-shadow .18s ease, border-color .18s ease;
}

.own-hp-card:hover,
.own-hp-card:focus-visible {
	box-shadow: var(--own-shadow-hover);
	color: var(--own-color-primary);
}

.own-hp-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--own-color-surface-muted) center/cover no-repeat;
}

.own-hp-card__flag,
.own-hp-card__kind {
	position: absolute;
	top: 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: var(--own-radius-sm);
}

.own-hp-card__flag {
	left: 10px;
	background: var(--own-color-featured);
	color: #fff;
}

.own-hp-card__kind {
	right: 10px;
	background: #fff;
	color: var(--own-color-primary);
}

.own-hp-card__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px 16px 16px;
}

.own-hp-card__meta {
	font-size: 11px;
	color: var(--own-color-muted);
}

.own-hp-card__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.own-hp-card__row {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	margin-top: 2px;
}

.own-hp-card__count {
	color: var(--own-color-muted);
}

.own-hp-card__price {
	margin-left: auto;
	color: var(--own-color-muted);
}

.own-hp-card__status {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--own-color-hairline);
	font-size: 12px;
	color: var(--own-color-text-2);
}

.own-hp-more {
	margin: 26px 0 0;
	text-align: center;
}

.own-hp-more .own-hp-outline {
	display: inline-block;
	padding: 13px 26px;
}

.own-hp-more .own-hp-outline:hover {
	box-shadow: 0 8px 24px rgba(26, 111, 212, .1);
}

/* --- 1.5 Browse by region ----------------------------------------------- */

.own-hp-map__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.own-hp-map__modes {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: var(--own-color-surface-muted);
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-pill);
}

.own-hp-map__mode {
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--own-color-text-2);
	background: none;
	border: 0;
	padding: 8px 16px;
	border-radius: var(--own-radius-pill);
	cursor: pointer;
	transition: background-color .16s ease, color .16s ease;
}

.own-hp-map__mode.is-active {
	background: var(--own-hp-mode, var(--own-color-accent));
	color: #fff;
}

.own-hp-map__summary {
	margin: 0;
	font-size: 12.5px;
	color: var(--own-color-muted);
}

.own-hp-map__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.own-hp-map__canvas {
	min-height: 440px;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-xl);
	overflow: hidden;
	background: var(--own-color-surface-muted);
}

.own-hp-map__canvas:empty {
	display: none;
}

.own-hp-map__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 8px;
	align-content: start;
}

.own-hp-map__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-md);
	background: #fff;
	padding: 12px 14px;
	color: var(--own-color-primary);
	font-size: 13px;
	transition: border-color .16s ease;
}

.own-hp-map__row:hover,
.own-hp-map__row.is-active {
	border-color: var(--own-hp-mode, var(--own-color-accent));
	color: var(--own-color-primary);
}

.own-hp-map__count {
	font-size: 12px;
	color: var(--own-color-muted);
}

.own-hp-pin {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	color: #fff;
	font-family: var(--own-font-sans);
	font-size: 11px;
	font-weight: 600;
}

.own-hp-popup__name {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 2px;
}

.own-hp-popup__meta {
	font-size: 12px;
	color: var(--own-color-muted);
	margin-bottom: 6px;
}

/* --- 1.6 From our couples ----------------------------------------------- */

.own-hp-couples__score {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--own-color-muted);
}

.own-hp-couples__score b {
	color: var(--own-color-primary);
}

.own-hp-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	align-items: stretch;
}

.own-hp-quote {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 26px;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-xl);
	background: #fff;
}

.own-hp-quote__mark {
	font-size: 34px;
	line-height: 1;
	color: #c9d9f0;
}

.own-hp-quote blockquote {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--own-color-text);
}

.own-hp-quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid #f0f1f4;
}

.own-hp-quote__avatar {
	border-radius: 50%;
}

.own-hp-quote__name {
	display: block;
	font-size: 13px;
	font-weight: 600;
}

.own-hp-quote__meta {
	display: block;
	font-size: 12px;
	color: var(--own-color-muted);
}

.own-hp-couples__empty {
	margin: 0;
	padding: 28px;
	border: 1px dashed var(--own-color-border);
	border-radius: var(--own-radius-xl);
	background: var(--own-color-surface-panel);
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--own-color-text-2);
}

.own-hp-couples__footer {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 22px 0 0;
	font-size: 13px;
	color: var(--own-color-muted);
}

/* --- 1.7 For vendors ---------------------------------------------------- */

.own-hp-vendors__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 48px;
	align-items: center;
}

.own-hp-vendors h2 {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3.4vw, 1.875rem);
	line-height: 1.2;
	font-weight: 600;
	color: #fff;
}

.own-hp-vendors__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	opacity: .8;
}

.own-hp-proof {
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--own-radius-xl);
	background: rgba(255, 255, 255, .04);
	padding: 26px 28px;
}

.own-hp-proof__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 26px 20px;
}

.own-hp-proof__figure {
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 6px;
}

.own-hp-proof__label {
	font-size: 12.5px;
	line-height: 1.5;
	opacity: .65;
}

.own-hp-proof__note {
	margin: 22px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 11.5px;
	line-height: 1.6;
	opacity: .55;
}

/* --- 1.8 Blog ----------------------------------------------------------- */

.own-hp-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.own-hp-post {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-lg);
	background: #fff;
	color: var(--own-color-primary);
	overflow: hidden;
	transition: box-shadow .18s ease;
}

.own-hp-post:hover {
	box-shadow: var(--own-shadow-hover);
	color: var(--own-color-primary);
}

.own-hp-post__media {
	aspect-ratio: 16 / 9;
	background: var(--own-color-surface-muted) center/cover no-repeat;
}

.own-hp-post__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 22px;
}

.own-hp-post__cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--own-color-muted);
}

.own-hp-post__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.own-hp-post__excerpt {
	font-size: 13px;
	line-height: 1.65;
	color: var(--own-color-text-2);
}

.own-hp-post__more {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--own-color-accent);
}

/* --- 1.9 Upcoming events ------------------------------------------------ */

.own-hp-events__rail {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
	gap: 12px;
	align-items: stretch;
}

.own-hp-event {
	--own-hp-event-colour: var(--own-color-accent);
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius-xl);
	background: #fff;
	color: var(--own-color-primary);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.own-hp-event:hover {
	border-color: var(--own-hp-event-colour);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
	color: var(--own-color-primary);
}

.own-hp-event--showcase   { --own-hp-event-colour: #8a4ea8; }
.own-hp-event--networking { --own-hp-event-colour: #5a4ea8; }
.own-hp-event--openhouse  { --own-hp-event-colour: #2b6f4e; }
.own-hp-event--tasting    { --own-hp-event-colour: #c2761b; }

.own-hp-event__date {
	display: flex;
	align-items: center;
	gap: 10px;
}

.own-hp-event__day {
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--own-hp-event-colour);
}

.own-hp-event__when {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.own-hp-event__weekday {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
}

.own-hp-event__month {
	font-size: 10.5px;
	color: var(--own-color-placeholder);
	letter-spacing: .06em;
}

.own-hp-event__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.own-hp-event__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.own-hp-event__where {
	font-size: 12px;
	color: var(--own-color-muted);
}

.own-hp-event__tag {
	margin-top: auto;
	align-self: flex-start;
	background: var(--own-hp-event-colour);
	color: #fff;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 5px 9px;
	border-radius: var(--own-radius-sm);
}

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

.own-hp-faq {
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.own-hp-faq__list {
	border-top: 1px solid var(--own-color-primary);
}

.own-hp-faq__item {
	border-bottom: 1px solid var(--own-color-border);
}

.own-hp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 2px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.own-hp-faq__item summary::-webkit-details-marker {
	display: none;
}

.own-hp-faq__mark {
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 50%;
	background: var(--own-color-surface-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 400;
	color: var(--own-color-primary);
}

.own-hp-faq__mark::after {
	content: "+";
}

.own-hp-faq__item[open] .own-hp-faq__mark::after {
	content: "\2212";
}

.own-hp-faq__item p {
	margin: 0;
	padding: 0 60px 24px 2px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--own-color-text-2);
	max-width: 88ch;
}

/* --- Narrow ------------------------------------------------------------- */

@media (max-width: 640px) {
	.own-hp-hero {
		min-height: 480px;
	}

	.own-hp-hero__inner {
		padding: 56px var(--own-gutter) 76px;
	}

	.own-hp-search__field {
		border-right: 0;
		border-bottom: 1px solid var(--own-color-border);
		flex-basis: 100%;
	}

	.own-hp-search__go {
		flex: 1 1 100%;
	}

	.own-hp-planform__needs {
		grid-template-columns: minmax(0, 1fr);
	}

	.own-hp-faq__item p {
		padding-right: 2px;
	}
}

/* --- Phone: a shorter page ---------------------------------------------- *
 *
 * The homepage measured 13,818px at 375px wide — seventeen phone screens —
 * against 7,875px for a listing page. Rich asked for it shorter (17 Sep 2026).
 *
 * Two things do the work: tighter vertical rhythm and type below 640px, and
 * the grids trimming themselves to their first few items behind a "show all"
 * button (assets/js/home.js). Nothing is removed from the HTML, so the whole
 * page is still there for search engines and for anyone without JavaScript.
 */

.own-hp-clamp-more {
	display: none;
	width: 100%;
	margin-top: 12px;
	padding: 12px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--own-color-primary);
	background: #fff;
	border: 1px solid var(--own-color-border);
	border-radius: var(--own-radius);
	cursor: pointer;
}

.own-hp-band .own-hp-clamp-more {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .4);
}

/* The clamped items keep their markup and only stop being laid out: the cards
 * and tiles set their own display, which beats the browser's [hidden] rule. */
[data-own-clamp] > [hidden] {
	display: none !important;
}

@media (max-width: 640px) {
	/* :not([hidden]) so the script can put the button away again once the
	 * grid has been expanded: a bare display:block would outrank [hidden]. */
	.own-hp-clamp-more:not([hidden]) {
		display: block;
	}

	.own-hp-section,
	.own-hp-tint,
	.own-hp-band {
		padding-block: 2.25rem;
	}

	.own-hp-head {
		margin-bottom: 18px;
		gap: 14px;
	}

	.own-hp-head h2,
	.own-hp-vendors h2 {
		font-size: 1.35rem;
	}

	.own-hp-head__lead {
		font-size: 13px;
		line-height: 1.6;
	}

	.own-hp-eyebrow {
		margin-bottom: 8px;
	}

	/* Categories */
	.own-hp-cats__grid {
		gap: 8px;
		margin-bottom: 22px;
	}

	.own-hp-cat {
		padding: 11px 14px;
		gap: 11px;
	}

	.own-hp-cat__icon {
		width: 32px;
		height: 32px;
	}

	.own-hp-cats__group-head {
		margin-bottom: 10px;
	}

	/* Featured and blog cards */
	.own-hp-cards,
	.own-hp-posts {
		gap: 14px;
	}

	.own-hp-card__media {
		aspect-ratio: 16 / 10;
	}

	.own-hp-post__body {
		padding: 14px 16px 16px;
		gap: 6px;
	}

	.own-hp-post__excerpt {
		display: none;   /* the title and category carry the card on a phone */
	}

	.own-hp-more {
		margin-top: 18px;
	}

	/* Planning band */
	.own-hp-plan__grid {
		gap: 28px;
	}

	.own-hp-plan__lead {
		margin-bottom: 16px;
	}

	.own-hp-plan__ticks {
		gap: 9px;
		margin-bottom: 18px;
	}

	.own-hp-planform__form {
		padding: 16px;
	}

	/* Regions: a compact two-column list under a shorter map */
	.own-hp-map__canvas {
		min-height: 260px;
	}

	.own-hp-map__grid {
		gap: 16px;
	}

	.own-hp-map__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.own-hp-map__row {
		padding: 9px 11px;
		font-size: 12px;
		gap: 6px;
	}

	.own-hp-map__bar {
		margin-bottom: 12px;
		gap: 10px;
	}

	/* Couples, vendors, events, FAQ */
	.own-hp-quote {
		padding: 20px;
		gap: 12px;
	}

	.own-hp-couples__empty {
		padding: 20px;
	}

	.own-hp-proof {
		padding: 20px;
	}

	.own-hp-proof__grid {
		gap: 18px 16px;
	}

	.own-hp-btns {
		margin-top: 20px;
	}

	.own-hp-events__rail {
		gap: 10px;
	}

	.own-hp-event {
		padding: 14px;
		gap: 9px;
	}

	.own-hp-faq__item summary {
		padding: 16px 2px;
		font-size: 14px;
		gap: 14px;
	}

	.own-hp-faq__item p {
		padding-bottom: 18px;
		font-size: 13.5px;
		line-height: 1.7;
	}

	/* --- Second trim pass -----------------------------------------------
	 * Everything below squeezes spacing only: no copy is hidden, and the
	 * measurements it is based on came off the live page at 375px.
	 */

	.own-hp-section,
	.own-hp-tint,
	.own-hp-band {
		padding-block: 2rem;
	}

	/* The hero keeps the heading, the intro and the search box; only the
	 * breathing room around them gets smaller. */
	.own-hp-hero__inner {
		padding: 34px var(--own-gutter) 44px;
	}

	.own-hp-hero__lead {
		margin-bottom: 20px;
	}

	.own-hp-hero__popular {
		margin-top: 12px;
	}

	/* Section headers repeat eight times down the page, so a few pixels
	 * saved here is worth more than it looks. */
	.own-hp-head {
		margin-bottom: 14px;
		gap: 10px;
	}

	.own-hp-outline {
		padding: 10px 16px;
		font-size: 13px;
	}

	/* Shallower photos: still the widest element on the card, just less of
	 * the screen each. */
	.own-hp-card__media {
		aspect-ratio: 2 / 1;
	}

	.own-hp-post__media {
		aspect-ratio: 2 / 1;
	}

	.own-hp-card__body {
		padding: 12px 14px 14px;
	}

	.own-hp-planform__head {
		padding-bottom: 12px;
	}

	.own-hp-plan__lead {
		margin-bottom: 12px;
	}

	.own-hp-plan__ticks {
		gap: 7px;
		margin-bottom: 14px;
	}

	.own-hp-faq__item summary {
		padding: 11px 2px;
	}

	.own-hp-couples__empty {
		padding: 16px;
	}
}
