/* =========================================================
   North Park Realty Partners — design tokens
   Palette sampled from approved logo (np-mark) + approved comps
   ========================================================= */
:root {
  --green-950: #0e2a22;
  --green-900: #133128;
  --green-800: #1a3c31;
  --gold-600: #ab8c57;
  --gold-500: #bfa06b;
  --gold-300: #d9c79f;
  --ivory-50: #f7f4ec;
  --ivory-100: #ffffff;
  --ink-800: #1c231d;
  --ink-600: #3f463f;
  --ink-400: #6b7168;
  --line: rgba(14, 42, 34, 0.14);
  --line-on-dark: rgba(247, 244, 236, 0.18);

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-600);
  background: var(--ivory-50);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-950);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 14px;
}

.rule-gold {
  width: 48px;
  height: 2px;
  background: var(--gold-600);
  border: 0;
  margin: 18px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--green-950);
  color: var(--ivory-50);
}
.btn-primary:hover { background: var(--green-800); }
.btn-outline {
  background: transparent;
  border-color: var(--line-on-dark);
  color: var(--ivory-50);
}
.btn-outline:hover { background: rgba(247, 244, 236, 0.08); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--green-950);
}
.btn-outline-dark:hover { background: rgba(14, 42, 34, 0.05); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory-50);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img { height: 40px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 15px;
  color: var(--ink-600);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover { color: var(--green-950); }
.main-nav a.active {
  color: var(--green-950);
  border-bottom-color: var(--gold-600);
  font-weight: 600;
}
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-950);
  margin: 5px 0;
}

@media (max-width: 880px) {
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--ivory-50); flex-direction: column; align-items: flex-start; padding: 28px var(--gutter); gap: 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; overflow-y: auto; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 18px; width: 100%; }
  .main-nav a { font-size: 18px; display: block; }
  .header-cta { width: 100%; }
  .header-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: var(--ivory-50);
  background: linear-gradient(120deg, var(--green-950) 0%, var(--green-800) 100%);
  overflow: hidden;
}
.hero.photo {
  background-size: cover;
  background-position: center;
}
.hero.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,26,21,0.96) 0%, rgba(9,26,21,0.93) 46%, rgba(9,26,21,0.72) 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(171,140,87,0.18) 0%, rgba(171,140,87,0) 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(64px, 10vw, 120px);
}
.hero-inner { max-width: 640px; }
.hero .eyebrow { color: var(--gold-300); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  color: var(--ivory-50);
}
.hero p.lede {
  font-size: 18px;
  color: rgba(247, 244, 236, 0.82);
  margin-top: 20px;
  max-width: 52ch;
}
.hero .actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero.hero-compact .container {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.hero.split .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-photo-box {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(247,244,236,0.22);
}
.hero-photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .hero.split .container { grid-template-columns: 1fr; }
  .hero-photo-box { max-width: 360px; margin: 0 auto; }
}

/* subtle one-time entrance on hero content only */
.hero-inner > * { animation: rise 0.7s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Stat / feature strip ---------------- */
.strip {
  background: var(--green-950);
  color: var(--ivory-50);
}
.strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.strip-item { display: flex; flex-direction: column; gap: 12px; }
.strip-item svg { width: 30px; height: 30px; color: var(--gold-500); }
.strip-item h4 { color: var(--ivory-50); font-size: 18px; }
.strip-item p { font-size: 14.5px; color: rgba(247,244,236,0.72); margin: 0; }
@media (max-width: 880px) {
  .strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .strip .container { grid-template-columns: 1fr; }
}

/* ---------------- Two-column split section ---------------- */
.split {
  padding: clamp(64px, 9vw, 110px) 0;
}
.split.alt { background: var(--ivory-100); }
.split .container {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: start;
}
.split-copy {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.split h2 { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 780px) {
  .split .container { grid-template-columns: 1fr; }
  .split-copy { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* ---------------- Section heading (centered) ---------------- */
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: left; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head h2.nowrap {
  white-space: nowrap;
  font-size: clamp(17px, 3.6vw, 36px);
}
@media (max-width: 360px) {
  .section-head h2.nowrap { white-space: normal; }
}

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--green-950);
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-bottom: 0;
}
.section-label .rule-gold { margin-top: 14px; margin-bottom: 0; }

/* ---------------- Focus / value cards ---------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--ivory-50);
  padding: 40px 32px;
}
.value-card svg { width: 26px; height: 26px; color: var(--gold-600); margin-bottom: 18px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 15px; margin: 0; }
@media (max-width: 780px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------------- Image + copy banner ---------------- */
.banner {
  position: relative;
  background: var(--green-950);
  color: var(--ivory-50);
  overflow: hidden;
}
.banner.photo {
  background-size: cover;
  background-position: center;
}
.banner.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,26,21,0.94) 0%, rgba(9,26,21,0.91) 55%, rgba(9,26,21,0.82) 100%);
}
.banner .container {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  max-width: 720px;
}
.banner h2 { color: var(--ivory-50); font-size: clamp(26px, 3.4vw, 40px); }
.banner p { color: rgba(247,244,236,0.8); margin-top: 16px; }
.banner .btn { margin-top: 28px; }
.building-motif {
  position: absolute;
  right: 6%;
  bottom: 0;
  opacity: 0.9;
  width: 220px;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}
@media (max-width: 700px) {
  .building-motif { width: 130px; right: 4%; }
}

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.team-card { }
.team-portrait {
  aspect-ratio: 4/3;
  background: var(--ivory-100);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.team-portrait svg { width: 64px; height: 64px; color: var(--green-950); opacity: 0.55; }
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-role {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 14px;
}
.team-meta { font-size: 14px; margin-bottom: 14px; }
.team-meta div { margin-bottom: 3px; }
.team-meta b { color: var(--ink-800); font-weight: 600; }
.team-card p.bio { font-size: 14.5px; color: var(--ink-600); }
@media (max-width: 880px) {
  .team-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ---------------- Property card ---------------- */
.property-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  background: var(--ivory-100);
}
.property-media {
  background: linear-gradient(135deg, var(--green-900), var(--green-950));
  min-height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.property-media svg { width: 88px; height: 88px; color: var(--gold-500); opacity: 0.85; position: relative; z-index: 1; }
.property-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.property-tag {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-600);
  border: 1px solid var(--gold-500);
  padding: 5px 12px;
  margin-bottom: 16px;
}
.property-body h3 { font-size: 24px; margin-bottom: 8px; }
.property-loc { color: var(--ink-400); font-size: 14.5px; margin-bottom: 16px; }
@media (max-width: 780px) {
  .property-card { grid-template-columns: 1fr; }
  .property-media { min-height: 200px; }
}

/* ---------------- Process steps (Approach page) ---------------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.steps .step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold-600);
  line-height: 1;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; }
@media (max-width: 600px) {
  .step { grid-template-columns: 56px 1fr; }
  .step-num { font-size: 26px; }
}

/* ---------------- Compare table ---------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.compare-col { padding: 36px; }
.compare-col + .compare-col { border-left: 1px solid var(--line); }
.compare-col.highlight { background: var(--green-950); color: var(--ivory-50); }
.compare-col h3 { font-size: 18px; margin-bottom: 18px; }
.compare-col.highlight h3 { color: var(--ivory-50); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.compare-col li { display: flex; gap: 10px; align-items: flex-start; }
.compare-col li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold-600); }
.compare-col.highlight li svg { color: var(--gold-500); }
@media (max-width: 700px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------- Contact ---------------- */
.contact-simple {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.contact-simple h3 { font-size: 22px; margin-bottom: 28px; }
.contact-simple-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-simple-list li { font-size: 17px; }
.contact-simple-list b {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--gold-600);
  font-weight: 600;
}
.contact-simple-list a { color: var(--green-950); font-weight: 600; }
.contact-simple-list a:hover { color: var(--gold-600); }
.contact-simple-list .placeholder { color: var(--ink-400); font-style: italic; font-weight: 400; }
.contact-simple p.note { font-size: 14px; color: var(--ink-400); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--green-950);
  color: rgba(247,244,236,0.85);
}
.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand { display: flex; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 38px; width: auto; }
.footer-tag { font-size: 14px; color: rgba(247,244,236,0.62); max-width: 32ch; }
.footer-col h4 { color: var(--ivory-50); font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(247,244,236,0.78); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(247,244,236,0.5);
}
.footer-bottom .motto { color: var(--gold-300); letter-spacing: 0.04em; }
@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------------- utility ---------------- */
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
