/* ============================================================
   peggygilmer.com — main.css
   Fonts: Crimson Text (serif) + Nunito Sans (sans-serif)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Nunito Sans', sans-serif; font-size: 16px; line-height: 1.6; }
h1, h2, h3, .pill-label, .footer-name { font-family: 'Crimson Text', serif; }
a { color: inherit; }
ul { list-style: none; padding: 0; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --cream:           hsl(35, 18%, 90%);
  --muted-amber:     hsl(9, 30%, 60%);
  --muted-teal:      hsl(181, 35%, 48%);

  --ind-warm:        hsl(28, 35%, 62%);
  --ind-dark:        hsl(25, 22%, 42%);
  --lead-orange:     hsl(12, 42%, 60%);
  --lead-dark:       hsl(12, 30%, 42%);
  --team-terra:      hsl(18, 45%, 58%);
  --team-amber:      hsl(36, 48%, 62%);
  --cult-sage:       hsl(140, 22%, 52%);
  --cult-deep:       hsl(162, 28%, 40%);

  --text-dark:       hsl(20, 20%, 22%);
  --white-75:        rgba(255,255,255,0.75);
  --white-65:        rgba(255,255,255,0.65);
}

/* ============================================================
   NAV — fixed, 92px
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--muted-teal);
}

.header-inner {
  padding: 0 4vw;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Crimson Text', serif;
  font-size: 3.2rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.site-nav a {
  font-family: 'Nunito Sans', sans-serif;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-dark);
}

.nav-cta,
.site-nav .nav-cta {
  background: var(--muted-teal);
  color: white;
  padding: 10px 22px;
  border-radius: 9999px;
}

.nav-toggle { display: none; }

main { padding-top: 92px; }

/* ============================================================
   HERO — full-bleed photo + JS parallax
   ============================================================ */
.hero-section {
  position: relative;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center 0px;
  min-height: calc(100vh - 92px);
  padding: 80px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  max-width: 680px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

.hero-content p { font-size: 1.1rem; }

.btn-primary {
  display: inline-block;
  background: var(--muted-teal);
  color: white;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
  align-self: flex-start;
}

.btn-text {
  color: var(--muted-teal);
  text-decoration: underline;
  font-size: 0.9rem;
  margin-top: -8px;
}

.hero-section .btn-text { color: white; }

/* ============================================================
   LOGOS BAR — credibility strip below hero
   ============================================================ */
#logos-bar {
  background: var(--cream);
  padding: 56px 0;
  border-bottom: 1px solid hsl(35, 12%, 82%);
}

.logos-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.logos-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(20, 12%, 45%);
  font-weight: 600;
}

.logos-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  overflow-x: auto;
}

.logos-list li { display: flex; align-items: center; }

.logos-list img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.logos-list img:hover { opacity: 1; }

@media (max-width: 768px) {
  .logos-list { gap: 32px; }
  .logos-list img { height: 36px; max-width: 110px; }
}

/* ============================================================
   TESTIMONIALS — standalone section (moved out of hero)
   ============================================================ */
.testimonials-section {
  background: hsl(28, 25%, 30%);
  padding: 80px 8vw;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials blockquote {
  color: white;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin: 0;
  width: 100%;
}

.testimonials blockquote p {
  flex: 1;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.9;
}

.testimonials blockquote cite {
  flex: 0 0 240px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.3);
}

.cite-name {
  font-family: 'Crimson Text', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.cite-name::before { content: '– '; }

.cite-title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   PATH OF LEAST RESISTANCE — 3-step method
   ============================================================ */
#path-of-least-resistance {
  background: hsl(35, 18%, 86%);
  padding: 80px 0;
}

.polr-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 6vw;
  text-align: center;
}

#path-of-least-resistance h2 {
  font-family: 'Crimson Text', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--muted-teal);
  line-height: 1.1;
  margin-bottom: 12px;
}

.polr-intro {
  font-size: 1.1rem;
  color: hsl(20, 12%, 42%);
  font-style: italic;
  margin-bottom: 48px;
}

.method-steps {
  display: flex;
  align-items: stretch;
}

.method-step {
  flex: 1;
  padding: 36px 32px;
  background: var(--cream);
  border-radius: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.step-num {
  display: block;
  font-family: 'Crimson Text', serif;
  font-size: 2.8rem;
  color: var(--muted-teal);
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.35;
}

.method-step h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.method-step p {
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(20, 12%, 40%);
  margin: 0;
}

.method-connector {
  font-size: 1.4rem;
  color: var(--muted-teal);
  opacity: 0.35;
  padding: 0 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  #path-of-least-resistance { padding: 56px 0; }
  .polr-inner { padding: 0 5vw; }
  .method-steps { flex-direction: column; gap: 16px; }
  .method-connector { padding: 0; align-self: center; transform: rotate(90deg); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background: var(--cream);
  padding: 80px 0 40px;
}

#services h2 {
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--text-dark);
  margin-bottom: 80px;
}

.service-panel {
  display: flex;
  gap: 8px;
  margin: 0 15vw 160px;
  min-height: 320px;
  position: relative;
}

.service-panel:last-of-type { margin-bottom: 0; }

.service-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0; right: 0;
  border-bottom: 1px solid hsl(35, 12%, 80%);
}

.service-panel:last-of-type::after { display: none; }

.panel-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-block {
  flex: 1;
  position: relative;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: 180px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

/* Color fallbacks */
.col-bullets-dark  { background-color: hsl(25, 22%, 42%); }
.block-ind-warm    { background-color: var(--ind-warm); }
.block-ind-dark    { background-color: var(--ind-dark); }
.block-lead-orange { background-color: var(--lead-orange); }
.block-lead-dark   { background-color: var(--lead-dark); }
.block-teal        { background-color: var(--muted-teal); }
.block-team-terra  { background-color: var(--team-terra); }
.block-team-amber  { background-color: var(--team-amber); }
.block-cult-sage   { background-color: var(--cult-sage); }
.block-cult-deep   { background-color: var(--cult-deep); }

/* Label blocks: 3× taller, content at bottom */
.block-ind-warm,
.block-lead-orange,
.block-team-amber,
.block-cult-sage   { flex: 3; justify-content: flex-end; }
.panel-bare        { flex: 1; }

/* Panel background images */
#panel-individual .col-bullets-dark            { background-image: url('../images/panel-ind-bullets.webp'); }
#panel-individual .block-ind-warm              { background-image: url('../images/panel-ind-label.webp'); }
#panel-individual .block-ind-dark              { background-image: url('../images/panel-ind-bare.webp'); }

#panel-leadership .block-lead-orange           { background-image: url('../images/panel-lead-label.webp'); }
#panel-leadership .block-lead-dark             { background-image: url('../images/panel-lead-bare.webp'); }
#panel-leadership .block-teal                  { background-image: url('../images/panel-lead-teal.webp'); }

#panel-team .block-team-terra:not(.panel-bare) { background-image: url('../images/panel-team-bullets.webp'); }
#panel-team .block-team-amber                  { background-image: url('../images/panel-team-label.webp'); }
#panel-team .block-team-terra.panel-bare       { background-image: url('../images/panel-team-bare.webp'); }

#panel-culture .block-cult-sage                { background-image: url('../images/panel-cult-label.webp'); }
#panel-culture .block-cult-deep                { background-image: url('../images/panel-cult-bare.webp'); }
#panel-culture .block-teal                     { background-image: url('../images/panel-cult-teal.webp'); }

/* Pills */
.pill-label {
  display: inline-block;
  background: var(--white-75);
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pill-subtitle {
  display: inline-block;
  background: var(--white-65);
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dark);
}

.pill {
  display: inline-block;
  background: var(--white-75);
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 1rem;
  color: var(--text-dark);
}

.services-link {
  text-align: center;
  margin: 24px 0 0;
  font-size: 1.1rem;
}

.services-link a {
  color: var(--muted-teal);
  text-decoration: underline;
  font-weight: 600;
}

/* ============================================================
   MEET PEGGY
   ============================================================ */
#meet-peggy {
  background: var(--cream);
  padding: 40px 25vw 80px;
}

.meet-peggy-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 80px;
}

.meet-peggy-card h2 {
  font-size: 3rem;
  color: var(--muted-teal);
  line-height: 1.1;
}

.meet-peggy-photo-block {
  width: 323px;
  height: 404px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.meet-peggy-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.15rem;
  line-height: 1.8;
}

.meet-peggy-text a {
  color: var(--muted-teal);
  text-decoration: underline;
}

/* ============================================================
   BOTTOM CTA (homepage)
   ============================================================ */
#bottom-cta {
  background: var(--cream);
  padding: 72px 25vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  border-top: 1px solid var(--muted-teal);
}

#bottom-cta h2 {
  font-size: 2rem;
  color: var(--muted-teal);
}

/* Contact form */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.form-row { display: flex; gap: 16px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.form-field label { font-size: 0.85rem; color: var(--text-dark); }

.form-field input,
.form-field textarea {
  border: 1px solid var(--muted-teal);
  background: white;
  border-radius: 9999px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.form-field textarea {
  border-radius: 12px;
  resize: vertical;
}

button[type="submit"] {
  background: var(--muted-teal);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 1rem;
  cursor: pointer;
}

/* ============================================================
   SECONDARY PAGES
   ============================================================ */
.page-hero {
  background: var(--cream);
  padding: 100px 25vw 80px;
  border-bottom: 1px solid hsl(35, 12%, 82%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  max-width: 600px;
  margin-bottom: 32px;
}

.page-content {
  background: var(--cream);
  padding: 80px 25vw;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.page-lede {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-block h2 {
  font-size: 1.8rem;
  color: var(--muted-teal);
}

.content-block p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-list {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-list li {
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-layout {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.about-photo-block {
  width: 280px;
  height: 360px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-cta {
  background: var(--cream);
  padding: 72px 25vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  border-top: 1px solid var(--muted-teal);
}

.page-cta h2 {
  font-size: 2rem;
  color: var(--muted-teal);
}

.page-cta p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-details {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.contact-details a {
  color: var(--muted-teal);
  text-decoration: underline;
}

/* Thank-you page */
.thankyou-section {
  background: var(--cream);
  min-height: calc(100vh - 92px);
  padding: 120px 25vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.thankyou-section h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--muted-teal);
  line-height: 1.1;
}

.thankyou-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 560px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cream);
  border-top: 2px solid var(--muted-teal);
  padding: 24px 6vw;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name { font-size: 1.2rem; color: var(--muted-teal); }

/* ============================================================
   NAV BREAKPOINT ≤960px
   ============================================================ */
@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--muted-teal);
    z-index: 99;
  }
  .site-nav.nav-open { display: flex; }
  .site-nav a { padding: 12px 6vw; width: 100%; }
  .site-nav .nav-cta { margin: 8px 6vw 4px; width: auto; align-self: flex-start; }
  .nav-toggle { display: block; font-size: 1.4rem; background: none; border: none; cursor: pointer; }
}

/* ============================================================
   MOBILE ≤768px
   ============================================================ */
@media (max-width: 768px) {
  .hero-section { padding: 48px 5vw; min-height: auto; }
  .hero-content h1 { font-size: 1.6rem; }
  .testimonials blockquote { flex-direction: column; gap: 8px; }

  .service-panel { flex-direction: column; margin: 0 4vw 60px; }
  .panel-block { min-height: 160px; }
  .panel-bare { display: none; }
  .panel-label-right .panel-col:last-child { order: -1; }

  #meet-peggy { padding: 48px 5vw; }
  .meet-peggy-card { flex-direction: column; }
  .meet-peggy-photo-block { width: 220px; height: auto; object-fit: unset; }

  #bottom-cta { padding: 48px 5vw; }
  .form-row { flex-direction: column; }

  .page-hero  { padding: 60px 5vw 48px; }
  .page-content { padding: 48px 5vw; }
  .page-cta   { padding: 48px 5vw; }
  .about-layout { flex-direction: column; }
  .about-photo-block { width: 100%; height: 260px; object-fit: cover; object-position: center top; }

  .thankyou-section { padding: 80px 5vw; }
}
