/* =========================================================
   Christine Buff — Real Estate Agent
   Palette: black / periwinkle / white / gold star
   ========================================================= */

:root {
  --bg: #000000;
  --surface: #0e0e10;
  --surface-2: #15151a;
  --periwinkle: #7A95D1;
  --periwinkle-dark: #5C7AB8;
  --periwinkle-soft: rgba(122,149,209,0.14);
  --text: #ffffff;
  --text-muted: #B8BCC8;
  --text-dim: #8a8f9c;
  --gold: #F5C842;
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.35);
  --shadow-md: 0 10px 28px rgba(0,0,0,.45);
  --radius: 14px;
  --maxw: 1180px;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 5vw 80px;
}
@media (max-width: 800px) {
  .hero { justify-content: center; padding: 24px 16px 80px; }
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  z-index: 0;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 70%, rgba(0,0,0,.50) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.18) 100%);
}

.hero__card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 32px 26px 28px;
  background: rgba(6,6,10,.42);
  border: 1px solid rgba(122,149,209,.30);
  backdrop-filter: blur(10px) saturate(135%);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
/* Subtle text shadow on hero text so it stays legible over the lighter veil */
.hero__card .name,
.hero__card .title,
.hero__card .brokerage,
.hero__card .contact-link,
.hero__card .trust-line { text-shadow: 0 1px 14px rgba(0,0,0,.55); }

.portrait {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.55));
}
.portrait img {
  width: 100%; height: 100%;
  display: block;
}
.portrait--sm {
  width: 150px; height: 150px;
  margin-bottom: 14px;
}

.name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5.4vw, 46px);
  letter-spacing: .08em;
  margin: 6px 0 4px;
  color: #fff;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(11px, 2.2vw, 14px);
  letter-spacing: .42em;
  color: var(--periwinkle);
  margin: 0 0 14px;
}
.brokerage {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--text-muted);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin: 6px auto 22px;
}
.contact-link {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.contact-link:hover { border-color: var(--periwinkle); }
.contact-link span[aria-hidden] { color: var(--periwinkle); font-size: 16px; }

/* CTAs */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px auto 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .12s, background .18s, border-color .18s, color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--periwinkle);
  color: #0c1226;
  box-shadow: 0 8px 20px rgba(122,149,209,.32);
}
.btn--primary:hover {
  background: #94aae0;
  box-shadow: 0 10px 26px rgba(122,149,209,.45);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.32);
}
.btn--ghost:hover {
  background: rgba(122,149,209,.14);
  border-color: var(--periwinkle);
  color: #fff;
}
.btn .star { color: var(--gold); font-size: 15px; }

.trust-line {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: .03em;
}
.trust-line .stars { color: var(--gold); letter-spacing: 2px; margin-right: 8px; }
.trust-line .trust-text { vertical-align: middle; }

/* Hero scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  display: block;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  background: var(--periwinkle);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%     { transform: translateY(12px); opacity: 0; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 0 20px;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--periwinkle);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 40px);
  letter-spacing: .02em;
  margin: 0 0 14px;
  color: #fff;
}
.lede {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* =========================================================
   REVIEWS — marquee
   ========================================================= */
.reviews {
  background: linear-gradient(180deg, #050507 0%, #0a0c14 100%);
  padding: 80px 0 70px;
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.review-card {
  flex: 0 0 360px;
  background: var(--surface);
  border: 1px solid rgba(122,149,209,.14);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.review-card .stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 16px;
}
.review-card .quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #ececf1;
}
.review-card footer {
  margin-top: auto;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-card footer strong { color: #fff; }
.src {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--periwinkle);
  background: var(--periwinkle-soft);
  padding: 4px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  padding: 0 16px;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  padding: 80px 16px 70px;
  background: #050507;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.vthumb {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--surface-2);
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
}
.vthumb:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.5); }
.vthumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.vthumb:hover img { transform: scale(1.04); }
.vthumb .play {
  position: absolute;
  top: 50%; left: 50%;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  background: rgba(122,149,209,.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.5);
  transition: transform .2s, background .2s;
}
.vthumb:hover .play { background: #94aae0; transform: scale(1.06); }
.vthumb .play::before {
  content: "";
  width: 0; height: 0;
  border-left: 20px solid #0c1226;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 6px;
}
.vthumb__label {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: #fff;
  text-transform: uppercase;
  background: rgba(0,0,0,.55);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 80px 16px 80px;
  background: linear-gradient(180deg, #050507 0%, #000 100%);
}
.contact__card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(122,149,209,.18);
  border-radius: 22px;
  padding: 38px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.contact__card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 12px;
  letter-spacing: .02em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot {
  padding: 32px 16px 40px;
  background: #000;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-foot p { margin: 4px 0; }
.site-foot a { color: var(--periwinkle); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.fineprint { font-size: 12px; color: #5e616c; }

/* =========================================================
   VIDEO MODAL
   ========================================================= */
.vmodal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(92vw, 1100px);
  max-width: 1100px;
}
.vmodal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vmodal::backdrop {
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(6px);
}
.vmodal video {
  width: 100%;
  max-height: 86vh;
  border-radius: 12px;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.vmodal__close {
  position: absolute;
  top: -12px; right: -12px;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--periwinkle);
  color: #0c1226;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.5);
}
.vmodal__close:hover { background: #94aae0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 600px) {
  .hero { padding: 18px 12px 64px; }
  .hero__card { padding: 26px 16px 22px; border-radius: 18px; max-width: calc(100vw - 24px); }
  .portrait { width: 170px; height: 170px; }
  .name { font-size: 28px; letter-spacing: .04em; }
  .title { letter-spacing: .34em; font-size: 11px; }
  .brokerage { font-size: 11px; letter-spacing: .14em; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .contact-row { flex-direction: column; gap: 6px; }
  .review-card { flex: 0 0 290px; min-height: 240px; }
  .reviews { padding: 60px 0 50px; }
  .gallery, .contact { padding: 56px 12px; }
  .hero__scroll { display: none; }
}
@media (min-width: 900px) {
  .portrait { width: 240px; height: 240px; }
}
