/* Upscale Accommodations — v8 "residence" design system
   Matches the Kedzie Retreat site (kedzieretreat.upscaleaccommodations.com):
   Playfair Display + DM Sans, deep green ink on paper, olive and gold accents, hairline rules.
   Type is kept at readable sizes (16px body, 11–13px labels). */
:root {
  color-scheme: light;
  --ink: #202a23;
  --ink-soft: #424a43;
  --ink-deep: #161d18;
  --paper: #f6f7f4;
  --paper-deep: #eceee9;
  --paper-card: #f0f1ed;
  --olive: #5f6a53;
  --olive-dark: #545e4a;
  --gold: #c6a879;
  --muted: #5d645b;
  --line: rgba(32, 42, 35, .18);
  --line-light: rgba(255, 255, 255, .22);
  --serif: "Playfair Display", "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(22px, 6.5vw, 104px);
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --press: scale(.97);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: rgba(32, 42, 35, .38) var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-property: opacity, color, background-color, border-color !important; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.is-menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a, button, label, summary, select { touch-action: manipulation; }
input, textarea { caret-color: var(--olive-dark); }
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--olive-dark); }
::selection { color: #fff; background: var(--olive); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header--over :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--ink :focus-visible, .site-footer :focus-visible, .drawer :focus-visible, .lightbox :focus-visible, .stats :focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.5vw, 5.6rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.1rem); }
h3 { font-size: 1.6rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 16px; background: #fff; transform: translateY(-160%); }
.skip:focus { transform: none; }
.muted { color: var(--muted); font-size: .9rem; }
.hp { position: absolute !important; left: -9999px !important; }
.icon { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Eyebrows, links, buttons ---------- */
.text-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 7px; border-bottom: 1px solid var(--olive); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-decoration: none; }
.text-link::after { content: "↗"; color: var(--olive); font-size: 15px; line-height: 1; transition: transform .3s var(--ease-out); }
.text-link--down::after { content: "↓"; }
.text-link--light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.text-link--light::after { color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 50px; padding: .9rem 1.6rem; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font: 500 14px/1 var(--sans); letter-spacing: .03em; text-decoration: none; cursor: pointer; -webkit-user-select: none; user-select: none; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .16s var(--ease-out); }
.btn::after { content: "↗"; color: var(--gold); font-size: 15px; transition: transform .3s var(--ease-out); }
.btn:active, .nav-cta:active, .to-top:active, .link-btn:active, .qn-phone:active, .socials a:active, .lightbox button:active, .choices label:active, .tile-choice:active, .gallery__thumbs button:active { transform: var(--press); }
.gallery__nav:active { transform: translateY(-50%) var(--press); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn--plain::after, .btn--noarrow::after { content: none; }
.link-btn { background: none; border: 0; padding: 0 0 4px; font: 600 13px var(--sans); letter-spacing: .03em; color: var(--ink); border-bottom: 1px solid var(--olive); cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header--over { position: absolute; top: 0; left: 0; right: 0; color: #fff; background: linear-gradient(180deg, rgba(13, 20, 19, .5), rgba(13, 20, 19, 0)); border-bottom-color: var(--line-light); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 92px; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.wordmark__mark { flex: none; width: 30px; height: 38px; fill: none; stroke: currentColor; stroke-width: 7; stroke-linejoin: miter; stroke-miterlimit: 4; }
.wordmark__text { display: flex; flex-direction: column; gap: 4px; padding-left: 13px; border-left: 1px solid rgba(128, 128, 128, .4); border-left-color: color-mix(in srgb, currentColor 32%, transparent); }
.site-header--over .wordmark__mark, .site-footer .wordmark__mark, .drawer .wordmark__mark { color: var(--gold); }
.wordmark__name { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -.05em; }
.wordmark__sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .72; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 36px); margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: 8px 0; font-size: 13px; letter-spacing: .03em; text-decoration: none; opacity: .86; transition: opacity .25s ease; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 13px 18px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; letter-spacing: .02em; transition: background .25s ease, color .25s ease, transform .16s var(--ease-out); }
.nav-cta::after { content: "↗"; color: var(--gold); }
.site-header--over .nav-cta { border-color: rgba(255, 255, 255, .62); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; }
.nav-toggle svg { width: 28px; height: 28px; }
.drawer { display: none; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .drawer { display: block; position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s linear .3s; }
  .drawer.is-open { visibility: visible; transition: visibility 0s; }
  .drawer__scrim { position: absolute; inset: 0; background: rgba(16, 22, 18, .55); opacity: 0; transition: opacity .25s; }
  .drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--ink); color: #fff; padding: 1.75rem; transform: translateX(100%); transition: transform .3s var(--ease-drawer); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(1.75rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 1.75rem; }
  .drawer.is-open .drawer__scrim { opacity: 1; }
  .drawer.is-open .drawer__panel { transform: none; transition-duration: .42s; }
  .drawer__close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
  .drawer .wordmark { color: #fff; }
  .drawer ul { list-style: none; margin: 0; padding: 0; }
  .drawer ul a { display: block; padding: .85rem 0; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.02em; }
  .drawer__contact a { display: flex; gap: .7rem; align-items: center; padding: .35rem 0; color: var(--gold); text-decoration: none; font-size: .95rem; }
}

/* ---------- Hero ---------- */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero { position: relative; display: flex; align-items: center; min-height: min(860px, 100svh); overflow: hidden; color: #fff; background: #1d2522; isolation: isolate; }
.hero__image { position: absolute; inset: 0; z-index: -2; background-position: center 45%; background-size: cover; background-repeat: no-repeat; animation: hero-zoom 2.2s var(--ease-out) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 20, 19, .8) 0%, rgba(13, 20, 19, .48) 46%, rgba(13, 20, 19, .1) 100%), linear-gradient(0deg, rgba(8, 12, 11, .38), transparent 40%); }
.hero .wrap { width: 100%; padding-top: 120px; padding-bottom: 150px; }
.hero .wrap > *, .page-hero .wrap > * { animation: rise .9s var(--ease-out) both; }
.hero .wrap > :nth-child(1), .page-hero .wrap > :nth-child(1) { animation-delay: .15s; }
.hero .wrap > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .23s; }
.hero .wrap > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .31s; }
.hero .wrap > :nth-child(n+4), .page-hero .wrap > :nth-child(n+4) { animation-delay: .39s; }
.hero__note { animation: rise .9s .6s var(--ease-out) both; }
.hero h1 { max-width: 15ch; margin: 0; font-size: clamp(3.2rem, 7.4vw, 6rem); line-height: .96; letter-spacing: -.04em; }
.hero__lede { max-width: 30rem; margin: 1.75rem 0 2rem; color: rgba(255, 255, 255, .84); font-size: 1.05rem; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.hero__note { position: absolute; right: var(--gutter); bottom: 2.4rem; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .84); font-size: 12px; letter-spacing: .03em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a7ba8a; box-shadow: 0 0 0 4px rgba(167, 186, 138, .2); }
.hero--short { min-height: min(720px, 90svh); }

/* ---------- Availability panel (home) ---------- */
.search { position: relative; z-index: 3; margin-top: -76px; }
.search__box { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr auto; align-items: end; gap: 1.1rem 1.25rem; padding: 1.75rem 2rem 2rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(13, 20, 19, .55); }
.search__box h2 { margin: 0; align-self: center; font-size: 1.9rem; line-height: 1.05; }
@media (max-width: 1060px) { .search__box { grid-template-columns: 1fr 1fr; } .search__box h2, .search__box .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search__box { grid-template-columns: 1fr; padding: 1.5rem; } }

/* ---------- Form controls (shared) ---------- */
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field label, .field .label, .q-label { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: .005em; margin: 0; }
select, input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], textarea {
  width: 100%; min-height: 50px; padding: .8rem .95rem; border: 1px solid rgba(32, 42, 35, .22); border-radius: 0; background: rgba(255, 255, 255, .6); color: var(--ink); font: 400 1rem var(--sans); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2369745d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px; }
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #666d63; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olive); background: #fff; box-shadow: 0 0 0 3px rgba(105, 116, 93, .14); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.form-status { margin: .9rem 0 0; font-weight: 500; font-size: .95rem; }
.form-status.is-error { color: #9b2c2c; }
.form-status.is-ok { color: var(--olive-dark); }
.hint { color: var(--muted); font-size: .9rem; margin: -.15rem 0 .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border: 1px solid rgba(32, 42, 35, .22); background: rgba(255, 255, 255, .55); font-size: .92rem; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.choices input { accent-color: var(--olive); margin: 0; }
.choices label:has(input:checked) { border-color: var(--olive); background: #fff; box-shadow: inset 0 0 0 1px var(--olive); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.q-body legend, .k-form legend { display: block; margin-bottom: .6rem; color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: .005em; }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section--white { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: .45em; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; max-width: none; }
.section-head--row h2, .section-head--row h1 { margin: 0; }
.section-head--row .aside-copy { max-width: 22rem; color: var(--muted); font-size: .95rem; margin: 0 0 .4rem; }
.lede { max-width: 38rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.85; }
.lede--light { color: rgba(255, 255, 255, .76); }
.lede--light a { color: #fff; }

/* ---------- Stats band ---------- */
.stats { padding: 2.4rem 0; background: var(--ink); color: #fff; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; border-right: 1px solid var(--line-light); }
.stats li:first-child { justify-content: flex-start; }
.stats li:last-child { justify-content: flex-end; border-right: 0; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; letter-spacing: -.04em; color: var(--gold); line-height: 1; }
.stats span { max-width: 10rem; color: rgba(255, 255, 255, .76); font-size: 13px; letter-spacing: .005em; line-height: 1.45; }
@media (max-width: 860px) { .stats ul { grid-template-columns: 1fr 1fr; gap: 1.2rem 0; } .stats li { justify-content: flex-start !important; padding-left: 1rem; } .stats li:nth-child(2) { border-right: 0; } .stats li:first-child, .stats li:nth-child(3) { padding-left: 0; } }

/* ---------- Feature columns (who it's for, companies, Kedzie) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-reset: svc; }
.service { position: relative; padding: 2.4rem clamp(1.2rem, 3vw, 2.7rem) 2.4rem 0; counter-increment: svc; }
.service + .service { padding-left: clamp(1.2rem, 3vw, 2.7rem); border-left: 1px solid var(--line); }
.service h3 { font-size: 1.75rem; margin-bottom: .6rem; }
.service p { color: var(--muted); font-size: .97rem; margin: 0; max-width: 22rem; }
.section--ink .services { border-color: var(--line-light); }
.section--ink .service + .service { border-color: var(--line-light); }
.section--ink .service p { color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .service, .service + .service { min-height: 0; padding: 1.8rem 0; border-left: 0; border-top: 1px solid var(--line); } .service:first-child { border-top: 0; } }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.steps li { counter-increment: step; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 1.6rem; font-family: var(--serif); font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; color: var(--gold); }
.steps h3 { font-size: 1.65rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split image + panel ---------- */
.feature-split { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 600px; background: var(--ink); color: #fff; }
.feature-split__image { min-height: 420px; background-size: cover; background-position: center; position: relative; }
.feature-split__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, var(--ink) 100%); }
.feature-split__panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3.5rem); }
.feature-split__panel h2 { color: #fff; }
.feature-split__panel .lede { margin-bottom: 2rem; }
.feature-split__more { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); width: 100%; }
.feature-split__more p { color: rgba(255, 255, 255, .7); margin-bottom: 1rem; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } .feature-split__image::after { background: linear-gradient(0deg, var(--ink) 0%, transparent 35%); } }

/* ---------- CTA ---------- */
.cta { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--paper-deep); }
.cta .wrap { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2.5rem; }
.cta p { margin: 0 0 1.2rem; }
.cta h2 { margin: 0; max-width: 16ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta__btns { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: min(620px, 78svh); color: #fff; background: #1d2522 center/cover no-repeat; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 20, 19, .78), rgba(13, 20, 19, .32) 70%), linear-gradient(0deg, rgba(8, 12, 11, .45), transparent 50%); }
.page-hero .wrap { width: 100%; padding-top: 150px; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.page-hero h1 { max-width: 14ch; margin-bottom: .3em; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.04em; line-height: .98; }
.page-hero .lede { max-width: 36rem; margin: 1rem 0 0; color: rgba(255, 255, 255, .8); }
.page-hero--short { min-height: min(540px, 70svh); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; font-size: 13px; letter-spacing: .005em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs--dark { color: var(--muted); }

/* ---------- Residences ---------- */
.listing-top { background: var(--paper); border-bottom: 1px solid var(--line); }
.listing-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.listing-top #result-count { margin: 0; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.02em; }
.filters { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.filters label { font-size: 13px; font-weight: 600; letter-spacing: .005em; color: var(--muted); }
.filters select { width: auto; min-width: 180px; min-height: 44px; padding-top: .55rem; padding-bottom: .55rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.card { display: block; color: var(--ink); text-decoration: none; }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__img::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(15, 21, 17, .55), transparent); pointer-events: none; }
.card__body { padding: 1.1rem 0 0; }
.card__sub { margin: 0 0 .35rem; color: var(--olive); font-size: 13px; font-weight: 500; letter-spacing: .005em; }
.card h3 { margin: 0 0 .7rem; font-size: 1.7rem; line-height: 1.12; transition: color .25s ease; }
.card__price { font-weight: 600; margin: 0 0 .6rem; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 0; margin: 0; padding: .8rem 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.facts li + li::before { content: "·"; margin: 0 .55rem; color: var(--gold); }
.badge { position: absolute; z-index: 1; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .7rem; background: rgba(246, 247, 244, .94); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .005em; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.badge--available::before { background: #8ea374; box-shadow: 0 0 0 3px rgba(142, 163, 116, .22); }
.badge--past { background: rgba(32, 42, 35, .82); color: #fff; }
.empty { padding: 2.5rem 0 0; color: var(--muted); }

/* ---------- Listing detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 1060px) { .detail { grid-template-columns: minmax(0, 1fr); } .aside { position: static !important; } }
.gallery__main { position: relative; background: #1a201c; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: opacity .22s var(--ease-out), filter .22s var(--ease-out); }
.gallery__main img.is-loading { opacity: .4; filter: blur(4px); }
.gallery__main { touch-action: pan-y; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(16, 22, 18, .35); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .2s ease; }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; bottom: 14px; left: 14px; padding: .3rem .65rem; background: rgba(16, 22, 18, .7); color: #fff; font-size: 12px; letter-spacing: .1em; }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .65rem 0; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: 96px; height: 68px; padding: 0; border: 1px solid transparent; overflow: hidden; cursor: pointer; background: var(--paper-deep); opacity: .6; transition: opacity .2s ease; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--olive); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__all { display: inline-flex; gap: .8rem; margin-top: .4rem; padding-bottom: 5px; border-bottom: 1px solid var(--olive); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.gallery__all::after { content: "↗"; color: var(--olive); }
.detail h2 { margin-top: 3.5rem; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.detail__text { color: var(--ink-soft); max-width: 68ch; line-height: 1.9; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.features li { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem .8rem .9rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.features svg { width: 1rem; height: 1rem; color: var(--olive); flex: none; margin-top: .35rem; }
@media (max-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .features { grid-template-columns: 1fr; } }
.loc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 3.5rem; }
.loc-head h2 { margin: 0 0 1rem; }
.loc-head p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .005em; }
.detail-map { width: 100%; height: 400px; border: 0; filter: grayscale(.55) contrast(.95); }
.aside { position: sticky; top: 28px; padding: 2rem; background: var(--paper-card); border-top: 2px solid var(--ink); }
.aside .card__sub { margin-bottom: .6rem; }
.aside h1 { font-size: clamp(2.2rem, 3vw, 2.9rem); margin-bottom: .5rem; letter-spacing: -.045em; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; font-size: 13px; font-weight: 600; letter-spacing: .005em; color: var(--olive-dark); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8ea374; box-shadow: 0 0 0 3px rgba(142, 163, 116, .22); }
.status--past { color: var(--muted); }
.status--past::before { background: var(--gold); box-shadow: none; }
.kv { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.kv dt, .kv dd { margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: 13px; letter-spacing: .005em; padding-right: 1rem; align-self: center; }
.kv dd { text-align: right; font-weight: 500; }
.aside__actions { display: grid; gap: .6rem; margin-bottom: 1rem; }
.aside__actions .btn { width: 100%; }
.aside__actions .btn--ghost::after { content: none; }
.price { font-family: var(--serif); font-size: 2.2rem; margin: 0 0 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 16, 14, .97); display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; overscroll-behavior: contain; transition: opacity .2s ease-out, visibility 0s linear .2s; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .28s var(--ease-out), visibility 0s; }
.lightbox img { max-width: 92vw; max-height: 86vh; max-height: 86svh; object-fit: contain; transform: scale(.97); transition: transform .35s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; } .lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox .lb-count { position: absolute; bottom: 20px; color: rgba(255, 255, 255, .7); font-size: 12px; letter-spacing: .14em; }

/* Photo grid page */
.photo-grid { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--gutter); }
.photo-grid::after { content: ""; flex-grow: 99999; min-width: 25vw; }
.photo-grid a { flex: 1 1 280px; height: 280px; overflow: hidden; background: var(--paper-deep); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
@media (max-width: 480px) { .photo-grid a { flex-basis: 100%; height: auto; } .photo-grid img { height: auto; } }

/* ---------- Split / about / contact ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.split img { width: 100%; }
.split--top { align-items: start; }
.split--top-light { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose-wide { max-width: 56rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid form, .k-form { padding: clamp(1.6rem, 3.5vw, 2.8rem); background: var(--paper-card); }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 1.2rem; height: 1.2rem; color: var(--olive); margin-top: .25rem; }
.contact-list strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: .005em; color: var(--muted); margin-bottom: .15rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.02em; }
.section--ink .contact-list, .section--ink .contact-list li { border-color: var(--line-light); }

/* Kedzie */
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-stack a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.photo-stack a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-stack .muted { grid-column: 1 / -1; margin: .4rem 0 0; font-size: 12px; letter-spacing: .04em; }
.tour--model { position: relative; display: grid; place-items: center; min-height: 520px; padding: 3rem 1.5rem; background: #171715; border: 1px solid rgba(198, 168, 121, .38); color: #fff; text-align: center; }
.tour--model .btn { background: transparent; border-color: rgba(255, 255, 255, .6); }
.tour--model .btn .icon { display: none; }
.tour--model .muted { max-width: 30rem; margin: 1.2rem auto 0; color: rgba(255, 255, 255, .7); font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; }
.tour--model .muted a { color: var(--gold); }
.tour--model:has(iframe) { display: block; padding: 0; min-height: 0; }
.tour--model:has(iframe) .muted { display: none; }
.model-frame { display: block; width: 100%; height: min(82vh, 800px); border: 0; background: #efeeea; }
@media (max-width: 860px) { .model-frame { height: 1150px; } }
.tour iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ---------- Availability / questionnaire pages ---------- */
.q-progress { position: sticky; top: 0; z-index: 60; height: 3px; background: var(--paper-deep); }
.q-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }
.q-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(9rem, 16vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem); }
.q-hero h1 { margin-bottom: .6rem; font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -.04em; }
.q-hero p { max-width: 36rem; color: rgba(255, 255, 255, .78); font-size: 1.05rem; margin: 0; }
.q-hero a { color: var(--gold); }
.q-form { max-width: 880px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(4rem, 8vw, 6rem); }
.q-section { margin-bottom: 1.25rem; background: var(--paper-card); }
.q-section > header { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.75rem; border-bottom: 1px solid var(--line); }
.q-section > header h2 { margin: 0; font-size: 1.8rem; }
.q-legend { display: flex; align-items: center; gap: 1rem; width: 100%; float: left; padding: 1.4rem 1.75rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.1; }
.q-legend span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; color: var(--olive); font-family: var(--sans); font-size: 12px; letter-spacing: .04em; flex: none; }
fieldset.q-section > .q-body { clear: both; }
.q-body { padding: 1.6rem 1.75rem 1.9rem; display: grid; gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } .q-body, .q-legend, .q-section > header { padding-left: 1.2rem; padding-right: 1.2rem; } }
.slider-value { font-family: var(--serif); font-size: 2.3rem; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: .6rem; }
input[type=range] { width: 100%; accent-color: var(--olive); }
.slider-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.q-submit { text-align: center; padding-top: 1.5rem; }
.q-submit .btn { min-width: 280px; }
.q-submit p { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.q-success { display: none; max-width: 600px; margin: 4rem auto; padding: 3.5rem 2rem; text-align: center; background: var(--paper-card); }
.q-success.is-visible { display: block; }
.q-success .mark { color: var(--gold); font-size: 2.2rem; }
.q-success a { color: var(--olive-dark); }
.q-more > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; padding: 1.4rem 1.75rem; font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.02em; }
.q-more > summary::-webkit-details-marker { display: none; }
.q-more > summary::before { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 1.4rem; width: 1rem; }
.q-more[open] > summary::before { content: "–"; }
.q-more[open] > summary { border-bottom: 1px solid var(--line); }
.q-more > summary .muted { font-family: var(--sans); font-size: .9rem; letter-spacing: 0; }
.tile-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; }
.tile-choice { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid rgba(32, 42, 35, .2); background: rgba(255, 255, 255, .5); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.tile-choice input { accent-color: var(--olive); margin-top: .35rem; }
.tile-choice strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.tile-choice small { display: block; margin-top: .25rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.tile-choice:has(input:checked) { border-color: var(--olive); background: #fff; box-shadow: inset 0 0 0 1px var(--olive); }

/* Client questionnaire header/footer (Moiz Malik | Kawash Group) */
.qn-head { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: #fff; background: linear-gradient(180deg, rgba(13, 20, 19, .5), rgba(13, 20, 19, 0)); border-bottom: 1px solid var(--line-light); }
.qn-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 88px; flex-wrap: wrap; }
.qn-brand { margin: 0; display: flex; gap: .7rem; align-items: baseline; font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.035em; line-height: 1; }
.qn-brand span:first-child, .qn-brand span:last-child { font-size: 1em; } /* brokerage name always the same size as the agent name */
.qn-sep { color: var(--gold); }
.qn-phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-size: 14px; text-decoration: none; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .55); }
.qn-foot { background: var(--ink); color: rgba(255, 255, 255, .62); font-size: .85rem; padding: 2.5rem 0; }
.qn-foot strong { color: #fff; font-weight: 500; }
.qn-foot a { color: var(--gold); }
.qn-foot p { margin: 0 0 .7rem; max-width: 92ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .72); }
.footer-top { display: grid; grid-template-columns: 1.6fr .8fr 1.2fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); padding: clamp(4.5rem, 8vw, 6.5rem) 0 3.5rem; }
.footer-intro .wordmark { color: #fff; margin-bottom: 1.5rem; }
.footer-intro .wordmark__sub { letter-spacing: .12em; }
.footer-intro p { max-width: 22rem; }
.site-footer h3 { margin: 0 0 1.2rem; color: rgba(255, 255, 255, .55); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .005em; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact svg { margin-top: .4rem; color: var(--gold); }
.site-footer .muted { color: rgba(255, 255, 255, .5); }
.broker-line { line-height: 1.6; }
.broker-line strong { color: #fff; font-weight: 500; }
.site-footer .text-link { color: #fff; border-color: rgba(255, 255, 255, .5); font-size: 12.5px; }
.site-footer .text-link::after { color: var(--gold); }
.footer-legal { border-top: 1px solid var(--line-light); padding: 1.6rem 0 .6rem; font-size: .8rem; color: rgba(255, 255, 255, .5); max-width: 96ch; }
.footer-legal p { margin: 0 0 .6rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 1.8rem; border-top: 1px solid var(--line-light); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.socials { display: flex; gap: .7rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-light); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 1120px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; border: 1px solid rgba(198, 168, 121, .5); text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .16s var(--ease-out); }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
.hero .hero__note { bottom: calc(76px + 2.2rem); }
@media (max-width: 1060px) { .hero .hero__note { display: none; } }
@media (max-width: 600px) { .qn-brand { font-size: 1.3rem; } .qn-head .wrap { min-height: 72px; padding-top: .8rem; padding-bottom: .8rem; } .qn-phone { padding: 8px 12px; font-size: 13px; } }

/* ---------- v9 polish: numerals ---------- */
.stats b, [data-count], .gallery__count, .lb-count, .slider-value, .q-legend span, .steps li::before { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Hover: only where a real pointer can hover ---------- */
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { color: var(--ink); }
  .text-link:hover::after { transform: translate(3px, -3px); }
  .text-link--down:hover::after { transform: translateY(3px); }
  .text-link--light:hover { color: #fff; }
  .btn:hover::after { transform: translate(2px, -2px); }
  .btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); color: #fff; }
  .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; }
  .nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta:hover { background: var(--ink); color: #fff; }
  .site-header--over .nav-cta:hover { background: #fff; color: var(--ink); }
  .choices label:hover { border-color: var(--olive); }
  .crumbs a:hover { border-color: var(--olive); }
  .card:hover .card__img img { transform: scale(1.045); }
  .card:hover h3 { color: var(--olive-dark); }
  .gallery__nav:hover { background: rgba(16, 22, 18, .65); }
  .gallery__thumbs button:hover { opacity: .9; }
  .lightbox button:hover { background: rgba(255, 255, 255, .12); }
  .photo-grid a:hover img { transform: scale(1.04); }
  .contact-list a:hover { color: var(--olive-dark); }
  .photo-stack a:hover img { transform: scale(1.04); }
  .tour--model .btn:hover { background: #fff; color: var(--ink); }
  .tile-choice:hover { border-color: var(--olive); }
  .qn-phone:hover { background: #fff; color: var(--ink); }
  .site-footer a:hover { color: var(--gold); }
  .socials a:hover { border-color: var(--gold); }
  .to-top:hover { background: var(--olive-dark); color: #fff; }
}
.cta .cta__note { margin: 1.1rem 0 0; color: var(--muted); }
.section--ink .cta__note { color: rgba(255, 255, 255, .7); }

/* ---------- Kedzie Retreat house page (kedzieretreat subdomain) ---------- */
.k-map { aspect-ratio: 4 / 3; background: var(--paper-deep); }
.k-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.k-interest { border: 0; margin: 0; padding: 0; min-width: 0; }
.k-check { display: flex; gap: .75rem; align-items: flex-start; font-size: .97rem; line-height: 1.5; cursor: pointer; }
.k-check input { flex: none; width: 18px; height: 18px; margin: .2rem 0 0; }
.k-interest .hint { margin: .55rem 0 0 calc(18px + .75rem); }
.k-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem; }
.k-footer .wordmark { color: #fff; }
.k-footer__top p:last-child { margin: 1rem 0 0; }
@media (max-width: 860px) { #neighborhood .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .k-site .wordmark__name { font-size: 24px; }
  .k-site .wordmark__mark { width: 26px; height: 33px; }
  .k-site .wordmark__sub { font-size: 11px; letter-spacing: .1em; }
  .k-site .wordmark__sub { white-space: nowrap; }
  .k-site .nav-cta { display: none; } /* the hero button sits right below */
}
.field .k-check { display: flex; font-size: .97rem; font-weight: 400; color: var(--ink); }
.k-map { border: 1px solid var(--line); }
.text-link--up::after { content: "↑"; }
@media (hover: hover) and (pointer: fine) { .text-link--up:hover::after { transform: translateY(-3px); } }
.contact-list a { overflow-wrap: anywhere; }
@media (max-width: 420px) { .contact-list a { font-size: 1.15rem; } }
