/* Travis Ridge, LLC — shared site styles */

:root {
  --forest: #1A402F;
  --forest-dark: #122d21;
  --cream: #F3EFDC;
  --cream-soft: #ece5cc;
  --line: #d8d0b4;
  --text-muted: #5a6b60;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .wordmark { font-family: 'Lora', Georgia, serif; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-lockup { height: 46px; width: auto; display: block; }
.logo-lockup-sm { height: 38px; }

nav.links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
nav.links a { padding: 6px 0; border-bottom: 2px solid transparent; }
nav.links a:hover, nav.links a.active { border-bottom-color: var(--forest); }

.nav-cta {
  background: var(--forest);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--forest-dark); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.open .nav-toggle span:nth-child(2) { opacity: 0; }
header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 600;
  max-width: 780px;
  margin: 0 0 22px;
}
.hero p.lead {
  font-size: 18px;
  max-width: 620px;
  color: var(--text-muted);
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; }

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
}
.btn-primary:hover { background: var(--forest-dark); }

.btn-secondary {
  border: 1px solid var(--forest);
  color: var(--forest);
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(26,64,47,0.06); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--cream-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; font-weight: 600; margin: 0 0 14px; }
.section-head p { color: var(--text-muted); margin: 0; font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.card .num {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.card h3 { font-size: 18px; margin: 0 0 10px; }
.card p { font-size: 14px; color: var(--text-muted); margin: 0; }

.stat-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.stat { text-align: left; }
.stat .value { font-family: 'Lora', serif; font-size: 34px; font-weight: 600; }
.stat .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .step-num {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  width: 48px;
  flex-shrink: 0;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person-card { text-align: left; }
.avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--forest);
  border-radius: 6px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 13px;
  opacity: 0.55;
}
.person-card h3 { margin: 0 0 4px; font-size: 17px; }
.person-card .role { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; font-weight: 600; }
.person-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.cta-band {
  background: var(--forest);
  color: var(--cream);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { font-size: 30px; margin: 0 0 12px; }
.cta-band p { color: rgba(243,239,220,0.75); margin: 0 0 28px; }
.cta-band .btn-primary { background: var(--cream); color: var(--forest); }
.cta-band .btn-primary:hover { background: #fff; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--cream);
  color: var(--forest);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info .info-block .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; margin-bottom: 6px; }
.contact-info .info-block .value { font-size: 16px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-links { display: flex; gap: 48px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; color: var(--text-muted); }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

/* ---------- Page header (interior pages) ---------- */
.page-header { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.page-header h1 { font-size: 40px; font-weight: 600; margin: 0 0 16px; max-width: 700px; }
.page-header p { font-size: 17px; color: var(--text-muted); max-width: 620px; margin: 0; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .people-grid, .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .footer-top, .footer-links { flex-direction: column; gap: 24px; }

  /* Collapse primary nav into a hamburger dropdown */
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 6px 32px 16px;
    box-shadow: 0 18px 30px -24px rgba(18, 45, 33, 0.5);
  }
  header.open nav.links { display: flex; }
  nav.links a {
    padding: 15px 0;
    font-size: 16px;
    border-top: 1px solid var(--line);
    border-bottom: none;
  }
  nav.links a:first-child { border-top: none; }
  nav.links a:hover, nav.links a.active { border-bottom-color: transparent; }
}
