/* ====================================================
   Long Road Partners — Global Styles
   ==================================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-forest: #2d5a3d;
  --color-forest-dark: #1a3a28;
  --color-forest-light: #e8f0eb;
  --color-sand: #f5f3f0;
  --color-sand-dark: #e8e5e0;
  --color-white: #ffffff;
  --color-charcoal: #1a1a1a;
  --color-text: #2a2a2a;
  --color-text-muted: #6b6b6b;
  --color-border: #e0ddd8;
  --color-terracotta: #c8662a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====================================================
   Typography
   ==================================================== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }

.text-muted { color: var(--color-text-muted); }
.text-small { font-size: 14px; }

/* ====================================================
   Navigation
   ==================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--color-forest); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-charcoal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: transparent;
  color: var(--color-forest);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1.5px solid var(--color-forest);
  transition: all var(--transition);
}

.nav-cta:hover { background: var(--color-forest); color: white; }

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { width: 100%; text-align: center; justify-content: center; }
}

/* ====================================================
   Buttons
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary { background: var(--color-forest); color: white; }
.btn-primary:hover { background: var(--color-forest-dark); }

.btn-secondary { background: transparent; color: var(--color-forest); border: 1.5px solid var(--color-forest); }
.btn-secondary:hover { background: var(--color-forest-light); }

.btn-white { background: white; color: var(--color-forest); }
.btn-white:hover { background: var(--color-sand); }

.btn-ghost { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====================================================
   Hero Sections
   ==================================================== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 64px;
  margin-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,58,40,0.5), rgba(26,26,26,0.7));
}

.hero .container { position: relative; z-index: 1; text-align: center; }

.hero h1 {
  color: white;
  max-width: 720px;
  margin: 0 auto 16px;
}

.hero .subhead {
  color: rgba(255,255,255,0.85);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 28px;
}

.hero .btn-row { justify-content: center; }

/* Page-specific hero tints */
.hero-home .hero-bg { background-position: center top; }
.hero-home .hero-bg::after { background: linear-gradient(to bottom, rgba(26,58,40,0.45), rgba(26,26,26,0.65)); }
.hero-about .hero-bg { background-position: center 30%; }
.hero-about .hero-bg::after { background: linear-gradient(to bottom, rgba(40,30,15,0.4), rgba(26,26,26,0.6)); }
.hero-portfolio .hero-bg { background-position: center 30%; }
.hero-portfolio .hero-bg::after { background: linear-gradient(to bottom, rgba(20,35,50,0.5), rgba(26,26,26,0.65)); }
.hero-ventures .hero-bg { background-position: center 30%; }
.hero-ventures .hero-bg::after { background: linear-gradient(to bottom, rgba(50,40,20,0.45), rgba(26,26,26,0.6)); }
.hero-acquisitions .hero-bg { background-position: center 30%; }
.hero-acquisitions .hero-bg::after { background: linear-gradient(to bottom, rgba(26,58,40,0.5), rgba(26,26,26,0.65)); }
.hero-resources .hero-bg { background-position: center 30%; }
.hero-resources .hero-bg::after { background: linear-gradient(to bottom, rgba(40,30,15,0.45), rgba(26,26,26,0.6)); }
.hero-contact .hero-bg { background-position: center 30%; }
.hero-contact .hero-bg::after { background: linear-gradient(to bottom, rgba(60,25,10,0.45), rgba(26,26,26,0.6)); }

/* Shorter hero variant */
.hero-short { min-height: 360px; }

/* ====================================================
   Sections
   ==================================================== */
.section {
  padding: 80px 0;
}

.section-alt { background: var(--color-sand); }
.section-dark { background: var(--color-charcoal); color: white; }
.section-forest { background: var(--color-forest); color: white; }

.section-header {
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--color-text-muted); font-size: 17px; max-width: 600px; line-height: 1.7; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.section-dark .section-label { color: rgba(255,255,255,0.5); }

/* ====================================================
   Grid
   ==================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ====================================================
   Cards
   ==================================================== */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 10px;
}

.card h3 { margin-bottom: 10px; }

.card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.card-muted {
  opacity: 0.6;
  border-style: dashed;
}

.card-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--color-forest-light);
  color: var(--color-forest);
  border-radius: 20px;
  margin-top: 16px;
}

/* ====================================================
   Logo Grid
   ==================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.logo-grid-item {
  background: var(--color-sand);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: all var(--transition);
}

.logo-grid-item:hover {
  border-color: var(--color-forest);
  background: var(--color-forest-light);
}

.logo-grid-item img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
}

.logo-grid-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====================================================
   Photo Banner (accent sections with bg image)
   ==================================================== */
.photo-banner {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.photo-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.photo-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.photo-banner .container { position: relative; z-index: 1; }

.photo-banner.warm .photo-banner-bg::after { background: linear-gradient(rgba(60,20,10,0.5), rgba(26,26,26,0.65)); }

/* ====================================================
   Blockquote
   ==================================================== */
.quote-section {
  text-align: center;
  padding: 72px 0;
}

.quote-text {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.6;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
  color: white;
}

/* ====================================================
   Company Profile
   ==================================================== */
.company-profile {
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.company-profile:last-of-type { border-bottom: none; }

.company-logo {
  height: 48px;
  margin-bottom: 16px;
}

.company-logo img { height: 100%; width: auto; }

.company-tagline {
  font-size: 16px;
  color: var(--color-forest);
  font-weight: 500;
  margin-bottom: 16px;
}

.company-photo {
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  background: var(--color-sand);
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

.company-insight {
  background: var(--color-sand);
  border-radius: var(--radius);
  padding: 24px;
}

.company-insight h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.company-insight p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.company-insight hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 12px 0;
}

.sub-brands {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.sub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-sand);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.sub-brand img { height: 28px; width: auto; }
.sub-brand span { font-size: 13px; font-weight: 600; color: var(--color-text-muted); }

/* ====================================================
   FAQ
   ==================================================== */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child { padding-top: 0; }

.faq-question {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-charcoal);
}

.faq-answer {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ====================================================
   Forms
   ==================================================== */
.form-group { margin-bottom: 16px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-forest);
}

.form-textarea { min-height: 120px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 14px 28px;
  background: var(--color-forest);
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition);
}

.form-submit:hover { background: var(--color-forest-dark); }

/* ====================================================
   Article Cards (Blog/Resources)
   ==================================================== */
.article-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.article-card:hover { box-shadow: var(--shadow-md); }

.article-image {
  height: 180px;
  background: var(--color-sand-dark);
  background-size: cover;
  background-position: center;
}

.article-body { padding: 24px; }

.article-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.article-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.article-excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.article-meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
}

/* ====================================================
   Filter Bar
   ==================================================== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.filter-btn:hover { border-color: var(--color-forest); color: var(--color-forest); }
.filter-btn.active { background: var(--color-forest); color: white; border-color: var(--color-forest); }

/* ====================================================
   Newsletter
   ==================================================== */
.newsletter {
  background: var(--color-forest);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter h3 { color: white; font-size: 22px; margin-bottom: 4px; }
.newsletter p { color: rgba(255,255,255,0.75); font-size: 15px; }

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  width: 260px;
  font-family: var(--font-sans);
}

.newsletter-form button {
  padding: 12px 24px;
  background: white;
  color: var(--color-forest);
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--transition);
}

.newsletter-form button:hover { background: var(--color-sand); }

@media (max-width: 640px) {
  .newsletter { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input { width: 100%; }
}

/* ====================================================
   Footer
   ==================================================== */
.site-footer {
  background: var(--color-charcoal);
  color: #999;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #888;
}

.site-footer h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-link:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  font-size: 13px;
  color: #555;
}

.footer-newsletter {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  color: white;
  font-size: 13px;
  font-family: var(--font-sans);
}

.footer-newsletter button {
  padding: 10px 16px;
  background: var(--color-forest);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

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

/* ====================================================
   Utilities
   ==================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 640px; }

/* Body text for prose sections */
.prose { font-size: 16px; line-height: 1.7; color: var(--color-text-muted); }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--color-text); font-weight: 600; }

/* Contact info card */
.contact-info {
  background: var(--color-sand);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-info h3 { font-size: 17px; margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--color-text-muted); margin-bottom: 12px; }
.contact-info strong { display: block; color: var(--color-text); font-size: 13px; margin-bottom: 4px; }

/* Photo placeholder (for dev) */
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Callout box */
.callout {
  background: #fef9f0;
  border: 1px solid #f0e6c0;
  border-radius: var(--radius);
  padding: 28px;
}

.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--color-text-muted); font-size: 15px; line-height: 1.7; }
