:root {
  --bg: #f8f3eb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5d6472;
  --brand: #8f3f2f;
  --brand-dark: #6f2f22;
  --accent: #c28a2e;
  --border: #dfd4c5;
  --shadow-soft: 0 12px 30px rgba(62, 35, 17, 0.08);
  --shadow-strong: 0 22px 44px rgba(62, 35, 17, 0.16);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 5%, #f9dfc7 0%, transparent 36%),
    radial-gradient(circle at 90% 2%, #f0dcc2 0%, transparent 30%),
    linear-gradient(180deg, #f9f4ee 0%, #fdfaf6 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin: 0 0 1rem;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 251, 246, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

nav a:hover {
  background: #f5e8d9;
  color: var(--text);
}

.hero {
  padding: 5.5rem 0 3.2rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

h1 {
  margin: 0.2rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-card {
  background: var(--surface);
  padding: 1.6rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  margin-top: 0;
}

.hero-card li {
  white-space: nowrap;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: white;
  border: none;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(143, 63, 47, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(143, 63, 47, 0.32);
}

.section {
  padding: 3.3rem 0;
}

.agent-strip {
  padding-top: 0;
}

.agent-strip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.agent-strip-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.agent-strip-content h2 {
  margin: 0.25rem 0 0.6rem;
}

.agent-strip-role {
  margin: -0.35rem 0 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.agent-strip-points {
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
}

.agent-strip-actions {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.alt {
  background:
    linear-gradient(180deg, #f6eee4 0%, #fdfaf7 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: #cfb89a;
}

.listing-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.listing-photo-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.rotate-vertical {
  transform: rotate(90deg) scale(1.85);
  transform-origin: center;
}

.status-pill {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  box-shadow: 0 6px 14px rgba(20, 20, 20, 0.24);
}

.status-pill.sold {
  background: #b42318;
}

.status-pill.rent {
  background: #0f766e;
}

.status-pill.managed {
  background: #1d4ed8;
}

.listing-content {
  padding: 1rem;
}

.managed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.listing-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.listing-link:hover {
  text-decoration: underline;
}

.price {
  color: var(--brand-dark);
  font-weight: 700;
  margin: 0.35rem 0;
}

.meta {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

.profile-photo {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.profile-details h3 {
  margin-top: 0;
}

.credentials {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.highlights-title {
  margin: 1rem 0 0.45rem;
}

.info-block {
  margin-bottom: 0.8rem;
}

.info-heading {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--text);
}

.info-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.highlights-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.highlights-list li {
  margin-bottom: 0.35rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.cta-card {
  background: #fffaf3;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.cta-card h3 {
  margin: 0 0 0.5rem;
}

.cta-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.cta-card .btn {
  width: 100%;
  text-align: center;
}

.contact-direct {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: #fff8f0;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-direct p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  max-width: 620px;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #cf9f58;
  box-shadow: 0 0 0 3px rgba(194, 138, 46, 0.2);
}

.status {
  min-height: 1.5rem;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted);
  background: rgba(255, 252, 248, 0.8);
  text-align: center;
}

.site-footer p {
  margin: 0.2rem 0;
}

.verse {
  margin: 0 0 0.7rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 0.95rem;
  border-left: 4px solid var(--accent);
  background: #fff6e8;
  border-radius: 10px;
  text-align: center;
  font-size: 1.04rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}

.verse span {
  font-style: normal;
  font-weight: 700;
  margin-left: 0.45rem;
  color: var(--brand-dark);
}

.search-form {
  max-width: 100%;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

/* Soft entrance animation for first paint */
.hero-grid > div,
.agent-strip-card,
.listing-card,
.cta-card,
.about-grid {
  animation: rise-in 520ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .listing-grid,
  .managed-grid,
  .cta-grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .hero-card li {
    white-space: normal;
  }

  .agent-strip-card {
    grid-template-columns: 1fr;
  }

  .agent-strip-actions {
    flex-wrap: wrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 0.7rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  nav a {
    text-align: center;
    padding: 0.45rem 0.4rem;
    font-size: 0.88rem;
  }

  .hero {
    padding: 2.3rem 0 1.6rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero-card,
  .agent-strip-card,
  .listing-card,
  .cta-card {
    border-radius: 14px;
  }

  .agent-strip-photo {
    max-width: 230px;
    justify-self: center;
  }

  .agent-strip-actions {
    gap: 0.65rem;
  }

  .agent-strip-actions .btn {
    width: 100%;
    text-align: center;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-direct p {
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1100px, 94%);
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .status-pill {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.68rem;
  }
}
