/* ============================================
   Redeemed Realty — Brand Stylesheet
   Neutral base, open accent.
   ============================================ */

:root {
  /* Brand palette */
  --soft-black: #221E1A;   /* ink, wordmark, text */
  --warm-bone:  #F5F1E9;   /* primary background */
  --oat:        #E9E0D2;   /* panels, cards */
  --greige:     #E4DED4;   /* secondary panels */
  --stone:      #8F867A;   /* labels, captions */
  --near-white: #FBF9F4;   /* breathing room */

  /* Ink accents — lettering only, never fills */
  --soft-red:   #C52A22;
  --soft-green: #2C3B30;

  /* Type */
  --display: 'Poppins', sans-serif;
  --text:    'Inter', sans-serif;
  --mono:    'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--text);
  background: var(--warm-bone);
  color: var(--soft-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Labels (monospace editorial signature) ---------- */
.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Topbar (ALD-style announcement) ---------- */
.topbar {
  background: var(--soft-black);
  color: var(--oat);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--greige);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft-black);
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav ul a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-black);
  text-decoration: none;
}

nav ul a:hover { color: var(--soft-red); }

/* ---------- Hero (full-bleed photo) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.8) contrast(0.95);
}

/* Bold dark veil — moody, cinematic */
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34,30,26,0.6) 0%, rgba(34,30,26,0.35) 50%, rgba(34,30,26,0.1) 100%),
    linear-gradient(0deg, rgba(34,30,26,0.4) 0%, rgba(34,30,26,0) 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-inner .label { color: var(--oat); }

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--near-white);
  margin: 20px 0 24px;
}

/* Editorial serif moment — per brand guide, rare and deliberate */
.hero h1 .accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1.15em;
  color: var(--oat);
  display: block;
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--warm-bone);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn.ghost {
  border-color: var(--warm-bone);
  color: var(--warm-bone);
}

.btn.ghost:hover { background: rgba(245,241,233,0.15); }

.hero .btn.solid {
  background: var(--warm-bone);
  color: var(--soft-black);
  border-color: var(--warm-bone);
}

.hero .btn.solid:hover { background: var(--near-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border: 1px solid var(--soft-black);
  color: var(--soft-black);
  transition: background 0.2s, color 0.2s;
}

.btn.solid {
  background: var(--soft-black);
  color: var(--warm-bone);
}

.btn.solid:hover { background: #3a342d; }
.btn:not(.solid):hover { background: var(--oat); }


/* ---------- The Line (statement band) — bold black ---------- */
.statement {
  background: var(--soft-black);
  color: var(--warm-bone);
  text-align: center;
  padding: 88px 24px;
}

.statement .label { color: var(--stone); }

.statement h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 14px 0;
}

/* ---------- Listings (Buck Mason-style editorial grid) ---------- */
.listings { padding: 96px 0 20px; }

.listings-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.listing-card {
  text-decoration: none;
  color: var(--soft-black);
  display: block;
}

.listing-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--greige);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.85) contrast(0.96);
  transition: transform 0.6s ease;
}

.listing-card:hover .listing-media img { transform: scale(1.045); }

.listing-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--warm-bone);
  color: var(--soft-black);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.listing-tag.sold { background: var(--soft-black); color: var(--warm-bone); }

.listing-info { padding: 18px 2px 0; }

.listing-info h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-info p {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin: 6px 0;
}

.listing-price {
  font-family: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- Values ---------- */
.values {
  padding: 120px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  background: var(--near-white);
  border-top: 2px solid var(--soft-black);
  padding: 28px 24px 32px;
}

.value-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--stone);
}

/* ---------- Section headers ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  margin-top: 14px;
}

/* ---------- About ---------- */
/* Dark stage, like The Line */
.about {
  background: var(--soft-black);
  color: var(--warm-bone);
  padding: 96px 0 110px;
}

.about .section-title { color: var(--near-white); }
.about p { color: var(--warm-bone); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about p { margin-bottom: 18px; max-width: 55ch; }

.about .section-title { margin-bottom: 24px; }

.team-media {
  position: relative;
}

.team-media img:first-child {
  width: 100%;
  display: block;
  border-radius: 2px;
}

.team-media .stamp {
  position: absolute;
  width: 120px;
  bottom: -30px;
  right: -26px;
}

.about-stand {
  border-top: 1px solid rgba(245,241,233,0.2);
  margin-top: 28px;
  padding-top: 24px;
}

.about-stand p {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-stand strong {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85em;
}

.about .sign-off {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oat);
  margin-top: 28px;
}

/* hairline seam between stacked dark sections */
.about { border-top: 1px solid rgba(245,241,233,0.12); }

/* ---------- Contact ---------- */
.contact {
  padding: 96px 0 110px;
  text-align: center;
}

.contact p {
  max-width: 52ch;
  margin: 20px auto 40px;
}

.contact-details {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact-details a { color: var(--soft-black); text-decoration: none; }
.contact-details a:hover { color: var(--soft-red); }

/* ---------- Guides (editorial two-up) ---------- */
.guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 96px;
}

.guide-card {
  text-decoration: none;
  color: var(--soft-black);
  display: block;
}

.guide-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--greige);
  margin-bottom: 18px;
}

.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.85) contrast(0.96);
  transition: transform 0.6s ease;
}

.guide-card:hover .guide-media img { transform: scale(1.045); }

/* Center the sellers photo on the house, not the treetops */
.guide-card:nth-child(2) .guide-media img { object-position: center 62%; }

.guide-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 10px 0 8px;
}

.guide-card p {
  font-size: 0.92rem;
  color: var(--stone);
  max-width: 42ch;
}

/* ---------- Walkthrough (single full portrait photo, dark stage) ---------- */
.walkthrough {
  background: var(--soft-black);
  padding: 96px 0;
}

.walkthrough-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.walkthrough-photo {
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}

.walkthrough-copy .label { color: var(--oat); }

.walkthrough-copy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--near-white);
  margin: 16px 0;
}

@media (max-width: 820px) {
  .walkthrough-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Footer (ALD-style stacked columns) ---------- */
footer {
  background: var(--soft-black);
  padding: 64px 0 38px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: start;
  gap: 32px;
  padding-bottom: 40px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(245, 241, 233, 0.15);
}

.footer-wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-bone);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col .label { margin-bottom: 4px; }

.footer-col a {
  color: var(--warm-bone);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-col a:hover { color: var(--oat); }

.footer-note {
  color: var(--stone);
  font-size: 0.85rem;
}

.remax-logo {
  width: 160px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .guides { grid-template-columns: 1fr; }
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

footer span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero { min-height: 72vh; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  nav ul { gap: 18px; }
}

@media (max-width: 520px) {
  .values-grid { grid-template-columns: 1fr; }
  nav ul li:not(:last-child) { display: none; }
}
