/* ─────────────────────────────────────────────────────────────────
   RADKE REAL ESTATE TEAM — pages.css
   Styles for interior pages (everything except homepage)
   ───────────────────────────────────────────────────────────────── */

/* ── NAV ACTIVE STATE ───────────────────────────────────────────── */
.nav-links .nav-active { color: var(--gold-light) !important; }

/* ── PAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg--story,
.page-hero-bg--invest,
.page-hero-bg--eval,
.page-hero-bg--contact,
.page-hero-bg--listings,
.page-hero-bg--ftb,
.page-hero-bg--family,
.page-hero-bg--downsize {
  background: linear-gradient(160deg, #0f0e0d 0%, #1e1a14 50%, #131210 100%);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 70%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-top: 1rem;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }

.page-hero-sub {
  font-family: var(--font-refined);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-top: 1rem;
  max-width: 560px;
  line-height: 1.6;
}


/* ── OUR STORY PAGE ──────────────────────────────────────────────── */
.story-section {
  background: var(--warm-white);
  padding: 7rem 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-body {
  font-family: var(--font-refined);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.story-photo-col { position: relative; }
.story-photo {
  width: 100%;
  padding-bottom: 130%;
  background: linear-gradient(145deg, #1e1a14, #2d2418);
  position: relative;
}
.story-photo-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 40%;
  border: 2px solid var(--gold);
  z-index: -1;
}

@media (max-width: 800px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo-col { display: none; }
}

/* ── BIOS ────────────────────────────────────────────────────────── */
.bios-section {
  background: var(--cream);
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.bios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.bio-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  overflow: hidden;
}
.bio-photo {
  height: 340px;
  background: linear-gradient(145deg, #1e1a14, #2d2418);
}
.bio-photo--brittany {
  background: linear-gradient(145deg, #1a1e1e, #233030);
}
.bio-body { padding: 2rem; }
.bio-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.bio-title {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}
.bio-text {
  font-family: var(--font-refined);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.bio-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.bio-contact a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.bio-contact a:hover { color: var(--gold-dark); }

@media (max-width: 700px) { .bios-grid { grid-template-columns: 1fr; } }

/* ── VALUES ──────────────────────────────────────────────────────── */
.values-section {
  background: var(--warm-white);
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-item {
  padding: 2.5rem 1.5rem;
  border-top: 2px solid var(--gold);
}
.value-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--cream);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}
.value-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.value-item p {
  font-family: var(--font-refined);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
}

@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }

/* ── BROKERAGE ───────────────────────────────────────────────────── */
.brokerage-section {
  background: var(--ivory);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.brokerage-inner { max-width: 680px; }
.brokerage-body {
  font-family: var(--font-refined);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}
.brokerage-detail {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  line-height: 1.8;
}


/* ── LISTINGS PAGE ───────────────────────────────────────────────── */
.listings-page-section {
  background: var(--warm-white);
  padding: 5rem 0 7rem;
}
.listings-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--obsidian);
  color: #fff;
  border-color: var(--obsidian);
}
.listings-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mls-note {
  text-align: center;
  padding: 5rem 2rem;
  border: 1px dashed var(--border);
  background: var(--cream);
}
.mls-note h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.mls-note p {
  font-family: var(--font-refined);
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .listings-page-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .listings-page-grid { grid-template-columns: 1fr; } }


/* ── INVESTING PAGE ──────────────────────────────────────────────── */
.invest-intro {
  background: var(--warm-white);
  padding: 7rem 0;
}
.invest-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.invest-body {
  font-family: var(--font-refined);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.invest-services {
  background: var(--cream);
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}
.invest-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.invest-service-card {
  padding: 2rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
}
.invest-service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold);
}
.invest-service-card p {
  font-family: var(--font-refined);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
}

@media (max-width: 800px) {
  .invest-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .invest-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .invest-services-grid { grid-template-columns: 1fr; } }

/* ── AUDIENCE PAGES (FTB, FAMILY, DOWNSIZE) ──────────────────────── */
.audience-intro {
  background: var(--warm-white);
  padding: 7rem 0;
}
.audience-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.audience-body {
  font-family: var(--font-refined);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.audience-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.audience-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-refined);
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.audience-checklist li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid var(--gold-dark);
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='%23a07840' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.audience-sidebar {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.audience-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-dark);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}
.step-content strong {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.25rem;
}
.step-content p {
  font-family: var(--font-refined);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}

@media (max-width: 800px) { .audience-intro-grid { grid-template-columns: 1fr; } }


/* ── HOME EVALUATION PAGE ────────────────────────────────────────── */
.eval-page-section {
  background: var(--warm-white);
  padding: 5rem 0 7rem;
}
.eval-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.eval-body {
  font-family: var(--font-refined);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.eval-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
}
.eval-feature {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.eval-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  color: var(--gold-dark);
  margin-top: 2px;
}
.eval-feature-text strong {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}
.eval-feature-text p {
  font-family: var(--font-refined);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.55;
}
@media (max-width: 800px) { .eval-page-grid { grid-template-columns: 1fr; } }


/* ── MORTGAGE CALCULATOR ─────────────────────────────────────────── */
.calc-section {
  background: var(--warm-white);
  padding: 5rem 0 7rem;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.calc-box {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.calc-box-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.calc-field label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  border-radius: 0;
  border: none;
  padding: 0;
  box-shadow: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--obsidian);
  border: 2px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
}
.calc-field-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: right;
}
.calc-result {
  background: var(--obsidian);
  border: 1px solid var(--graphite);
  padding: 2.5rem;
}
.calc-result-title {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.calc-payment {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.25rem;
}
.calc-payment-period {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-breakdown-row span:first-child {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calc-breakdown-row span:last-child {
  font-family: var(--font-refined);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.calc-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.25);
  margin-top: 1.5rem;
  line-height: 1.6;
}
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }


/* ── CONTACT PAGE ────────────────────────────────────────────────── */
.contact-page-section {
  background: var(--warm-white);
  padding: 5rem 0 7rem;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-page-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-page-person {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--cream);
}
.contact-page-person strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}
.contact-page-person .bio-title {
  margin-bottom: 1rem;
}
.contact-page-person a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.contact-page-person a:hover { color: var(--gold-dark); }
.contact-page-office {
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
}
.contact-page-office p {
  font-family: var(--font-refined);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}
@media (max-width: 800px) { .contact-page-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────
   NEW SECTIONS — Mission, Headshots, Bio Photos, Pillars
   ───────────────────────────────────────────────────────────────── */

/* ── Hero tagline (index.html) ───────────────────────────────────── */
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

/* ── Mission section (index.html) ───────────────────────────────── */
.mission-section {
  padding: 6rem 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.mission-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: start;
}

.mission-text .section-title { margin-bottom: 1.5rem; }

.mission-body-text {
  font-family: var(--font-refined);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 1.1rem;
}

.mission-text .btn { margin-top: 1.5rem; }

/* Headshot cards */
.mission-headshots {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
}

.headshot-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
}

.headshot-img-wrap {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,169,110,0.35);
}

.headshot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.headshot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.headshot-info strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.headshot-title {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.headshot-info a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: none;
  margin-top: 2px;
  transition: color 0.15s;
}
.headshot-info a:hover { color: var(--gold-dark); }

@media (max-width: 900px) {
  .mission-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .mission-headshots {
    flex-direction: row;
    position: static;
  }
  .headshot-card { flex: 1; }
}
@media (max-width: 560px) {
  .mission-headshots { flex-direction: column; }
}

/* ── Bio photo (our-story.html) ──────────────────────────────────── */
.bio-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--graphite);
  margin-bottom: 1.5rem;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Mission block (our-story.html) ──────────────────────────────── */
.our-mission-block {
  padding: 6rem 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.mission-body-wrap {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: left;
}

/* Pillars */
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  text-align: left;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.pillar-text {
  font-family: var(--font-refined);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

@media (max-width: 700px) {
  .mission-pillars { grid-template-columns: 1fr; }
}
