/*
Theme Name: Velasco
Description: Personal real estate child theme for Meyeiht Velasco, Keller Williams Empire Estates. Editorial, approachable-luxury design with property publishing, inquiry handling, and restrained motion.
Template: housing-pro
Version: 2.3.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v3 or later
Text Domain: velasco
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ivory: #f6f1e7;
	--ivory-2: #efe7d8;
	--paper: #fbf8f2;
	--charcoal: #1f201c;
	--charcoal-2: #2a2b26;
	--night: #161713;
	--ink: #23241f;
	--muted: #62665b;
	--line: rgba(31, 32, 28, .14);
	--line-light: rgba(246, 241, 231, .2);
	--sage: #93a088;
	--sage-deep: #56644f;
	--sage-soft: #e1e6d8;
	--red: #b40101;
	--red-deep: #8c0000;
	--serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--wrap: 1320px;
	--gutter: clamp(20px, 5vw, 64px);
	--header-h: 84px;
}

/* ==========================================================================
   Base (scoped to the Velasco body class so parent widgets keep working)
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip !important; }
body.velasco {
	margin: 0; background: var(--ivory); color: var(--ink);
	font: 400 16px/1.7 var(--sans); overflow-x: clip;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.velasco *, .velasco *::before, .velasco *::after { box-sizing: border-box; }
.velasco img { max-width: 100%; }
.velasco a { color: inherit; text-decoration: none; }
/* :where() keeps these resets at class-level specificity: above parent element rules, below components */
.velasco :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; padding: 0; }
.velasco :where(h1, h2, h3, h4) { font-weight: 500; line-height: 1.1; color: inherit; }
.velasco :where(button, input, select, textarea) { font: inherit; color: inherit; }
.velasco ::selection { background: var(--sage); color: var(--night); }
.velasco :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.velasco :where(section) { padding: 0; }
.velasco .v-main { display: block; }

.v-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.v-section { padding-block: clamp(80px, 11vw, 150px); }
.v-skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--paper); color: var(--ink); padding: 12px 18px; }
.v-skip:focus { top: 12px; }
.v-icon { width: 1.1em; height: 1.1em; flex: none; }

/* Typography */
.v-eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font: 600 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep);
	margin-bottom: 22px !important;
}
.v-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.v-eyebrow--light { color: rgba(246, 241, 231, .85); }
.v-h2 { font: 500 clamp(2.4rem, 5vw, 4.4rem)/1.02 var(--serif) !important; letter-spacing: -.015em; max-width: 16ch; }
.v-h2 em, .v-hero__title em, .v-pagehead__title em { font-style: italic; font-weight: 400; color: var(--sage-deep); }
.v-lead { font: 400 clamp(1.35rem, 2vw, 1.65rem)/1.45 var(--serif); color: var(--ink); }
.v-placeholder {
	display: inline-block; border: 1px dashed currentColor; border-radius: 999px; padding: 1px 12px;
	font: italic 500 .85em/1.6 var(--sans); opacity: .78;
}

/* Buttons & links */
.v-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: 2px;
	font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
	transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.v-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.v-btn:hover::before, .v-btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.v-btn .v-icon { transition: transform .45s var(--ease); }
.v-btn:hover .v-icon { transform: translate(3px, -3px); }
.v-btn:active { transform: translateY(1px); }
.v-btn--red { background: var(--red); color: #fff !important; }
.v-btn--red::before { background: var(--red-deep); }
.v-btn--red:hover { box-shadow: 0 14px 30px -14px rgba(140, 0, 0, .7); }
.v-btn--dark { background: var(--charcoal); color: var(--ivory) !important; }
.v-btn--dark::before { background: var(--red); }
.v-btn--ghost { border-color: rgba(246, 241, 231, .55); color: var(--ivory) !important; }
.v-btn--ghost::before { background: var(--ivory); }
.v-btn--ghost:hover { color: var(--charcoal) !important; border-color: var(--ivory); }
.v-btn--sm { min-height: 42px; padding: 10px 18px; font-size: 11px; }
.v-btn--block { width: 100%; }
.v-link {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
	font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: background-size .5s var(--ease), color .3s;
}
.v-link:hover { background-size: 40% 1px; color: var(--red); }
.v-link .v-icon { transition: transform .45s var(--ease); }
.v-link:hover .v-icon { transform: translate(3px, -3px); }
.v-kw-mark { display: inline-block; width: 30px; height: 3px; background: var(--red); flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.v-header {
	position: sticky; top: 0; z-index: 100; color: var(--ink);
	background: rgba(246, 241, 231, .92); border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
	transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.velasco-front .v-header { position: fixed; left: 0; right: 0; color: var(--ivory); background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.velasco-front .v-header.is-solid { color: var(--ink); background: rgba(246, 241, 231, .92); border-color: var(--line); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); }
.admin-bar .v-header { top: 32px; }
.v-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: var(--wrap); margin: auto; padding: 0 var(--gutter); height: var(--header-h); }
.v-brand { display: flex; flex-direction: column; line-height: 1; }
.v-brand__word { font: 500 28px/1 var(--serif); letter-spacing: .005em; white-space: nowrap; }
.v-brand__word em { font-style: italic; }
.v-brand__sub { display: flex; align-items: center; gap: 9px; margin-top: 7px; font: 600 9.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.v-brand__sub::before { content: ""; width: 18px; height: 2px; background: var(--red); flex: none; }
.v-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.v-menu { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.v-menu a { position: relative; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; }
.v-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.v-menu a:hover::after, .v-menu .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.v-nav__broker { display: none; }
.v-menu-toggle { display: none; align-items: center; gap: 12px; background: none; border: 0; padding: 10px 0; cursor: pointer; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.v-menu-toggle__bars { display: grid; gap: 6px; width: 26px; }
.v-menu-toggle__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.v-menu-toggle[aria-expanded="true"] .v-menu-toggle__bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
.v-menu-toggle[aria-expanded="true"] .v-menu-toggle__bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.v-hero {
	position: relative; display: grid; grid-template-rows: 1fr auto; isolation: isolate;
	min-height: max(640px, 100svh); color: var(--ivory); background: var(--night); overflow: hidden;
}
.v-hero__media, .v-hero__slide { position: absolute; inset: 0; margin: 0; }
.v-hero__slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.v-hero__slide.is-active { opacity: 1; }
.v-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s cubic-bezier(.25, .1, .25, 1); }
.v-hero__slide.is-active img { transform: scale(1.02); }
.v-hero__slide figcaption { display: none; }
.v-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(22, 23, 19, .82) 0%, rgba(22, 23, 19, .55) 38%, rgba(22, 23, 19, .1) 72%),
		linear-gradient(0deg, rgba(22, 23, 19, .8) 0%, rgba(22, 23, 19, 0) 34%),
		linear-gradient(180deg, rgba(22, 23, 19, .5) 0%, rgba(22, 23, 19, 0) 22%);
}
.v-hero__content { position: relative; align-self: end; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 6vw, 72px); }
.v-hero__title { font: 500 clamp(3.2rem, 8.2vw, 8rem)/.92 var(--serif) !important; letter-spacing: -.025em; margin-bottom: 30px !important; }
.v-hero__title em { color: #d9e0cd; }
.v-line { display: block; overflow: hidden; padding-bottom: .06em; }
.v-line > span { display: inline-block; animation: v-line 1.25s var(--ease) var(--d, 0s) both; }
.v-hero__lead { max-width: 34rem; font-size: clamp(1rem, 1.3vw, 1.125rem); color: rgba(246, 241, 231, .86); margin-bottom: 36px !important; }
.v-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.v-rise { animation: v-rise 1.1s var(--ease) var(--d, 0s) both; }
.v-hero__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid var(--line-light); }
.v-hero__broker { display: flex; align-items: center; gap: 14px; font: 600 13px/1.3 var(--sans); letter-spacing: .04em; }
.v-hero__broker small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.v-hero__controls { display: flex; align-items: center; gap: 10px; }
.v-hero__caption { margin-right: 14px !important; font: italic 400 1.05rem/1.2 var(--serif); text-align: right; }
.v-hero__caption small { display: block; font: 500 9.5px/1.6 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.v-hero__dot { width: 44px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.v-hero__dot span { position: relative; display: block; height: 2px; background: rgba(246, 241, 231, .3); overflow: hidden; }
.v-hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: left; }
.v-hero__dot.is-active span::after { animation: v-progress 7s linear forwards; }
.v-hero.is-paused .v-hero__dot.is-active span::after { animation-play-state: paused; }
.v-hero.is-static .v-hero__dot.is-active span::after { animation: none; transform: scaleX(1); }
.v-hero__dot:hover span { background: rgba(246, 241, 231, .6); }
.v-hero__pause { width: 36px; height: 36px; margin-left: 6px; border-radius: 50%; border: 1px solid rgba(246, 241, 231, .45); background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.v-hero__pause:hover { background: rgba(246, 241, 231, .12); border-color: var(--ivory); }
.v-hero__pause span { width: 8px; height: 10px; border-inline: 2.5px solid var(--ivory); }
.v-hero.is-paused .v-hero__pause span, .v-hero.is-static .v-hero__pause span { width: 0; height: 0; border-inline: 0; border-left: 9px solid var(--ivory); border-block: 6px solid transparent; margin-left: 3px; }

@keyframes v-line { from { transform: translateY(108%); } to { transform: none; } }
@keyframes v-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes v-progress { to { transform: scaleX(1); } }
@keyframes v-ticker { to { transform: translateX(-50%); } }

/* Ticker */
.v-ticker { overflow: hidden; background: var(--charcoal); color: var(--ivory); padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .05); }
.v-ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: v-ticker 48s linear infinite; padding-right: 36px; }
.v-ticker__track span { font: italic 400 clamp(1.25rem, 2vw, 1.6rem)/1 var(--serif); white-space: nowrap; }
.v-ticker__track i { font-style: normal; font-size: 11px; color: var(--sage); }
.v-ticker:hover .v-ticker__track { animation-play-state: paused; }

/* ==========================================================================
   About
   ========================================================================== */
.v-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.v-about__visual { position: relative; padding: 0 0 48px 0; }
.v-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; background: var(--sage-soft); }
.v-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 30%; }
.v-portrait--empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 40px 28px 90px;
	background: radial-gradient(120% 80% at 50% 0%, #eef1e7 0%, var(--sage-soft) 55%, #d3dac8 100%);
	color: var(--sage-deep);
}
.v-portrait--empty .v-placeholder { max-width: 260px; font-size: 12px; border-radius: 6px; padding: 8px 12px; background: rgba(251, 248, 242, .7); }
.v-portrait__mono { font: italic 400 clamp(6rem, 13vw, 11rem)/1 var(--serif); letter-spacing: -.04em; opacity: .55; }
.v-about__badge {
	position: absolute; right: -24px; bottom: 0; display: flex; align-items: center; gap: 16px;
	background: var(--charcoal); color: var(--ivory); padding: 20px 26px; box-shadow: 0 30px 60px -30px rgba(22, 23, 19, .55);
}
.v-about__badge p { font: 500 1.2rem/1.15 var(--serif); }
.v-about__badge small { display: block; margin-bottom: 6px; font: 600 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.v-about__copy .v-h2 { margin-bottom: 36px !important; max-width: 14ch; }
.v-about__text { display: grid; gap: 18px; max-width: 38rem; color: var(--muted); }
.v-values { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 0 !important; }
.v-values li { border-top: 1px solid var(--line); padding-top: 18px; }
.v-values strong { display: block; font: 500 1.35rem/1.2 var(--serif); margin-bottom: 4px; }
.v-values span { font-size: 14px; color: var(--muted); }
.v-about__sign { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.v-signature { font: italic 400 2.4rem/1 var(--serif); color: var(--sage-deep); }

/* Statement band */
.v-statement { position: relative; padding-bottom: clamp(60px, 8vw, 110px); }
.v-statement__media { height: clamp(300px, 46vw, 620px); overflow: hidden; }
.v-statement__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.v-statement__text { position: relative; margin-top: clamp(-140px, -9vw, -60px); }
.v-statement__box { max-width: 46rem; background: var(--charcoal); color: var(--ivory); padding: clamp(28px, 4vw, 56px); border-left: 3px solid var(--red); }
.v-statement__quote { font: italic 400 clamp(2rem, 4vw, 3.4rem)/1.05 var(--serif); }
.v-statement__sub { margin-top: 16px !important; color: rgba(246, 241, 231, .78); font-size: 15px; }

/* ==========================================================================
   Section headings
   ========================================================================== */
.v-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(40px, 6vw, 72px); }
.v-heading__aside { max-width: 24rem; color: var(--muted); font-size: 15px; }
.v-heading--center { display: block; text-align: center; }
.v-heading--center .v-h2 { margin-inline: auto; }

/* ==========================================================================
   Property cards
   ========================================================================== */
.v-homes { background: var(--paper); }
.v-homes__search { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 40px); background: var(--ivory); border: 1px solid var(--line); }
.v-homes__search p { max-width: 52ch; color: var(--muted); }
.v-homes__search strong { display: block; font: 500 1.5rem/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.v-sample-note { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; border: 1px dashed rgba(86, 100, 79, .5); background: rgba(225, 230, 216, .45); padding: 14px 20px; margin-bottom: 28px !important; font-size: 14px; color: var(--sage-deep); }
.v-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.v-cards--feature { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.v-cards--feature .v-card--featured { grid-row: span 2; }
.v-card {
	position: relative; display: flex; flex-direction: column; background: var(--ivory);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.v-card:hover, .v-card:focus-within { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(22, 23, 19, .45); }
.v-card:focus-within { outline: 2px solid var(--red); outline-offset: 4px; }
.v-card :focus-visible { outline: none; }
.v-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-soft); }
.v-card--featured .v-card__media { aspect-ratio: auto; flex: 1; min-height: 380px; }
.v-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.v-card:hover .v-card__media img { transform: scale(1.06); }
.v-card__nophoto { position: absolute; inset: 0; display: grid; place-items: center; font: italic 1.2rem var(--serif); color: var(--sage-deep); }
.v-card__status { position: absolute; top: 18px; left: 18px; background: rgba(251, 248, 242, .94); color: var(--ink); padding: 7px 12px; font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.v-card--sample .v-card__status { border: 1px dashed var(--sage-deep); color: var(--sage-deep); }
.v-card__go {
	position: absolute; right: 18px; bottom: 18px; width: 50px; height: 50px; border-radius: 50%;
	display: grid; place-items: center; background: var(--paper); color: var(--ink);
	transform: scale(.8) rotate(-45deg); opacity: 0; transition: all .55s var(--ease);
}
.v-card:hover .v-card__go, .v-card:focus-within .v-card__go { opacity: 1; transform: none; background: var(--red); color: #fff; }
.v-card__body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.v-card__price { font: 500 1.6rem/1.1 var(--serif); }
.v-card__price .v-placeholder { font-size: 13px; }
.v-card__title { font: 500 1.5rem/1.15 var(--serif) !important; }
.v-card--featured .v-card__title { font-size: clamp(1.7rem, 2.4vw, 2.2rem) !important; }
.v-card__title a { background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.v-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.v-card:hover .v-card__title a { background-size: 100% 1px; }
.v-card__loc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.v-card__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px !important; padding-top: 16px !important; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.v-card__specs li { display: inline-flex; align-items: center; gap: 8px; }
.v-card__summary { color: var(--muted); font-size: 15px; max-width: 46ch; }
/* A single published home gets a wide, side-by-side spotlight instead of half a grid. */
.v-cards--solo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
.v-cards--solo .v-card--featured { grid-row: auto; flex-direction: row; }
.v-cards--solo .v-card--featured .v-card__media { flex: 1.45; min-height: 460px; }
.v-cards--solo .v-card--featured .v-card__body { flex: 1; align-content: center; padding: clamp(28px, 4vw, 56px); }
.v-card__cta { margin-top: 10px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

/* ==========================================================================
   Buy / Sell
   ========================================================================== */
.v-paths { padding-block: clamp(80px, 11vw, 150px); }
.v-paths__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 32px); align-items: start; }
.v-path { display: flex; flex-direction: column; background: var(--sage-soft); overflow: hidden; }
.v-path--sell { background: var(--charcoal); color: var(--ivory); margin-top: clamp(0px, 8vw, 120px); }
.v-path__media { aspect-ratio: 16 / 11; overflow: hidden; }
.v-path__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.v-path:hover .v-path__media img { transform: scale(1.04); }
.v-path__body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; justify-items: start; }
.v-path__kicker { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); }
.v-path--sell .v-path__kicker { color: var(--sage); }
.v-path h3 { font: 500 clamp(2rem, 3.2vw, 2.8rem)/1.05 var(--serif) !important; max-width: 14ch; }
.v-path__body > p { color: var(--muted); max-width: 32rem; }
.v-path--sell .v-path__body > p { color: rgba(246, 241, 231, .75); }
.v-checks { list-style: none; display: grid; gap: 0; width: 100%; margin: 6px 0 14px !important; }
.v-checks li { position: relative; padding: 13px 0 13px 32px; border-top: 1px solid var(--line); font-size: 15px; }
.v-path--sell .v-checks li { border-color: var(--line-light); }
.v-checks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 14px; height: 7px; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg); }
.v-path--sell .v-checks li::before { border-color: #e4a3a3; }

/* ==========================================================================
   Process
   ========================================================================== */
.v-process { background: var(--ivory-2); }
.v-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); padding-top: 48px !important; }
.v-steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.v-steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--red); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.v-steps li { position: relative; }
.v-steps li::before { content: ""; position: absolute; top: -53px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory-2); border: 1.5px solid var(--red); }
.v-steps__n { display: block; font: italic 400 3.4rem/1 var(--serif); color: var(--sage-deep); margin-bottom: 18px; }
.v-steps h3 { font: 500 1.65rem/1.15 var(--serif) !important; margin-bottom: 10px !important; }
.v-steps p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Contact & form
   ========================================================================== */
.v-contact { background: var(--charcoal); color: var(--ivory); position: relative; overflow: hidden; }
.v-contact::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(147, 160, 136, .16), transparent); pointer-events: none; }
.v-contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.v-contact .v-h2 em { color: #c9d2bc; }
.v-contact__lead { margin-top: 28px !important; color: rgba(246, 241, 231, .78); max-width: 30rem; }
.v-contact__list { margin-top: 44px !important; display: grid; gap: 0; }
.v-contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.v-contact__list dt { font: 600 10.5px/2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.v-contact__list dd { font-size: 15px; }
.v-contact__list a { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }
.v-contact__card { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 52px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7); }

.v-form { display: grid; gap: 22px; }
.v-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.v-field { display: grid; gap: 8px; }
.v-field label, .v-chips legend { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.v-field label small { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.v-field :is(input, select, textarea) {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(31, 32, 28, .3); border-radius: 0;
	padding: 10px 0 12px; font-size: 16px; color: var(--ink); transition: border-color .3s;
}
.v-field select { appearance: none; -webkit-appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2323241f' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.v-field textarea { resize: vertical; min-height: 110px; }
.v-field :is(input, select, textarea):focus { outline: none; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.v-field :is(input, textarea)::placeholder { color: #8b8e84; }
.v-chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.v-chips legend { margin-bottom: 12px; padding: 0; }
.v-chip { position: relative; cursor: pointer; }
.v-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.v-chip span { display: inline-block; padding: 10px 18px; border: 1px solid rgba(31, 32, 28, .25); border-radius: 999px; font-size: 14px; transition: all .3s var(--ease); }
.v-chip:hover span { border-color: var(--ink); }
.v-chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.v-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.v-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.v-consent input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.v-form__note { font-size: 12px; color: var(--muted); text-align: center; }
.v-form__feedback:empty { display: none; }
.v-form__feedback { padding: 14px 16px; background: var(--sage-soft); color: var(--sage-deep); font-size: 14px; }
.v-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v-status { padding: 16px 18px; margin-bottom: 24px !important; border-left: 3px solid var(--sage-deep); background: var(--sage-soft); color: var(--ink); font-size: 14px; }
.v-status--error, .v-status--setup { border-left-color: var(--red); background: #f6e6e2; }

/* ==========================================================================
   Footer
   ========================================================================== */
.v-footer { background: var(--night); color: rgba(246, 241, 231, .8); padding-top: clamp(64px, 8vw, 110px); font-size: 14px; }
.v-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.v-footer__word { display: inline-block; font: 500 clamp(2.3rem, 4vw, 3.4rem)/1 var(--serif); letter-spacing: .005em; color: var(--ivory); margin-bottom: 18px; }
.v-footer__word em { font-style: italic; }
.v-footer__brand p { max-width: 22rem; }
.v-footer__col { display: grid; gap: 8px; align-content: start; }
.v-footer__col h2 { font: 600 10.5px/1.4 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px !important; }
.v-footer__col ul { list-style: none; display: grid; gap: 8px; }
.v-footer__col a:not(.v-link) { transition: color .3s; }
.v-footer__col a:hover { color: var(--ivory); }
.v-footer__col .v-link { justify-self: start; margin-top: 8px; color: var(--ivory); }
.v-footer__fine { font-size: 12px; opacity: .7; }
.v-footer__widgets { padding: 24px 0; border-top: 1px solid var(--line-light); }
.v-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 24px 0 32px; border-top: 1px solid var(--line-light); font-size: 12px; color: rgba(246, 241, 231, .6); }
.v-footer__bottom a:hover { color: var(--ivory); }

/* ==========================================================================
   Inner pages: homes archive, property detail, parent templates
   ========================================================================== */
.v-pagehead { position: relative; isolation: isolate; color: var(--ivory); background: var(--charcoal); padding: clamp(90px, 12vw, 170px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.v-pagehead__media { position: absolute; inset: 0; z-index: -1; }
.v-pagehead__media img { width: 100%; height: 100%; object-fit: cover; animation: v-settle 2.4s var(--ease) both; }
.v-pagehead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 23, 19, .85), rgba(22, 23, 19, .35)); }
.v-pagehead__title { font: 500 clamp(2.8rem, 6.5vw, 5.6rem)/1 var(--serif) !important; letter-spacing: -.02em; max-width: 14ch; }
.v-pagehead__title em { color: #d9e0cd !important; }
.v-pagehead__lead { margin-top: 22px !important; max-width: 34rem; color: rgba(246, 241, 231, .82); }
@keyframes v-settle { from { transform: scale(1.1); } to { transform: none; } }
.v-empty { text-align: center; display: grid; justify-items: center; gap: 20px; padding: 40px 0; }
.v-empty p { color: var(--muted); max-width: 30rem; }
.v-pagination, .velasco .navigation.pagination { margin-top: 56px; }
.velasco .nav-links { display: flex; gap: 8px; justify-content: center; }
.velasco .nav-links .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); }
.velasco .nav-links .current { background: var(--charcoal); color: var(--ivory); }

.v-property { padding-bottom: clamp(70px, 9vw, 130px); }
.v-property__head { padding-top: clamp(40px, 5vw, 64px); }
.v-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.v-crumbs a:hover { color: var(--red); }
.v-property__titles { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.v-property__title { font: 500 clamp(2.6rem, 6vw, 5.2rem)/1 var(--serif) !important; letter-spacing: -.02em; max-width: 18ch; }
.v-property__loc { display: flex; align-items: center; gap: 8px; margin-top: 16px !important; color: var(--muted); }
.v-property__price { font: 500 clamp(1.8rem, 3vw, 2.6rem)/1 var(--serif); }
.v-property__media { overflow: hidden; }
.v-property__media img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; display: block; }
.v-property__nophoto { display: grid; place-items: center; aspect-ratio: 16 / 7; background: var(--sage-soft); color: var(--sage-deep); }
.v-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: -1px; }
.v-facts > div { padding: 24px 0 24px 24px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.v-facts > div:first-child { border-left: 0; padding-left: 0; }
.v-facts dt { font: 600 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.v-facts dd { margin-top: 6px; font: 500 1.6rem/1.1 var(--serif); }
.v-property__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.v-property__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.v-inquire { background: var(--paper); padding: clamp(26px, 3vw, 40px); border-top: 3px solid var(--red); box-shadow: 0 40px 80px -50px rgba(22, 23, 19, .45); }
.v-inquire h2 { font: 500 2rem/1.1 var(--serif) !important; margin-bottom: 12px !important; }
.v-inquire__who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 26px !important; }
.v-inquire .v-form__row { grid-template-columns: 1fr; }
.v-property__back { margin-top: 48px; }

/* Long-form content (property descriptions, pages, posts) */
.v-prose, .velasco-inner .entry-content { font-size: 17px; color: #3b3d35; }
.v-prose > * + *, .velasco-inner .entry-content > * + * { margin-top: 1.1em !important; }
.v-prose :is(h2, h3), .velasco-inner .entry-content :is(h2, h3) { font-family: var(--serif) !important; color: var(--ink); margin-top: 1.6em !important; }
.v-prose h2, .velasco-inner .entry-content h2 { font-size: 2.2rem; }
.v-prose h3, .velasco-inner .entry-content h3 { font-size: 1.6rem; }
.v-prose :is(ul, ol), .velasco-inner .entry-content :is(ul, ol) { padding-left: 1.3em !important; list-style: disc; }
.v-prose a, .velasco-inner .entry-content a { color: var(--red); background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }
.v-prose img, .velasco-inner .entry-content img { height: auto; }
.v-prose blockquote, .velasco-inner .entry-content blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--sage); font: italic 1.5rem/1.4 var(--serif); }

/* Parent theme templates (pages, posts, search, 404) inside the Velasco shell */
.velasco-inner .content-area { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); float: none; }
.velasco-inner .content-area::after { content: ""; display: table; clear: both; }
.velasco-inner :is(.entry-title, .post-title, .page-title, .section_title) { font: 500 clamp(2.4rem, 5vw, 4.2rem)/1.04 var(--serif) !important; color: var(--ink) !important; letter-spacing: -.015em; margin-bottom: 28px !important; }
.velasco-inner .postmeta { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.velasco-inner #sidebar .widget-title { font: 600 11px/1.4 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); }
.velasco-inner #sidebar a:hover, .velasco-inner .blog-post-repeat a:hover { color: var(--red); }
.velasco-inner :is(input[type=submit], .read-more a, button.search-submit) { background: var(--charcoal) !important; color: var(--ivory) !important; border: 0; border-radius: 2px; }

/* ==========================================================================
   Scroll reveal (only when JS is on; see assets/site.js)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(8% 6% 8% 6%); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="wipe"] img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="wipe"].is-in img { transform: none; }
.js [data-reveal="steps"] { opacity: 1; transform: none; }
.js [data-reveal="steps"]::after { transform: scaleX(0); }
.js [data-reveal="steps"].is-in::after { transform: scaleX(1); }
.js [data-reveal="steps"] li { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal="steps"].is-in li { opacity: 1; transform: none; }
.js [data-reveal="steps"].is-in li:nth-child(2) { transition-delay: .25s; }
.js [data-reveal="steps"].is-in li:nth-child(3) { transition-delay: .5s; }
.js [data-reveal="steps"].is-in li:nth-child(4) { transition-delay: .75s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.v-footer__top { grid-template-columns: 1fr 1fr; }
	.v-hero__caption { display: none; }
}
@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.v-brand__word { font-size: 25px; }
	.v-menu-toggle { display: inline-flex; position: relative; z-index: 2; }
	.v-nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--ivory); color: var(--ink);
		visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s linear .45s;
	}
	.v-nav.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
	.v-menu { flex-direction: column; gap: 6px; }
	.v-menu a { display: inline-block; font: 500 clamp(2.2rem, 9vw, 3.2rem)/1.15 var(--serif); letter-spacing: 0; text-transform: none; padding: 4px 0; }
	.v-nav.is-open .v-menu li { animation: v-rise .7s var(--ease) both; }
	.v-nav.is-open .v-menu li:nth-child(2) { animation-delay: .06s; }
	.v-nav.is-open .v-menu li:nth-child(3) { animation-delay: .12s; }
	.v-nav.is-open .v-menu li:nth-child(4) { animation-delay: .18s; }
	.v-nav.is-open .v-menu li:nth-child(5) { animation-delay: .24s; }
	.v-nav__broker { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
	.v-nav__broker::before { content: ""; width: 30px; height: 3px; background: var(--red); }
	.v-brand { position: relative; z-index: 2; }
	/* backdrop-filter would trap the fixed menu panel inside the header bar */
	.v-header.is-open, .velasco-front .v-header.is-open { color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.v-about__grid, .v-contact__grid, .v-property__body { grid-template-columns: 1fr; }
	.v-about__visual { max-width: 460px; }
	.v-about__badge { right: 0; }
	.v-paths__grid { grid-template-columns: 1fr; }
	.v-path--sell { margin-top: 0; }
	.v-steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
	.v-property__aside { position: static; }
	.v-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
	.v-heading--center { align-items: center; }
}
@media (max-width: 760px) {
	.v-hero { min-height: max(600px, 100svh); }
	.v-hero__media::after { background: linear-gradient(0deg, rgba(22, 23, 19, .88) 0%, rgba(22, 23, 19, .55) 50%, rgba(22, 23, 19, .35) 100%); }
	.v-hero__bar { flex-wrap: wrap; }
	.v-hero__actions .v-btn { flex: 1 1 220px; }
	.v-cards--feature { grid-template-columns: 1fr; }
	.v-cards--feature .v-card--featured { grid-row: auto; }
	.v-card--featured .v-card__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
	.v-cards--solo .v-card--featured { flex-direction: column; }
	.v-cards--solo .v-card--featured .v-card__media { min-height: 0; flex: none; }
	.v-values { grid-template-columns: 1fr; gap: 0; }
	.v-values li { padding-block: 14px; }
	.v-steps { grid-template-columns: 1fr; padding-top: 0 !important; padding-left: 32px !important; gap: 40px; }
	.v-steps::before, .v-steps::after { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
	.v-steps::after { transform-origin: top; }
	.js [data-reveal="steps"]::after { transform: scaleY(0); }
	.js [data-reveal="steps"].is-in::after { transform: scaleY(1); }
	.v-steps li::before { top: 8px; left: -32px; }
	.v-form__row { grid-template-columns: 1fr; }
	.v-contact__list > div { grid-template-columns: 1fr; gap: 4px; }
	.v-footer__top { grid-template-columns: 1fr; }
	.v-statement__text { margin-top: -40px; }
	.v-facts > div { padding-left: 0; border-left: 0; }
	.admin-bar .v-header { top: 0; }
}
@media (max-width: 520px) {
	.v-brand__word { font-size: 23px; }
	.v-brand__sub { font-size: 8px; letter-spacing: .14em; gap: 7px; margin-top: 6px; }
	.v-brand__sub::before { width: 12px; }
}
@media (max-width: 782px) { .admin-bar .v-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .v-header { top: 0; } }

/* ==========================================================================
   Reduced motion: keep everything visible and still
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.velasco *, .velasco *::before, .velasco *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.v-hero__slide img, .v-hero__slide.is-active img { transform: none; }
	.v-ticker__track { animation: none !important; }
	.js [data-reveal], .js [data-reveal] img, .js [data-reveal] li { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.js [data-reveal="steps"]::after { transform: none !important; }
}
