/* ============================================================
   guides.css — lifestyle guides, each with its homes
   ============================================================ */
.guides-hero { padding: calc(var(--nav-height) + 3rem) 0 2.5rem; background: var(--color-warm-white); }
.guides-hero__title { font-size: clamp(2.8rem, 6.5vw, 5.4rem); line-height: 0.98; max-width: 13ch; margin: 0.6rem 0 1rem; }
.guides-hero__lead { max-width: 34rem; }
.gtabs { position: sticky; top: var(--nav-now); z-index: 40; background: color-mix(in srgb, var(--color-warm-white) 95%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--color-rule); }
.gtabs__inner { display: flex; gap: 0.4rem; overflow-x: auto; padding-block: 0.7rem; scrollbar-width: none; }
.gtabs__inner::-webkit-scrollbar { display: none; }
.gtabs__tab { flex: 0 0 auto; padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--color-ink-70); border: 1px solid transparent; transition: background var(--transition-fast), color var(--transition-fast); }
.gtabs__tab:hover { border-color: var(--color-rule); }
.gtabs__tab.is-current { color: #fff; background: var(--tone, var(--color-ink)); }
.gtabs__tab--ga { --tone: var(--color-sage); } .gtabs__tab--al { --tone: var(--color-ocean); } .gtabs__tab--earth { --tone: var(--color-earth); }

.guide { --tone: var(--color-sage); scroll-margin-top: calc(var(--nav-height) + 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.guide--al { --tone: var(--color-ocean); }
.guide--earth { --tone: var(--color-earth); }
.guide__banner { position: relative; min-height: clamp(260px, 42vh, 420px); display: flex; align-items: flex-end; isolation: isolate; color: #fff; overflow: hidden; }
.guide__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.guide__banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,24,22,0.8), rgba(20,24,22,0.05) 70%); }
.guide__banner-text { padding-block: 2rem; }
.guide__title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: #fff; line-height: 1; margin-bottom: 0.5rem; }
.guide__line { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 36rem; margin: 0; }
.guide__body { padding-top: 1.5rem; }
.guide__body .homes__head { margin-bottom: 1rem; align-items: center; }
.guide__count { font-weight: 600; color: var(--tone); margin: 0; }
.guide__body .homes-rail { --rail-inset: 0px; padding-inline: 0; margin-inline: 0; }
.guide__more { margin-top: 0.6rem; }
.guide__ask { font-size: 1.1rem; max-width: 40rem; }
.guide__ask a { color: var(--tone); border-bottom: 1px solid currentColor; }

/* ------------------------------------------------------------
   WEEKEND — what people come for, four scenes under each region's
   banner: one wide, three beside it. Captions sit on the photo.
   ------------------------------------------------------------ */
.weekend { padding-top: clamp(2rem, 4vw, 3rem); }
.weekend__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.1rem; }
.weekend__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 16vw, 230px)); gap: 0.75rem; }
.weekend__tile { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--color-sage-pale); }
.weekend__tile--wide { grid-row: span 2; }
.weekend__tile:nth-child(4):last-child { grid-column: 2 / span 2; }
.weekend__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.weekend__tile:hover img { transform: scale(1.04); }
.weekend__foot { margin: 1rem 0 0; font-size: 1.02rem; max-width: 46rem; }
.weekend__foot a { color: var(--tone); border-bottom: 1px solid currentColor; }
.weekend__note { display: block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--color-text-muted, #6b6b66); }
@media (max-width: 760px) {
  .weekend__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 150px; }
  .weekend__tile--wide { grid-column: span 2; grid-row: auto; }
  .weekend__tile:nth-child(4):last-child { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { .weekend__tile img { transition: none; } }
.weekend__link { display: block; height: 100%; }
.weekend__link:focus-visible { outline: 3px solid var(--tone); outline-offset: -3px; border-radius: 10px; }
/* three scenes: one wide, two stacked beside it */
.weekend__grid--three { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 760px) { .weekend__grid--three { grid-template-columns: 1fr 1fr; } }

/* the drive and what's for sale, under each guide's line (listings.js) */
.guide__drive { margin: 0.7rem 0 0; font-size: 0.92rem; color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: rgba(16,39,42,0.45); backdrop-filter: blur(6px); }
.guide__drive[hidden] { display: none; }

/* the chapter covers take the sky (main.js lays a .skywash in; main.css) */
.guide__banner .skywash, .guide__banner .skywash__stars { z-index: -1; }
.guide__banner::before { z-index: 0; }
.guide__banner-text { position: relative; z-index: 1; }

/* the tab that becomes current pops once as the page scrolls into its guide */
.gtabs__tab[aria-current], .gtabs__tab.is-active { animation: tabPop 0.4s var(--ease); }
@keyframes tabPop { 0% { transform: scale(0.96); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .gtabs__tab[aria-current], .gtabs__tab.is-active { animation: none; } }

