/* ==========================================================================
   Boise's Best Real Estate Team — Prototype design system
   Palette: #796233 gold · #000000 black · #a9a39e warm gray · warm paper
   Typeface: Montserrat (variable)
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0a;
  --ink-soft: #24231f;
  --gold: #796233;
  --gold-light: #a58a56;
  --gold-pale: #c9b78f;
  --stone: #a9a39e;
  --muted: #625d55;
  --paper: #fbf9f5;
  --cream: #f2eee7;
  --sand: #e7e0d4;
  --white: #ffffff;
  --line: rgba(11, 11, 10, 0.14);
  --line-strong: rgba(11, 11, 10, 0.28);
  --line-light: rgba(251, 249, 245, 0.22);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 86px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 60px -30px rgba(11, 11, 10, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video { 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: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.035em;
}
.display em {
  font-style: normal;
  color: var(--gold);
}
.display--light { color: var(--paper); }
.display--light em { color: var(--gold-pale); }

.h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.h2 em { font-style: normal; color: var(--gold); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--gold-pale); }

.h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--light { color: var(--gold-pale); }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
  color: var(--muted);
  font-weight: 400;
}
.lede--light { color: rgba(251, 249, 245, 0.78); }

.small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule--light { background: var(--line-light); }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.container--narrow { width: min(960px, calc(100% - 2 * var(--gutter))); }
.section { padding: clamp(72px, 9vw, 136px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--white { background: var(--white); }

.section-head {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}
.section-head__body { max-width: 820px; }
.section-head__body .lede { margin-top: 22px; max-width: 640px; }
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.section-head__link:hover { color: var(--gold); border-color: var(--gold); }
.section-head__link svg { transition: transform 0.3s var(--ease); }
.section-head__link:hover svg { transform: translateX(4px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
.split--wide-right { grid-template-columns: 0.85fr 1.15fr; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--ghost-light {
  background: transparent;
  border-color: rgba(251, 249, 245, 0.55);
  color: var(--paper);
}
.btn--ghost-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 10px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s var(--ease);
}
.text-link:hover { color: var(--gold); }
.text-link svg { transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link--light { color: var(--paper); }
.text-link--light:hover { color: var(--gold-pale); }

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
a:hover .arrow-circle, .card:hover .arrow-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(11, 11, 10, 0.35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.header__brand { display: flex; align-items: center; gap: 18px; flex: none; }
.header__brand img { height: 42px; width: auto; }
.header__brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.5;
}
.header__nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.header__nav a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.header__nav a:hover { color: var(--gold); }
.header__nav a:hover::after, .header__nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header__nav a[aria-current='page'] { color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold); }
.header__cta { display: inline-flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--paper);
  padding: clamp(28px, 6vw, 56px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a span { color: var(--stone); font-size: 11px; letter-spacing: 0.16em; margin-right: 16px; }
.mobile-nav__meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.mobile-nav__meta a { font-size: 15px; border: 0; padding: 2px 0; font-weight: 500; }

/* ---------- Hero: home ---------- */
.hero-home {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  color: var(--paper);
  overflow: hidden;
  background: #14130f;
}
.hero-home__media { position: absolute; inset: 0; }
.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: heroDrift 18s var(--ease) both;
}
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 6, 0.58) 0%, rgba(8, 8, 6, 0.22) 52%, rgba(8, 8, 6, 0.04) 100%),
    linear-gradient(180deg, rgba(8, 8, 6, 0.28) 0%, rgba(8, 8, 6, 0.08) 42%, rgba(8, 8, 6, 0.72) 100%);
}
.hero-home__inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 64px;
}
.hero-home__content { max-width: 880px; }
.hero-home .eyebrow { color: var(--gold-pale); }
.hero-home .display { color: var(--paper); margin: 26px 0 26px; text-wrap: balance; }
.hero-home .display em { color: var(--gold-pale); }
.hero-home__lede {
  max-width: 520px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: rgba(251, 249, 245, 0.82);
  margin-bottom: 36px;
}
.hero-home__bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(251, 249, 245, 0.28);
}
.hero-home__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 22px;
}
.hero-home__motto {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.72);
}
.hero-home__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.72);
}
.hero-home__scroll svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

/* ---------- Hero: interior pages ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 580px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.page-hero--reverse { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.page-hero--reverse .page-hero__content { order: 2; }
.page-hero--reverse .page-hero__media { order: 1; }
.page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 100px) clamp(28px, 5vw, 80px);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.page-hero--reverse .page-hero__content {
  padding-left: clamp(28px, 5vw, 80px);
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.page-hero__content .display { font-size: clamp(40px, 4.8vw, 72px); margin: 22px 0 24px; text-wrap: balance; }
.page-hero__content .lede { max-width: 540px; }
.page-hero__content .btn-row { margin-top: 34px; }
.page-hero__media { position: relative; overflow: hidden; min-height: 420px; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media--contain { background: var(--cream); }
.page-hero__media--contain img { object-fit: contain; padding: clamp(20px, 3vw, 48px); }
.page-hero__media-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(11, 11, 10, 0.35);
  padding: 6px 10px;
  backdrop-filter: blur(6px);
}

/* ---------- Hero: community ---------- */
.community-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: #14130f;
}
.community-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.community-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 6, 0.15) 0%, rgba(8, 8, 6, 0.72) 100%);
}
.community-hero__inner { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 72px); padding-top: 120px; width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.community-hero h1 { font-size: clamp(54px, 8vw, 112px); font-weight: 300; letter-spacing: -0.04em; line-height: 0.98; margin: 16px 0 18px; }
.community-hero p { max-width: 560px; color: rgba(251, 249, 245, 0.82); font-size: 17px; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink);
  color: var(--paper);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(32px, 4vw, 54px) 24px;
  text-align: center;
  border-left: 1px solid rgba(251, 249, 245, 0.14);
}
.stat:first-child { border-left: 0; }
.stat__number {
  display: block;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--gold-pale);
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.6);
  line-height: 1.6;
}

/* ---------- Home intro ---------- */
.intro-grid { align-items: center; }
.intro-figure { position: relative; }
.intro-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92);
}
.intro-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 92px 24px 22px;
  background: linear-gradient(0deg, rgba(11, 11, 10, 0.94) 0%, rgba(11, 11, 10, 0.76) 52%, rgba(11, 11, 10, 0) 100%);
  color: var(--paper);
}
.intro-photo-caption strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intro-photo-caption span {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.64);
}
.intro-figure::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.intro-badge {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 36px;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 172px;
  box-shadow: var(--shadow);
}
.intro-badge strong { font-size: 30px; font-weight: 300; color: var(--gold-pale); line-height: 1.1; }
.intro-badge span { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251, 249, 245, 0.65); }
.intro-content .eyebrow { margin-bottom: 22px; }
.intro-content .h2 { margin-bottom: 24px; }
.intro-content .lede + .lede { margin-top: 18px; }
.intro-signature { margin: 30px 0 26px; }
.intro-signature img { width: 200px; height: auto; opacity: 0.9; }
.intro-signature figcaption { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 8px; }

/* ---------- Path cards ---------- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  overflow: hidden;
  color: var(--paper);
  background: #14130f;
}
.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.path-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 6, 0.05) 30%, rgba(8, 8, 6, 0.82) 100%);
  transition: background 0.4s var(--ease);
}
.path-card:hover img { transform: scale(1.045); }
.path-card:hover::after { background: linear-gradient(180deg, rgba(8, 8, 6, 0.12) 20%, rgba(8, 8, 6, 0.88) 100%); }
.path-card__content { position: relative; z-index: 1; padding: 30px 28px 32px; width: 100%; }
.path-card__num { font-size: 10px; letter-spacing: 0.22em; color: var(--gold-pale); }
.path-card h3 { font-size: clamp(23px, 2.2vw, 30px); font-weight: 300; margin: 12px 0 8px; letter-spacing: -0.02em; }
.path-card p { font-size: 13.5px; line-height: 1.65; color: rgba(251, 249, 245, 0.78); max-width: 300px; }
.path-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 249, 245, 0.25);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.path-card__foot .arrow-circle { border-color: rgba(251, 249, 245, 0.4); color: var(--paper); }
.path-card:hover .arrow-circle { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ---------- Community cards ---------- */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.community-card { display: flex; flex-direction: column; }
.community-card__media { overflow: hidden; background: var(--sand); }
.community-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.95);
}
.community-card:hover .community-card__media img { transform: scale(1.04); filter: saturate(1.05); }
.community-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}
.community-card h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.community-card__meta { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 5px; }
.community-card:hover h3 { color: var(--gold); }

/* ---------- Team split ---------- */
.team-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.team-photo { position: relative; }
.team-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 30%; }
.team-photo__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  padding: 14px 20px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-content .eyebrow { margin-bottom: 22px; }
.team-content .h2 { margin-bottom: 22px; }
.team-names { display: flex; gap: 40px; margin: 30px 0 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.team-name strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.team-name span { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.team-quote { font-size: 17px; line-height: 1.7; font-weight: 300; color: var(--ink-soft); border-left: 2px solid var(--gold); padding-left: 22px; margin: 26px 0; }

/* ---------- Review cards ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 0.3em; }
.review-card blockquote { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.review-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card__name { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.review-card__meta { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-top: 3px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 30px;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rating-pill .stars { font-size: 11px; letter-spacing: 0.2em; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__media { overflow: hidden; background: var(--sand); }
.post-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 18px 0 10px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.post-card__meta .cat { color: var(--gold); }
.post-card h3 {
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  transition: color 0.3s var(--ease);
}
.post-card:hover h3 { color: var(--gold); }
.post-card__excerpt { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 10px; }
.post-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Featured post */
.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
.featured-post__media { overflow: hidden; min-height: 380px; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.featured-post:hover .featured-post__media img { transform: scale(1.03); }
.featured-post__body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post__body .post-card__meta { margin-top: 0; }
.featured-post__body h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 10px 0 16px;
}
.featured-post__body p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.featured-post__body .text-link { margin-top: 26px; align-self: flex-start; }

/* Blog filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-empty { display: none; padding: 40px 0; color: var(--muted); font-size: 15px; }
.post-card-wrap.is-hidden { display: none; }
.post-index-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-count {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Archive */
.archive { border-top: 1px solid var(--line); }
.archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 40px; }
.archive__grid a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}
.archive__grid a:hover { color: var(--gold); }
.archive__grid a span { flex: none; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.archive__grid a span:first-child { flex: 1 1 auto; min-width: 0; }
.archive__note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 10px;
}
.archive__note::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
.archive-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--cream);
  padding: clamp(28px, 4vw, 48px);
  border-left: 2px solid var(--gold);
}
.archive-cta h3 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.archive-cta p { margin: 0; max-width: 540px; font-size: 14px; color: var(--muted); }
.archive-cta .eyebrow { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 6, 0.88) 0%, rgba(8, 8, 6, 0.55) 60%, rgba(8, 8, 6, 0.4) 100%);
}
.cta-band__inner { position: relative; z-index: 1; padding: clamp(80px, 10vw, 150px) 0; }
.cta-band__content { max-width: 720px; }
.cta-band .eyebrow { color: var(--gold-pale); }
.cta-band .display { font-size: clamp(38px, 5vw, 72px); margin: 22px 0 22px; }
.cta-band p { color: rgba(251, 249, 245, 0.78); max-width: 520px; font-size: 17px; }
.cta-band .btn-row { margin-top: 32px; }
.cta-band__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(251, 249, 245, 0.7);
}
.cta-band__contact a:hover { color: var(--gold-pale); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 88px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.25fr;
  gap: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(44px, 6vw, 72px);
}
.footer__brand img { height: 54px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 13.5px; line-height: 1.75; color: rgba(251, 249, 245, 0.62); max-width: 320px; }
.footer__kw {
  display: inline-block;
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.footer h4 {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.45);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 13.5px; color: rgba(251, 249, 245, 0.82); transition: color 0.25s var(--ease); }
.footer__links a:hover { color: var(--gold-pale); }
.footer__contact { font-size: 13.5px; line-height: 1.8; color: rgba(251, 249, 245, 0.82); }
.footer__contact a:hover { color: var(--gold-pale); }
.footer__contact address { font-style: normal; margin-top: 12px; color: rgba(251, 249, 245, 0.6); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251, 249, 245, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(251, 249, 245, 0.14);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(251, 249, 245, 0.45);
}
.footer__bottom a:hover { color: var(--gold-pale); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 48px);
}
.form-card--dark { background: var(--ink-soft); border-color: rgba(251, 249, 245, 0.16); color: var(--paper); }
.form-card h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 8px; }
.form-card__intro { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.form-card--dark .form-card__intro { color: rgba(251, 249, 245, 0.6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-card--dark .field label { color: rgba(251, 249, 245, 0.55); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 15px;
  font-size: 14px;
  border-radius: 0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  appearance: none;
}
.form-card--dark .field input, .form-card--dark .field select, .form-card--dark .field textarea {
  background: rgba(251, 249, 245, 0.06);
  border-color: rgba(251, 249, 245, 0.18);
  color: var(--paper);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(121, 98, 51, 0.12);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23625d55' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.form-note { font-size: 10.5px; color: var(--stone); margin-top: 14px; line-height: 1.6; }
.form-card--dark .form-note { color: rgba(251, 249, 245, 0.4); }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 13px;
  color: var(--ink);
}
.form-card--dark .form-status { background: rgba(251, 249, 245, 0.08); color: var(--paper); }
.form-status.is-visible { display: block; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.accordion details[open] summary::after { content: '–'; }
.accordion details p { padding: 0 0 24px; max-width: 760px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ---------- Page blocks ---------- */
.block-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
.block-head .eyebrow { margin-bottom: 18px; }
.block-head .h2 { margin-bottom: 18px; }
.block-head p { color: var(--muted); font-size: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  padding: clamp(26px, 3vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature-card__num { font-size: 10px; letter-spacing: 0.2em; color: var(--gold); }
.feature-card h3 { font-size: 20px; font-weight: 500; margin: 14px 0 10px; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.feature-card--dark { background: var(--ink-soft); border-color: rgba(251, 249, 245, 0.14); color: var(--paper); }
.feature-card--dark p { color: rgba(251, 249, 245, 0.62); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process__step {
  padding: 28px 22px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process__step:first-child { border-left: 1px solid var(--line); }
.process__num { font-size: 10px; letter-spacing: 0.2em; color: var(--gold); }
.process__step h3 { font-size: 17px; font-weight: 500; margin: 16px 0 8px; line-height: 1.35; }
.process__step p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 8px 0;
}
.checklist li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex: none;
  margin-top: 9px;
  transform: rotate(45deg);
}

.info-list { border-top: 1px solid var(--line); }
.info-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-list li span:first-child { color: var(--stone); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; flex: none; }
.info-list li span:last-child { text-align: right; }

/* Community page */
.community-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); }
.community-intro .h2 { margin-bottom: 0; }
.community-intro__body p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.community-intro__body p + p { margin-top: 18px; }
.neighborhood-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.neighborhood-tags span {
  border: 1px solid var(--line);
  padding: 7px 13px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}
.snapshot__item { padding: 28px; border-left: 1px solid var(--line); }
.snapshot__item:first-child { border-left: 0; }
.snapshot__value { font-size: clamp(26px, 3vw, 38px); font-weight: 300; color: var(--gold); letter-spacing: -0.02em; }
.snapshot__label { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 6px; }
.snapshot__note { margin-top: 12px; font-size: 10px; color: var(--stone); }

.photo-strip { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 14px; }
.photo-strip button { overflow: hidden; display: block; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.8s var(--ease); }
.photo-strip button:hover img { transform: scale(1.04); }
.photo-strip button:first-child img { aspect-ratio: 4 / 3; }

.community-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.community-nav a { display: flex; flex-direction: column; gap: 4px; }
.community-nav a:hover .community-nav__name { color: var(--gold); }
.community-nav__label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.community-nav__name { font-size: 20px; font-weight: 400; transition: color 0.25s var(--ease); }
.community-nav a:last-child { text-align: right; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-card { border-top: 1px solid var(--line); padding: 22px 0; }
.contact-card h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.contact-card p, .contact-card a { font-size: 15px; line-height: 1.8; }
.contact-card a:hover { color: var(--gold); }
.team-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.team-contact {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--white);
}
.team-contact h4 { font-size: 15px; font-weight: 600; }
.team-contact span { display: block; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin: 4px 0 12px; }
.team-contact a { display: block; font-size: 12.5px; line-height: 1.9; }
.team-contact a:hover { color: var(--gold); }
.map-frame { border: 1px solid var(--line); background: var(--sand); height: 340px; margin-top: 26px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(0.95); }

/* ---------- Article ---------- */
.article-head { padding: clamp(48px, 6vw, 84px) 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.breadcrumb a:hover { color: var(--gold); }
.article-head h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 22px 0 24px;
  text-wrap: balance;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.article-meta .cat { color: var(--gold); }
.article-hero { margin: 34px 0 0; }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-hero figcaption { font-size: 9.5px; letter-spacing: 0.1em; color: var(--stone); margin-top: 10px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: clamp(40px, 6vw, 90px); justify-content: center; padding: clamp(48px, 6vw, 80px) 0; }
.article-body { font-size: 16.5px; line-height: 1.85; color: #2b2925; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; margin-top: 48px; }
.article-body h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.005em; margin-top: 34px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body ul li { list-style: disc; margin: 8px 0; }
.article-body ol li { list-style: decimal; margin: 8px 0; }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  margin: 34px 0;
}
.article-body a { color: var(--gold); border-bottom: 1px solid rgba(121, 98, 51, 0.35); }
.article-body a:hover { border-color: var(--gold); }
.article-body strong { font-weight: 600; }
.article-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 28px); }
.author-card { border: 1px solid var(--line); padding: 24px; background: var(--white); }
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; margin-bottom: 14px; }
.author-card h4 { font-size: 14px; font-weight: 600; }
.author-card span { display: block; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin: 4px 0 12px; }
.author-card p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.aside-cta { margin-top: 18px; padding: 24px; background: var(--ink); color: var(--paper); }
.aside-cta .eyebrow { font-size: 8.5px; color: var(--gold-pale); }
.aside-cta h4 { font-size: 19px; font-weight: 300; line-height: 1.3; margin: 10px 0 14px; }
.aside-cta .btn { width: 100%; }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); margin-top: 40px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags span { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 10px; color: var(--muted); }

/* ---------- Misc ---------- */
.notice-bar {
  background: var(--ink);
  color: rgba(251, 249, 245, 0.75);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px var(--gutter);
}
.notice-bar strong { color: var(--gold-pale); font-weight: 600; }

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.pill-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.illustrative {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 6, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(251, 249, 245, 0.4);
  color: var(--paper);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.lightbox-open { overflow: hidden; }

.page-404 { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.page-404 .display { margin: 20px 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-home__media img { animation: none; }
  .hero-home__scroll svg { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__brand-meta { display: none; }
  .header__phone { display: none; }
  .header__nav { gap: 18px; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process__step:nth-child(3) { border-right: 0; }
  .process__step:nth-child(4) { border-left: 1px solid var(--line); }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .header__nav { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .hero-home { min-height: 78svh; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head__aside { flex-direction: row; align-items: center; justify-content: space-between; }
  .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .page-hero--reverse { grid-template-columns: 1fr; }
  .page-hero--reverse .page-hero__content { order: 1; }
  .page-hero--reverse .page-hero__media { order: 2; }
  .page-hero__content, .page-hero--reverse .page-hero__content {
    padding: clamp(48px, 8vw, 72px) var(--gutter);
  }
  .page-hero__media { min-height: 340px; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .path-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__media { min-height: 300px; }
  .archive__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(251, 249, 245, 0.14); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .intro-figure { max-width: 560px; }
  .team-split { grid-template-columns: 1fr; }
  .team-photo { max-width: 680px; }
  .community-intro { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .aside-cta { margin-top: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step { border-left: 1px solid var(--line); }
  .process__step:nth-child(3) { border-right: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .display { font-size: clamp(38px, 10vw, 56px); }
  .h2 { font-size: clamp(30px, 8vw, 42px); }
  .hero-home { min-height: 72svh; }
  .hero-home__inner { padding-top: 80px; padding-bottom: 40px; }
  .hero-home__bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero-home .btn-row { max-width: 320px; }
  .section { padding: 64px 0; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card, .path-card:last-child { min-height: 400px; }
  .community-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .archive__grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 14px; }
  .stat__number { font-size: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field--full { grid-column: auto; }
  .checklist { grid-template-columns: 1fr; }
  .team-names { flex-direction: column; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .article-aside { grid-template-columns: 1fr; }
  .article-hero img { aspect-ratio: 3 / 2; }
  .snapshot { grid-template-columns: 1fr; }
  .snapshot__item { border-left: 0; border-top: 1px solid var(--line); }
  .snapshot__item:first-child { border-top: 0; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip button:first-child { grid-column: 1 / -1; }
  .team-contact-grid { grid-template-columns: 1fr; }
  .intro-badge { right: 12px; bottom: 18px; }
  .community-hero { min-height: 440px; }
  .hero-home__motto { font-size: 9px; letter-spacing: 0.18em; }
  .header__brand img { height: 36px; }
}

@media (max-width: 420px) {
  .hero-home .display { font-size: 38px; }
  .section-head__aside { flex-direction: column; align-items: flex-start; }
  .review-actions .btn, .btn-row .btn { width: 100%; }
}

/* Two-column feature grid (community highlights) */
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .feature-grid--2 { grid-template-columns: 1fr; } }

/* Journal responsive additions */
.stat__number { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .post-index-foot { flex-direction: column; align-items: flex-start; }
  .archive-cta { flex-direction: column; align-items: flex-start; gap: 24px; }
}

.community-hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.78);
  background: rgba(11, 11, 10, 0.38);
  padding: 6px 10px;
}
@media (max-width: 760px) {
  .community-hero__caption { right: 16px; bottom: 12px; font-size: 8px; }
}

/* Paired team portraits on the home page */
.team-quote-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 460px;
  padding: clamp(34px, 4.5vw, 60px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.team-quote-panel::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 183, 143, 0.25);
  pointer-events: none;
}
.team-quote-panel::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(201, 183, 143, 0.12);
  border-radius: 50%;
}
.team-quote-panel__mark {
  display: block;
  margin-top: 28px;
  font-size: clamp(90px, 11vw, 150px);
  line-height: 0.55;
  font-weight: 300;
  color: var(--gold);
}
.team-quote-panel p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.team-quote-panel p em { color: var(--gold-pale); font-style: normal; }
.team-quote-panel__by {
  position: relative;
  z-index: 1;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 249, 245, 0.2);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
.team-quote-panel__by span {
  display: block;
  margin-top: 5px;
  color: rgba(251, 249, 245, 0.55);
}
@media (max-width: 760px) {
  .team-quote-panel { min-height: 360px; padding: 30px; }
  .team-quote-panel__mark { margin-top: 22px; font-size: 88px; }
  .team-quote-panel p { font-size: 25px; }
}
.photo-credit { margin-top: 14px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }

/* Stats counting state */
.stat__number { position: relative; transition: color 0.3s var(--ease), text-shadow 0.3s var(--ease); }
.stat__number.is-counting { color: var(--white); text-shadow: 0 0 26px rgba(201, 183, 143, 0.32); }
.stat__number.is-counting::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 22px;
  height: 1px;
  background: var(--gold-pale);
  transform: translateX(-50%);
  animation: statTick 0.5s steps(2, end) infinite;
}
@keyframes statTick { 50% { opacity: 0.15; } }

/* Seller marketing image pair */
.marketing-visuals {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: clamp(280px, 30vw, 430px);
  gap: 12px;
  margin-top: 44px;
}
.marketing-visuals figure { position: relative; overflow: hidden; background: #1a1916; height: 100%; }
.marketing-visuals img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.marketing-visuals figure:first-child img { object-position: center 58%; }
.marketing-visuals figure:hover img { transform: scale(1.03); }
.marketing-visuals figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 22px 20px;
  background: linear-gradient(0deg, rgba(8, 8, 6, 0.82), transparent);
  color: var(--paper);
  font-size: 12px;
}
.marketing-visuals figcaption span {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
@media (max-width: 760px) {
  .marketing-visuals { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; margin-top: 30px; }
  .marketing-visuals img { aspect-ratio: 4 / 3; height: auto; }
}

/* Mobile framing for the home team photo */
.intro-photo-caption__since { display: none; }
@media (max-width: 760px) {
  .intro-photo-caption { padding: 54px 18px 16px; }
  .intro-photo-caption strong { font-size: 10px; letter-spacing: 0.1em; }
  .intro-photo-caption span { font-size: 8px; }
  .intro-photo-caption__since { display: block; margin-top: 4px; color: var(--gold-pale); }
  .intro-badge { display: none; }
}
