/* ============================================================
   Noe Realty — "The Noe Valley Estate Journal"
   Refined SF residential: sage/fog-grey + cream, brushed brass.
   Display: Playfair Display. Body: Spectral. Caption: Cormorant.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100%; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 400; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --cream:      #f4efe6;   /* page base */
  --cream-2:    #ece5d8;   /* warm panel */
  --paper:      #fbf8f2;   /* card paper */
  --fog:        #d9dcd4;   /* fog grey-green */
  --sage:       #8f9b86;   /* sage */
  --sage-deep:  #5f6b58;   /* deep sage text accent */
  --forest:     #2f3a30;   /* near-black green ink */
  --ink:        #28302a;
  --ink-soft:   #50584f;
  --brass:      #a9854e;   /* brushed brass */
  --brass-lt:   #c4a572;
  --brass-deep: #846339;
  --line:       #c9c3b4;   /* hairlines */
  --line-soft:  rgba(47,58,48,0.14);
  --sale:       #5f6b58;   /* for sale */
  --rent:       #8a6d3e;   /* for rent */
  --sold:       #9a4a43;   /* sold */

  --shadow-soft: 0 18px 48px -28px rgba(47,58,48,0.45);
  --shadow-card: 0 24px 60px -34px rgba(47,58,48,0.55);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --display: "Playfair Display", Georgia, serif;
  --caption: "Cormorant Garamond", Georgia, serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Base ---------- */
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 82% -8%, rgba(169,133,78,0.10), transparent 60%),
    radial-gradient(900px 700px at -8% 18%, rgba(143,155,134,0.16), transparent 55%);
  background-attachment: fixed;
  position: relative;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wrap { width: min(100% - 2*var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2*var(--gutter), 1380px); margin-inline: auto; }

/* ---------- Shared type helpers ---------- */
.eyebrow {
  font-family: var(--caption);
  font-size: 0.92rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.9em;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--brass); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 30px; height: 1px; background: var(--brass); display: inline-block; }

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--forest);
  letter-spacing: -0.012em;
}
.section-title em { font-style: italic; color: var(--brass-deep); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; font-weight: 300; }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; z-index: 2; }

/* double-rule motif */
.rule { border: 0; border-top: 1px solid var(--line); position: relative; }
.rule::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--caption);
  font-size: 1.02rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 1.02em 1.9em;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s, color .35s, box-shadow .35s;
  position: relative;
}
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--brass-deep); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--brass); color: var(--brass-deep); }
.btn-ghost:hover { background: var(--brass); color: var(--paper); transform: translateY(-2px); }
.btn .arr { transition: transform .35s; }
.btn:hover .arr { transform: translateX(4px); }

/* link with underline draw */
.link-u { font-family: var(--caption); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--brass-deep); font-size: 0.95rem; display: inline-flex; gap: .5em; align-items: center; }
.link-u span { position: relative; }
.link-u span::after { content:""; position:absolute; left:0; bottom:-3px; height:1px; width:100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.link-u:hover span::after { transform: scaleX(1); }
.link-u .arr { transition: transform .35s; }
.link-u:hover .arr { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,230,0.82);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.05rem 0; }
.brand { display: flex; align-items: baseline; gap: .55rem; }
.brand .mark {
  font-family: var(--display); font-size: 1.65rem; color: var(--forest); letter-spacing: -0.01em;
}
.brand .mark em { font-style: italic; color: var(--brass-deep); }
.brand .est { font-family: var(--caption); font-size: .72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--sage-deep); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: var(--caption); font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-soft); position: relative; padding: .2em 0;
}
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; height:1px; width:100%; background:var(--brass); transform:scaleX(0); transform-origin:left; transition:transform .35s; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; }
.nav-cta .btn { padding: .7em 1.4em; font-size: .9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--forest); transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; z-index: 2; padding-top: clamp(40px, 6vw, 80px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: end; }
.hero-copy { padding-bottom: clamp(20px, 4vw, 70px); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  color: var(--forest);
  letter-spacing: -0.02em;
  margin: 1.3rem 0 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--brass-deep); }
.hero .lede { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; height: clamp(380px, 52vw, 620px); object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-card); }
.hero-figure .frame { position: absolute; inset: 14px; border: 1px solid rgba(244,239,230,0.55); border-radius: 2px; pointer-events: none; }
.hero-tag {
  position: absolute; left: -26px; bottom: 38px;
  background: var(--paper); padding: 1.05rem 1.4rem; border-radius: 2px;
  box-shadow: var(--shadow-soft); border-left: 2px solid var(--brass);
  max-width: 230px;
}
.hero-tag .k { font-family: var(--caption); font-size: .72rem; letter-spacing:.28em; text-transform:uppercase; color: var(--sage-deep); }
.hero-tag .v { font-family: var(--display); font-size: 1.5rem; color: var(--forest); }
.hero-tag .s { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Stat strip ---------- */
.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: clamp(48px, 7vw, 90px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 3.4vw, 46px) clamp(16px, 2.4vw, 34px); border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3.1rem); color: var(--forest); }
.stat .num em { font-style: normal; color: var(--brass-deep); }
.stat .lbl { font-family: var(--caption); font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }

/* ============================================================
   FEATURED LISTINGS
   ============================================================ */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 56px); }
.head-row .heads { max-width: 30ch; }
.head-row .section-title { margin-top: .9rem; }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 38px); }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(47,58,48,0.28), transparent 45%); }

.pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--caption); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  padding: .5em 1em; border-radius: 100px; color: var(--paper);
  background: var(--sale);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.5);
}
.pill[data-status="For Rent"] { background: var(--rent); }
.pill[data-status="Sold"] { background: var(--sold); }

.card-price {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  font-family: var(--display); color: var(--paper); font-size: 1.45rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card-body .addr { font-family: var(--caption); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.card-body h3 { font-family: var(--display); font-size: 1.4rem; color: var(--forest); margin: .45rem 0 .7rem; }
.card-body .blurb { font-size: .96rem; color: var(--ink-soft); font-weight: 300; flex: 1; }
.specs { display: flex; gap: 1.3rem; margin: 1.1rem 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.spec { display: flex; flex-direction: column; }
.spec .n { font-family: var(--display); font-size: 1.25rem; color: var(--forest); }
.spec .t { font-family: var(--caption); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.card .link-u { margin-top: auto; }

/* ============================================================
   NEIGHBOURHOODS
   ============================================================ */
.areas { background: var(--cream-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.area {
  background: var(--cream-2); padding: clamp(28px, 3vw, 42px);
  transition: background .4s; position: relative;
}
.area:hover { background: var(--paper); }
.area .idx { font-family: var(--display); font-size: 1rem; color: var(--brass); }
.area h3 { font-family: var(--display); font-size: 1.7rem; color: var(--forest); margin: .8rem 0 .6rem; }
.area p { font-size: .95rem; color: var(--ink-soft); font-weight: 300; }
.area .pin { position: absolute; top: clamp(28px,3vw,42px); right: clamp(28px,3vw,42px); color: var(--sage); opacity: .5; transition: .4s; }
.area:hover .pin { opacity: 1; color: var(--brass); transform: translateY(-3px); }

/* ============================================================
   SERVICES BAND
   ============================================================ */
.services-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.services-figure { position: relative; }
.services-figure img { width: 100%; height: clamp(360px, 44vw, 560px); object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-card); }
.services-figure .frame { position: absolute; inset: 14px; border: 1px solid rgba(244,239,230,0.5); }
.services-figure .badge {
  position: absolute; right: -22px; top: 36px; width: 128px; height: 128px;
  border-radius: 50%; background: var(--forest); color: var(--cream);
  display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-soft);
  font-family: var(--caption); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; line-height:1.4;
}
.services-figure .badge strong { font-family: var(--display); font-size: 1.7rem; display:block; color: var(--brass-lt); }

.svc-list { margin-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.svc {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft);
  transition: padding-left .4s; cursor: default;
}
.svc:hover { padding-left: .8rem; }
.svc .si { font-family: var(--display); font-size: 1rem; color: var(--brass); width: 2.4ch; }
.svc .sname { font-family: var(--display); font-size: 1.35rem; color: var(--forest); }
.svc .stag { font-size: .92rem; color: var(--ink-soft); font-weight: 300; margin-top: .15rem; }
.svc .sprice { font-family: var(--caption); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); text-align: right; max-width: 16ch; }
.svc.is-popular .sname::after { content: "★"; color: var(--brass); font-size: .8em; margin-left: .5em; vertical-align: super; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.testimonial::before {
  content: "“"; position: absolute; top: -0.18em; left: clamp(10px,3vw,40px);
  font-family: var(--display); font-size: 22rem; color: rgba(196,165,114,0.14); line-height: 1; pointer-events: none;
}
.testimonial .inner { position: relative; max-width: 60ch; }
.testimonial .eyebrow { color: var(--brass-lt); }
.testimonial .eyebrow::before, .testimonial .eyebrow::after { background: var(--brass-lt); }
.testimonial blockquote {
  font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.9rem); font-style: italic;
  line-height: 1.28; margin: 1.6rem 0 2rem; color: var(--cream);
}
.testimonial .who { display: flex; align-items: center; gap: 1rem; }
.testimonial .who .av { width: 52px; height: 52px; border-radius: 50%; background: var(--brass); display: grid; place-content: center; font-family: var(--display); color: var(--forest); font-size: 1.3rem; }
.testimonial .who .nm { font-family: var(--caption); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.testimonial .who .rl { font-size: .9rem; color: rgba(244,239,230,0.7); }
.stars { color: var(--brass-lt); letter-spacing: .2em; margin-bottom: .3rem; }

/* ============================================================
   INSIGHTS TEASER
   ============================================================ */
.insights-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3vw, 44px); }
.insight-feature { display: flex; flex-direction: column; }
.insight-list { display: flex; flex-direction: column; gap: 0; }
.insight-row {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft); transition: padding-left .4s;
}
.insight-row:first-child { border-top: 1px solid var(--line-soft); }
.insight-row:hover { padding-left: .6rem; }
.insight-row .date { font-family: var(--caption); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); white-space: nowrap; padding-top: .2rem; }
.insight-row h4 { font-family: var(--display); font-size: 1.25rem; color: var(--forest); }
.insight-row .meta { font-size: .85rem; color: var(--ink-soft); margin-top: .3rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
  position: relative; z-index: 2; text-align: center;
  background:
    linear-gradient(rgba(47,58,48,0.78), rgba(47,58,48,0.82)),
    var(--cta-img, none) center/cover;
  color: var(--cream); border-radius: 3px; overflow: hidden;
  margin: 0 var(--gutter);
}
.cta .inner { padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 60px); }
.cta h2 { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--cream); margin: 1rem auto 1.4rem; max-width: 18ch; }
.cta h2 em { font-style: italic; color: var(--brass-lt); }
.cta .eyebrow { color: var(--brass-lt); }
.cta .eyebrow::before, .cta .eyebrow::after { background: var(--brass-lt); }
.cta .btn-primary { background: var(--brass); color: var(--forest); }
.cta .btn-primary:hover { background: var(--cream); }
.cta .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .actions .btn-ghost { border-color: var(--brass-lt); color: var(--brass-lt); }
.cta .actions .btn-ghost:hover { background: var(--brass-lt); color: var(--forest); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line-soft); position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 3vw, 50px); padding: clamp(54px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }
.footer-brand .mark { font-family: var(--display); font-size: 1.9rem; color: var(--forest); }
.footer-brand .mark em { font-style: italic; color: var(--brass-deep); }
.footer-brand p { color: var(--ink-soft); font-weight: 300; max-width: 34ch; margin-top: 1rem; }
.footer-col h5 { font-family: var(--caption); letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep); font-size: .85rem; margin-bottom: 1.2rem; }
.footer-col a, .footer-col p { display: block; color: var(--ink-soft); margin-bottom: .65rem; font-size: .98rem; transition: color .3s; }
.footer-col a:hover { color: var(--brass-deep); }
.nap { font-style: normal; }
.nap .ln { display: flex; gap: .6rem; align-items: baseline; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 1.6rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .85rem; color: var(--ink-soft); }
.footer-bottom .demo { font-family: var(--caption); letter-spacing: .1em; color: var(--sage-deep); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(30px, 4vw, 56px); position: relative; z-index: 2; }
.page-hero .crumbs { font-family: var(--caption); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); font-size: .85rem; margin-bottom: 1.2rem; }
.page-hero .crumbs a:hover { color: var(--brass-deep); }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--forest); letter-spacing: -0.02em; }
.page-hero h1 em { font-style: italic; color: var(--brass-deep); }
.page-hero .lede { margin-top: 1.4rem; }

/* ============================================================
   LISTINGS PAGE
   ============================================================ */
.filter-bar { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; padding-bottom: clamp(28px,4vw,44px); }
.filter-bar .flbl { font-family: var(--caption); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); font-size: .82rem; margin-right: .5rem; }
.filter-btn {
  font-family: var(--caption); font-size: .98rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: .6em 1.3em; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft);
  transition: .35s;
}
.filter-btn:hover { border-color: var(--brass); color: var(--brass-deep); }
.filter-btn.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.count-note { margin-left: auto; font-family: var(--caption); letter-spacing: .1em; color: var(--ink-soft); font-size: .9rem; }
.listings-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 36px); }
.card.is-hidden { display: none; }
.empty-note { display: none; text-align: center; padding: 3rem; font-family: var(--display); font-style: italic; color: var(--ink-soft); font-size: 1.4rem; grid-column: 1 / -1; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.form-card h2 { font-family: var(--display); font-size: 1.9rem; color: var(--forest); margin-bottom: .4rem; }
.form-card .sub { color: var(--ink-soft); font-weight: 300; margin-bottom: 2rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--caption); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--sage-deep); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 2px;
  padding: .85em 1em; font-family: var(--serif); color: var(--ink); transition: border .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169,133,78,0.14); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: .6rem; }
.form-note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; font-style: italic; }

.contact-aside { display: flex; flex-direction: column; gap: 1.6rem; }
.info-block { background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: 3px; padding: clamp(22px, 3vw, 34px); border-left: 2px solid var(--brass); }
.info-block h3 { font-family: var(--display); font-size: 1.3rem; color: var(--forest); margin-bottom: 1rem; }
.info-block .ln { display: flex; gap: .7rem; margin-bottom: .6rem; color: var(--ink-soft); }
.info-block .ln .k { font-family: var(--caption); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--sage-deep); min-width: 7ch; }
.hours-list { display: flex; flex-direction: column; gap: .5rem; }
.hours-list .hr { display: flex; justify-content: space-between; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours-list .hr:last-child { border-bottom: 0; }
.hours-list .hr .d { color: var(--ink); }
.hours-list .hr .t { font-family: var(--caption); letter-spacing: .06em; color: var(--brass-deep); }
.map-ph {
  position: relative; height: clamp(220px, 30vw, 320px); border-radius: 3px; overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(95,107,88,0.10) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(95,107,88,0.10) 38px 39px),
    linear-gradient(135deg, var(--fog), var(--cream-2));
  display: grid; place-content: center; text-align: center;
}
.map-ph .pinmark { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--sold); transform: rotate(-45deg); margin: 0 auto 1rem; box-shadow: 0 8px 16px -6px rgba(0,0,0,.4); }
.map-ph .lbl { font-family: var(--caption); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); font-size: .85rem; }
.map-ph .addr { font-family: var(--display); color: var(--forest); margin-top: .3rem; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-soft); margin-bottom: clamp(48px, 6vw, 80px);
}
.blog-feature .media { position: relative; min-height: 340px; overflow: hidden; }
.blog-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature .body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.blog-feature .tag { display: inline-block; font-family: var(--caption); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: var(--paper); background: var(--brass-deep); padding: .4em 1em; border-radius: 100px; align-self: flex-start; margin-bottom: 1.2rem; }
.blog-feature h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.7rem); color: var(--forest); letter-spacing: -0.01em; }
.blog-feature p { color: var(--ink-soft); font-weight: 300; margin: 1.1rem 0 1.6rem; font-size: 1.05rem; }
.blog-feature .meta { font-family: var(--caption); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); font-size: .85rem; margin-bottom: 1.4rem; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.post .media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.post:hover .media img { transform: scale(1.06); }
.post .tag { position: absolute; top: 12px; left: 12px; font-family: var(--caption); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: var(--forest); background: rgba(244,239,230,0.92); padding: .35em .9em; border-radius: 100px; }
.post .body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post .meta { font-family: var(--caption); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); font-size: .8rem; margin-bottom: .7rem; }
.post h3 { font-family: var(--display); font-size: 1.35rem; color: var(--forest); }
.post p { color: var(--ink-soft); font-weight: 300; margin: .7rem 0 1.2rem; font-size: .95rem; flex: 1; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* page-load hero stagger */
.hero .ld { opacity: 0; transform: translateY(20px); animation: rise .95s cubic-bezier(.2,.8,.2,1) forwards; }
.hero .ld[style] {}
.hero-copy .ld:nth-child(1){ animation-delay:.05s }
@keyframes rise { to { opacity:1; transform:none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .listing-grid, .listings-full, .posts-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 1.4rem var(--gutter); gap: 1.2rem; border-bottom: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-tag { left: 12px; }
  .services-band, .insights-grid, .contact-grid, .blog-feature { grid-template-columns: 1fr; }
  .services-figure .badge { right: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .blog-feature .media { min-height: 260px; }
}
@media (max-width: 560px) {
  .listing-grid, .listings-full, .posts-grid, .areas-grid, .stats-grid, .field-row { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stat:first-child { border-top: 0; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .count-note { margin-left: 0; width: 100%; }
  .svc { grid-template-columns: auto 1fr; }
  .svc .sprice { display: none; }
  .hero-tag { position: static; margin-top: -30px; margin-left: 12px; max-width: none; }
}
