/* V3 public design system — inner pages (docs/79). Layered over home-v2.css + home-v3.css.
   Loaded only in V3 preview mode on area guides, the listings archive and property pages.
   Everything here reuses the V3 tokens and components (v2-eyebrow, v2-btn, v2-link, v3-section,
   v3-head, v3-listing, v3-area, v3-final); this file adds the inner-page shell and three page types. */

/* ---------- shell: solid header on inner pages (the homepage's transparent hero state does not apply) ---------- */
.zre-v3-inner .zre-nav { position: sticky; top: 0; background: rgba(250, 249, 246, .94); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--v2-cream-line); }
.zre-v3-inner .zre-wordmark__text, .zre-v3-inner .zre-nav__links a, .zre-v3-inner .zre-nav__links a.is-accent, .zre-v3-inner .zre-nav__phone { color: var(--v2-navy); }
.zre-v3-inner .zre-nav__cta .zre-btn--action { background: var(--v2-navy); border-color: var(--v2-navy); color: #fff; }
.zre-v3-inner .zre-nav__agent { color: #5F6A7C; }
.zre-v3-inner .zre-nav__toggle span { background: var(--v2-navy); }
.zre-v3-inner .zre-wordmark img { filter: none; }
.zre-v3-inner .zre-mobile-menu { top: 100%; }
.v3-page { background: var(--v2-cream); }
.v3-crumb { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--font-display); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-ink-soft); padding: 22px 0 0; }
.v3-crumb a { color: var(--v2-ink-soft); text-decoration: none; } .v3-crumb a:hover { color: var(--v2-navy); }
.v3-crumb span[aria-hidden] { color: var(--v2-cream-line); } .v3-crumb [aria-current] { color: var(--v2-navy); }

/* ---------- prose blocks (guides, property description) ---------- */
.v3-prose { max-width: 64ch; scroll-margin-top: 110px; }
.v3-prose h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; color: var(--v2-navy); margin: 0 0 14px; }
.v3-prose p { font-size: 1.04rem; line-height: 1.62; color: var(--v2-ink); margin: 0 0 1em; }
.v3-prose p:last-child { margin-bottom: 0; }
.v3-prose + .v3-prose, .v3-guide__listings + .v3-prose, .v3-prose + .v3-consider { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--v2-cream-line); }
.v3-callout { display: block; margin: 20px 0 0; padding: 16px 20px; border-left: 2px solid var(--v2-gold); background: #fff; font-size: .9rem; line-height: 1.5; color: var(--v2-ink-soft); }
.v3-callout a { color: var(--v2-navy); }
.v3-callout--agent { border-left-color: #B3261E; color: var(--v2-ink); }

/* ---------- AREA GUIDE ---------- */
.v3-guide__hero { background: #fff; border-bottom: 1px solid var(--v2-cream-line); padding-bottom: clamp(40px, 5vw, 64px); }
.v3-guide__hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(28px, 4vw, 48px); }
.v3-guide__hero-copy h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.028em; color: var(--v2-navy); margin: 0 0 20px; }
.v3-guide__hero-copy h1 small { display: block; font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-ink-soft); margin-top: 14px; }
.v3-guide__lede { font-size: 1.08rem; line-height: 1.58; color: var(--v2-ink-soft); max-width: 58ch; margin: 0 0 26px; }
.v3-guide__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.v3-guide__map { margin: 0; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--v2-cream-line); border-radius: 2px; background: var(--v2-cream); }
.v3-guide__map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v3-guide__map figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-display); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-ink-soft); background: rgba(250,249,246,.9); padding: 6px 10px; }
.v3-guide__orient { padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--v2-cream-line); }
.v3-orient { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; }
.v3-orient div { border-left: 1px solid var(--v2-gold-soft); padding-left: 16px; }
.v3-orient dt { font-family: var(--font-display); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-gold); margin-bottom: 6px; }
.v3-orient dd { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--v2-ink); }
.v3-guide__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.v3-guide__subnav { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.v3-guide__subnav p { font-family: var(--font-display); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-gold); margin: 0 0 6px; }
.v3-guide__subnav a { font-family: var(--font-display); font-size: .78rem; font-weight: 700; color: var(--v2-ink-soft); text-decoration: none; padding: 4px 0 4px 12px; border-left: 1px solid var(--v2-cream-line); transition: color .25s var(--v2-ease), border-color .25s var(--v2-ease); }
.v3-guide__subnav a:hover, .v3-guide__subnav a.is-on { color: var(--v2-navy); border-left-color: var(--v2-gold); }
.v3-guide__listings { margin-bottom: clamp(40px, 5vw, 64px); }
.v3-guide__listings .v3-listings { margin: 18px 0 22px; }
.v3-consider { scroll-margin-top: 110px; }
.v3-consider h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; color: var(--v2-navy); margin: 0 0 24px; }
.v3-consider__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v3-consider__grid > div { background: #fff; border: 1px solid var(--v2-cream-line); border-radius: 2px; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.v3-consider__grid p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--v2-ink); }
.v3-consider__grid .v2-eyebrow { margin: 0; }
.v3-consider__grid .v2-link { margin-top: auto; align-self: flex-start; font-size: .72rem; }
.v3-guide__more { background: #fff; border-top: 1px solid var(--v2-cream-line); }
.v3-guide__more .v3-areas__grid--rows { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.v3-guide__more .v3-areas__grid--rows .v3-area { grid-column: auto; grid-template-columns: 1fr; }
.v3-guide__more .v3-areas__grid--rows .v3-area__map { height: 120px; min-height: 0; }
.v3-guide__more .v3-areas__grid--rows .v3-area__map img { object-fit: contain; padding: 6px; }
.v3-guide__more .v3-areas__grid--rows .v3-area__t { padding: 14px 16px 16px; gap: 4px; }
.v3-guide__more .v3-areas__grid--rows .v3-area__t b { font-size: 1.1rem; white-space: normal; }
.v3-guide__more .v3-areas__grid--rows .v3-area__d, .v3-guide__more .v3-areas__grid--rows .v3-area__co { display: none; }
.v3-guide__more .v3-areas__grid--rows .v3-area__d--short { display: block; font-size: .76rem; }

/* ---------- LISTINGS ARCHIVE refinements (page-properties.php) ---------- */
.zre-v3-inner .v3-listings-head { padding-top: clamp(28px, 4vw, 48px); }
.zre-v3-inner .v3-listings-nav { display: flex; gap: 8px; border-top: 0; padding-top: 0; margin-top: clamp(20px, 3vw, 30px); }
.zre-v3-inner .v3-listings-nav a { border: 1px solid var(--v2-cream-line); border-radius: 999px; padding: 10px 16px; background: #fff; color: var(--v2-ink-soft); font-size: .7rem; }
.zre-v3-inner .v3-listings-nav a:hover { color: var(--v2-navy); border-color: var(--v2-navy); }
.zre-v3-inner .v3-listings-nav a.is-on { background: var(--v2-navy); border-color: var(--v2-navy); color: #fff; }
.zre-v3-inner .v3-empty { background: #fff; border: 1px solid var(--v2-cream-line); border-radius: 2px; padding: clamp(32px, 5vw, 64px); }
.zre-v3-inner .v3-empty h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; color: var(--v2-navy); margin: 0 0 14px; max-width: 24ch; }
.zre-v3-inner .v3-empty p { color: var(--v2-ink-soft); max-width: 62ch; }

/* ---------- PROPERTY DETAIL ---------- */
.v3-prop__gallery-wrap { padding-top: 18px; }
.v3-prop__gallery { position: relative; aspect-ratio: 16 / 9; max-height: 680px; border-radius: 2px; overflow: hidden; background: var(--v2-cream-deep); }
.v3-prop__gallery .zre-pcard__slide img { width: 100%; height: 100%; object-fit: cover; }
.v3-prop__gallery .zre-pcard__nav { background: rgba(250,249,246,.9); color: var(--v2-navy); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; line-height: 1; opacity: 1; }
.v3-prop__gallery .zre-pcard__nav--prev { left: 18px; } .v3-prop__gallery .zre-pcard__nav--next { right: 18px; }
.v3-prop__gallery .zre-pcard__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.v3-prop__gallery .zre-pcard__dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.v3-prop__gallery .zre-pcard__dot.is-active { background: var(--v2-gold); }
.v3-prop__gallery .v3-listing__count { bottom: 14px; }
.v3-prop__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.v3-prop__thumbs::-webkit-scrollbar { display: none; }
.v3-prop__thumbs button { flex: 0 0 auto; width: 96px; height: 64px; border: 0; border-bottom: 2px solid transparent; padding: 0; cursor: pointer; background: var(--v2-cream-deep); overflow: hidden; opacity: .7; transition: opacity .25s var(--v2-ease); }
.v3-prop__thumbs button.is-active, .v3-prop__thumbs button:hover { opacity: 1; border-bottom-color: var(--v2-gold); }
.v3-prop__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-prop__layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); align-items: start; }
.v3-prop__head { margin-bottom: clamp(32px, 4vw, 48px); }
.v3-prop__price { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.03em; color: var(--v2-navy); margin: 0 0 12px; }
.v3-prop__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; color: var(--v2-navy); margin: 0 0 22px; }
.v3-prop__facts { display: flex; gap: 0; margin: 0; border-top: 1px solid var(--v2-cream-line); border-bottom: 1px solid var(--v2-cream-line); }
.v3-prop__facts div { padding: 14px 28px 14px 0; margin-right: 28px; border-right: 1px solid var(--v2-cream-line); }
.v3-prop__facts div:last-child { border-right: 0; }
.v3-prop__facts dt { font-family: var(--font-display); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-ink-soft); }
.v3-prop__facts dd { margin: 4px 0 0; font-family: var(--font-serif); font-size: 1.5rem; color: var(--v2-navy); line-height: 1; }
.v3-prop__desc { max-width: 66ch; }
.v3-prop__joanna { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--v2-cream-line); }
.v3-prop__joanna picture, .v3-prop__joanna img { display: block; width: 120px; height: 150px; object-fit: cover; border-radius: 2px; }
.v3-prop__joanna h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; color: var(--v2-navy); margin: 0 0 8px; }
.v3-prop__joanna p { margin: 0 0 14px; font-size: .92rem; line-height: 1.5; color: var(--v2-ink-soft); }
.v3-prop__joanna .v2-eyebrow { margin-bottom: 6px; }
.v3-prop__joanna-ctas { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.v3-prop__side { position: sticky; top: 110px; }
.v3-prop__card { background: #fff; border: 1px solid var(--v2-cream-line); border-radius: 2px; padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 30px 60px -44px rgba(16,35,63,.45); }
.v3-prop__card h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; line-height: 1.08; color: var(--v2-navy); margin: 0 0 18px; }
.v3-prop__card .v2-eyebrow { margin-bottom: 8px; }
.zre-v2 .v3-prop__form { display: grid; grid-template-columns: 1fr; gap: 14px; }
.v3-prop__form .zre-btn { margin-top: 6px; width: 100%; justify-content: center; }
.v3-prop__alt { display: flex; gap: 22px; margin-top: 4px; }
.v3-prop__alt .v2-link { background: none; border: 0; border-bottom: 1px solid var(--v2-gold-soft); cursor: pointer; padding: 0 0 6px; }
.v3-prop__note { font-size: .78rem; line-height: 1.45; color: var(--v2-ink-soft); margin: 16px 0 0; }
.v3-prop__ok { padding: 16px; background: var(--v2-cream); border-left: 2px solid var(--v2-gold); color: var(--v2-navy); margin: 0; }
.v3-prop__err { padding: 12px 14px; background: #FBEDEC; color: #8C1D18; font-size: .9rem; margin: 0 0 14px; }
.v3-prop__direct { display: flex; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--v2-cream-line); }
.v3-prop__direct a { font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-navy); text-decoration: none; }
.v3-prop__related { background: #fff; border-top: 1px solid var(--v2-cream-line); }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
	.v3-guide__hero-grid { grid-template-columns: 1fr; }
	.v3-guide__map { max-width: 420px; }
	.v3-orient { grid-template-columns: 1fr 1fr; }
	.v3-guide__layout { grid-template-columns: 1fr; }
	.v3-guide__subnav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 20px; border-bottom: 1px solid var(--v2-cream-line); margin-bottom: 32px; }
	.v3-guide__subnav p { width: 100%; }
	.v3-guide__subnav a { border-left: 0; padding: 0; }
	.v3-consider__grid { grid-template-columns: 1fr; }
	.v3-guide__more .v3-areas__grid--rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v3-prop__layout { grid-template-columns: 1fr; }
	.v3-prop__side { position: static; }
}
/* ---------- phone ---------- */
@media (max-width: 820px) {
	.v3-crumb { padding-top: 16px; font-size: .6rem; }
	.v3-guide__hero-copy h1 { font-size: 2.4rem; }
	.v3-guide__lede { font-size: 1rem; }
	.v3-guide__map { display: none; }
	.v3-orient { grid-template-columns: 1fr; gap: 16px; }
	.v3-guide__subnav { display: none; }
	.v3-guide__layout { padding-top: 40px; padding-bottom: 48px; }
	.v3-prose p { font-size: 1rem; }
	.v3-guide__more .v3-areas__grid--rows { grid-template-columns: 1fr; }
	.v3-guide__more .v3-areas__grid--rows .v3-area { grid-template-columns: 84px minmax(0, 1fr) 40px; }
	.v3-guide__more .v3-areas__grid--rows .v3-area__map { height: 74px; }
	.v3-guide__more .v3-areas__grid--rows .v3-area__t { padding: 8px 8px 8px 12px; }
	.v3-prop__gallery { aspect-ratio: 4 / 3; }
	.v3-prop__gallery .zre-pcard__nav { width: 38px; height: 38px; }
	.v3-prop__thumbs button { width: 72px; height: 50px; }
	.v3-prop__facts div { padding: 12px 16px 12px 0; margin-right: 16px; }
	.v3-prop__facts dd { font-size: 1.25rem; }
	.v3-prop__joanna { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
	.v3-prop__joanna picture, .v3-prop__joanna img { width: 96px; height: 120px; }
	.zre-v3-inner .v3-listings-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--v3-gutter)); margin-right: calc(-1 * var(--v3-gutter)); padding: 0 var(--v3-gutter); }
	.zre-v3-inner .v3-listings-nav::-webkit-scrollbar { display: none; }
	.zre-v3-inner .v3-listings-nav a { flex: 0 0 auto; }
}
