/* Park Estate Mgmt — design-brain build 2026-08-25
   mood: editorial ink+paper+brass | type: Newsreader/Public Sans | structure: two-door split
   palette seed: brand logo (mono + brass frame) | contrast: see .design-brain/style-lock.md */

:root {
  --canvas: #f7f4ee;
  --surface: #ffffff;
  --ink: #16140f;
  --text: #26221a;
  --text-muted: #5d5748;
  --paper-on-ink: #f2efe7;
  --muted-on-ink: #b3ac9c;
  --brass: #a5813c;
  --brass-deep: #7c6027;
  --border: #ddd6c8;
  --border-on-ink: #3a362c;
  --focus: #1a56db;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --radius: 4px;
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
  color: inherit;
}
h1 { font-size: clamp(38px, 6.5vw, 68px); letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; }
h3 { font-size: 21px; }
p { margin: 0 0 var(--s-4); max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s-3) var(--s-4);
}
.skip-link:focus-visible { left: 0; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

.eyebrow {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-deep); margin: 0 0 var(--s-3);
}
.on-ink .eyebrow { color: var(--brass); }

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--s-5);
  min-height: 64px;
}
.wordmark {
  display: flex; align-items: center; gap: var(--s-3);
  font-weight: 600; font-size: 15px; letter-spacing: 0.12em;
  text-decoration: none; white-space: nowrap;
}
.wordmark .frame {
  width: 18px; height: 18px; border: 2px solid var(--brass);
  display: inline-block; flex: none;
}
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s-2); }
.site-nav a {
  text-decoration: none; font-size: 15px; padding: var(--s-3) var(--s-3);
  border-radius: var(--radius); color: var(--text-muted);
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-toggle { display: none; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 44px; padding: 10px 22px;
  font: 600 15px/1.2 var(--font-body);
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out,
              border-color 150ms ease-out, scale 120ms ease-out;
}
.btn:active { scale: 0.98; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2c281f; }
.on-ink .btn-primary { background: var(--paper-on-ink); color: var(--ink); }
.on-ink .btn-primary:hover { background: #fff; }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--border); }
.btn-quiet:hover { border-color: var(--text-muted); }
.on-ink .btn-quiet { color: var(--paper-on-ink); border-color: var(--border-on-ink); }
.on-ink .btn-quiet:hover { border-color: var(--muted-on-ink); }

/* ── Dark sections ──────────────────────── */
.on-ink { background: var(--ink); color: var(--paper-on-ink); }
.on-ink .muted { color: var(--muted-on-ink); }
.muted { color: var(--text-muted); }

/* ── Hero ───────────────────────────────── */
.hero { padding-block: var(--s-9) var(--s-9); position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.hero p.lede { font-size: 19px; max-width: 44ch; }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.hero-mark { justify-self: end; position: relative; }
.hero-mark img {
  width: min(340px, 100%); height: auto; display: block;
  outline: 1px solid oklch(1 0 0 / 0.1); outline-offset: -1px;
}
.hero-mark::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--brass); z-index: -1;
}

/* ── Sections ───────────────────────────── */
.section { padding-block: var(--s-9); }
.section.tight { padding-block: var(--s-8); }
.section-head { max-width: 60ch; margin-bottom: var(--s-7); }

/* facts strip */
.facts { border-block: 1px solid var(--border); }
.facts .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-6); padding-block: var(--s-6);
}
.fact { border-inline-start: 2px solid var(--brass); padding-inline-start: var(--s-4); }
.fact strong { display: block; font: 500 21px/1.3 var(--font-display); }
.fact span { font-size: 14px; color: var(--text-muted); }

/* two-door split */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.door {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-7) var(--s-6); display: flex; flex-direction: column; gap: var(--s-4);
}
.door h3 { font-size: 28px; margin: 0; }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.door li { padding-inline-start: var(--s-5); position: relative; font-size: 15px; color: var(--text-muted); }
.door li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.55em;
  width: 10px; height: 10px; border: 2px solid var(--brass);
}
.door .btn { align-self: start; margin-top: auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font: 500 28px/1 var(--font-display); color: var(--brass-deep);
  display: block; margin-bottom: var(--s-3);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 19px; margin-bottom: var(--s-2); }
.step p { font-size: 15px; color: var(--text-muted); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-5) var(--s-2); font: 500 19px/1.3 var(--font-display);
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-inline-start: auto; font: 400 24px/1 var(--font-body);
  color: var(--brass-deep); flex: none; transition: rotate 200ms ease-out;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq .faq-body { padding: 0 var(--s-2) var(--s-5); }
.faq .faq-body p, .faq .faq-body li { font-size: 16px; color: var(--text-muted); }
.faq .faq-body ul { padding-inline-start: 20px; margin: 0 0 var(--s-3); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-8); }
.contact-info dl { margin: 0; display: grid; gap: var(--s-4); }
.contact-info dt { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-info dd { margin: var(--s-1) 0 0; font-size: 17px; }
.contact-info a { text-decoration-thickness: from-font; text-underline-offset: 3px; }

form.contact-form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  font: 400 16px/1.5 var(--font-body); color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; min-height: 44px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.form-note { font-size: 13px; color: var(--text-muted); }

/* listings */
.listings-frame {
  width: 100%; height: 1400px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
}

/* footer */
.site-footer { margin-top: var(--s-9); padding-block: var(--s-8) var(--s-6); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-7); align-items: start; }
.footer-logo img { width: 132px; height: auto; display: block; outline: 1px solid oklch(1 0 0 / 0.1); outline-offset: -1px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.footer-nav a { font-size: 14px; color: var(--muted-on-ink); text-decoration: none; padding-block: var(--s-2); }
.footer-nav a:hover { color: var(--paper-on-ink); }
.footer-meta { font-size: 14px; color: var(--muted-on-ink); }
.footer-meta a { color: inherit; }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--border-on-ink);
  font-size: 13px; color: var(--muted-on-ink);
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
}

/* reveal */
.reveal { opacity: 0; translate: 0 12px; transition: opacity 240ms ease-out, translate 240ms ease-out; }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
  .btn:active { scale: none; }
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; }
  .doors, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--s-7); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }

  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-inline-start: auto; min-width: 44px; min-height: 44px;
    background: none; border: 1px solid var(--border); border-radius: var(--radius);
    font: 600 14px var(--font-body); color: var(--text); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: var(--canvas); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: var(--s-4) clamp(20px, 4vw, 40px) var(--s-5); gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: var(--s-3) 0; font-size: 17px; min-height: 44px; display: flex; align-items: center; }
  .site-nav .btn { margin-top: var(--s-3); justify-content: center; }
}

/* seo rebuild 2026-11-17: breadcrumbs, link chips, long-form text, footer columns */
.crumbs { font-size: 14px; color: var(--text-muted); margin-bottom: var(--s-5); }
.crumbs a { color: inherit; }
.chips { list-style: none; padding: 0; margin: 0 0 var(--s-8); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: var(--s-2) var(--s-4);
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--text); text-decoration: none; font: 600 15px var(--font-body);
}
.chips a:hover { border-color: var(--brass); }
.prose { max-width: var(--measure); margin-bottom: var(--s-7); }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-5); }
.prose ul { padding-left: 1.2em; }
.doors.split { align-items: start; margin-block: var(--s-8); }
.door h3 a { color: inherit; }
.door h2 { font-size: 28px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.footer-cols .footer-nav { flex-direction: column; flex-wrap: nowrap; gap: 0; }
.footer-h { font: 600 13px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-on-ink); margin: 0 0 var(--s-2); }
.footer-bottom a { color: inherit; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }

/* motion pass 2026-11-17: all of it is off when the visitor asks for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  /* soft cross-fade between pages; the header stays in place */
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
  .site-header { view-transition-name: site-header; }

  /* hero: text comes in line by line, then the brass frame settles behind the logo */
  @keyframes rise { from { opacity: 0; translate: 0 14px; } }
  @keyframes frame-settle { from { opacity: 0; translate: -18px -18px; } }
  .hero .wrap > div:first-child > *, .hero-mark {
    animation: rise 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero .wrap > div:first-child > :nth-child(2) { animation-delay: 70ms; }
  .hero .wrap > div:first-child > :nth-child(3) { animation-delay: 140ms; }
  .hero .wrap > div:first-child > :nth-child(n+4) { animation-delay: 210ms; }
  .hero-mark { animation-delay: 120ms; }
  .hero-mark::after { animation: frame-settle 480ms cubic-bezier(0.2, 0.7, 0.2, 1) 360ms both; }

  /* FAQ answer and phone menu ease open */
  @keyframes drop { from { opacity: 0; translate: 0 -6px; } }
  .faq details[open] .faq-body, .site-nav.open { animation: drop 180ms ease-out; }

  /* cards and link chips answer the pointer */
  .door { transition: opacity 240ms ease-out, translate 240ms ease-out, border-color 150ms ease-out; }
  .chips a { transition: border-color 150ms ease-out, translate 150ms ease-out; }
  @media (hover: hover) {
    .door:hover { border-color: var(--brass); translate: 0 -3px; }
    .chips a:hover { translate: 0 -2px; }
  }
}
