/* =========================================================
   LMBR — styles-index.css
   Landing page — two full-bleed photo panels, side by side
   on desktop, stacked on mobile. Nav floats over both panels.

   FILE STRUCTURE
   =========================================================
   1.  Design Tokens
   2.  Base Reset + Body
   3.  Navigation
   4.  Hamburger / Mobile Drawer
   5.  Main Layout
   6.  Panels
   7.  Panel Backgrounds + Overlays
   8.  Panel Content — Eyebrow / Headline / Sub / CTA
   9.  Footer
   10. Responsive — Mobile (max-width: 768px)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow-x: hidden; }

:root {
  --green-dark:  #0e1a0c;
  --green-mid:   #162314;
  --warm-white:  #faf8f4;
  --cream-mid:   #ede8df;
  --border:      #d8d0c4;
  --gold:        #a67c52;
  --gold-light:  #c49a6a;
  --green-acc:   #7db87a;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--green-dark);
  color: #fff;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   3. NAVIGATION
   Fixed across both panels. Transparent background —
   reads over dark photos. Includes all four nav links
   and a CTA button on the right.
   ========================================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  min-height: 64px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 60%, transparent 100%);
  transition: background 0.3s;
}
nav.scrolled {
  background: rgba(14,26,12,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 9px 20px;
  background: rgba(14,26,12,0.75);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}
.nav-cta:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(14,26,12,0.95);
}

/* =========================================================
   4. HAMBURGER / MOBILE DRAWER
   Hamburger hidden on desktop, shown on mobile.
   ========================================================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 260px; height: 100%;
  background: var(--green-dark);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 80px 28px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.nav-drawer.open { transform: translateX(0); }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-link {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.drawer-link:last-child { border-bottom: none; }
.drawer-link:hover { color: #fff; }
.drawer-cta-label {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.drawer-cta {
  padding: 13px 20px;
  border: 1.5px solid rgba(166,124,82,0.5);
  border-radius: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
  transition: background 0.2s, border-color 0.2s;
}
.drawer-cta:hover { background: rgba(166,124,82,0.08); border-color: var(--gold); }
.drawer-cta--buyers { border-color: rgba(125,184,122,0.5); color: var(--green-acc); }
.drawer-cta--buyers:hover { background: rgba(125,184,122,0.08); border-color: var(--green-acc); }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
body.nav-open { overflow: hidden; }

/* =========================================================
   5. MAIN LAYOUT
   Flex row on desktop — two panels side by side.
   Takes up full viewport minus footer.
   ========================================================= */
main {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
}

/* =========================================================
   6. PANELS
   Each panel is a full-height link with photo background.
   Hover slightly expands the active panel.
   ========================================================= */
.panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  overflow: hidden;
  transition: flex 0.4s ease;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.panel:last-child { border-right: none; }
.panel:hover { flex: 1.06; }

/* Photo backgrounds */
.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.panel:hover .panel-bg { transform: scale(1.03); }

.panel-yards .panel-bg {
  background-image: url('lp2-yards.jpg');
  background-position: center 40%;
}
.panel-buyers .panel-bg {
  background-image: url('lp2-buyers.jpg');
  background-position: center 35%;
}

/* =========================================================
   7. PANEL OVERLAYS
   Heavy gradient from bottom so text is always readable.
   Buyers panel slightly warmer to preserve golden tones.
   ========================================================= */
.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08)  0%,
    rgba(0,0,0,0.12)  35%,
    rgba(0,0,0,0.62)  65%,
    rgba(0,0,0,0.88)  100%
  );
}
.panel-buyers .panel-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10,6,2,0.05) 0%,
    rgba(10,6,2,0.12) 30%,
    rgba(10,6,2,0.60) 62%,
    rgba(10,6,2,0.86) 100%
  );
}

/* =========================================================
   8. PANEL CONTENT
   Sits at bottom-left of each panel.
   Eyebrow → large serif headline → sub → CTA button
   ========================================================= */
.panel-content {
  position: relative;
  z-index: 2;
  padding: 0 36px 40px;
  width: 100%;
}

.panel-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.panel-eyebrow--green { color: var(--green-acc); text-shadow: 0 1px 8px rgba(0,0,0,0.8); }

.panel-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 0;
}

.accent-gold  { color: var(--gold-light); display: block; }
.accent-green { color: var(--green-acc);  display: block; }

.panel-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 14px 0 24px;
  max-width: 400px;
}

/* CTA button — outlined, matches reference screenshot */
.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.panel:hover .panel-cta {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.cta-arrow { opacity: 0.6; }

/* =========================================================
   9. FOOTER
   Cream bar with three value statements.
   Horizontal on desktop.
   ========================================================= */
footer {
  background: var(--cream-mid);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.footer-position {
  text-align: center;
  font-style: italic;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold);
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 32px 0;
  letter-spacing: 0.01em;
}
.footer-clarity {
  text-align: center;
  font-size: 13px;
  color: #3a3a3a;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
  padding: 6px 32px 2px;
}
.footer-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-top: 1px solid rgba(216,208,196,0.6);
  margin-top: 14px;
}
.footer-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  flex: 1;
  max-width: 320px;
}
.footer-card svg { color: #375e28; opacity: 0.55; flex-shrink: 0; }
.footer-card span { font-size: 12px; color: #555; line-height: 1.5; }
.footer-divider {
  width: 1px;
  background: rgba(216,208,196,0.6);
  margin: 12px 0;
  align-self: stretch;
}


/* =========================================================
   NAV CTA DROPDOWN
   "Start the Conversation" splits into two audience options.
   ========================================================= */
.nav-cta-dropdown {
  position: relative;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  font-family: 'DM Sans', sans-serif;
}
.cta-chevron {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s;
}
.nav-cta[aria-expanded="true"] .cta-chevron {
  transform: rotate(180deg);
}
.nav-cta-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--green-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  overflow: hidden;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-cta-menu.open {
  display: block;
}
.nav-cta-option {
  display: block;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.nav-cta-option:last-child { border-bottom: none; }
.nav-cta-option:hover { background: rgba(255,255,255,0.07); color: #fff; }

/* =========================================================
   10. RESPONSIVE — MOBILE (max-width: 768px)
   Panels stack vertically. Each panel fills half the screen.
   Nav collapses to hamburger.
   ========================================================= */
@media (max-width: 768px) {
  body { height: auto; min-height: 100dvh; }

  nav {
    padding: 12px 20px;
    background: rgba(14,26,12,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hamburger { display: flex; }
  .nav-links, .nav-cta { display: none; }

  main {
    flex-direction: column;
    min-height: calc(100dvh - 110px);
  }

  .panel {
    flex: none;
    min-height: calc(50dvh - 28px);
    align-items: flex-end;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .panel:last-child { border-bottom: none; }
  .panel:hover { flex: none; }
  .panel:hover .panel-bg { transform: none; }

  .panel-content { padding: 0 20px 14px; }
  .panel-eyebrow { font-size: 11px; font-weight: 700; margin-bottom: 2px; }
  .panel-headline { font-size: clamp(28px, 8vw, 40px); }
  .panel-sub { font-size: 13px; margin: 4px 0 6px; }
  .panel-cta { font-size: 11px; padding: 10px 18px; }

  /* Footer stacks on mobile */
  .footer-position { font-size: 13px; padding: 14px 22px 0; }
  .footer-clarity { font-size: 12.5px; padding: 6px 22px 4px; }
  .footer-cards { flex-direction: column; align-items: stretch; margin-top: 10px; }
  .footer-card { max-width: 100%; padding: 10px 20px; }
  .footer-divider { width: calc(100% - 40px); height: 1px; margin: 0 20px; align-self: auto; }
}
