/* real-estate-portfolio — structural layer. Claude / design pass: swap fonts, colors, imagery. */
:root {
  --re-bg: #faf9f7;
  --re-bg-alt: #f0eeeb;
  --re-ink: #1a1a1a;
  --re-ink-muted: #5c5c5c;
  --re-line: rgba(0, 0, 0, 0.08);
  --re-max: 1180px;
  --re-space-section: clamp(3.5rem, 8vw, 6rem);
  --re-font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --re-font-sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--re-font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--re-ink);
  background: var(--re-bg);
}

.re-wrap {
  max-width: var(--re-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.re-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Placeholder surfaces — replace with real photos when designing */
.re-media-ph {
  background: linear-gradient(135deg, #e8e4df 0%, #d4cec6 48%, #c5bdb2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.re-skip:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 99999;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  outline: 2px solid currentColor;
}

/* Layout primitives */
.re-grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) {
  .re-grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.re-grid-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .re-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.re-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .re-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.re-card {
  border: 1px solid var(--re-line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.re-card-media {
  aspect-ratio: 4 / 3;
}

.re-muted {
  color: var(--re-ink-muted);
  margin: 0;
}

/* Site chrome — refine in visual pass */
.re-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--re-line);
}

.re-site-header-inner {
  max-width: var(--re-max);
  margin-inline: auto;
  padding: 1rem clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.re-logo {
  font-family: var(--re-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
}

.re-nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
}
.re-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--re-ink);
}
@media (min-width: 800px) {
  .re-nav-toggle {
    display: none;
  }
}

.re-nav-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: flex-end;
}
.re-nav-panel a {
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
}
.re-nav-panel a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
@media (max-width: 799px) {
  .re-nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--re-bg);
    border-bottom: 1px solid var(--re-line);
  }
  .re-nav-panel.re-nav-open {
    display: flex;
  }
}

.re-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 12vw, 7rem) 1.25rem;
  color: #fff;
}
.re-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.re-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.28));
}
.re-hero .re-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.re-heading-xl {
  font-family: var(--re-font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.re-section-title {
  font-family: var(--re-font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  text-align: center;
  margin: 0 0 0.85rem;
}

.re-section {
  padding-block: var(--re-space-section);
}

.re-stats-value {
  font-family: var(--re-font-serif);
  font-size: 2rem;
  margin: 0 0 0.25rem;
}

.re-quote-block {
  background: var(--re-bg-alt);
  padding: clamp(2rem, 5vw, 3rem);
}

.re-strip {
  min-height: 220px;
}
@media (min-width: 768px) {
  .re-strip {
    min-height: 320px;
  }
}

.re-testimonial {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem;
  text-align: center;
  color: #fff;
  min-height: 280px;
}
.re-testimonial .re-quote {
  font-family: var(--re-font-serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
  max-width: 42rem;
  margin-inline: auto;
}

.re-contact {
  padding-block: var(--re-space-section);
  text-align: center;
}
.re-fields {
  max-width: 480px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  text-align: left;
}
.re-fields label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.re-fields input,
.re-fields textarea,
.re-fields select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--re-line);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.re-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  background: var(--re-ink);
  color: #fff;
}

.re-search-strip {
  background: #252422;
  color: #faf9f7;
  padding: 1rem clamp(1.25rem, 4vw, 2rem);
}
.re-search-form {
  max-width: var(--re-max);
  margin-inline: auto;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 900px) {
  .re-search-form {
    grid-template-columns: minmax(0, 2fr) 1fr 1fr auto;
    align-items: end;
  }
}
.re-search-form label span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}
.re-search-form input,
.re-search-form select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

.re-footer {
  background: #141312;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 2rem;
  font-size: 0.9rem;
}
.re-grid-footer {
  display: grid;
  gap: 2rem;
}
.re-footer a {
  color: inherit;
}

@media (min-width: 800px) {
  .re-grid-footer {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.re-blog-title {
  font-family: var(--re-font-serif);
  font-size: 1.2rem;
  margin: 0.75rem 0 0.35rem;
}
.re-blog-more {
  font-size: 0.88rem;
  font-weight: 600;
}

.re-ratio {
  aspect-ratio: 4 / 3;
}

.re-mt-0 {
  margin-top: 0;
}
