/*!
Theme Name:     MORE TEAM Editorial
Theme URI:      https://michaelouzas.com
Description:    Editorial Light child theme for the Michael Ouzas Real Estate Team (MORE Team). Built from scratch — paper canvas, ink type, generous whitespace, photography-led, restraint over ornament.
Author:         Michael Ouzas Real Estate Team (designed by Claude)
Author URI:     https://michaelouzas.com
Template:       moreteam-theme
Version:        1.6.0
Requires at least: 6.0
Requires PHP:   8.0
License:        Proprietary
Text Domain:    moreteam-editorial
*/

/* ============================================================================
   1. RESET — keep light, modern reset
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; }
li { list-style: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ============================================================================
   2. TOKENS
   ============================================================================ */

:root {
  /* Color */
  --paper:    #F8F5EE;
  --paper-2:  #F4F0E6;
  --ink:      #0E0E0E;
  --ink-soft: #2A2A2A;
  --mid:      #6E6A63;
  --mid-2:    #8C887F;
  --rule:     #E5E1D8;
  --stone:    #1A1A1A;
  --bone:     #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Scale */
  --fs-display:   clamp(56px, 9vw, 128px);
  --fs-h1:        clamp(40px, 6vw, 80px);
  --fs-h2:        clamp(32px, 4.5vw, 56px);
  --fs-h3:        clamp(22px, 2vw, 28px);
  --fs-body:      clamp(16px, 1.05vw, 18px);
  --fs-small:     14px;
  --fs-label:     12px;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  120px;
  --space-2xl: 160px;

  /* Layout */
  --container:  1320px;
  --measure:    680px;
  --gutter:     32px;

  /* Motion */
  --ease:      cubic-bezier(.2, .65, .25, 1);
  --duration:  220ms;
}

@media (max-width: 768px) {
  :root {
    --space-xl:  60px;
    --space-2xl: 80px;
    --gutter:    20px;
  }
}

/* ============================================================================
   3. BASE
   ============================================================================ */

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }

/* ============================================================================
   4. TYPOGRAPHY
   ============================================================================ */

h1, .h1, .display, h2, .h2, h3, .h3, h4, .h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 144;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 144;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 96;
}

h3, .h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

p, li, dd { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }
em, i { font-style: italic; }

/* Italic accent — used VERY sparingly. Keep in ink. */
em { color: inherit; }

.eyebrow, .label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}



.dek {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 720px;
}

.caption {
  font-size: var(--fs-small);
  color: var(--mid);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link, .prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color var(--duration) var(--ease);
}

a.link:hover, .prose a:hover {
  text-decoration-color: var(--ink);
}

/* Long-form prose — neighbourhood essays, journal entries */
.prose {
  max-width: var(--measure);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.prose h2 { margin: 2em 0 0.6em; font-size: clamp(28px, 2.5vw, 40px); }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.4em; }
.prose ul li, .prose ol li { margin-bottom: 0.5em; padding-left: 1em; position: relative; max-width: none; list-style: none; }
.prose ul li::before { content: "•"; position: absolute; left: 0; color: var(--mid); }
.prose ol { counter-reset: o; }
.prose ol li::before { content: counter(o, decimal-leading-zero); counter-increment: o; position: absolute; left: 0; color: var(--mid); font-variant-numeric: tabular-nums; }
.prose blockquote {
  margin: 2em 0;
  padding: 1.5em 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}

/* ============================================================================
   5. LAYOUT
   ============================================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow { max-width: 920px; }
.container--full   { max-width: none; padding: 0; }

section { padding: var(--space-2xl) 0; }
section.section--sm { padding: var(--space-xl) 0; }
section.section--tight { padding: var(--space-lg) 0; }

.measure { max-width: var(--measure); }

.grid {
  display: grid;
  gap: var(--gutter);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: 1fr; }
}

/* Asymmetric editorial split */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-lg);
  align-items: start;
}
.split--reverse { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: var(--space-md); }
}

.stack > * + * { margin-top: var(--space-md); }
.stack-sm > * + * { margin-top: var(--space-sm); }
.stack-lg > * + * { margin-top: var(--space-lg); }

/* ============================================================================
   6. SITE HEADER + NAV
   ============================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: border-color var(--duration) var(--ease), padding var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 18px 0;
}

.site-header__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  color: var(--ink);
}
.site-header__logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-current::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header__phone {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%;
  height: 1px; background: var(--ink);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header__phone { display: none; }
}

/* Mobile nav overlay */
.site-nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  padding: 80px 32px 32px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.site-nav-mobile.is-open { display: flex; }
.site-nav-mobile a {
  font-family: var(--font-display);
  font-size: 32px;
  padding: 12px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

/* ============================================================================
   7. BUTTONS
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  text-decoration: none;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--paper); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--text {
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 8px 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn--text:hover {
  background: transparent;
  color: var(--mid);
  border-bottom-color: var(--mid);
}

.btn--lg {
  padding: 18px 28px;
  font-size: 14px;
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--duration) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================================
   8. FORMS
   ============================================================================ */

input[type="text"], input[type="email"], input[type="tel"],
input[type="search"], input[type="number"], textarea, select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  width: 100%;
  outline: 0;
  transition: border-color var(--duration) var(--ease);
}
input:focus, textarea:focus, select:focus { border-bottom-color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--mid); opacity: 1; }

label, .form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.field { margin-bottom: 24px; }
.field--inline { display: flex; gap: 12px; align-items: end; }

/* ============================================================================
   9. HERO
   ============================================================================ */

.hero {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0 var(--space-xl);
  background: var(--paper);
}

.hero__credentials {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 48px;
}
.hero__credentials span + span::before {
  content: "·";
  margin: 0 12px;
  color: var(--rule);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 144;
  color: var(--ink);
  max-width: 14ch;
  margin-bottom: 48px;
}
.hero__headline em {
  font-style: italic;
  color: var(--ink);
}

.hero__dek {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 48px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 80px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.hero__meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 40px);
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.hero__meta-item .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}
@media (max-width: 768px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================================================
   10. NEIGHBOURHOODS
   ============================================================================ */

.section-eyebrow {
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 96;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 18ch;
}

.section-dek {
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 64px;
}

.neighbourhoods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter) calc(var(--gutter) * 1.5);
}
@media (max-width: 1024px) { .neighbourhoods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .neighbourhoods { grid-template-columns: 1fr; } }

.nbhd {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.nbhd .num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--mid);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  display: block;
}
.nbhd .name {
  font-family: var(--font-display);
  font-size: clamp(28px, 2vw, 36px);
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 12px;
  color: var(--ink);
}
.nbhd .meta {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  margin-bottom: 24px;
}
.nbhd .arrow {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: transform var(--duration) var(--ease);
  display: inline-block;
}
.nbhd:hover .arrow { transform: translateX(4px); }
.nbhd:hover .name { color: var(--mid); }

/* ============================================================================
   11. PILLAR / WHY / 3-COL TEXT
   ============================================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: var(--space-md); } }

.pillar .label {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}
.pillar .h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}
.pillar p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* ============================================================================
   12. STAT BAND
   ============================================================================ */

.stat-band {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-xl) 0;
}
.stat-band .grid--3 { gap: 0; }
.stat-band .stat {
  padding: var(--space-md) var(--gutter);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.stat-band .stat:first-child { border-left: 0; padding-left: 0; }
.stat-band .num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-bottom: 12px;
  display: block;
}
.stat-band .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-2);
}
.stat-band .stat p {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(248, 245, 238, 0.7);
}

/* ============================================================================
   13. FEATURED PROPERTIES (PLACEHOLDER UNTIL IDX)
   ============================================================================ */

.listings-stub {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-lg) 0;
  text-align: center;
}
.listings-stub .label { display: block; margin-bottom: 16px; }
.listings-stub h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 16px;
}
.listings-stub p { margin-left: auto; margin-right: auto; color: var(--mid); }

/* ============================================================================
   14. ABOUT / TEAM PREVIEW
   ============================================================================ */

.about-preview {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 900px) {
  .about-preview { grid-template-columns: 1fr; }
}
.about-preview__image {
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-preview__body h2 { margin-bottom: 24px; }
.about-preview__body p { margin-bottom: 20px; max-width: 540px; }

/* ============================================================================
   15. TESTIMONIAL
   ============================================================================ */

.testimonial {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-lg) 0;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  border: 0;
  padding: 0;
}
.testimonial .attr {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ============================================================================
   16. FAQ
   ============================================================================ */

.faq {
  max-width: 920px;
  margin: 0 auto;
}
.faq summary, .faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.5vw, 26px);
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  color: var(--ink);
  transition: color var(--duration) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq__q::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 300;
  margin-left: 24px;
  transition: transform var(--duration) var(--ease);
}
.faq details[open] summary::after,
.faq__q.is-open::after { transform: rotate(45deg); }
.faq summary:hover, .faq__q:hover { color: var(--mid); }
.faq__a, .faq details > div {
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}
.faq details:last-child, .faq__item:last-child { border-bottom: 1px solid var(--rule); }

/* ============================================================================
   17. CTA BAND
   ============================================================================ */

.cta-band {
  text-align: center;
  padding: var(--space-2xl) 0;
}
.cta-band .label { display: inline-block; margin-bottom: 24px; }
.cta-band h2 { margin-bottom: 24px; }
.cta-band p { max-width: 540px; margin: 0 auto 40px; color: var(--ink-soft); font-size: 17px; }

/* ============================================================================
   18. FOOTER
   ============================================================================ */

.site-footer {
  background: var(--stone);
  color: var(--paper);
  padding: var(--space-xl) 0 var(--space-md);
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--mid-2); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

.site-footer__brand .name {
  font-family: var(--font-display);
  font-size: 32px;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  margin-bottom: 16px;
}
.site-footer__brand p {
  font-size: 14px;
  color: var(--mid-2);
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-2);
  margin-bottom: 18px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer li { font-size: 14px; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--mid-2);
}
.site-footer__legal { max-width: 760px; }

/* ============================================================================
   19. UTILITIES
   ============================================================================ */

.text-center { text-align: center; }
.text-mid    { color: var(--mid); }
.text-soft   { color: var(--ink-soft); }
.text-display { font-family: var(--font-display); font-variation-settings: 'SOFT' 0, 'WONK' 0; }

.hidden { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.divider { height: 1px; background: var(--rule); margin: var(--space-lg) 0; }

/* Reveal animation (subtle) */
@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal 600ms var(--ease) both;
}

/* ============================================================================
   20. KILL UNWANTED PARENT-THEME ELEMENTS
   ============================================================================ */

img.wp-smiley, img.emoji { display: none !important; }
.hero__overlay, .hero__gradient, .hero__shade { display: none !important; }

/* ============================================================================
   v1.2 polish — header lockup, precision fixes
   ============================================================================ */
.site-header__logo { white-space: nowrap; }
.site-header__logo small { white-space: nowrap; display: block; }
.site-header__phone { white-space: nowrap; }
.section-title { font-size: clamp(32px, 3.6vw, 52px); }
.hero__headline { letter-spacing: -0.01em; }
@media (max-width: 1280px) { .site-header__phone { display: none; } }

/* ============================================================================
   v1.3 — parent-content harmonization: style the class vocabulary used by
   interior page content (built for the parent theme) to editorial tokens.
   ============================================================================ */
.display-serif, .display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 144;
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.display-serif { font-size: clamp(38px, 4.6vw, 68px); }
.display-md    { font-size: clamp(30px, 3.6vw, 48px); }
.hero--short { padding: 40px 0 64px; }
section.section--soft, .section--soft { background: var(--paper-2); }
section.section--dark, .section--dark { background: var(--stone); color: var(--paper); }
.section--dark .label, .section--dark .eyebrow { color: var(--mid-2); }
.section--dark .display-serif, .section--dark .display-md { color: var(--paper); }
.btn--gold, .btn--primary { background: var(--ink); color: var(--paper); }
.btn--gold:hover, .btn--primary:hover { background: var(--ink-soft); }
.btn--white { background: var(--paper); color: var(--ink); }
.tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); border: 1px solid var(--rule); padding: 6px 12px; }
.tag--gold { color: var(--ink); border-color: var(--ink); background: transparent; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.grid-sidebar { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-sidebar { grid-template-columns: 1fr; } }
.form-input { width: 100%; padding: 14px; border: 1px solid var(--rule); background: var(--bone); font: inherit; }
.nbhd-stat__num { font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.nbhd-stat__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); }
.faq-item { border-top: 1px solid var(--rule); padding: 20px 0; }
.faq-question { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.faq-answer { color: var(--ink-soft); }
.team-agents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gutter); }
.post-header { padding: 24px 0 40px; }
.r-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.post-meta, .post-meta__date { color: var(--mid); font-size: 14px; }
main [style*="border-radius"] { border-radius: 0 !important; }
main [style*="box-shadow"] { box-shadow: none !important; }
.reveal { opacity: 1 !important; transform: none !important; }
.container--narrow { margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ============================================================================
   v1.4 — audit fixes: legacy inline-var shims, dark sidebar CTAs, nav breakpoint
   ============================================================================ */
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --text-xs: 12px; --text-sm: 14px; --text-base: 16px; --text-lg: 18px;
  --text-xl: 22px; --text-2xl: 28px; --text-3xl: 36px; --text-4xl: 48px;
}
main aside > div:not([style*="background"]) { background: var(--stone); color: var(--paper); padding: 40px 32px; }
main aside > div:not([style*="background"]) .label { color: var(--mid-2); }
@media (max-width: 1280px) {
  .site-nav { display: none !important; }
  .menu-toggle { display: flex !important; }
}
main > section:first-of-type { padding-top: 56px; }

/* v1.4.1 — define the FULL legacy variable vocabulary used by page content */
:root {
  --color-ink: #1A1A1A; --color-bg: #F8F5EE; --color-bg-soft: #F4F0E6;
  --color-body: #2A2A2A; --color-muted: #6E6A63; --color-rule: #E5E1D8;
  --color-white: #FFFFFF; --color-gold: #8C887F;
  --border: 1px solid #E5E1D8; --radius-sm: 0; --radius-md: 0; --radius-lg: 0;
  --transition: 0.2s ease; --transition-slow: 0.4s ease; --nav-height: 89px;
  --space-9: 96px; --space-10: 120px; --space-11: 160px; --text-5xl: 64px;
}
.section--dark [style*="color:white"], .section--dark [style*="color: white"],
.section--dark [style*="color:#fff"], .section--dark [style*="color: #fff"] { color: var(--paper) !important; }

/* v1.4.4 — team cards: uniform editorial treatment, aligned buttons */
.team-agents-grid > div { background: var(--bone) !important; border: 1px solid var(--rule) !important; }
.team-agents-grid [style*="color:white"], .team-agents-grid [style*="color: white"] { color: var(--ink) !important; }
.team-agents-grid [style*="rgba(255"] { color: var(--mid) !important; }
.team-agents-grid .btn--ghost { color: var(--ink) !important; border: 1px solid var(--ink) !important; background: transparent !important; }
.team-agents-grid .btn { padding: 12px 20px; }
.team-agents-grid > div > div > div:has(> .btn) { margin-top: auto; }
.team-agents-grid > div > div > div:has(> .btn) ~ div:has(> .btn) { margin-top: 0; }

/* v1.4.5 — retire gold accents contextually; sharp corners everywhere */
main *:not(img):not(svg):not(iframe) { border-radius: 0 !important; }
main [style*="--color-gold"] { color: var(--ink) !important; }
.section--dark [style*="--color-gold"],
main [style*="background:var(--color-ink)"] [style*="--color-gold"],
main aside > div:not([style*="background"]) [style*="--color-gold"] { color: var(--paper) !important; }
main [style*="background:var(--color-gold)"] { background: var(--ink) !important; color: var(--paper) !important; }

/* v1.4.6 — gold stragglers: spaced var syntax + class-based mt- accents */
main [style*="background: var(--color-gold)"] { background: var(--ink) !important; color: var(--paper) !important; }
main .mt-eyebrow { color: var(--mid-2) !important; }
main .mt-about em, main .mt-hero em, main [class*="mt-"] h2 em { color: inherit !important; }
main .mt-icon { background: var(--paper-2) !important; color: var(--ink) !important; border-color: var(--rule) !important; }
main .mt-feature-num { border-color: var(--mid-2) !important; color: var(--mid-2) !important; }
.gcal-tab.is-active { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }


/* ══════════════════════════════════════════════════════════════
   v1.5.0 — Neighbourhood guide template (.nbhd-*) restyle
   Parent template classes lost their CSS when the parent stylesheet
   was dequeued; this restores an Editorial Light hero + stats band
   for all ~54 neighbourhood pages. Plus: team-card label contrast fix.
   ══════════════════════════════════════════════════════════════ */
.nbhd-hero { position: relative; min-height: 44vh; background: var(--ink, #0e0e0e); display: flex; align-items: flex-end; overflow: hidden; }
.nbhd-hero > img.nbhd-hero__img,
.nbhd-hero > div:not(.nbhd-hero__content):not(.nbhd-hero__overlay) { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.nbhd-hero > img.nbhd-hero__img { opacity: .6; }
.nbhd-hero__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(14,14,14,.18) 0%, rgba(14,14,14,.72) 100%); }
.nbhd-hero__content { position: relative; z-index: 2; width: 100%; max-width: 1160px; margin: 0 auto; padding: 120px 40px 52px; }
.nbhd-hero__content .label,
.nbhd-hero__content .eyebrow,
.nbhd-hero__content > span { color: rgba(248, 245, 238, .72) !important; }
.nbhd-hero__title { font-family: var(--font-display); font-size: clamp(52px, 7vw, 100px); font-weight: 400; line-height: .95; letter-spacing: -0.02em; color: var(--paper, #F8F5EE); margin: 12px 0; }
.nbhd-hero__subtitle { font-size: 17px; color: rgba(248, 245, 238, .85); max-width: 60ch; margin: 0; }
.nbhd-stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1160px; margin: 0 auto; padding: 0 40px; border-bottom: 1px solid var(--rule, #ddd6c9); }
.nbhd-stat { padding: 30px 22px 26px; border-left: 1px solid var(--rule, #ddd6c9); }
.nbhd-stat:first-child { border-left: 0; padding-left: 0; }
.nbhd-stat__num { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; color: var(--ink, #0e0e0e); line-height: 1.05; }
.nbhd-stat__label { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6E6A63; margin-top: 8px; }
@media (max-width: 800px) {
    .nbhd-hero__content { padding: 96px 20px 36px; }
    .nbhd-stats-bar { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
    .nbhd-stat { padding: 20px 16px 18px; }
    .nbhd-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Team roster: inline gold labels must read as ink on the white cards
   (corrects the dark-card-era paper override on Michael's card) */
.team-agents-grid div[style*="--color-gold"],
.team-agents-grid span[style*="--color-gold"] { color: var(--ink, #0e0e0e) !important; }


/* v1.5.2 — dark-sidebar treatment scoped to cards WITHOUT their own inline background;
   light cards (inline bg) keep their designed ink/stone text. */

/* mo-center-measure-fix: paragraphs are capped at var(--measure); inside centered blocks the capped box must self-center */
[style*="text-align:center"] > p, [style*="text-align: center"] > p { margin-left: auto; margin-right: auto; }
.sc-subtitle, .tt-sub { margin-left: auto; margin-right: auto; }

/* Journal video embeds (added 2026-09-02): responsive 16:9 YouTube figure */
.journal-video { margin: 0 0 2em; }
.journal-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* ==== Round one menu (2026-10-28): Menu A dropdowns, phone sections, header fits a phone ==== */
.site-nav{display:flex;gap:2px;align-items:center}
.site-nav>a,.site-nav .dd>a{display:inline-flex;align-items:center;gap:5px;padding:8px 10px}
.site-nav .dd{position:relative}
.site-nav .dd>a .car{font-size:9px;opacity:.55}
.site-nav .dd .menu{position:absolute;top:100%;left:0;min-width:250px;background:#fff;border:1px solid #E6E1DF;border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.08);padding:8px;display:none;z-index:60}
.site-nav .dd:hover .menu,.site-nav .dd:focus-within .menu{display:block}
.site-nav .dd .menu a{display:block;padding:9px 12px;border-radius:6px;font-size:15px;white-space:nowrap}
.site-nav .dd .menu a::after{display:none !important}
.site-nav .dd .menu a:hover{background:#F4F1EC}
.site-nav .dd .menu a.all{border-top:1px solid #E6E1DF;margin-top:4px;font-weight:700}
@media (min-width:1000px) and (max-width:1280px){.site-header .site-nav{display:flex !important}.site-header .menu-toggle{display:none !important}.site-nav>a,.site-nav .dd>a{padding:8px 7px;font-size:15px}}
.site-nav-mobile{overflow-y:auto;gap:0 !important;padding:84px 24px 32px !important;background:#fff !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;box-sizing:border-box}
.site-nav-mobile .grp{border-bottom:1px solid #E6E1DF}
.site-nav-mobile .grp>button{all:unset;box-sizing:border-box;width:100%;display:flex;justify-content:space-between;align-items:center;font-size:26px;padding:14px 0;color:#1a1a1a;cursor:pointer}
.site-nav-mobile .grp>button .pm{font-size:22px;transition:transform .2s}
.site-nav-mobile .grp.open>button .pm{transform:rotate(45deg)}
.site-nav-mobile .grp .sub{display:none;padding:0 0 12px 2px}
.site-nav-mobile .grp.open .sub{display:block}
.site-nav-mobile .grp .sub a{display:block;font-family:inherit !important;font-size:17px !important;padding:9px 0 !important;border:0 !important}
.site-nav-mobile>a{font-size:26px !important;padding:14px 0 !important}
.site-nav-mobile .grp>button,.site-nav-mobile>a{font-family:inherit !important;font-weight:400 !important}
.site-nav-mobile .mclose{all:unset;position:absolute;top:22px;right:22px;font-size:34px;line-height:1;cursor:pointer;padding:6px 10px}
@media (max-width:600px){.site-header .container{padding-left:16px;padding-right:16px}.site-header__inner{gap:10px}.site-header__logo{min-width:0;font-size:15px}
.site-header__logo small{font-size:9.5px;white-space:normal;line-height:1.25}.site-header__actions{gap:8px;flex:none}.site-header__actions .btn{padding:8px 12px !important;font-size:13px !important;white-space:nowrap}}
/* phones: two-column layouts (neighbourhood guides) let their columns shrink; the guide sidebar stops being sticky */
@media (max-width:900px){.grid-sidebar{grid-template-columns:minmax(0,1fr) !important}.grid-sidebar>*,.grid-2>*{min-width:0}.site-main [style*="grid-template-columns"]>*{min-width:0}.site-main aside[style*="sticky"]{position:static !important}.site-main img{max-width:100%;height:auto}}
/* one page-title style for inside pages (stats, maps, guides, tool hubs); the home page hero keeps its own */
html body .lp-wrap h1,html body .nbhd-hero__title,html body .site-main .label+h1{font-size:clamp(34px,4.4vw,52px) !important;font-weight:700 !important;letter-spacing:-.02em !important;line-height:1.05 !important}
html body .lp-wrap .eyebrow,html body .site-main .label{letter-spacing:.12em}
/* neighbourhood guides (2026-10-28, look C): light numbers band with three cards, light valuation box and closing band; the footer is the only black block */
html body .stat-band.stat-band--cards{background:#FAF8F5;color:#1a1a1a;border-top:1px solid #EEE9E4;border-bottom:1px solid #EEE9E4}
html body .stat-band--cards h2,html body .stat-band--cards .num{color:#1a1a1a !important}
html body .stat-band--cards p,html body .stat-band--cards .label,html body .stat-band--cards .eyebrow{color:#6C6668 !important}
html body .stat-band--cards a{color:#1a1a1a !important;text-decoration:underline}
html body .stat-band--cards .grid--3{gap:10px !important}
html body .stat-band--cards .stat,html body .stat-band--cards .stat:first-child{background:#fff;border:1px solid #E6E1DF !important;border-radius:var(--radius,12px) !important;padding:16px 18px !important}
@media (max-width:700px){html body .stat-band--cards .grid--3{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important}
html body .stat-band--cards .stat,html body .stat-band--cards .stat:first-child{padding:12px 10px !important}html body .stat-band--cards .num{font-size:22px !important;margin-bottom:6px}
html body .stat-band--cards .label{display:block;font-size:9.5px !important;letter-spacing:.05em !important;line-height:1.35 !important}}
/* the theme paints every sidebar box without an inline background dark (main aside > div), so this one needs the weight */
html body main aside > div.mo-val{background:#fff !important;color:#1a1a1a !important;border:1px solid #E6E1DF;border-radius:var(--radius,12px) !important;padding:var(--space-7)}
html body main aside > div.mo-val .label{color:#6C6668 !important}
.mo-cta-light{background:#FAF8F5;border-top:1px solid #EEE9E4}
/* market pill on the guides (guide_market.py): the only colour in the band, meaning only (red seller's, black balanced, green buyer's) */
html body .stat-band--cards a.mo-mkt{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:0 0 var(--space-5,20px);padding:7px 14px 7px 12px;background:#fff;border:1px solid #E6E1DF;border-radius:999px !important;font-size:14px;line-height:1.35;color:#6C6668 !important;text-decoration:none !important}
html body .stat-band--cards a.mo-mkt i{width:10px;height:10px;border-radius:50% !important;flex:none;background:#1a1a1a}
@media (max-width:700px){html body .stat-band--cards a.mo-mkt{border-radius:12px !important;font-size:13.5px}}
html body .stat-band--cards a.mo-mkt b{font-weight:700;color:#1a1a1a !important}
html body .stat-band--cards a.mo-mkt:hover{border-color:#1a1a1a}
html body .stat-band--cards a.mo-mkt--in{border-color:rgba(179,38,30,.35)}html body .stat-band--cards a.mo-mkt--in i{background:#B3261E}html body .stat-band--cards a.mo-mkt--in b{color:#B3261E !important}
html body .stat-band--cards a.mo-mkt--stretch{border-color:rgba(30,111,85,.35)}html body .stat-band--cards a.mo-mkt--stretch i{background:#1E6F55}html body .stat-band--cards a.mo-mkt--stretch b{color:#1E6F55 !important}
/* home page numbers band: the same light cards; on a phone each card is one row (number left, words right) */
@media (max-width:700px){html body .stat-band--home .grid--3{grid-template-columns:minmax(0,1fr) !important}
html body .stat-band--home .stat,html body .stat-band--home .stat:first-child{display:grid;grid-template-columns:minmax(108px,max-content) minmax(0,1fr);column-gap:12px;align-items:center;padding:12px 14px !important}
html body .stat-band--home .num{grid-row:1/3;font-size:30px !important;margin:0 !important}
html body .stat-band--home .label{font-size:10.5px !important}html body .stat-band--home .stat p{margin:3px 0 0;font-size:12.5px;line-height:1.35}}
/* ==== end round one menu ==== */
