/* ============================================
   Acorn Pro Painting Franchise — Design System
   ============================================ */

:root {
  --olive: #7a7f52;
  --olive-dark: #5f6440;
  --olive-light: #a8ad82;
  --brown: #4a2a1e;
  --brown-deep: #382013;
  --rust: #8a4318;
  --cream: #f3efe3;
  --cream-dark: #e8e2d0;
  --white: #ffffff;
  --ink: #322820;
  --ink-soft: #5a4e44;
  --border: #ddd4c0;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Caveat", cursive;
  --font-sans: "Jost", "Segoe UI", -apple-system, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(56, 32, 19, 0.12);
  --shadow-sm: 0 4px 14px rgba(56, 32, 19, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--brown);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--olive-dark); text-decoration: none; }
a:hover { color: var(--rust); }

.script {
  font-family: var(--font-script);
  color: var(--olive);
  font-weight: 600;
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rust);
  margin-bottom: 0.9em;
}

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

section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

.bg-cream { background: var(--cream); }
.bg-brown {
  background: linear-gradient(160deg, var(--brown), var(--brown-deep));
  color: var(--cream);
}
.bg-brown h1, .bg-brown h2, .bg-brown h3, .bg-brown p { color: var(--cream); }
.bg-brown .eyebrow { color: var(--olive-light); }
.bg-olive { background: var(--olive); color: var(--white); }
.bg-olive h1, .bg-olive h2, .bg-olive h3 { color: var(--white); }
.bg-olive p { color: rgba(255, 255, 255, 0.94); }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--rust); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #9c4d1e; color: var(--white); }

.btn-olive { background: var(--olive); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-olive:hover { background: var(--olive-dark); color: var(--white); }

.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-brown { background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline-brown:hover { background: var(--brown); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px)) {
  @media (min-width: 761px) {
    .site-header { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  }
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 56px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--brown);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
.main-nav a.active,
.main-nav a:hover { color: var(--rust); }

/* "Become an Owner" button in the header: keep white text and roomy padding
   (the generic .main-nav a rules would otherwise override the .btn styles) */
.main-nav .btn-primary {
  color: var(--white);
  padding: 15px 34px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary.active { color: var(--white); background: #9c4d1e; }

/* ---------- Nav dropdown ---------- */
.has-dropdown { position: relative; }
.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.has-dropdown > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.dropdown {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 10;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.dropdown a:hover { background: var(--cream); color: var(--rust); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-weight: 700;
  color: var(--brown);
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone span { display: block; font-size: 0.68rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--brown); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero-eyebrow { color: var(--olive-light); }

/* ---------- Hero slideshow ---------- */
.hero-slideshow {
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 90px 0 100px;
  background: var(--brown-deep);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: hero-zoom 9s ease-out forwards;
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(56, 32, 19, 0.94) 0%, rgba(56, 32, 19, 0.86) 45%, rgba(56, 32, 19, 0.52) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-content > div { max-width: 640px; }
.hero-content h1, .hero-content p { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.hero-dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover { transform: scale(1.2); }
.hero-dot.active { background: var(--white); }
@media (max-width: 760px) {
  .hero-slideshow { min-height: 0; padding: 64px 0 84px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(56, 32, 19, 0.82) 0%, rgba(56, 32, 19, 0.74) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active { animation: none; }
  .hero-slide { transition: none; }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid rgba(255,255,255,0.15);
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat .num { font-family: var(--font-serif); font-size: 2.1rem; color: var(--white); font-weight: 700; }
.hero-stat .label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--olive-light); }

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial .stars { color: var(--rust); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .quote { font-style: italic; color: var(--ink); }
.testimonial .who { margin-top: 16px; font-weight: 700; color: var(--brown); }
.testimonial .where { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Steps / timeline ---------- */
.steps {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 6px 6px 16px;
  scroll-snap-type: x proximity;
}
.step {
  flex: 1 1 0;
  min-width: 168px;
  background: var(--olive);
  color: var(--white);
  padding: 26px 30px 26px 38px;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 16px 50%);
  scroll-snap-align: start;
}
.step:not(:first-child) { margin-left: -17px; }
.step:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 26px; border-radius: 6px 0 0 6px; }
.step:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%); padding-right: 26px; border-radius: 0 6px 6px 0; }
.step:nth-child(odd) { background: var(--olive); }
.step:nth-child(even) { background: var(--brown); }
.step:last-child { background: var(--rust); }
.step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step h3 { font-size: 0.98rem; margin-bottom: 6px; color: var(--white); }
.step p { font-size: 0.8rem; margin: 0; color: rgba(255,255,255,0.85); }

.timeline { border-left: 3px solid var(--olive-light); margin-left: 10px; }
.timeline-item { position: relative; padding: 4px 0 32px 30px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--rust);
  border: 3px solid var(--cream);
}
.timeline-year { font-family: var(--font-serif); color: var(--rust); font-weight: 700; font-size: 1.15rem; }

/* Link under a photo, and anchor offset so jumps clear the sticky header */
.media-link { margin: 20px 0 0; text-align: center; }
.media-link .btn { max-width: 100%; text-align: center; line-height: 1.3; }
#testimonials { scroll-margin-top: 100px; }

/* ---------- Recognition ---------- */
.recognition-grid { grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 56px; max-width: 960px; margin: 0 auto; }
.recognition-badge { text-align: center; }
.recognition-badge img { width: 100%; max-width: 360px; height: auto; margin: 0 auto; display: block; }
@media (max-width: 760px) {
  .recognition-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .recognition-badge img { max-width: 280px; }
}

/* ---------- Territory map ---------- */
.territory-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 28px 30px;
}
.territory-map { width: 100%; }
.territory-svg { display: block; width: 100%; height: auto; }
.territory-state { fill: var(--cream-dark); stroke: var(--white); stroke-width: 1; stroke-linejoin: round; transition: fill 0.2s ease; }
.territory-state.is-available { fill: var(--olive); }
.territory-state.is-available:hover { fill: var(--olive-dark); }
.territory-hq-halo { fill: var(--rust); opacity: 0.25; }
.territory-hq-dot { fill: var(--rust); stroke: var(--white); stroke-width: 2.5; }
.territory-hq-halo { animation: hq-pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hq-pulse { 0% { transform: scale(0.6); opacity: 0.45; } 100% { transform: scale(1.6); opacity: 0; } }
.territory-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; font-size: 0.9rem; color: var(--ink-soft); }
.territory-key { display: inline-flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; }
.swatch-available { background: var(--olive); }
.swatch-hq { background: var(--rust); border-radius: 50%; }
.territory-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
}
.territory-list li {
  background: var(--cream);
  color: var(--olive-dark);
  border: 1px solid var(--olive-light);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.86rem;
  font-weight: 500;
}
@media (max-width: 760px) { .territory-card { padding: 18px 14px 22px; } }
@media (prefers-reduced-motion: reduce) { .territory-hq-halo { animation: none; } }

/* ---------- Path to ownership (12-step timeline) ---------- */
.path-section { padding-bottom: 70px; }
.path-sub { font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.path-banner {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 22px 30px;
  border-radius: 16px;
  background: var(--rust);
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.path-banner strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.path-banner span { display: block; font-size: 0.98rem; color: rgba(255, 255, 255, 0.94); }

.path-list {
  list-style: none;
  position: relative;
  max-width: 980px;
  margin: 56px auto 0;
  padding: 0;
}
.path-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--olive-light);
  border-radius: 2px;
}
.path-item { position: relative; width: 50%; padding: 0 58px 38px 0; text-align: right; }
.path-item:nth-child(even) { margin-left: 50%; padding: 0 0 38px 58px; text-align: left; }
.path-num {
  position: absolute;
  top: 0;
  right: -27px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--olive-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 1;
}
.path-item:nth-child(even) .path-num { right: auto; left: -27px; background: var(--brown); box-shadow: 0 0 0 2px var(--brown); }
.path-item:last-child .path-num { background: var(--rust); box-shadow: 0 0 0 2px var(--rust); }
.path-card {
  display: inline-block;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px 22px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.path-item:nth-child(odd) .path-card { text-align: right; }
.path-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--rust); text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-sans); font-weight: 700; }
.path-card p { margin: 0; font-size: 0.95rem; }
.path-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-top: 14px; }
.path-icon { width: 56px; height: 56px; color: var(--olive-dark); margin-top: 8px; }
.path-item:nth-child(odd) .path-icon { margin-left: auto; }

.path-closing { max-width: 720px; margin: 14px auto 0; text-align: center; }
.path-closing .script { font-size: 2.4rem; margin-bottom: 10px; }
.path-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 760px) {
  .path-list::before { left: 27px; }
  .path-item, .path-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 28px 76px; text-align: left; }
  .path-num, .path-item:nth-child(even) .path-num { left: 0; right: auto; }
  .path-item:nth-child(odd) .path-card { text-align: left; }
  .path-item:nth-child(odd) .path-icon { margin-left: 0; }
  .path-banner { padding: 18px 20px; }
}

/* ---------- Table ---------- */
.invest-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.invest-table th, .invest-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.invest-table thead th {
  background: var(--brown);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
}
.invest-table tbody tr:nth-child(even) { background: var(--cream); }
.invest-table td.amount { font-weight: 700; color: var(--brown); white-space: nowrap; }
.invest-table td.notes { color: var(--ink-soft); font-size: 0.88rem; }

/* Investment table: stack rows into cards on phones so nothing is cut off */
@media (max-width: 640px) {
  .invest-table, .invest-table tbody, .invest-table tr, .invest-table td { display: block; width: 100%; }
  .invest-table thead { display: none; }
  .invest-table tr { padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .invest-table td { border: none; padding: 2px 0; }
  .invest-table td:first-child {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rust);
  }
  .invest-table td.amount { font-size: 1.2rem; padding: 4px 0 2px; white-space: normal; }
  .invest-table td.notes { font-size: 0.86rem; }
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.accordion-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.accordion-q .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-q .plus { transform: rotate(45deg); background: var(--rust); color: var(--white); }
.accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}
.accordion-item.open .accordion-a {
  max-height: 500px;
  padding: 0 24px 22px;
}
.accordion-a p { margin: 0; }

/* ---------- Founder card ---------- */
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.founder-photo {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--cream-dark);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Photo gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.photo-tile {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-dark);
}
.photo-tile.wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.grid-brand { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 30px; }
@media (max-width: 760px) { .grid-brand { grid-template-columns: 1fr; } }
.figure-caption { margin-top: 10px; font-size: 0.82rem; color: var(--ink-soft); text-align: center; }
/* Phones: one compact row you swipe through, instead of a tall stack of photos */
@media (max-width: 560px) {
  .gallery {
    display: flex;
    gap: 10px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .photo-tile { flex: 0 0 auto; height: 180px; scroll-snap-align: start; }
  .photo-tile.wide { grid-column: auto; }
}
.founder-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--olive-light);
  background: var(--cream-dark);
}
/* ---------- Click-to-open founder bios ---------- */
.founders-hint { text-align: center; color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 26px; }
.founders-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 30px; }
/* Only collapse the cards when the pop-up is available (class set by a tiny script in the page head) */
.js-founders .founders-grid .founder-body > :not(h3):not(.founder-role):not(.founder-cue) { display: none; }
.js-founders .founders-grid .founder-card { cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.js-founders .founders-grid .founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.js-founders .founders-grid .founder-photo { aspect-ratio: 1 / 1; }
.js-founders .founders-grid .founder-body { text-align: center; padding: 18px 18px 22px; }
.js-founders .founders-grid .founder-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.js-founders .founders-grid .founder-role { margin-bottom: 0; }
.founder-open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.founder-open:focus-visible { outline: 3px solid var(--rust); outline-offset: -3px; }
.founder-open::after {
  content: "Read bio";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 8px);
  background: rgba(56, 32, 19, 0.88);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.founder-card:hover .founder-open::after,
.founder-open:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.founder-cue { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 0.85rem; color: var(--rust); }
.founder-cue::after { content: " \2192"; }

.founder-dialog {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  width: calc(100% - 32px);
  max-width: 700px;
  max-height: 88vh;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.founder-dialog[open] { display: flex; flex-direction: column; }
.founder-dialog::backdrop { background: rgba(56, 32, 19, 0.65); }
.fd-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.fd-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--cream-dark); display: flex; align-items: center; justify-content: center; }
.fd-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.fd-thumb .tbd { font-size: 0.55rem; padding: 1px 4px; text-align: center; }
.fd-id { flex: 1; min-width: 0; }
.fd-id h3 { margin: 0 0 2px; font-size: 1.35rem; }
.fd-id .founder-role { margin: 0; }
.fd-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brown);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.fd-close:hover { background: var(--brown); color: var(--white); }
.fd-body { padding: 22px 26px 28px; overflow-y: auto; }
.fd-body p:last-child { margin-bottom: 0; }
html.fd-open { overflow: hidden; }
/* Center a lone last card so an uneven team count still looks intentional */
.founders-grid .founder-card:last-child:nth-child(3n + 1) { grid-column: 2; }
@media (max-width: 900px) {
  .founders-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .founders-grid .founder-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  .founders-grid .founder-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 9px); }
}
@media (max-width: 480px) {
  .founders-grid { gap: 12px; }
  .js-founders .founders-grid .founder-body { padding: 12px 10px 16px; }
  .js-founders .founders-grid .founder-body h3 { font-size: 1.05rem; }
  .js-founders .founders-grid .founder-role { font-size: 0.68rem; }
  .founder-open::after { display: none; }
  .fd-head { padding: 14px 16px; gap: 12px; }
  .fd-body { padding: 18px 18px 24px; }
}

.founder-body { padding: 22px 24px 26px; }
.founder-role { color: var(--rust); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.founder-body p:last-child { margin-bottom: 0; }

.fun-facts { margin: 0; padding-left: 20px; font-size: 0.9rem; color: var(--ink-soft); }
.fun-facts li { margin-bottom: 7px; padding-left: 2px; }
.fun-facts li::marker { color: var(--olive); }

.tbd {
  display: inline-block;
  background: #fff4cf;
  color: #7a5a00;
  border: 1px dashed #d9b73a;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 0.82em;
  font-style: normal;
}

/* ---------- Video placeholder ---------- */
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: #fdf7e3;
  border: 2px dashed #d9b73a;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #7a5a00;
  text-align: center;
  padding: 20px;
}
.video-placeholder .play-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(122,90,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder .play-icon svg { width: 20px; height: 20px; }
.video-placeholder .label { font-weight: 700; font-size: 0.95rem; }
.video-placeholder .sub { font-size: 0.8rem; color: #8a6a10; max-width: 260px; }
.video-wrap { position: relative; background: #000; }
.video-play {
  position: absolute;
  bottom: 14px;
  left: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: rgba(95, 100, 64, 0.92);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-play:hover { transform: scale(1.08); background: var(--rust); }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-wrap.playing .video-play { display: none; }
/* YouTube testimonials: branded cover + play button, the YouTube player loads only on click */
.yt-embed { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt-embed > img, .yt-embed > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.yt-embed .video-play { display: flex; }
.video-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.video-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-card-body { padding: 18px 22px 22px; }
.video-card-body h4 { margin: 0 0 4px; color: var(--brown); font-family: var(--font-serif); }
.video-card-body p { margin: 0; font-size: 0.86rem; }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--brown); }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
}
.radio-group { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); font-size: 0.92rem; }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--cream);
  border-left: 3px solid var(--olive);
  padding: 14px 18px;
  border-radius: 6px;
  margin-top: 24px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 90px 0;
}
.cta-banner p { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-deep);
  color: var(--cream-dark);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid img { height: 50px; margin-bottom: 14px; filter: brightness(0) invert(1) opacity(0.92); }
.footer-grid h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--cream-dark); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--olive-light); }
.footer-grid p { color: rgba(243,239,227,0.75); font-size: 0.88rem; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(243,239,227,0.6);
}
.footer-legal { font-size: 0.74rem; color: rgba(243,239,227,0.5); max-width: 100%; margin-top: 18px; line-height: 1.6; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  padding: 66px 0 60px;
  text-align: center;
}
.page-hero p { max-width: 640px; margin: 0 auto; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.85rem; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ---------- Responsive ---------- */
.main-nav > ul > li > a { white-space: nowrap; }
@media (min-width: 761px) {
  /* Same layout for every top-level link so "Meet Our Founders" (which has an arrow) lines up with the rest */
  .main-nav > ul { align-items: center; }
  .main-nav > ul > li > a { display: inline-flex; align-items: center; line-height: 1.4; }
}
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .main-nav { gap: 20px; }
  .main-nav ul { gap: 18px; }
}
@media (max-width: 900px) {
  .header-inner { padding: 12px 16px; gap: 12px; }
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: 0.88rem; }
  .main-nav .btn-primary { padding: 13px 22px; font-size: 0.9rem; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 20px 24px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .main-nav .header-actions { flex-direction: column; align-items: stretch; margin-top: 18px; gap: 12px; }
  .nav-toggle { display: flex; }
  .main-nav .header-actions .btn-primary {
    display: flex;
    justify-content: center;
    padding: 17px 24px;
    border: 2px solid transparent;
  }
  .header-phone { display: none; }
  .has-dropdown > a::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 14px;
    background: none;
  }
  .dropdown a { padding: 10px 4px; font-size: 0.9rem; color: var(--ink-soft); border-bottom: none !important; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .step { min-width: 130px; padding: 20px 22px 20px 30px; }
  .step h3 { font-size: 0.88rem; }
  .step p { font-size: 0.74rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
