/* Black Lion Realty — shared styles
   Brand kit source: official BL-BRAND-COLORS + FONTS (Google Drive)
   Flat Black PMS 419C #212322 · Cream PMS 454C #CAC7A7 · Blood PMS 7627C #A72B2A · Slate PMS 424C #707372
   Headline: BLT-Gerhard Display (licensed) · Body: Inter */

@font-face {
  font-family: 'Gerhard Display';
  src: url('../fonts/BLT-Gerhard-Display.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #212322;
  --charcoal: #292b2a;
  --charcoal-light: #343635;
  --gold: #A72B2A;
  --gold-bright: #c33d3c;
  --cream: #CAC7A7;
  --off-white: #dedcc7;
  --grey: #707372;
  --line: rgba(167, 43, 42, 0.28);
  --shadow: 0 20px 40px rgba(0,0,0,0.25);
  --serif: 'Gerhard Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  border-color: rgba(10,10,10,0.25);
  color: var(--black);
}
.btn-outline-dark:hover { border-color: var(--gold); color: #8a6d16; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo .mark { display: inline-flex; align-items: center; width: 42px; height: 46px; flex-shrink: 0; }
.logo .mark img { width: 100%; height: 100%; object-fit: contain; }
.logo .sub { font-family: var(--sans); font-size: 10px; letter-spacing: 3px; color: var(--grey); display:block; text-transform: uppercase; margin-top: 2px; white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { white-space: nowrap; }
.nav-links a {
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--cream);
  padding-top: 84px;
  overflow: hidden;
}

/* Moving background, no video/photo required: a slow-drifting glow layer
   plus a slow-panning diagonal stripe layer. Respects reduced-motion. */
.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background:
    radial-gradient(circle at 30% 30%, rgba(167,43,42,0.35) 0%, rgba(167,43,42,0) 45%),
    radial-gradient(circle at 75% 70%, rgba(112,115,114,0.25) 0%, rgba(112,115,114,0) 50%),
    radial-gradient(circle at 20% 80%, rgba(202,199,167,0.10) 0%, rgba(202,199,167,0) 45%);
  pointer-events: none;
  animation: heroGlowDrift 24s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, transparent, transparent 78px, rgba(167,43,42,0.07) 79px, transparent 80px);
  background-size: 300% 300%;
  pointer-events: none;
  animation: heroStripesPan 40s linear infinite;
}

.hero .hero-inner,
.hero .hero-actions,
.hero .hero-stats { position: relative; z-index: 2; }

@keyframes heroGlowDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.06); }
  100% { transform: translate(2%, -3%) scale(1.02); }
}

@keyframes heroStripesPan {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::before {
  background:
    linear-gradient(180deg, rgba(20,21,20,0.82) 0%, rgba(20,21,20,0.72) 45%, rgba(20,21,20,0.9) 100%),
    radial-gradient(circle at 30% 30%, rgba(167,43,42,0.28) 0%, rgba(167,43,42,0) 45%),
    radial-gradient(circle at 75% 70%, rgba(112,115,114,0.2) 0%, rgba(112,115,114,0) 50%);
}
.hero.has-photo .eyebrow,
.hero.has-photo h1 em,
.hero.has-photo .hero-stats .stat-num,
.hero.has-photo .icon-house {
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}
.hero.has-photo h1,
.hero.has-photo p.lead {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-inner { max-width: 720px; position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold); font-style: normal; }

.hero p.lead {
  font-size: 18px;
  color: #d8d4c8;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-stats .stat-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
}
.hero-stats .stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Real estate motif (house icon + divider) ---------- */
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.icon-house {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 36px 0 0;
}
.section-divider .icon-house {
  width: 26px;
  height: 26px;
  color: var(--gold);
  opacity: 0.85;
}
.section-divider .line {
  height: 1px;
  width: 64px;
  background: rgba(167,43,42,0.3);
}
.bg-dark .section-divider .line,
.bg-charcoal .section-divider .line { background: rgba(202,199,167,0.25); }

/* ---------- Section basics ---------- */
section { padding: 110px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: #55534c; font-size: 16px; margin-top: 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }

.bg-dark {
  background: var(--black);
  color: var(--cream);
}
.bg-dark .section-head p { color: #b7b3a6; }
.bg-charcoal { background: var(--charcoal); color: var(--cream); }

/* ---------- Value props ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 40px 32px;
  border-radius: 4px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 18px;
  display: block;
}
.value-card h3 { font-size: 21px; margin-bottom: 12px; }
.value-card p { color: #55534c; font-size: 15px; }

/* ---------- Listings ---------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.property-photo {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #2a2a2a, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 1px;
}
.property-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
}
.property-price {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(10,10,10,0.85);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  padding: 6px 14px;
  border-radius: 2px;
}

.property-body { padding: 22px 24px 26px; }
.property-body h3 { font-size: 19px; margin-bottom: 6px; }
.property-body .addr { color: var(--grey); font-size: 13px; margin-bottom: 16px; }
.property-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: #55534c;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 14px;
}
.property-meta span strong { color: var(--black); }

/* ---------- Video embed ---------- */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pull-quote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--black);
}
.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- About / story ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  height: 420px;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--charcoal), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 90px;
  position: relative;
  overflow: hidden;
}
.split-media::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--gold);
  margin: 20px;
  opacity: 0.4;
}
.split-media.has-photo { background-size: cover; background-position: center; }
.split-media.has-photo::after { border-color: rgba(255,255,255,0.55); }

.value-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.value-list-item { display: flex; gap: 16px; align-items: flex-start; }
.value-list-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); margin-top: 8px; flex-shrink: 0;
}
.value-list-item h4 { font-size: 16px; margin-bottom: 4px; }
.value-list-item p { font-size: 14px; color: #55534c; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.team-grid.cols-4 .team-photo { height: 200px; }
.team-card { text-align: center; }
.team-photo {
  height: 260px;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--charcoal-light), var(--black));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 44px;
  margin-bottom: 18px;
}
.team-photo.has-photo { background-size: cover; background-position: center 20%; }
.team-photo, .split-media { overflow: hidden; }
.mini-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
}
.mini-team-grid .cell { background-size: cover; background-position: center 22%; }
.team-collage::after { display: none; }
.team-collage { border: 1px solid rgba(167,43,42,0.4); }
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.team-card p.bio { font-size: 14px; color: #55534c; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--charcoal-light);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: 4px;
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 14px; }
.testimonial-card p.quote { font-size: 15px; color: #d8d4c8; margin-bottom: 20px; }
.testimonial-card .author { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; }
.testimonial-card .author-role { font-size: 12px; color: var(--grey); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--black), var(--charcoal));
  color: var(--cream);
  text-align: center;
  padding: 90px 0;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.cta-banner p { color: #b7b3a6; max-width: 560px; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 2px;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.info-card {
  background: var(--black);
  color: var(--cream);
  padding: 40px 34px;
  border-radius: 4px;
  height: 100%;
}
.info-card h3 { color: var(--gold); font-size: 20px; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-item .ic {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; font-size: 15px;
}
.info-item .label { font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }
.info-item .val { font-size: 15px; }

.map-block {
  margin-top: 24px;
  height: 220px;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, var(--charcoal), var(--charcoal) 10px, var(--black) 10px, var(--black) 20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid var(--line);
}

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: var(--grey);
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-grid h4 { color: var(--cream); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; font-size: 14px; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 280px; margin-bottom: 20px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--gold);
  transition: background .2s;
}
.social-row a:hover { background: var(--gold); color: var(--black); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  position: relative;
  background: var(--black);
  color: var(--cream);
  padding: 190px 0 90px;
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 25% 30%, rgba(167,43,42,0.28) 0%, rgba(167,43,42,0) 45%);
  pointer-events: none;
  animation: heroGlowDrift 24s ease-in-out infinite alternate;
}
.page-header .container { position: relative; z-index: 2; }
.page-header.has-photo { background-size: cover; background-position: center; }
.page-header.has-photo::before {
  background:
    linear-gradient(180deg, rgba(20,21,20,0.8) 0%, rgba(20,21,20,0.68) 50%, rgba(20,21,20,0.86) 100%),
    radial-gradient(circle at 25% 30%, rgba(167,43,42,0.22) 0%, rgba(167,43,42,0) 45%);
}
.page-header.has-photo .eyebrow,
.page-header.has-photo .icon-house {
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}
.page-header.has-photo h1,
.page-header.has-photo .breadcrumb {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.page-header .eyebrow { }

@media (prefers-reduced-motion: reduce) {
  .page-header::before { animation: none; }
}
.page-header h1 { font-size: clamp(34px, 5vw, 52px); }
.breadcrumb { margin-top: 18px; font-size: 13px; color: var(--grey); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 1080px) {
  .logo .sub { display: none; }
  .nav-links { gap: 14px; }
}
@media (max-width: 980px) {
  .grid-3, .team-grid, .testimonial-grid, .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 24px 32px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
  }
  .grid-3, .team-grid, .testimonial-grid, .listings-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 30px; }
  section { padding: 70px 0; }
}
