:root {
  --night: #010206;
  --navy: #0c1730;
  --ink: #f4f1ea;
  --muted: #c5ccd8;
  --white: #ffffff;
  --gold: #c8a95e;
  --gold-soft: rgba(200, 169, 94, 0.85);
  --line: rgba(200, 169, 94, 0.22);
}

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

html { color-scheme: dark; }

body {
  min-height: 100vh;
  background: var(--night);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(28, 52, 96, 0.9) 0%, transparent 58%),
    radial-gradient(ellipse 50% 38% at 16% 18%, rgba(56, 40, 102, 0.28), transparent 70%),
    radial-gradient(ellipse 46% 32% at 88% 14%, rgba(18, 58, 110, 0.24), transparent 72%),
    linear-gradient(180deg, #0c1730 0%, #081224 36%, #040810 70%, #010206 100%);
}

.nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 42% at 50% 88%, rgba(200, 169, 94, 0.14), transparent 68%),
    radial-gradient(ellipse 35% 28% at 72% 40%, rgba(80, 60, 140, 0.16), transparent 70%),
    radial-gradient(ellipse 30% 22% at 28% 48%, rgba(30, 70, 130, 0.12), transparent 70%);
}

.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#stars-a { animation: twinkle 7s ease-in-out infinite; }
#stars-b { animation: twinkle 11s ease-in-out infinite 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #stars-a,
  #stars-b { animation: none; opacity: 0.85; }
}

.page {
  min-height: 100vh;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.hero-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "photo ident"
    "copy copy";
  gap: 0.65rem 1.2rem;
  align-items: center;
  padding-top: 0.4rem;
  flex: 1 0 auto;
}

.hero-photo { grid-area: photo; align-self: start; }
.hero-id { grid-area: ident; min-width: 0; }
.hero-copy { grid-area: copy; }

.headshot {
  display: block;
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 0 0 5px rgba(200, 169, 94, 0.14), 0 10px 36px rgba(0, 0, 0, 0.45);
  background: #1a1a1a;
}

.hero-id .role {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signature {
  display: block;
  width: min(20rem, 100%);
  height: auto;
  margin: 0.2rem 0 0.9rem;
}

h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.85rem, 6.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.offer {
  margin-top: 0.95rem;
  color: var(--gold);
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 600;
}

.lede {
  margin-top: 1.15rem;
  color: var(--muted);
  max-width: 32rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  border: 1px solid transparent;
}

.btn-primary {
  color: #111111;
  background: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ddc07a;
  color: #111111;
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border-color: var(--gold);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(200, 169, 94, 0.16);
  color: var(--white);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.social {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.social a {
  color: var(--gold);
  text-decoration: none;
}

.social a:hover,
.social a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.house-anchor {
  position: relative;
  width: min(68rem, 100%);
  margin: 1.25rem auto 0;
  margin-top: auto;
}

.house-glow {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28%;
  bottom: 2%;
  background: radial-gradient(ellipse at 50% 62%, rgba(200, 169, 94, 0.32), rgba(255, 196, 110, 0.08) 45%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.house {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

footer {
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.rog-logo {
  display: block;
  width: 16rem;
  max-width: 100%;
  height: auto;
  margin-bottom: 0.7rem;
}

.brokerage {
  color: var(--white);
  font-weight: 600;
}

.eho {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1.05rem;
}

.eho-mark {
  flex: 0 0 2rem;
  width: 2rem;
  height: 1.75rem;
  color: var(--gold);
  margin-top: 0.15rem;
}

.eho-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.eho-text {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.panel {
  padding: 3rem 0 0.5rem;
}

.panel h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.about-copy {
  max-width: 44rem;
  color: var(--muted);
}

.about-copy p + p { margin-top: 1rem; }

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
  margin-bottom: 1.35rem;
}

.reviews-head h2 { margin-bottom: 0; }

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 1.15rem;
  line-height: 1;
}

.rating-summary {
  color: var(--white);
  font-weight: 600;
}

.review-list {
  display: grid;
  gap: 1rem;
}

.review {
  margin: 0;
  padding: 1.2rem 1.25rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 94, 0.16);
}

.review blockquote {
  margin: 0;
}

.review p {
  color: var(--ink);
  font-size: 1.02rem;
}

.review figcaption {
  margin-top: 0.85rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.more-reviews {
  margin-top: 1.25rem;
}

.more-reviews a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.more-reviews a:hover,
.more-reviews a:focus-visible {
  text-decoration: underline;
}

.license {
  margin-top: 0.2rem;
  color: var(--muted);
}

.footer-contact {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: center;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 56rem) {
  .page { padding: 2.5rem 2rem 3rem; }

  .hero-top {
    grid-template-columns: minmax(0, 1.15fr) 15rem;
    grid-template-areas:
      "ident photo"
      "copy photo";
    gap: 0.4rem 3.5rem;
    align-items: center;
    padding-top: 1.25rem;
  }

  .hero-photo { align-self: center; justify-self: end; }

  .headshot {
    width: 15rem;
    height: 15rem;
    box-shadow: 0 0 0 6px rgba(200, 169, 94, 0.14), 0 16px 48px rgba(0, 0, 0, 0.5);
  }

  .signature { width: 20rem; }

  .house-anchor { margin-top: auto; padding-top: 1.5rem; }

  .review-list {
    grid-template-columns: 1fr 1fr;
  }

  .review:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .page { padding: 1.15rem 1.15rem 2rem; }
  .hero-top { grid-template-columns: 7.25rem 1fr; gap: 0.55rem 1rem; }
  .headshot { width: 7.25rem; height: 7.25rem; }
  .signature { width: min(16.5rem, 100%); margin-bottom: 0; }
  .cta { margin-top: 1.2rem; }
  .hero-id .role { font-size: 0.7rem; }
  .lede { font-size: 1rem; }
  .panel { padding-top: 2.25rem; }
}
