/* ============================================
   Richelle DeVoe — thegrowthguides.com
   Light, clear, understated
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf9f7;
  --bg-subtle: #f2f0ed;
  --text: #0d0d0d;
  --text-muted: #444444;
  --accent: #b5764c;
  --accent-hover: #9a6340;
  --border: #e4e0dc;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--accent-hover); }

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hidden { display: none; }

/* --- Typography --- */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo:hover { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: #333;
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
}

.btn-nav {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 500;
}

.btn-nav:hover {
  border-color: var(--text);
}

.btn-large {
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
}

/* --- Hero --- */
.hero {
  padding: 10rem 0 5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Press --- */
.press {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.press .container {
  max-width: 1100px;
}

.press-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.25rem;
}

.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1rem;
}

.press-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
}

.press-logos .press-nyt { height: 48px; }
.press-logos .press-ent { height: 28px; }

.press-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.press-name {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.6;
  white-space: nowrap;
}

.press-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  flex-shrink: 0;
}

/* --- Client Grid --- */
.client-grid-section {
  padding: 5rem 0;
}

.client-grid-section .container {
  max-width: 1100px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.client-tile {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background 0.2s;
}

.client-tile:hover {
  background: var(--bg-subtle);
}

.client-tile:nth-child(5n) {
  border-right: none;
}

.client-tile-featured {
  grid-column: span 2;
}

.client-tile-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.client-tile-work {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.client-tile-cta {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.client-tile-cta .client-tile-name {
  color: var(--accent);
}

.client-tile-cta:hover {
  background: rgba(181, 118, 76, 0.05);
}

/* --- Results --- */
.results {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.results .container {
  max-width: 1100px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Case Studies --- */
.work {
  padding: 6rem 0 4rem;
}

.case-studies-track {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 2rem 2rem calc((100vw - 780px) / 2 + 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.case-studies-track::-webkit-scrollbar { display: none; }
.case-studies-track:active { cursor: grabbing; }

.case-card {
  flex: 0 0 min(480px, 80vw);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: white;
  transition: box-shadow 0.3s;
}

.case-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.case-card-top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.case-card-client {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-card-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.case-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.case-card-body {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.case-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.case-card-result {
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.case-card-result-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.case-card-result p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
}

.case-card-quote {
  border-left: 2px solid var(--border);
  padding-left: 1rem;
  margin-top: auto;
}

.case-card-quote p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.case-card-quote cite {
  font-size: 0.75rem;
  font-style: normal;
  color: var(--text-muted);
  opacity: 0.7;
}

.case-studies-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.case-studies-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.case-studies-arrows {
  display: flex;
  gap: 0.5rem;
}

.case-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.case-arrow:hover {
  border-color: var(--text);
  color: var(--text);
}

/* --- Methodology --- */
.methodology {
  padding: 6rem 0;
  background: var(--bg-subtle);
}

.methodology-content {
  max-width: 600px;
}

.methodology-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.methodology-text.last {
  color: var(--text);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* --- Testimonials --- */
.testimonial-strip {
  padding: 5rem 0;
}

.testimonial-strip .container {
  max-width: 900px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.testimonial p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.testimonial cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-muted);
}

/* --- Services --- */
.services {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.services .container {
  max-width: 780px;
}

.services-headline {
  font-size: 1.75rem;
  font-weight: 400;
  font-family: var(--serif);
  margin-bottom: 0.5rem;
}

.services-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: 1px solid var(--border);
}

.service-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-item-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-item-timing {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-item-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-item-outcomes {
  margin-bottom: 1.5rem;
}

.service-item-outcomes-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.service-item-outcomes ul {
  list-style: none;
}

.service-item-outcomes li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.service-item-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.services-closer {
  padding: 2rem 0;
}

.services-closer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.services-fit {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.services-fit-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Tool / Insight Engine --- */
.course {
  padding: 6rem 0;
  background: var(--bg-subtle);
}

.course-content {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.course-title {
  font-size: 1.75rem;
  font-weight: 400;
  font-family: var(--serif);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.course-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.course-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.course-form input[type="email"] {
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  width: 260px;
  outline: none;
  transition: border-color 0.2s;
}

.course-form input[type="email"]::placeholder { color: #aaa; }
.course-form input[type="email"]:focus { border-color: var(--text-muted); }

.course-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  opacity: 0.6;
}

/* --- About --- */
.about {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.about .container {
  max-width: 1000px;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-illustration img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: 90% 10%;
  aspect-ratio: 3 / 4;
}

.about-headline {
  font-size: 1.75rem;
  font-weight: 400;
  font-family: var(--serif);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

/* --- Footer --- */
.footer {
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-headline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  font-family: var(--serif);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 480px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--text-muted);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.footer-links {
  margin-top: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 900px) {

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-illustration {
    max-width: 220px;
  }

  .case-studies-track {
    padding-left: 2rem;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-tile-featured {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 8rem 0 3rem;
  }

  .hero-headline { font-size: 1.75rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .nav-links.active { display: flex; }
  .nav-links .btn-nav { align-self: flex-start; }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .press-items { gap: 0.75rem; }

  .course-form {
    flex-direction: column;
    align-items: center;
  }

  .course-form input[type="email"] { width: 100%; }

  .case-card { flex: 0 0 85vw; }
}
