/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  color: #0a0a0a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #666;
}
.eyebrow.light { color: rgba(255,255,255,0.7); }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section.dark { background: #0a0a0a; color: #fff; }
.section.grey { background: #f7f5f1; }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head.light { color: #fff; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: #666; max-width: 560px; margin: 0 auto; }
.section.dark .section-sub { color: rgba(255,255,255,0.7); }
.section-foot { text-align: center; margin-top: 4rem; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
.logo span { font-style: italic; font-weight: 400; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.5; }
.nav-cta {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #0a0a0a;
  padding: 0.7rem 1.4rem;
  transition: all 0.2s;
}
.nav-cta:hover { background: #0a0a0a; color: #fff; }
.nav-toggle { display: none; font-size: 1.5rem; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.55));
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}
.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.85;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  font-weight: 300;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== BUTTONS ===== */
.btn-line {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 1rem 2.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-line:hover { background: currentColor; color: #fff; }
.section.dark .btn-line:hover { color: #0a0a0a; }
.btn-line.light { color: #fff; }
.btn-fill {
  background: #0a0a0a;
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: 100%;
  transition: opacity 0.2s;
}
.btn-fill:hover { opacity: 0.85; }

/* ===== MANIFESTO ===== */
.manifesto { padding: 6rem 0; text-align: center; border-bottom: 1px solid #eee; }
.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1a1a;
}
.manifesto-sig {
  margin-top: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tab {
  padding: 1rem 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.tab:hover { color: #0a0a0a; }
.tab.active { color: #0a0a0a; border-bottom-color: #0a0a0a; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #888;
  font-style: italic;
  background: #f7f5f1;
}

/* ===== LISTINGS ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.listing-card {
  transition: transform 0.3s;
  cursor: pointer;
}
.listing-card:hover { transform: translateY(-4px); }
.listing-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1.25rem;
}
.listing-body { padding: 0 0.25rem; }
.listing-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.listing-address {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.listing-meta {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ===== PULSE ===== */
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.pulse-card {
  background: #f7f5f1;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
}
.section.grey .pulse-card { background: #fff; }
.pulse-card:hover { transform: translateY(-4px); }
.pulse-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.pulse-body { padding: 1.75rem; }
.pulse-type {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.6rem;
}
.pulse-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.pulse-card p { font-size: 0.95rem; color: #444; }

/* ===== REELS ===== */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.reel-slot {
  aspect-ratio: 9/16;
  background: #0a0a0a;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.social-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.social-links a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid #0a0a0a;
  padding-bottom: 4px;
}

/* ===== SEARCH ===== */
.search-form { margin-top: 2rem; }
.search-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.search-row select {
  padding: 1rem;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23000' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

/* ===== GUIDE ===== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}
.guide-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  transition: background 0.2s;
  display: block;
}
.guide-card:hover { background: #0a0a0a; color: #fff; }
.guide-card:hover .guide-num { color: rgba(255,255,255,0.4); }
.guide-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.guide-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.guide-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.guide-link {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== ABOUT ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; color: #333; }
.about-text .btn-line { margin-top: 1rem; }
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* ===== SUBSCRIBE ===== */
.subscribe {
  background: #0a0a0a;
  color: #fff;
  padding: 7rem 0;
  text-align: center;
}
.subscribe h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.subscribe p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2.5rem; }
.subscribe-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0;
}
.subscribe-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 1rem 0;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form button {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  transition: opacity 0.2s;
}
.subscribe-form button:hover { opacity: 0.7; }
.subscribe-fine {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* ===== FOOTER ===== */
.footer {
  background: #f7f5f1;
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-head {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #888;
}
.footer-grid a {
  display: block;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s;
}
.footer-grid a:hover { opacity: 0.6; }
.footer-tag { color: #666; margin-top: 0.75rem; font-size: 0.9rem; }
.footer-legal {
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.05em;
}
