/* ============================================
   Fieldstone Group Holdings — Stylesheet
   ============================================ */

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

:root {
  --dark-forest: #3d5534;
  --sage-green: #5a7850;
  --sage-light: #7a9470;
  --warm-gold: #d4a040;
  --white: #ffffff;
  --off-white: #faf9f7;
  --light-gray: #f2f1ef;
  --border-gray: #e0ddd8;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--dark-forest);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 30, 16, 0.75) 0%,
    rgba(20, 30, 16, 0.45) 40%,
    rgba(20, 30, 16, 0.65) 100%
  );
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* ---------- Hero Top Nav ---------- */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.hero-top.nav-scrolled {
  background: rgba(26, 36, 22, 0.95);
  padding: 12px 48px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.hero-logo {
  display: flex;
  flex-direction: column;
}

.hero-brand-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--white);
  line-height: 1.1;
}

.hero-brand-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero Center ---------- */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 80px 48px 80px;
}

.hero-tagline {
  font-family: 'Lora', Georgia, serif;
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  max-width: 750px;
}

.hero-subtitle {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
  letter-spacing: -0.3px;
}

.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px 48px;
  background: var(--sage-green);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.scroll-indicator {
  text-align: center;
  padding-bottom: 32px;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  stroke: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ---------- Book Scroll Animation ---------- */
.book-scroll-section {
  position: relative;
  height: 300vh;
  background: var(--dark-forest);
}

.book-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.book-canvas {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

/* ---------- Section Shared ---------- */
.section {
  padding: 80px 24px;
  position: relative;
}

.section--taupe {
  background: var(--light-gray);
}

.section--white {
  background: var(--white);
}

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

/* Gold accent divider between sections */
.section + .section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--warm-gold);
}

.section--dark + .section::after,
.section + .section--dark::after {
  display: none;
}

.section--dark + .section--dark {
  padding-top: 0;
}

.section-heading {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section--dark .section-heading {
  color: var(--white);
}

/* Small uppercase label above section headings */
.section-label {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 12px;
}

.section--dark .section-label {
  color: var(--warm-gold);
}

.section-subtext {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section--dark .section-subtext {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- About ---------- */
#about {
  background: var(--white);
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage-green), var(--warm-gold), var(--sage-green));
  z-index: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.about-left {
  padding-top: 8px;
}

.about-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* Stat callouts */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-gray);
}

.about-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.about-stat-number {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sage-green);
  line-height: 1.5;
}

.about-stat-label {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 14px;
}

/* Right: image + overlapping card */
.about-right {
  position: relative;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  min-height: 360px;
}

.about-card {
  position: relative;
  margin-top: -60px;
  margin-left: 24px;
  margin-right: 24px;
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--warm-gold);
  z-index: 2;
}

.about-card h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  color: var(--sage-green);
  border: 2px solid var(--sage-green);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: var(--sage-green);
  color: var(--white);
}

/* ---------- Pull Quote ---------- */
.pull-quote-section {
  background: url('../images/hero-bg.jpg') center/cover no-repeat fixed;
  padding: 96px 24px;
  text-align: center;
  position: relative;
}

.pull-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 16, 0.82);
}

.pull-quote-section > * {
  position: relative;
  z-index: 2;
}

.pull-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: -0.3px;
  position: relative;
}

.pull-quote::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--warm-gold);
  margin: 0 auto 28px;
}

/* ---------- Approach Section (Dark) ---------- */
#approach {
  background: linear-gradient(160deg, #2a3e24 0%, #3d5534 40%, #4a6340 100%);
  position: relative;
  overflow: hidden;
}

#approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(212, 160, 64, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

#approach .section-heading {
  color: var(--white);
}

#approach .section-subtext {
  color: rgba(255, 255, 255, 0.7);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.approach-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, background 0.3s;
}

.approach-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
}

.approach-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(90, 120, 80, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.approach-icon svg {
  width: 100%;
  height: 100%;
  stroke: rgba(255, 255, 255, 0.9);
  fill: none;
}

/* Override fill for the people icon */
.approach-icon svg[viewBox="0 0 48 48"][fill="#5a7850"] {
  fill: rgba(255, 255, 255, 0.9);
}

.approach-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 600;
}

.approach-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Chevron icon — hidden on desktop, visible on mobile */
.approach-chevron {
  display: none;
}

/* ---------- Team ---------- */
/* ---------- Combined Roots Section (Team + Geography) ---------- */
.roots-section {
  background: var(--dark-forest);
  overflow: hidden;
  position: relative;
  color: var(--white);
}

.roots-section .section-heading {
  color: var(--white);
}

.roots-section .section-subtext {
  color: rgba(255, 255, 255, 0.75);
}

.roots-section .section-label {
  color: var(--warm-gold);
}

/* Map area below team cards */
.roots-map-area {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.roots-map-heading {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 600;
}

.roots-map-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.roots-map-area .geo-map-wrap {
  padding: 0;
}

.roots-map-area .geo-map-wrap svg {
  width: 100%;
  height: auto;
}

.roots-map-caption {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--warm-gold);
  text-align: left;
}

.roots-map-caption strong {
  font-style: normal;
  color: var(--warm-gold);
}

/* Highlighted states in roots section */
.roots-section .target-states {
  fill: var(--sage-green);
  stroke: var(--sage-light);
}

.roots-section .geo-map-wrap g[fill="#ffffff"] {
  fill: #ffffff;
  stroke: #c0b8a8;
}

/* State highlight glow on card hover */
.state-highlight.state-glow {
  filter: brightness(1.5) drop-shadow(0 0 14px rgba(90, 120, 80, 0.8));
  fill: var(--sage-light) !important;
  animation: none;
}

/* Team cards — full-width stacked, horizontal layout inside */
.roots-team-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.roots-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, background 0.3s;
  cursor: default;
}

.roots-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* Top row: photo + name/role/contact side by side */
.roots-card-top {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 20px;
}

.roots-card-intro {
  flex: 1;
  padding-top: 8px;
}

/* Circle headshot photos */
.roots-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.roots-circle--joe {
  object-position: center 25%;
}

.roots-circle--tom {
  object-position: center 15%;
}

.roots-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--white);
}

.roots-card .team-role {
  margin-bottom: 12px;
}

.roots-card .team-contact {
  border-top: none;
  padding-top: 0;
}

.roots-bio {
  font-size: 0.93rem;
  line-height: 1.75;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.roots-section .team-role {
  color: var(--warm-gold);
}

.roots-section .team-contact {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.roots-section .team-email,
.roots-section .team-linkedin {
  color: rgba(255, 255, 255, 0.6);
}

.roots-section .team-email:hover,
.roots-section .team-linkedin:hover {
  color: var(--white);
}

/* ---------- Process Section ---------- */
#process {
  background: url('../images/about-bg.jpg') center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
}

#process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 247, 0.92);
  z-index: 1;
}

#process > * {
  position: relative;
  z-index: 2;
}

/* ---------- Process Timeline ---------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-number {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  background: var(--sage-green);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(90, 120, 80, 0.25), 0 0 0 6px rgba(90, 120, 80, 0.1);
}

.process-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: linear-gradient(90deg, var(--sage-green), rgba(90, 120, 80, 0.2));
  z-index: 1;
}

.process-step:last-child .process-connector {
  display: none;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  text-align: left;
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border-gray);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-photo--joe {
  object-position: center 25%;
}

.team-photo--tom {
  object-position: center 15%;
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--text-dark);
  text-align: left;
}

.team-role {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.93rem;
  line-height: 1.75;
  margin: 0 0 20px;
  color: var(--text-mid);
}

.team-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gray);
}

.team-email,
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-green);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.team-email:hover,
.team-linkedin:hover {
  color: var(--text-dark);
}

.team-email svg,
.team-linkedin svg {
  width: 18px;
  height: 18px;
}

/* Map tooltip container */
.geo-map-wrap {
  position: relative;
  padding: 16px;
}

/* ---------- Criteria Section ---------- */
#criteria {
  background: linear-gradient(180deg, #f5f0e8 0%, #ebe4d6 100%);
  position: relative;
}

#criteria::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(212, 160, 64, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

#criteria .section-label {
  color: var(--warm-gold);
}

/* Criteria — Key Metrics */
.criteria-metrics {
  max-width: 700px;
  margin: 0 auto 56px;
}

.criteria-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.criteria-metric:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.metric-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
}

.metric-value {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Criteria — Section Subheadings */
.criteria-section-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 32px;
}

/* Criteria — Industry Cards */
.criteria-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 16px;
}

.industry-card {
  text-align: center;
}

.industry-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

.industry-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.industry-text {
  min-width: 0;
}

.criteria-note {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  text-align: center;
  font-style: italic;
  margin-bottom: 0;
}

/* Criteria — Values Checklist */
.criteria-values {
  max-width: 600px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-gray);
  font-size: 1rem;
  color: var(--text-dark);
}

.value-item:first-child {
  border-top: 1px solid var(--border-gray);
}

.value-check {
  color: var(--sage-green);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Map states — hover glow + pulse */
.state-highlight {
  transition: filter 0.3s, fill 0.3s;
  animation: statePulse 3s ease-in-out infinite;
}

.state-highlight:hover {
  filter: brightness(1.4) drop-shadow(0 0 12px rgba(90, 120, 80, 0.7));
  fill: var(--sage-light) !important;
  animation: none;
}

@keyframes statePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: #2a3d24;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip strong {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.tooltip-note {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--warm-gold);
  font-style: italic;
}

/* ---------- Contact ---------- */
#contact {
  background: var(--white);
  padding-top: 48px;
  padding-bottom: 48px;
}

#contact .section-heading {
  color: var(--text-dark);
}

#contact .section-subtext {
  color: var(--text-mid);
}

#contact .section-subtext {
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-green);
  box-shadow: 0 0 0 3px rgba(90, 120, 80, 0.1);
}

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

.form-submit {
  align-self: flex-start;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.contact-info p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-mid);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--sage-light);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--sage-green);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--text-dark);
}

.contact-person {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gray);
}

.contact-person:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-person h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage-green);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.contact-linkedin:hover {
  color: var(--text-dark);
}

.contact-linkedin svg {
  width: 16px;
  height: 16px;
}

.form-status {
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 4px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(90, 120, 80, 0.1);
  color: var(--sage-green);
}

.form-status.error {
  display: block;
  background: rgba(200, 80, 80, 0.1);
  color: #a04040;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a2416;
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.footer-brand-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1.1;
}

.footer-brand-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.4;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-linkedin:hover {
  color: var(--white);
}

.footer-linkedin svg {
  width: 20px;
  height: 20px;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.3;
}

/* ---------- Scroll Animations ---------- */
.section--animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* --- Hero --- */
  .hero-top {
    padding: 16px 24px;
  }

  .hero-top.nav-scrolled {
    padding: 10px 24px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 60px;
    right: 24px;
    background: rgba(36, 48, 32, 0.95);
    padding: 24px;
    border-radius: 8px;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-center {
    padding: 60px 24px 60px;
  }

  .hero-brand-name {
    font-size: 1.6rem;
    letter-spacing: 3px;
  }

  .hero-brand-sub {
    font-size: 0.55rem;
    letter-spacing: 3px;
  }

  .hero-tagline {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* --- Sections --- */
  .section {
    padding: 56px 20px;
  }

  .section-heading {
    font-size: 1.7rem;
  }

  /* --- About --- */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-heading {
    font-size: 1.6rem;
  }

  .about-card {
    margin-left: 16px;
    margin-right: 16px;
  }

  /* --- Approach: Mobile Accordion --- */
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .approach-card {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    cursor: pointer;
    background: transparent;
  }

  .approach-card:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .approach-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
  }

  .approach-icon {
    width: 40px;
    height: 40px;
    margin: 0 16px 0 0;
    padding: 8px;
    flex-shrink: 0;
  }

  .approach-card h3 {
    flex: 1;
    margin-bottom: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .approach-chevron {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 8px;
    transition: transform 0.3s;
    stroke: rgba(255, 255, 255, 0.5);
  }

  .approach-card--open .approach-chevron {
    transform: rotate(180deg);
  }

  .approach-card p {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    padding: 0 0 0 56px;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }

  .approach-card--open p {
    max-height: 200px;
    opacity: 1;
    padding: 12px 0 4px 56px;
  }

  /* --- Criteria --- */
  .criteria-metrics {
    max-width: 100%;
  }

  .criteria-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 0;
  }

  .metric-value {
    font-size: 1.05rem;
  }

  .criteria-industries {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 24px;
  }

  .industry-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    text-align: left;
    align-items: start;
  }

  .industry-image {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 0;
  }

  .industry-card h4 {
    margin-bottom: 6px;
  }

  .industry-card p {
    font-size: 0.85rem;
  }

  .criteria-section-heading {
    font-size: 1.2rem;
    margin-bottom: 24px;
  }

  /* --- Process --- */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 400px;
  }

  .process-connector {
    display: none;
  }

  .process-step h3 {
    min-height: auto;
  }

  /* --- Team --- */
  .roots-card-top {
    flex-direction: column;
    gap: 16px;
  }

  .roots-circle {
    width: 120px;
    height: 120px;
  }

  .roots-card {
    padding: 24px;
  }

  .roots-map-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* --- Contact --- */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    padding: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-photo {
    width: 140px;
    height: 140px;
  }

  /* --- Footer --- */
  .site-footer {
    padding: 36px 24px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    align-items: flex-start;
  }

  /* --- Pull Quote --- */
  .pull-quote {
    font-size: 1.2rem;
  }

  .pull-quote-section {
    padding: 56px 20px;
  }
}
