/* ============================================================
   THE CLEARING — theclearingtx.com
   Base stylesheet — placeholder photography version
   ============================================================ */

/* ── TOKENS ── */
:root {
  --cream:        #F5F1EB;
  --cream-dark:   #EDE8DF;
  --bark:         #3D2B1F;
  --bark-light:   #5C4033;
  --sage:         #7A8C6E;
  --sage-light:   #A3B097;
  --stone:        #9C9080;
  --stone-light:  #C8C2B8;
  --sky:          #D0D8E0;
  --white:        #FFFFFF;
  --black:        #1A1410;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  --max-width:    1200px;
  --max-narrow:   720px;

  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     7rem;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 500; font-family: var(--font-sans); letter-spacing: 0.02em; }
em { font-style: italic; }
p { max-width: 65ch; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container-narrow {
  max-width: var(--max-narrow);
}
.section {
  padding: var(--space-xl) 0;
}
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}
.section-intro {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--bark-light);
  margin-top: 1rem;
  margin-bottom: var(--space-lg);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-light:hover {
  background: var(--white);
  color: var(--bark);
  border-color: var(--white);
}
.btn-dark {
  background: var(--bark);
  color: var(--white);
  border-color: var(--bark);
}
.btn-dark:hover {
  background: var(--bark-light);
  border-color: var(--bark-light);
}
.btn-outline {
  color: var(--bark);
  border-color: var(--stone-light);
  font-size: 0.7rem;
}
.btn-outline:hover {
  background: var(--bark);
  color: var(--white);
  border-color: var(--bark);
}

/* ── PHOTO PLACEHOLDERS ── */
.hero-placeholder,
.photo-placeholder,
.tract-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bark);
  opacity: 0.5;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--space-md);
  background: rgba(245, 241, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-light);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--bark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bark-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--bark); }
.nav-cta {
  border: 1px solid var(--stone-light);
  padding: 0.5rem 1.1rem;
}
.nav-cta:hover {
  background: var(--bark) !important;
  color: var(--white) !important;
  border-color: var(--bark) !important;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #8fa882 0%, #6b7f5e 40%, #4a5e3d 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.65) 0%, rgba(26,20,16,0.15) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}
.hero-location {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.hero-headline {
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 10ch;
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-md);
  max-width: 50ch;
}

/* ── THE LAND ── */
.land { background: var(--cream); }
.land .container-narrow { margin-bottom: var(--space-lg); }
.land h2 { margin-bottom: 1.5rem; }
.body-text p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--bark);
  margin-bottom: 1.25rem;
  max-width: 60ch;
}
.land-features {
  background: var(--cream-dark);
  padding: var(--space-lg) 0;
  margin-top: var(--space-lg);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md) var(--space-lg);
}
.feature { padding: var(--space-sm) 0; }
.feature-icon {
  color: var(--sage);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.feature h4 { margin-bottom: 0.4rem; }
.feature p {
  font-size: 0.9rem;
  color: var(--stone);
  max-width: 30ch;
  line-height: 1.5;
}

/* ── PHOTO BREAK ── */
.photo-break { width: 100%; height: 45vh; min-height: 300px; overflow: hidden; }
.photo-break .photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #a0a880 0%, #7a8f68 100%);
  min-height: 300px;
}

/* ── TRACTS ── */
.tracts { background: var(--white); }
.tracts h2 { margin-bottom: 0; }
.tract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.tract-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.tract-card:hover { box-shadow: 0 4px 24px rgba(61,43,31,0.08); }
.tract-featured {
  border: 1.5px solid var(--sage);
  position: relative;
}
.tract-featured::before {
  content: 'Now Listing';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}
.tract-photo { height: 220px; overflow: hidden; }
.tract-photo-placeholder {
  height: 100%;
  background: linear-gradient(135deg, #9aad8a 0%, #6d8060 100%);
}
.tract-body { padding: 1.5rem; }
.tract-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.tract-acres {
  font-size: 0.75rem;
  color: var(--stone);
  font-weight: 400;
}
.tract-desc {
  font-size: 0.9rem;
  color: var(--bark-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: none;
  min-height: 2.5rem;
}
.tract-specs {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tract-specs li {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--cream-dark);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.tracts-note {
  border-top: 1px solid var(--cream-dark);
  padding-top: var(--space-md);
  max-width: 70ch;
}
.tracts-note p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bark-light);
  line-height: 1.75;
  max-width: none;
}

/* ── INVESTMENT ── */
.investment { background: var(--bark); }
.investment .section-label { color: var(--sage-light); }
.investment h2 { color: var(--white); margin-bottom: 1.5rem; }
.investment .body-text p { color: rgba(255,255,255,0.8); }

/* ── ROUND TOP ── */
.roundtop { background: var(--cream); }
.roundtop-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.roundtop-photo { overflow: hidden; min-height: 400px; }
.roundtop-text h2 { margin-bottom: 1.25rem; }
.roundtop-text p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bark);
  margin-bottom: 1rem;
  line-height: 1.8;
  max-width: 55ch;
}
.roundtop-distance {
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
  color: var(--stone) !important;
  margin-top: 1.5rem !important;
}

/* ── THE DRIVE ── */
.drive { background: var(--cream-dark); padding: var(--space-lg) 0; }
.drive .section-label { text-align: center; }
.drive-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}
.drive-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.drive-time {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--bark);
  line-height: 1;
}
.drive-from {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
}
.drive-note {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--bark-light);
  max-width: 18ch;
}
.drive-divider {
  width: 1px;
  height: 80px;
  background: var(--stone-light);
}

/* ── CONTACT ── */
.contact { background: var(--white); }
.contact-inner { margin: 0 auto; }
.contact h2 { margin-bottom: 0.75rem; }
.contact-sub {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bark-light);
  margin-bottom: var(--space-md);
  max-width: 50ch;
}
.contact-form { margin-bottom: var(--space-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-group { margin-bottom: var(--space-sm); }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}
.optional { font-weight: 300; text-transform: none; letter-spacing: 0; font-size: 0.7rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--stone-light);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--bark);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--sage); }
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-broker {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--cream-dark);
  font-size: 0.85rem;
  color: var(--stone);
}
.contact-broker a { color: var(--sage); text-decoration: underline; }

/* ── FOOTER ── */
.footer {
  background: var(--bark);
  padding: var(--space-lg) 0;
  color: rgba(255,255,255,0.5);
}
.footer-inner { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.25rem;
}
.footer-location {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-legal { margin-top: var(--space-sm); }
.footer-legal p { font-size: 0.78rem; line-height: 1.5; max-width: 70ch; }
.footer-disclaimer { margin-top: 0.25rem; opacity: 0.6; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }
  .nav-links { display: none; }
  .roundtop-inner { grid-template-columns: 1fr; }
  .roundtop-photo { min-height: 260px; }
  .drive-grid { flex-direction: column; gap: var(--space-md); }
  .drive-divider { width: 40px; height: 1px; }
  .form-row { grid-template-columns: 1fr; }
  .tract-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}
