:root {
  color-scheme: light;
  --ink: #21362f;
  --ink-soft: #486258;
  --muted: #65786f;
  --surface: #fffaf2;
  --surface-2: #f2f6f0;
  --surface-3: #e8efe9;
  --primary: #2f654d;
  --primary-strong: #21362f;
  --accent: #c39a3a;
  --brick: #8d4e3a;
  --line: #d6e0d8;
  --danger: #9c2f2f;
  --success: #2f654d;
  --shadow-sm: 0 8px 24px rgba(33, 54, 47, .09);
  --shadow-md: 0 18px 50px rgba(33, 54, 47, .14);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm); }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .75rem;
  color: var(--primary); font-size: .78rem; font-weight: 800; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
h1, h2, h3, h4 { line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.45rem, 7vw, 5.4rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); max-width: 13ch; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { margin: 0; }
.lead { color: var(--ink-soft); font-size: clamp(1.08rem, 1.7vw, 1.28rem); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .94);
  backdrop-filter: blur(14px); border-bottom: 1px solid rgba(214, 224, 216, .86);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 850; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px; background: var(--primary-strong);
  display: grid; place-items: center; position: relative; flex: 0 0 auto;
}
.brand-mark::before {
  content: ""; width: 22px; height: 18px; border: 3px solid var(--accent); border-top: 0;
  transform: translateY(4px); border-radius: 2px;
}
.brand-mark::after {
  content: ""; position: absolute; width: 23px; height: 23px; border-left: 3px solid #fffaf2; border-top: 3px solid #fffaf2;
  transform: translateY(-2px) rotate(45deg); border-radius: 2px 0 0 0;
}
.brand > span:last-child > span { font-size: .95rem; color: var(--muted); font-weight: 700; display: block; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.4rem); }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 750; font-size: .95rem; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: .7rem; align-items: center; }
.menu-button, .filter-button {
  display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius-sm); color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.05rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.button-primary:hover { color: #fff; background: #244f3d; }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-secondary:hover { background: var(--surface-2); color: var(--ink); }
.button-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.hero {
  position: relative; min-height: calc(100dvh - 76px); display: grid; align-items: end; overflow: clip;
  background: #1f312b;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,31,27,.9) 0%, rgba(18,31,27,.7) 42%, rgba(18,31,27,.22) 100%),
    image-set(
      url("hero-cincinnati-property-management.webp") type("image/webp"),
      url("hero-cincinnati-property-management.png") type("image/png")
    ) center/cover no-repeat;
}
.hero-inner { position: relative; z-index: 1; padding: clamp(4rem, 8vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem); color: #fffaf2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero h1 { color: #fffaf2; }
.hero .lead { color: #edf4ef; margin: 1.2rem 0 1.55rem; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.page-hero .inline-actions { margin-top: 1.1rem; }
.hero-panel {
  background: rgba(255, 250, 242, .94); color: var(--ink); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.45);
}
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.25rem; }
.metric { padding: .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); background: rgba(255,255,255,.1); }
.metric strong { display: block; font-size: 1.2rem; color: #fff; }
.trust-strip {
  position: relative; z-index: 2; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-md); overflow: hidden;
}
.trust-strip div { padding: 1rem; background: rgba(255,255,255,.11); border-right: 1px solid rgba(255,255,255,.2); }
.trust-strip div:last-child { border-right: 0; }
.band { background: var(--surface-2); }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 2rem; }
.section-head p { max-width: 58ch; color: var(--ink-soft); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-pad { padding: clamp(1rem, 2.5vw, 1.45rem); }
.service-card { min-height: 100%; }
.service-card .icon-box { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--surface-3); color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem; }
.property-card { display: flex; flex-direction: column; min-height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.property-card:hover, .property-card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.property-card img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  background: linear-gradient(135deg, #edf4ef, #f8efe3);
  border-bottom: 1px solid var(--line);
}
.property-body { padding: 1rem; display: grid; gap: .6rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: .75rem; align-items: start; }
.price { font-size: 1.35rem; font-weight: 900; color: var(--ink); }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: .25rem .55rem; border-radius: 999px; background: var(--surface-3); color: var(--primary-strong); font-size: .78rem; font-weight: 850; white-space: nowrap; }
.badge-accent { background: #f4ead0; color: #694b0d; }
.facts { display: flex; flex-wrap: wrap; gap: .45rem .8rem; color: var(--ink-soft); font-weight: 700; font-size: .92rem; }
.process { counter-reset: step; }
.process .card { position: relative; }
.process .card::before {
  counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 900; margin-bottom: 1rem;
}
.quote { border-left: 5px solid var(--accent); padding: 1rem 0 1rem 1.1rem; font-size: 1.22rem; line-height: 1.45; color: var(--ink); }
.cta-band { background: var(--primary-strong); color: #fffaf2; }
.cta-band .lead, .cta-band .muted { color: #dcebe4; }
.cta-band .eyebrow { color: #d7e7de; }
.cta-panel {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: center;
  border: 1px solid rgba(255,255,255,.14); padding: clamp(1.3rem, 4vw, 2rem); border-radius: var(--radius-md);
}
.footer { padding: 3rem 0 2rem; background: #1f312b; color: #eaf1ec; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 2rem; }
.footer a { color: #eaf1ec; text-decoration: none; display: block; margin: .35rem 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-summary { color:#bdd0c5; margin-top:1rem; }
.footer-contact { margin-top:.8rem; }
.subfooter { border-top: 1px solid rgba(255,255,255,.16); margin-top: 2rem; padding-top: 1rem; color: #bdd0c5; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-hero { padding: clamp(3rem, 8vw, 6rem) 0; background: linear-gradient(135deg, #f7f2e9 0%, #e8efe9 100%); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.breadcrumbs { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-soft); }
.toolbar {
  display: grid; grid-template-columns: 1.5fr repeat(3, minmax(130px, .8fr)); gap: .75rem; align-items: end;
  padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
label { display: grid; gap: .35rem; font-weight: 800; color: var(--ink); font-size: .92rem; }
input, select, textarea {
  width: 100%; min-height: 46px; border: 1px solid #bfcfc5; border-radius: var(--radius-sm);
  padding: .75rem .85rem; font: inherit; color: var(--ink); background: #fff;
}
textarea { min-height: 132px; resize: vertical; }
.filters-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.filter-panel { position: sticky; top: 92px; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.filter-panel-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.filter-panel form { display: grid; gap: .85rem; }
.listing-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.segmented button { min-height: 44px; border: 0; border-right: 1px solid var(--line); background: transparent; padding: .5rem .8rem; font-weight: 850; cursor: pointer; }
.segmented button:last-child { border-right: 0; }
.segmented button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.map-panel { display: none; margin-bottom: 1rem; min-height: 240px; background: linear-gradient(135deg, #dfe9e2, #f6efe2); border: 1px solid var(--line); border-radius: var(--radius-md); place-items: center; color: var(--ink-soft); font-weight: 800; }
.map-panel.is-visible { display: grid; }
.state-box { display: none; padding: 1.2rem; border: 1px dashed #9db0a4; border-radius: var(--radius-md); background: #fff; }
.state-box.is-visible { display: block; }
.pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination a { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; text-decoration: none; font-weight: 850; background: #fff; }
.pagination a[aria-current="page"] { background: var(--primary); color: #fff; }
.blog-card img, .featured-post img {
  aspect-ratio: 16 / 9; object-fit: cover; width: 100%;
  background: linear-gradient(135deg, #edf4ef, #f8efe3);
  border-bottom: 1px solid var(--line);
}
.meta { display: flex; flex-wrap: wrap; gap: .45rem .75rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.featured-post { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.article-shell { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 2rem; align-items: start; }
.toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem; }
.toc a { display: block; padding: .35rem 0; color: var(--ink-soft); text-decoration: none; font-weight: 750; }
.article { font-size: 1.08rem; }
.article h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.65rem); max-width: 16ch; }
.article h3 { margin: 1.8rem 0 .75rem; }
.article p, .article ul { margin: 0 0 1.15rem; }
.callout { border: 1px solid #e3d3a5; background: #fff6dc; border-radius: var(--radius-md); padding: 1rem; margin: 1.4rem 0; }
.author-box { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-md); padding: 1rem; }
.avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; }
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.visual-panel { min-height: 360px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--primary-strong), var(--primary)); color: #fff; padding: 1.5rem; display: flex; align-items: end; overflow: hidden; }
.faq { display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-md); overflow: hidden; }
.faq-item button { width: 100%; min-height: 52px; text-align: left; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 850; padding: .9rem 1rem; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; }
.faq-item [hidden] { display: none; }
.faq-content { padding: 0 1rem 1rem; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: 1.3fr .7fr; gap: .8rem; }
.gallery img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #edf4ef, #f8efe3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gallery-side { display: grid; gap: .8rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.sticky-card { position: sticky; top: 96px; }
.form-status { min-height: 24px; color: var(--success); font-weight: 800; }
.error { color: var(--danger); font-size: .9rem; font-weight: 750; }
.lead-form { display: grid; gap: .85rem; }
.lead-form .button { width: fit-content; }
.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-help, .form-error { margin: -.2rem 0 .2rem; font-size: .9rem; }
.form-help { color: var(--muted); }
.form-error { color: var(--danger); font-weight: 800; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash-wrap { padding-top: 1rem; }
.flash { margin: 0; padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 800; }
.flash-error { background: #fff2f0; border: 1px solid #efb4aa; color: #7a1d13; }
.flash-success { background: #eef8f1; border: 1px solid #a9d6b4; color: #155427; }
.cms-content { color: var(--ink-soft); }
.cms-content h2, .cms-content h3 { color: var(--ink); max-width: none; margin: 1.6rem 0 .75rem; }
.cms-content p, .cms-content ul, .cms-content ol { margin: 0 0 1rem; }
.cms-content a { color: var(--primary); font-weight: 800; }
.article-hero-image { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: linear-gradient(135deg, #edf4ef, #f8efe3); }
.article-lead { margin: 1.5rem 0; }
.article-tags { margin-top: 1.5rem; }
.article-tags a { display: inline-block; margin-left: .35rem; }
.hero-panel h2, .visual-panel h2, .page-hero .card h2, .featured-post h2, .listing-head h2, .detail-layout h2, .filter-panel h2 { max-width: none; }
.panel-actions { margin-top: 1rem; }
.listing-grid { margin-top: 1rem; }
.detail-metrics { color: var(--ink); margin: 1.5rem 0; }
.amenity-grid { margin-bottom: 1.5rem; }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; padding: 1rem;
    background: #fffaf2; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(calc(-100% - 90px)); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; z-index: 49;
  }
  .nav-links.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-links a { padding: .85rem; border-radius: var(--radius-sm); }
  .nav-actions .button-secondary { display: none; }
  .hero-grid, .page-hero-grid, .cta-panel, .featured-post, .content-block, .detail-layout, .article-shell { grid-template-columns: 1fr; }
  .hero-panel { max-width: 460px; }
  .trust-strip, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .filters-layout { grid-template-columns: 1fr; }
  .filter-button { display: inline-flex; }
  .filter-panel {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); z-index: 70; transform: translateX(105%);
    border-radius: 0; overflow: auto; transition: transform .22s ease; top: 0;
  }
  .filter-panel.is-open { transform: translateX(0); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .toc, .sticky-card { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .nav { min-height: 68px; }
  .nav-links { inset-top: 68px; }
  .nav-actions .button { display: none; }
  .brand > span:last-child { max-width: 136px; line-height: 1.05; }
  .brand > span:last-child > span { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 4.8rem; }
  h1 { max-width: 12ch; }
  .hero-actions .button, .inline-actions .button { width: 100%; }
  .metric-grid, .trust-strip, .grid-2, .grid-3, .grid-4, .toolbar, .gallery { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .lead-form .button { width: 100%; }
  .section-head, .listing-head { display: grid; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
