/* BeechTree Properties LLC */
:root {
  --forest: #0f2a1d;
  --forest-2: #163826;
  --ink: #0b1310;
  --cream: #f4f1ea;
  --cream-dim: rgba(244, 241, 234, 0.72);
  --leaf: #e9b730;
  --beech-green: #90c018; /* bright leaf green from the BeechTree logo */
  --nav-red: #d3141c; /* a brighter shade of the Grower’s Playbook red, readable over the sky */
  --ember: #e07b2a;
  --line: rgba(244, 241, 234, 0.18);
  --head: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Leave room for the fixed header (KW bar + logo) when a menu link jumps down the page. */
html { scroll-behavior: smooth; scroll-padding-top: 190px; }
@media (min-width: 720px) { html { scroll-padding-top: 230px; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 1rem;
}

/* ---------- Header (brokerage bar always visible) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s ease;
}
.site-header.scrolled { background: rgba(36, 64, 10, 0.95); backdrop-filter: blur(8px); } /* deep leaf green from the BeechTree logo */
.topbar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.15rem 0.75rem;
  padding: 0.4rem var(--gutter);
  background: #fff; color: var(--ink);
  border-bottom: 1px solid rgba(11, 19, 16, 0.12);
  font-size: 0.85rem; text-align: center;
}
.brokerage-name { font-weight: 600; }
.brokerage-phone { font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brokerage-logo { width: 170px; height: auto; display: block; }
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem var(--gutter); /* full width, so its edges line up with the KW bar above */
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
/* Large enough to read the name inside the logo at the top; shrinks once the visitor scrolls. */
.brand img { width: 110px; height: auto; transition: width 0.3s ease; }
.site-header.scrolled .brand img { width: 92px; } /* still big enough to read the name */
.menu-toggle { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.menu-toggle {
  background: none; border: 0; color: var(--cream); cursor: pointer;
  display: flex; align-items: center; gap: 0; padding: 0.5rem 0; transition: color 0.25s ease;
  font: 600 1rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; /* same as Buyers/Sellers */
}
/* Right side of the header: quick links (computers only) and MENU. */
.nav-right { display: flex; align-items: center; gap: 2.25rem; } /* even spacing: MENU, Buyers, Sellers */
.quick-links { display: none; gap: 2.25rem; }
.quick-links a {
  color: var(--cream); text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  font: 600 1rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 0; border-bottom: 2px solid transparent; transition: color 0.25s ease, border-color 0.25s ease;
}
.quick-links a:hover, .quick-links a:focus-visible { color: var(--beech-green); border-bottom-color: var(--beech-green); }
@media (min-width: 900px) {
  .quick-links { display: flex; }
}
/* MENU, Buyers, Sellers: red over the top photo, white once the green bar appears on scroll; green on hover. */
.menu-toggle, .quick-links a { color: var(--nav-red); font-weight: 800; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); }
.site-header.scrolled .menu-toggle, .site-header.scrolled .quick-links a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.site-header .menu-toggle:hover, .site-header .menu-toggle:focus-visible,
.site-header .quick-links a:hover, .site-header .quick-links a:focus-visible { color: var(--beech-green); }
/* Hover or keyboard focus: MENU turns BeechTree leaf green and a three-line menu icon slides in to its left. */
.menu-icon {
  display: block; flex: none; fill: currentColor;
  width: 0; margin-right: 0; opacity: 0; overflow: hidden;
  transition: width 0.25s ease, margin-right 0.25s ease, opacity 0.25s ease;
}
.menu-toggle:hover, .menu-toggle:focus-visible { color: var(--beech-green); }
.menu-toggle:hover .menu-icon, .menu-toggle:focus-visible .menu-icon { width: 20px; margin-right: 0.7rem; opacity: 1; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(11, 19, 16, 0.97);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 140px var(--gutter) 2rem;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-overlay li a {
  display: block; padding: 0.6rem 0; text-decoration: none;
  font: 800 clamp(1.75rem, 6vw, 3rem)/1.2 var(--head);
}
.menu-overlay li a:hover, .menu-overlay li a:focus-visible { color: var(--leaf); }
.menu-broker { margin-top: 2rem; color: var(--cream-dim); font-size: 0.9rem; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 235px var(--gutter) 90px;
  background: var(--forest);
  overflow: hidden;
}
/* Farm photo on its own layer so it can slowly zoom and drift (the clouds appear to move). */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('/img/poultry-farm.webp') 55% bottom / cover no-repeat; /* keep the poultry houses (low in the photo) in view */
  transform-origin: 50% 100%;
  animation: sky-drift 18s ease-in-out infinite alternate;
}
@keyframes sky-drift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.15) translateX(-3.5%); }
}
/* Dark green tint over the photo so the white text stays readable. */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(0, 0, 0, 0.12); /* light and even across the whole photo, so the sky stays blue and sunny */
}
.hero-light {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none;
}
.hero-light--a { width: 60vmax; height: 60vmax; left: -20vmax; top: -15vmax; background: #2f6b3f; animation: pan-a 48s ease-in-out infinite alternate; }
.hero-light--b { width: 45vmax; height: 45vmax; right: -15vmax; bottom: -20vmax; background: #b8782a; opacity: 0.22; animation: pan-b 56s ease-in-out infinite alternate; }
@keyframes pan-a { to { transform: translate(18vmax, 10vmax); } }
@keyframes pan-b { to { transform: translate(-16vmax, -8vmax); } }

.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.badge-wrap { position: relative; width: min(300px, 62vw); margin: 0 auto 2rem; }
.badge-wrap::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 183, 48, 0.28) 0%, rgba(233, 183, 48, 0) 65%);
}
.hero-badge {
  position: relative; width: 100%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
.hero .eyebrow { font-size: clamp(1rem, 2.4vw, 1.4rem); font-weight: 700; letter-spacing: 0.18em; line-height: 1.4; }
/* Phones: put "Georgia" on its own line instead of breaking after the dot. */
@media (max-width: 719px) { .eyebrow-dot { display: none; } .eyebrow-place { display: block; } }
.hero h1, .hero .eyebrow, .hero-sub, .hero-cta { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 16px rgba(0, 0, 0, 0.7); } /* firm edge + soft glow so text reads over white clouds */
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em;
  margin: 0 0 0.4rem;
}
.hero h1 span { color: #fff; font-weight: 800; }
/* Name, subtitle and Contact us in pure white (Jonathon, 2026-11-16). */
.hero h1, .hero-sub, .hero-cta { color: #fff; }
.hero-sub { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0 0 2.25rem; }
.hero-cta {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
  font: 700 1.1rem/1 var(--body); letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none;
}
.cta-line { width: 2px; height: 64px; background: #fff; transform-origin: top; animation: grow 2.4s ease-in-out infinite; }
@keyframes grow { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sections ---------- */
section:not(.hero) { padding: 88px 0; }
.lede { font-size: 1.1rem; color: var(--cream-dim); max-width: 760px; }

.about {
  /* Chickens inside a broiler house, under a dark tint so the text stays readable. */
  background:
    linear-gradient(rgba(11, 19, 16, 0.62), rgba(11, 19, 16, 0.7)),
    url('/img/chicken-house.webp') center / cover no-repeat,
    var(--ink);
}
/* About: bigger "About us" label; paragraph in the same light color as the heading. */
.about .eyebrow, #services .eyebrow, #contact .eyebrow, #playbook .eyebrow { font-size: clamp(0.95rem, 2vw, 1.2rem); font-weight: 700; letter-spacing: 0.18em; }
.about .lede { color: var(--cream); }
.about h2, .about .lede, .about-tagline, .agent-creds, .about .eyebrow, .agent h3, .agent p { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); }
.about-tagline { color: var(--leaf); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.25rem); margin: -0.25rem 0 1rem; }
.farm-types { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.farm-types li {
  padding: 0.4rem 1rem; border: 1.5px solid var(--leaf); border-radius: 999px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; color: #fff;
  background: rgba(11, 19, 16, 0.45);
}
.agent-creds { list-style: none; padding: 0; margin: 0.75rem auto 0.9rem; max-width: 340px; }
.agent-creds li { color: #fff; font-size: 0.95rem; line-height: 1.45; padding: 0.3rem 0; border-top: 1px solid rgba(244, 241, 234, 0.18); }
.agent-creds li:last-child { border-bottom: 1px solid rgba(244, 241, 234, 0.18); }
.agents { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
.agent { text-align: center; }
.agent img {
  width: 220px; height: 220px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 1.25rem; border: 3px solid var(--leaf);
}
.agent h3 { font-size: 1.25rem; margin-bottom: 0.2rem; color: #fff; }
.agent p { margin: 0.15rem 0; }
.agent-role { color: #fff; font-size: 0.9rem; }
.agent-phone { font-size: 0.95rem; text-decoration: none; color: #fff; }
.agent-email { color: #fff; font-size: 0.95rem; }

.services { background: #24400a; } /* deep shade of the BeechTree logo leaf green (Jonathon, 2026-11-16) */
.service-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 2rem; }
.service-col {
  background: rgba(11, 19, 16, 0.45); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.service-col h3 { color: var(--leaf); }
.service-col ul { list-style: none; margin: 0; padding: 0; }
.service-col li { padding: 0.85rem 0; border-top: 1px solid var(--line); color: var(--cream-dim); }
.service-col li:first-child { border-top: 0; }
.service-col strong { color: var(--cream); display: block; }

.playbook { background: var(--ink); }
.playbook-inner { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; text-align: center; }
.playbook-inner img { width: min(240px, 60vw); margin: 0 auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.5)); }
.playbook p:not(.eyebrow) { color: var(--cream-dim); }
/* Featured Facebook Reel (tall 9:16 video). */
.video-frame {
  width: min(300px, 100%); aspect-ratio: 9 / 16; margin: 1.5rem auto 0.5rem;
  border-radius: 16px; overflow: hidden; background: #000;
  border: 2px solid var(--leaf); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-figure { margin: 0; }
.video-figure figcaption { margin-top: 0.75rem; text-align: center; color: var(--cream); font-size: 0.95rem; font-weight: 600; }
/* Read aloud by screen readers, not shown on screen. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fb-button {
  display: inline-block; margin-top: 0.75rem; padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--leaf); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.fb-button:hover, .fb-button:focus-visible { background: #f3c84a; transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact {
  /* Empty poultry house photo under a dark leaf-green tint so the form and text stay readable. */
  background:
    linear-gradient(rgba(20, 38, 8, 0.6), rgba(20, 38, 8, 0.72)),
    url('/img/empty-house.webp') center / cover no-repeat,
    #24400a;
}
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contact-info p:not(.eyebrow) { color: #fff; }
.contact-info { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); }
.contact-info a { color: #fff; }
.contact-info dl { margin: 1.5rem 0 0; }
.contact-info dt { font-weight: 600; margin-top: 1rem; }
.contact-info dd { margin: 0.15rem 0 0; color: #fff; overflow-wrap: anywhere; }

.contact-form {
  background: #1a3008; border: 1px solid var(--line); border-radius: 16px; /* solid so the photo does not show behind the form */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
}
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; padding: 0; }
.optional { font-weight: 400; color: var(--cream-dim); }
input:not([type="radio"]), textarea {
  width: 100%; padding: 0.75rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(244, 241, 234, 0.06); color: var(--cream);
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--ember); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.choices label { font-weight: 400; display: flex; gap: 0.5rem; align-items: center; cursor: pointer; }
.choices input { accent-color: var(--leaf); }
.field-error { color: var(--ember); font-size: 0.85rem; margin: 0.3rem 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0.5rem 0 1rem; min-height: 65px; }
#contact-submit {
  width: 100%; padding: 0.95rem 1rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--leaf); color: var(--ink);
  font: 700 0.95rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
}
#contact-submit:hover { background: #f2c94b; }
#contact-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin: 1rem 0 0; }
.form-status.error { color: var(--ember); }
.privacy { font-size: 0.8rem; color: var(--cream-dim); margin: 0.75rem 0 0; }
.thanks { text-align: center; padding: 2rem 0.5rem; }
.thanks h3 { color: var(--leaf); font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); color: var(--ink); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
.footer-kw img { width: 260px; }
.footer-broker p { margin: 0.2rem 0; }
.footer-broker .brokerage-name { font-size: 1.1rem; font-weight: 700; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(11, 19, 16, 0.15); font-size: 0.85rem; color: #3b4741; }
.footer-legal p { margin: 0.2rem 0; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .topbar { justify-content: flex-end; padding-right: 48px; }
  .navbar { padding: 1rem 48px; }
  .brand img { width: 150px; }
  .site-header.scrolled .brand img { width: 120px; }
  .hero { padding-top: 255px; }
  .hero::before { background-position: center bottom; }
  .agents { grid-template-columns: 1fr 1fr; }
  .service-cols { grid-template-columns: 1fr 1fr; }
  /* Tablets: logo above the text, video beside both. */
  .playbook-inner { grid-template-columns: 1fr 260px; grid-template-areas: "logo video" "text video"; text-align: left; column-gap: 2.5rem; }
  .playbook-inner > img { grid-area: logo; width: 160px; margin: 0; }
  .playbook-inner > div:not(.video-frame) { grid-area: text; }
  .video-figure { grid-area: video; }
  .playbook .video-frame { margin: 0; width: 260px; }
  .video-figure figcaption { max-width: 260px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 2rem; }
  .footer-grid { grid-template-columns: auto 1fr; gap: 3rem; }
  .footer-broker { text-align: right; }
}

/* Computers: logo | text and button | video, all in one row. */
@media (min-width: 1024px) {
  .playbook-inner { grid-template-columns: 240px 1fr 280px; grid-template-areas: "logo text video"; }
  .playbook-inner > img { width: 220px; }
  .playbook .video-frame { width: 280px; }
  .video-figure figcaption { max-width: 280px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badge, .hero-light, .cta-line, .hero::before { animation: none !important; }
}
