/* ==========================================================================
   Jennifer Cain Realty, LLC
   Design system + site styles
   Built by Real Estate Concierge Services Co, LLC
   Palette sampled from Jennifer's published yard sign.
   ========================================================================== */

:root {
  /* Color */
  --charcoal:    #2A2D30;
  --charcoal-80: #4A4D51;
  --plum:        #664058;
  --plum-deep:   #4E2F43;
  --plum-tint:   #F4EFF2;
  --cream:       #FAF8F7;
  --warm-gray:   #EDE9E7;
  --mid-gray:    #6B6B70;
  --white:       #FFFFFF;
  --error:       #9B2C2C;

  /* Type */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-hero:  clamp(2.125rem, 4.5vw + 0.75rem, 3.75rem);
  --fs-h1:    clamp(1.875rem, 3.2vw + 0.75rem, 3rem);
  --fs-h2:    clamp(1.5rem, 1.8vw + 0.9rem, 2.375rem);
  --fs-h3:    clamp(1.1875rem, 0.8vw + 0.95rem, 1.5rem);
  --fs-body:  1.125rem;
  --fs-lead:  clamp(1.1875rem, 0.5vw + 1.05rem, 1.3125rem);
  --fs-small: 0.9375rem;
  --fs-xs:    0.8125rem;

  /* Space */
  --s-1: .5rem;  --s-2: 1rem;  --s-3: 1.5rem;
  --s-4: 2rem;   --s-5: 3rem;  --s-6: 4rem;
  --s-7: 5rem;   --s-8: 7.5rem;

  --section-y: clamp(4rem, 8vw, 7rem);
  --measure: 68ch;
  --container: 1200px;
  --container-narrow: 780px;

  --radius: 4px;
  --radius-lg: 8px;
  --border: 1px solid var(--warm-gray);
  --lift: 0 1px 3px rgba(42,45,48,.06), 0 8px 24px rgba(42,45,48,.04);
  --ease: cubic-bezier(.22,1,.36,1);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--charcoal-80);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--charcoal);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.125rem; }

p { max-width: var(--measure); }
p + p { margin-top: var(--s-3); }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); text-decoration-thickness: 2px; }

strong, b { font-weight: 600; color: var(--charcoal); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: var(--s-2);
}
.lead { font-size: var(--fs-lead); color: var(--charcoal); line-height: 1.6; }
.small { font-size: var(--fs-small); }
.muted { color: var(--mid-gray); }

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3125rem, 1.6vw + .9rem, 1.875rem);
  line-height: 1.4;
  color: var(--charcoal);
  border-left: 3px solid var(--plum);
  padding: var(--s-1) 0 var(--s-1) var(--s-4);
  margin: var(--s-5) 0;
  max-width: 34ch;
}
.pullquote.wide { max-width: 46ch; }
.pullquote cite { display: block; font-style: normal; font-family: var(--font-body); font-size: var(--fs-small); color: var(--mid-gray); margin-top: var(--s-2); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }
@media (min-width: 768px) { .container, .container-narrow { width: min(100% - 4rem, var(--container)); } .container-narrow { max-width: var(--container-narrow); } }

section { padding-block: var(--section-y); }
section.tint { background: var(--plum-tint); }
section.gray { background: var(--warm-gray); }
section.dark { background: var(--charcoal); color: rgba(255,255,255,.82); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--white); }
section.dark .eyebrow { color: #C9A5B8; }

.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-5); }

.grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-6); } .split.narrow-right { grid-template-columns: 1.35fr 1fr; } }

.section-head { max-width: 46ch; margin-bottom: var(--s-5); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--plum); color: #fff; padding: var(--s-2) var(--s-3);
  text-decoration: none; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid rgba(102,64,88,.55); outline-offset: 2px; border-radius: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .875rem 2rem;
  font-size: 1rem; font-weight: 600; line-height: 1.3;
  border: 1.5px solid transparent; border-radius: var(--radius);
  text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #fff; color: var(--charcoal); }
.btn-ghost { background: none; border: none; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; padding: .5rem 0; min-height: 0; }
.btn-ghost:hover { text-decoration-thickness: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
@media (max-width: 480px) { .btn-row { flex-direction: column; } .btn-row .btn { width: 100%; } }

.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.utility-bar { background: #1F2225; color: rgba(255,255,255,.75); font-size: var(--fs-xs); }
.utility-bar .container { display: flex; justify-content: flex-end; gap: var(--s-3); padding-block: .4rem; }
.utility-bar a { color: rgba(255,255,255,.85); text-decoration: none; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) { .utility-bar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--header-h); }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; font-weight: 600; letter-spacing: .04em; color: #fff; text-transform: uppercase; }
.brand-sub { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 3px; }

.nav { display: none; }
@media (min-width: 1280px) {
  .nav { display: flex; align-items: center; gap: var(--s-3); }
  .nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: .5rem 0; white-space: nowrap; }
  .nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--plum); }
  .nav .btn { margin-left: var(--s-2); padding: .7rem 1.4rem; min-height: 44px; }
  .nav .btn:hover { box-shadow: none; color: #fff; }
}

.has-drop { position: relative; }
.has-drop > button { background: none; border: 0; color: rgba(255,255,255,.86); font-size: .9375rem; font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 0; white-space: nowrap; }
.has-drop > button:hover, .has-drop[data-open="true"] > button { color: #fff; }
.has-drop > button::after { content: "▾"; font-size: .7em; }
.drop {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 220px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--lift);
  padding: var(--s-1); display: none; border: var(--border);
}
.has-drop[data-open="true"] .drop { display: block; }
.drop a { display: block; padding: .6rem .9rem; color: var(--charcoal-80); border-radius: var(--radius); font-size: .9375rem; }
.drop a:hover { background: var(--plum-tint); color: var(--plum-deep); box-shadow: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px;
  background: none; border: 0;
}
.nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }
@media (min-width: 1280px) { .nav-toggle { display: none; } }
body[data-menu="open"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body[data-menu="open"] .nav-toggle span:nth-child(2) { opacity: 0; }
body[data-menu="open"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--charcoal); overflow-y: auto;
  padding: var(--s-4) 0 var(--s-6);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
body[data-menu="open"] .mobile-menu { opacity: 1; transform: none; visibility: visible; }
body[data-menu="open"] { overflow: hidden; }
.mobile-menu a { display: block; color: #fff; text-decoration: none; padding: .85rem 0; font-size: 1.125rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.mobile-menu .mm-group { margin-top: var(--s-4); }
.mobile-menu .mm-label { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); padding-bottom: .5rem; }
.mobile-menu .mm-actions { margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.mobile-menu .mm-actions .btn { width: 100%; }
@media (min-width: 1280px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(78vh, 720px);
  background: var(--charcoal);
  color: rgba(255,255,255,.85);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(42,45,48,.92) 0%, rgba(42,45,48,.78) 48%, rgba(42,45,48,.55) 100%); }
.hero .container { position: relative; padding-block: var(--s-7); }
.hero-inner { max-width: 780px; }
.hero h1 { font-size: var(--fs-hero); color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); margin-top: var(--s-3); max-width: 60ch; }
.hero .eyebrow { color: #D3B2C3; }

.page-hero { background: var(--charcoal); color: rgba(255,255,255,.85); padding-block: clamp(3.5rem, 7vw, 6rem); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: rgba(255,255,255,.84); margin-top: var(--s-3); }
.page-hero .eyebrow { color: #D3B2C3; }

/* ---------- Fact strip ---------- */
.fact-strip { background: var(--charcoal); padding-block: var(--s-4); }
.fact-strip ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) 0; }
.fact-strip li { color: rgba(255,255,255,.8); font-size: var(--fs-small); padding: .25rem var(--s-3); text-align: center; }
.fact-strip li + li { border-left: 1px solid rgba(255,255,255,.2); }
@media (max-width: 699px) { .fact-strip li + li { border-left: 0; } .fact-strip ul { flex-direction: column; align-items: center; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2);
}
.card h3 { font-size: 1.25rem; }
.card p { font-size: 1rem; max-width: none; }
a.card { text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
a.card:hover { border-color: var(--plum); box-shadow: var(--lift); transform: translateY(-2px); }
a.card .arrow-link { color: var(--plum); margin-top: auto; padding-top: var(--s-1); }

.card-lg { padding: var(--s-5); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-bottom: var(--s-6); }
.step:last-child { padding-bottom: 0; }
.step-num {
  font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600; color: var(--plum); opacity: .32; line-height: 1;
  margin-bottom: var(--s-1);
}
.step h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.625rem); margin-bottom: var(--s-3); }
.step p { max-width: 66ch; }
.step-sub { margin-top: var(--s-4); padding: var(--s-4); background: var(--plum-tint); border-radius: var(--radius); }
.step-sub h4 { color: var(--plum-deep); margin-bottom: var(--s-2); font-family: var(--font-body); font-size: 1rem; letter-spacing: .02em; }
.step-sub p { max-width: none; font-size: 1.0625rem; }

@media (min-width: 900px) {
  .step { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-4); }
  .step-num { margin: 0; text-align: right; padding-right: var(--s-3); border-right: 1px solid var(--warm-gray); }
  .step-body { padding-top: .35rem; }
}

.phase { border-top: 2px solid var(--plum); padding-top: var(--s-3); }
.phase-num { font-family: var(--font-display); color: var(--plum); font-size: .9375rem; font-weight: 600; letter-spacing: .1em; }
.phase h3 { margin: var(--s-1) 0 var(--s-2); }
.phase p { font-size: 1rem; max-width: none; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3);
}
section.tint .testimonial, .testimonial.on-tint { background: #fff; }
.stars { color: var(--plum); letter-spacing: .15em; font-size: .9375rem; }
.testimonial blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal); }
.testimonial blockquote p { max-width: none; }
.testimonial footer, .testimonial figcaption { font-size: var(--fs-small); color: var(--mid-gray); margin-top: auto; padding-top: var(--s-3); }
.testimonial footer strong, .testimonial figcaption strong { display: block; color: var(--charcoal); font-family: var(--font-body); }
.testimonial-feature { padding: var(--s-5); }
.testimonial-feature blockquote { font-size: clamp(1.125rem, 1vw + .9rem, 1.375rem); }

/* ---------- Fit columns ---------- */
.fit-col { padding: var(--s-4); border-radius: var(--radius); border: var(--border); background: #fff; }
.fit-col.yes { border-top: 3px solid var(--plum); }
.fit-col.no { border-top: 3px solid var(--mid-gray); }
.fit-col h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.fit-col ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.fit-col li { position: relative; padding-left: 1.75rem; font-size: 1.0625rem; }
.fit-col.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--plum); font-weight: 700; }
.fit-col.no li::before { content: "—"; position: absolute; left: 0; color: var(--mid-gray); }

/* ---------- Accordion ---------- */
.accordion { border-top: var(--border); }
.accordion details { border-bottom: var(--border); }
.accordion summary {
  list-style: none; cursor: pointer; padding: var(--s-3) var(--s-4) var(--s-3) 0;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--charcoal);
  position: relative; display: block;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--plum); font-size: 1.5rem; font-weight: 400; line-height: 1;
}
.accordion details[open] summary::after { content: "–"; }
.accordion summary:hover { color: var(--plum-deep); }
.accordion .acc-body { padding: 0 0 var(--s-4); }
.accordion .acc-body p { font-size: 1.0625rem; }

/* ---------- Callout ---------- */
.callout { background: var(--warm-gray); border-left: 4px solid var(--charcoal); padding: var(--s-4); border-radius: 0 var(--radius) var(--radius) 0; }
.callout h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.callout p { font-size: 1.0625rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: rgba(255,255,255,.84); text-align: center; }
.cta-band h2 { color: #fff; margin-inline: auto; max-width: 22ch; }
.cta-band p { margin: var(--s-3) auto 0; max-width: 58ch; }
.cta-band .btn { margin-top: var(--s-4); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { display: grid; gap: .4rem; margin-bottom: var(--s-3); }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--charcoal); }
.field .hint { font-size: var(--fs-xs); color: var(--mid-gray); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; background: #fff;
  border: 2px solid var(--warm-gray); border-radius: var(--radius);
  font-size: 1.0625rem; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); outline-offset: 1px; }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { font-size: var(--fs-xs); color: var(--error); font-weight: 600; display: none; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--error); }
.field[data-invalid="true"] .err { display: block; }
.field-row { display: grid; gap: var(--s-2); }
@media (min-width: 600px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } .field-row.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.choice { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; padding: .35rem 0; }
.choice input { width: auto; margin-top: .35rem; flex: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.form-progress { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-small); color: var(--mid-gray); margin-bottom: var(--s-4); }
.form-progress .bar { flex: 1; height: 4px; background: var(--warm-gray); border-radius: 99px; overflow: hidden; }
.form-progress .bar i { display: block; height: 100%; background: var(--plum); transition: width .3s var(--ease); }

.form-step[hidden] { display: none; }
.form-nav { display: flex; gap: var(--s-2); margin-top: var(--s-4); flex-wrap: wrap; }

.form-success { display: none; }
.form-success[data-show="true"] { display: block; }
.form-success h3 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }

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

/* ---------- Quiz ---------- */
.quiz-q { padding: var(--s-3) 0; border-bottom: var(--border); }
.quiz-q:last-of-type { border-bottom: 0; }
.quiz-q p { font-size: 1.0625rem; color: var(--charcoal); margin-bottom: var(--s-2); max-width: 62ch; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.quiz-opts label {
  border: 2px solid var(--warm-gray); border-radius: var(--radius);
  padding: .55rem 1.1rem; font-size: .9375rem; cursor: pointer; background: #fff;
  transition: border-color .15s, background-color .15s, color .15s;
}
.quiz-opts input { position: absolute; opacity: 0; width: 0; }
.quiz-opts label:has(input:checked) { border-color: var(--plum); background: var(--plum); color: #fff; }
.quiz-opts label:has(input:focus-visible) { outline: 3px solid rgba(102,64,88,.55); outline-offset: 2px; }

.quiz-result { display: none; margin-top: var(--s-5); padding: var(--s-5); background: var(--charcoal); color: rgba(255,255,255,.85); border-radius: var(--radius-lg); }
.quiz-result[data-show="true"] { display: block; }
.quiz-result h3 { color: #fff; }
.quiz-score { font-family: var(--font-display); font-size: 3rem; color: #C9A5B8; line-height: 1; }
.quiz-actions { list-style: none; padding: 0; display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.quiz-actions li { border-left: 3px solid #C9A5B8; padding-left: var(--s-3); }
.quiz-actions strong { color: #fff; display: block; margin-bottom: .25rem; }
.quiz-actions em { color: rgba(255,255,255,.72); font-style: italic; }

/* ---------- Listing cards ---------- */
.listing-card { background: #fff; border: var(--border); border-radius: var(--radius); overflow: hidden; }
.listing-card .ph { aspect-ratio: 4/3; background: var(--warm-gray); display: grid; place-items: center; color: var(--mid-gray); font-size: var(--fs-small); }
.listing-card .body { padding: var(--s-3); }
.badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 2px; background: var(--plum); color: #fff; }
.badge.sold { background: var(--charcoal); }

.empty-state { background: #fff; border: 2px dashed var(--warm-gray); border-radius: var(--radius-lg); padding: var(--s-5); text-align: center; }
.empty-state h3 { margin-bottom: var(--s-2); }
.empty-state p { margin-inline: auto; }

/* ---------- Portrait ---------- */
.portrait { border-radius: var(--radius-lg); overflow: hidden; background: var(--warm-gray); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.portrait-caption { font-size: var(--fs-xs); color: var(--mid-gray); margin-top: var(--s-2); }

/* ---------- Area links ---------- */
.arealist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem var(--s-3); font-size: 1.0625rem; }

/* ---------- Contact methods ---------- */
.contact-method { background: #fff; border: var(--border); border-radius: var(--radius); padding: var(--s-4); }
.contact-method h3 { font-size: 1.0625rem; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: var(--s-2); }
.contact-method .big { font-family: var(--font-display); font-size: 1.375rem; color: var(--charcoal); text-decoration: none; display: block; word-break: break-word; }
.contact-method .big:hover { color: var(--plum); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.72); padding-block: var(--s-6) var(--s-4); font-size: var(--fs-small); }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.2fr 1fr; align-items: start; gap: var(--s-6); } }
.footer-brand .brand-name { font-size: 1.375rem; }
.footer-contact { margin-top: var(--s-3); display: grid; gap: .3rem; }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-3); }

.footer-nav { display: grid; gap: var(--s-4); padding-block: var(--s-5); border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-nav h4 { color: rgba(255,255,255,.5); font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s-2); }
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer-nav li.plain { color: rgba(255,255,255,.5); }

.compliance { padding-block: var(--s-5); border-bottom: 1px solid rgba(255,255,255,.14); font-size: var(--fs-xs); line-height: 1.65; color: rgba(255,255,255,.62); }
.compliance strong { color: rgba(255,255,255,.9); font-weight: 600; }
.compliance p { max-width: 90ch; }
.compliance p + p { margin-top: var(--s-2); }
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-block: var(--s-3); }
.mark-box { background: #fff; border-radius: var(--radius); padding: 8px 12px; display: grid; place-items: center; }
.mark-box img { height: 40px; width: auto; }
.eho { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.8); font-size: var(--fs-xs); }
.eho svg { flex: none; }

.footer-base { padding-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); justify-content: space-between; font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.footer-base a { color: rgba(255,255,255,.7); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--mid-gray); padding-top: var(--s-3); }
.crumbs a { color: var(--mid-gray); }
.crumbs span { margin-inline: .4rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.center p { margin-inline: auto; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media print {
  .site-header, .mobile-menu, .utility-bar, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Hero without photography (placeholder-free treatment) ---------- */
.hero.no-photo {
  background:
    radial-gradient(120% 90% at 88% 18%, rgba(102,64,88,.55) 0%, rgba(102,64,88,0) 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(102,64,88,.30) 0%, rgba(102,64,88,0) 60%),
    linear-gradient(160deg, #34383C 0%, #2A2D30 45%, #212427 100%);
}
.hero.no-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 100% at 75% 25%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 100% at 75% 25%, #000 0%, transparent 72%);
}
.hero.no-photo .container { z-index: 1; }
.page-hero.tinted {
  background:
    radial-gradient(110% 130% at 92% 10%, rgba(102,64,88,.42) 0%, rgba(102,64,88,0) 62%),
    linear-gradient(160deg, #32363A 0%, #2A2D30 60%);
}

/* ==========================================================================
   Photography placements
   ========================================================================== */

/* Hero with a portrait on the right */
.hero.with-portrait .container { position: relative; z-index: 2; }
.hero-portrait {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: clamp(320px, 38%, 560px);
  z-index: 1; pointer-events: none;
}
.hero-portrait picture { display: block; width: 100%; height: 100%; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.hero-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, #2A2D30 0%, rgba(42,45,48,.86) 26%, rgba(42,45,48,.18) 72%, rgba(42,45,48,.05) 100%);
}
.hero.with-portrait .hero-inner { max-width: 660px; }
/* On phones and small tablets the portrait stops being a background and becomes
   a real photograph under the headline. Stretched behind the text it cropped to
   a giant washed-out face; stacked, it is just a good picture of Jennifer.
   The headline still leads, because it is the strongest thing on the page. */
@media (max-width: 899px) {
  .hero.with-portrait {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-block: 0;
  }
  .hero.with-portrait .container { order: 1; padding-block: var(--s-6) var(--s-5); }
  .hero.with-portrait .hero-inner { max-width: none; }
  .hero-portrait {
    order: 2;
    position: static;
    width: 100%;
    aspect-ratio: 5 / 4;
    opacity: 1;
  }
  .hero-portrait img { object-position: center 16%; }
  .hero-portrait::after { display: none; }
}
@media (max-width: 560px) {
  .hero-portrait { aspect-ratio: 4 / 3; }
}

/* Figure with caption, used in content sections */
.photo {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--warm-gray); position: relative;
}
.photo picture { display: block; }
.photo img { width: 100%; height: auto; display: block; }
.photo.tall img { aspect-ratio: 4/5; object-fit: cover; }
.photo.wide img { aspect-ratio: 3/2; object-fit: cover; }
.photo.square img { aspect-ratio: 1/1; object-fit: cover; }

/* Portrait with a plum rule accent behind it */
.photo-framed { position: relative; }
.photo-framed::before {
  content: ""; position: absolute; inset: auto auto -16px -16px;
  width: 55%; height: 55%; border-left: 3px solid var(--plum); border-bottom: 3px solid var(--plum);
  border-radius: 0 0 0 var(--radius-lg); z-index: 0;
}
.photo-framed .photo { position: relative; z-index: 1; }
@media (max-width: 699px) { .photo-framed::before { display: none; } }

/* Signature block that sits under a portrait */
.photo-sig {
  margin-top: var(--s-3); font-family: var(--font-display);
  font-size: 1.0625rem; color: var(--charcoal);
}
.photo-sig span { display: block; font-family: var(--font-body); font-size: var(--fs-small); color: var(--mid-gray); margin-top: .15rem; }

/* Meet-Jennifer band */
.meet { background: var(--charcoal); color: rgba(255,255,255,.84); }
.meet h2, .meet h3 { color: #fff; }
.meet .eyebrow { color: #C9A5B8; }
.meet .split { align-items: center; }
.meet .photo { border-radius: var(--radius-lg); }
@media (min-width: 900px) { .meet .split { grid-template-columns: .85fr 1.15fr; gap: var(--s-6); } }

/* Small inline portrait, e.g. beside a form or CTA */
.person-row { display: flex; align-items: center; gap: var(--s-3); }
.person-row .avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none; background: var(--warm-gray); }
.person-row .avatar picture { display: block; width: 100%; height: 100%; }
.person-row .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.person-row .who strong { display: block; color: var(--charcoal); font-family: var(--font-display); font-size: 1.0625rem; }
.person-row .who span { font-size: var(--fs-small); color: var(--mid-gray); }
section.dark .person-row .who strong, .meet .person-row .who strong { color: #fff; }
section.dark .person-row .who span, .meet .person-row .who span { color: rgba(255,255,255,.7); }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: var(--s-5); }
.post-card { border-bottom: var(--border); padding-bottom: var(--s-5); }
.post-card:last-child { border-bottom: 0; }
.post-card h2 { font-size: clamp(1.375rem, 1.5vw + 1rem, 1.875rem); margin: var(--s-2) 0 var(--s-3); }
.post-card h2 a { color: var(--charcoal); text-decoration: none; }
.post-card h2 a:hover { color: var(--plum); }
.post-card p { font-size: 1.0625rem; }
.post-card .arrow-link { margin-top: var(--s-3); color: var(--plum); }

.post-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3);
  font-size: var(--fs-xs); color: var(--mid-gray);
  letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
}
.post-meta.light { color: rgba(255,255,255,.7); }
.post-cat { color: var(--plum); font-weight: 600; }
.post-meta.light .post-cat { color: #D3B2C3; }

.post-body h2 {
  font-size: clamp(1.375rem, 1.4vw + 1rem, 1.75rem);
  margin: var(--s-6) 0 var(--s-3);
  padding-bottom: 0; border-bottom: 0;
}
.post-body h2:first-child { margin-top: 0; }
.post-body p { margin-bottom: var(--s-3); }
.post-body .lead { margin-bottom: var(--s-4); }
.post-body .pullquote { margin: var(--s-5) 0; }
.post-body ul, .post-body ol { margin: var(--s-3) 0 var(--s-3) 1.4rem; }
.post-body li { margin-bottom: var(--s-2); }

/* ---------- Ask Jennifer ---------- */
.ask-wrap { background: #fff; border: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.ask-head {
  background: var(--charcoal); color: #fff; padding: var(--s-3) var(--s-4);
  display: flex; align-items: center; gap: var(--s-3);
}
.ask-head .avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; background: var(--warm-gray); }
.ask-head .avatar picture { display: block; width: 100%; height: 100%; }
.ask-head .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.ask-head h3 { color: #fff; font-size: 1.125rem; margin: 0; }
.ask-head p { color: rgba(255,255,255,.7); font-size: var(--fs-xs); margin: .15rem 0 0; max-width: none; }

.ask-log { padding: var(--s-4); display: grid; gap: var(--s-3); max-height: 30rem; overflow-y: auto; }
.ask-msg { max-width: 92%; }
.ask-msg .ask-who {
  display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .35rem;
}
.ask-msg.jen { background: var(--plum-tint); border-left: 3px solid var(--plum); padding: var(--s-3); border-radius: 0 var(--radius) var(--radius) 0; }
.ask-msg.jen .ask-who { color: var(--plum); }
.ask-msg.you { background: var(--warm-gray); padding: var(--s-3); border-radius: var(--radius); margin-left: auto; }
.ask-msg.you .ask-who { color: var(--mid-gray); }
.ask-msg p { font-size: 1.0625rem; max-width: none; }
.ask-msg p + p { margin-top: var(--s-2); }

.ask-form { display: flex; gap: var(--s-2); padding: var(--s-3) var(--s-4); border-top: var(--border); background: var(--cream); }
.ask-form input { flex: 1; padding: .75rem .9rem; border: 2px solid var(--warm-gray); border-radius: var(--radius); font-size: 1rem; }
.ask-form input:focus { border-color: var(--plum); }
.ask-form button { flex: none; }

.ask-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: var(--s-3) var(--s-4) var(--s-4); border-top: var(--border); }
.ask-chip {
  background: #fff; border: 1.5px solid var(--warm-gray); border-radius: 99px;
  padding: .5rem 1rem; font-size: .875rem; color: var(--charcoal-80);
  text-align: left; transition: border-color .15s, color .15s, background-color .15s;
  min-height: 40px;
}
.ask-chip:hover { border-color: var(--plum); color: var(--plum-deep); background: var(--plum-tint); }
.ask-chips-label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--mid-gray); font-weight: 600; padding: 0 var(--s-4); margin-top: var(--s-3); }

/* ---------- Brokerage affiliation ---------- */
.brokerage-bar {
  background: var(--warm-gray);
  border-bottom: 1px solid rgba(42,45,48,.08);
  padding-block: var(--s-3);
}
.brokerage-bar .inner {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-3); flex-wrap: wrap; text-align: center;
}
.brokerage-bar .lockup { display: flex; align-items: center; gap: var(--s-2); }
.brokerage-bar img { height: 46px; width: auto; display: block; }
.brokerage-bar .txt { font-size: var(--fs-small); color: var(--charcoal-80); line-height: 1.5; text-align: left; }
.brokerage-bar .txt strong { display: block; color: var(--charcoal); font-family: var(--font-display); font-size: 1.0625rem; }
@media (max-width: 560px) { .brokerage-bar .inner { flex-direction: column; } .brokerage-bar .txt { text-align: center; } }

/* Small LPT lockup used beside contact details */
.lpt-inline { display: inline-flex; align-items: center; gap: .55rem; }
.lpt-inline img { height: 30px; width: auto; display: block; }
.lpt-inline span { font-size: var(--fs-small); color: var(--mid-gray); }
.contact-method .lpt-inline { margin-top: var(--s-3); }

/* Header brokerage mark */
.brand-lockup { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; }
.brand-lockup .lpt-mark {
  height: 38px; width: 38px; background: #fff; border-radius: 50%;
  display: grid; place-items: center; flex: none; padding: 3px;
}
.brand-lockup .lpt-mark img { width: 100%; height: 100%; object-fit: contain; }
/* Jennifer asked for LPT prominence. Shrink the mark on narrow phones, never hide it. */
@media (max-width: 420px) { .brand-lockup { gap: .6rem; } .brand-lockup .lpt-mark { width: 30px; height: 30px; } }

/* ---------- Scheduler embed ---------- */
.scheduler-embed { background: #fff; border: var(--border); border-radius: var(--radius-lg); overflow: hidden; min-height: 640px; position: relative; }
.scheduler-embed.is-loading::after { content: "Loading the calendar..."; position: absolute; inset: 0; display: grid; place-items: center; color: var(--mid-gray); font-size: var(--fs-small); }
.scheduler-frame { display: block; width: 100%; height: 680px; border: 0; }
.scheduler-alt { padding: 0 var(--s-3) var(--s-3); }
@media (max-width: 700px) { .scheduler-frame { height: 900px; } .scheduler-embed { min-height: 860px; } }

/* ---------- Sold listing without photography ---------- */
.listing-card.no-photo { background: linear-gradient(160deg, #fff 0%, var(--warm-gray) 100%); }
.listing-card.no-photo .body { padding: var(--s-4); }
.listing-card.no-photo h3 { font-size: 1.5rem; }

.scheduler-embed.is-offline { min-height: 0; }
.scheduler-offline { padding: var(--s-5) var(--s-4); text-align: center; }
.scheduler-embed.is-offline .scheduler-alt { display: none; }

/* Sold grid: cards keep their natural height while some still lack photography */
.grid.listings { align-items: start; }

/* ---------- Intro video (Meet Jennifer) ---------- */
.intro-video { border-radius: var(--radius-lg); overflow: hidden; background: var(--charcoal); }
.intro-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--charcoal); }
.intro-video figcaption { font-size: var(--fs-xs); color: var(--mid-gray); background: var(--cream); padding: .75rem var(--s-3); }
section.dark .intro-video figcaption, .meet .intro-video figcaption { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }

.transcript { margin-top: var(--s-3); font-size: var(--fs-small); }
.transcript summary { cursor: pointer; font-weight: 600; color: var(--plum); padding: .5rem 0; }
.meet .transcript summary { color: #D3B2C3; }
.transcript summary:hover { text-decoration: underline; }
.transcript-body { padding-top: var(--s-2); line-height: 1.7; }
.transcript-body p { max-width: none; }

/* ---------- Brokerage credential line (dark page heroes) ---------- */
.lpt-credential {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: var(--s-4); padding: .45rem .85rem .45rem .5rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; max-width: none;
}
.lpt-credential img { height: 34px; width: auto; display: block; background: #fff; border-radius: 50%; padding: 3px; }
.lpt-credential span { font-size: var(--fs-xs); letter-spacing: .04em; color: rgba(255,255,255,.82); }
@media (max-width: 480px) { .lpt-credential span { font-size: .75rem; } }

/* Keep the brokerage line on one line in the header lockup */
.brand-lockup .brand-sub { white-space: nowrap; }

/* When the Meet section leads with the video instead of the portrait, top-align
   it and give it a fairer share of the width. A 16:9 video centered against a
   tall column of text floats; level with the heading it reads deliberate. */
.meet .split:has(.intro-video) { align-items: start; }
@media (min-width: 900px) {
  .meet .split:has(.intro-video) { grid-template-columns: 1.05fr .95fr; }
}
