/* ==========================================================================
   Senior Property Partners — "modern" design option (preview)
   Warm, calm, high-contrast. Fraunces display + Inter body, larger base type
   for an older audience, the SPP sage green deepened for accessible contrast.
   Uses the same markup/classes as style.css plus the .mhero / .mcards blocks.
   ========================================================================== */

:root {
  --green: #3f7a53;       /* SPP sage, deepened: white text passes WCAG AA */
  --green-ink: #2f5f40;
  --sage: #94bca1;
  --sage-soft: #eaf2ec;
  --cream: #f7f5f0;
  --ink: #23262f;
  --ink-2: #474c59;
  --muted: #6b7080;
  --line: #e6e3dc;
  --rose: #b04a4a;
  --rose-soft: #fbecec;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(35,38,47,.04), 0 10px 30px rgba(35,38,47,.07);
  --shadow-lg: 0 2px 4px rgba(35,38,47,.05), 0 24px 60px rgba(35,38,47,.12);
  --maxw: 1180px;
  --nav-h: 76px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 18px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.text-center { text-align: center; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; color: var(--ink);
  line-height: 1.12; letter-spacing: -0.008em; margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.01em; }
h4 { font-size: 1.2rem; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.eyebrow {
  font: 600 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #fff; border: 0; border-radius: 999px;
  padding: 15px 26px; font: 600 1rem/1 var(--font); cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(63,122,83,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-ink); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-arrow::after { content: "→"; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-center .cta-row, .cta-row.center { justify-content: center; }
.link-arrow { font-weight: 600; color: var(--green); display: inline-flex; gap: 6px; transition: gap .2s; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(35,38,47,.06);
}
.header-inner {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(var(--maxw), 100% - 32px); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 32px; height: 38px; flex: none; }
.brand .wordmark {
  font: 700 .82rem/1.25 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.brand .wordmark span { display: block; }
.header-right { display: flex; align-items: center; gap: 28px; flex-direction: row-reverse; }
.phone-top {
  font: 600 .9rem/1 var(--font); color: var(--ink-2); white-space: nowrap;
  padding: 11px 16px; border-radius: 999px; background: var(--sage-soft);
}
.phone-top a { color: var(--green-ink); }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { color: var(--ink-2); font-size: .97rem; font-weight: 500; padding: 6px 0; }
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.mhero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: 72px 0 80px; }
.mhero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.mhero h1 { margin-bottom: .35em; }
.mhero .lead { max-width: 34ch; }
.mhero-media img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 78% center;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.mhero-page { padding: 56px 0 64px; }
.mhero-page h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin: 0; }
.mhero-page .mhero-media img { aspect-ratio: 16 / 10; object-position: center; }
.tagline { display: none; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--cream); }
.section-warm { background: var(--sage-soft); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-title .lead { margin-top: -.2em; }

/* ---------- Service cards (overview pages) ---------- */
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mcard {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); }
.mcard:hover .link-arrow { gap: 10px; }
.mcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mcard-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.mcard-body p { color: var(--ink-2); font-size: 1rem; flex: 1; }

/* ---------- Service rows (detail pages, Mom's House) ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.service-row:last-child { margin-bottom: 0; }
.service-row.reverse .service-media { order: 2; }
.service-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-media img.badge-img { width: 200px; aspect-ratio: auto; border-radius: 0; box-shadow: none; margin: 0 auto; }
.service-body p { color: var(--ink-2); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.step .num {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 20px;
  background: var(--sage-soft); color: var(--green-ink);
  display: flex; align-items: center; justify-content: center;
  font: 600 1.35rem/1 var(--display);
}
.step p { color: var(--ink-2); margin: 0; }

/* ---------- Cards + checklists ---------- */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: #fff; border-radius: var(--radius); padding: 38px 36px; box-shadow: var(--shadow); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 9px 0 9px 40px; color: var(--ink-2); }
.checklist li::before {
  position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
}
.checklist.gain li::before { content: "✓"; background: var(--sage-soft); color: var(--green-ink); }
.checklist.avoid li::before { content: "✕"; background: var(--rose-soft); color: var(--rose); }

/* ---------- Founder note ---------- */
.founder {
  display: grid; grid-template-columns: 190px 1fr; gap: 48px; align-items: start;
  background: #fff; border-radius: 28px; padding: 48px; box-shadow: var(--shadow); max-width: 980px; margin-inline: auto;
}
.founder img { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px var(--sage-soft); }
.founder p { color: var(--ink-2); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; text-align: center; box-shadow: var(--shadow); }
.team-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; box-shadow: 0 0 0 6px var(--sage-soft); }
.team-card h4 { font-family: var(--display); font-size: 1.4rem; margin-bottom: .1em; }
.team-card p { font-size: .97rem; color: var(--ink-2); }
.team-card p strong { color: var(--green); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote blockquote {
  margin: 0 0 .8em; font: italic 500 clamp(1.4rem, 2.6vw, 2rem)/1.4 var(--display); color: var(--ink);
}
.quote cite { font: 600 .82rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-style: normal; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.contact p { color: var(--ink-2); }
.contact .phone-big { font: 600 clamp(2rem, 3.4vw, 2.6rem)/1.1 var(--display); margin-top: 8px; }
.contact .phone-big a { color: var(--green); }
.contact form { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 15px 16px; font: 400 1.05rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9a9ea8; }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(63,122,83,.15);
}
.contact form .btn { width: 100%; padding: 17px; font-size: 1.05rem; margin-top: 6px; }
.form-note { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.form-status:empty { display: none; }
.form-status { color: var(--green-ink); font-weight: 600; }

/* ---------- Home: founders ---------- */
.founders { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.founders-photos { position: relative; height: 340px; }
.founders-photos img {
  position: absolute; width: 230px; height: 230px; object-fit: cover; border-radius: 50%;
  border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.founders-photos img:first-child { left: 0; top: 0; }
.founders-photos img:last-child { right: 0; bottom: 0; }
.founders p { color: var(--ink-2); }
.founders .lead { color: var(--ink); }

/* ---------- Contact: trust + form extras ---------- */
.contact-grid { align-items: start; }
.contact .phone-big { margin-bottom: 0; }
.phone-sub { font-size: .95rem; color: var(--muted); margin-top: 2px; }
.trust { margin: 36px 0 0; padding: 26px 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.trust blockquote { margin: 0 0 12px; font: italic 500 1.2rem/1.45 var(--display); color: var(--ink); }
.trust figcaption { font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.trust-badge { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.trust-badge img { width: 64px; height: 64px; flex: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-field .opt { font-weight: 400; color: var(--muted); }
.form-status.is-error { color: var(--rose); }

/* ---------- Guide ---------- */
.guide-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.guide-grid img { border-radius: 14px; box-shadow: var(--shadow-lg); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .pc-body { padding: 24px 28px 30px; }
.post-card .meta { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card p { color: var(--ink-2); font-size: 1rem; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.article .meta { color: var(--muted); }
.article img { border-radius: var(--radius); margin: 32px 0; box-shadow: var(--shadow); }
.article p { font-size: 1.1rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4c7cf; padding: 56px 0; text-align: center; font-size: .95rem; }
.site-footer a { color: #b9d9c3; }
.site-footer .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 18px; }
.site-footer p { margin: .4em 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .mcards { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .header-right { gap: 12px; flex-direction: row; }
  .main-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transform: translateY(-140%); transition: transform .3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a.active { box-shadow: none; color: var(--green); }
  .nav-toggle { display: block; }
  section { padding: 64px 0; }
  .mhero { padding: 40px 0 56px; }
  .mhero-grid, .service-row, .contact-grid, .guide-grid, .cols2, .founders { grid-template-columns: 1fr; gap: 36px; }
  .founders-photos { height: 260px; max-width: 340px; width: 100%; margin: 0 auto; }
  .founders-photos img { width: 180px; height: 180px; }
  .mhero-media { order: -1; }
  .mhero-media img { aspect-ratio: 16 / 11; }
  .service-row.reverse .service-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; gap: 24px; }
  .founder img { margin: 0 auto; }
  .guide-grid img { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .phone-top { padding: 9px 12px; font-size: 0; }
  .phone-top a { font-size: .85rem; }
  .header-inner { gap: 10px; }
  .brand .wordmark { font-size: .72rem; }
  .team-grid { grid-template-columns: 1fr; }
  .card, .contact form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}

/* Spam honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
