/* ============================================
   Peace & Love Studio — Stylesheet
   ============================================ */

:root {
  --teal-deep: #3E6B94;   /* ocean blue, sampled from truck mural background */
  --teal-dark: #274158;   /* deeper navy for footer / high-contrast text */
  --blue-mid: #6FA3C9;    /* lighter diagonal stripe blue, for subtle accents */
  --coral: #E2574C;
  --coral-dark: #C7423A;
  --orange: #F0A868;
  --gold: #F2D24A;
  --lavender: #8B5FBF;
  --mauve: #D9A9C4;       /* dusty pink tentacle */
  --sage: #8FBFA0;        /* sage green tentacle / seaweed */
  --indigo: #4A5A8C;      /* deep indigo tentacle accent */
  --blush: #F3B6C6;
  --cream: #FBF5EC;
  --cream-alt: #F4ECDF;
  --ink: #2B2420;
  --ink-soft: #5A5049;
  --white: #FFFFFF;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-script: 'Caveat', cursive;

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-dark);
  margin: 0 0 0.5em 0;
  line-height: 1.15;
  font-weight: 600;
}

p {
  margin: 0 0 1em 0;
  max-width: 62ch;
}

a {
  color: var(--coral);
}

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

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ============ Flowing divider (jellyfish tentacle motif) ============ */
.flow-divider {
  width: 100%;
  height: 48px;
  display: block;
}

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(29, 109, 122, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-dark);
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-call:hover {
  background: var(--coral-dark);
}

.nav-toggle {
  display: none;
}

/* ============ Hero ============ */
.hero {
  padding: 72px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow-script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--lavender);
  display: block;
  margin-bottom: 4px;
}

.hero h1 {
  font-size: 2.75rem;
  max-width: 14ch;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.btn-secondary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  max-width: 420px;
  width: 100%;
}

/* ============ Section basics ============ */
section {
  padding: 64px 0;
}

.section-heading {
  max-width: 60ch;
  margin-bottom: 40px;
}

.section-heading .kicker {
  font-family: var(--font-script);
  color: var(--coral);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 2px;
}

/* ============ About ============ */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 32px 32px 32px 8px;
  background: linear-gradient(150deg, var(--mauve), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  text-align: center;
  padding: 24px;
  font-size: 0.95rem;
}

.photo-frame-real {
  overflow: hidden;
  padding: 0;
}

.photo-frame-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal-deep);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
}

.about-signoff {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--lavender);
  margin-top: 24px;
}

/* ============ Approach ============ */
.approach {
  background: var(--cream-alt);
}

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

.approach-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
}

.approach-card .photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  margin-bottom: 20px;
  background: linear-gradient(150deg, var(--teal-deep), var(--blue-mid));
  font-size: 0.85rem;
}

.approach-card h3 {
  font-size: 1.15rem;
}

.approach-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ============ Services ============ */
.program-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.program-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-card {
  background: var(--white);
  border: 1px solid rgba(62, 107, 148, 0.16);
  border-radius: 8px 28px 8px 28px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--coral);
  font-weight: 600;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.service-card {
  background: var(--white);
  padding: 28px 26px;
  border-radius: 8px 28px 8px 28px;
  border: 1px solid rgba(62, 107, 148, 0.14);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--teal-deep);
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.placeholder-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--coral-dark);
  background: rgba(226, 87, 76, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* ============ Gallery ============ */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid .photo-frame {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  font-size: 0.8rem;
}

.gallery-grid .photo-frame:nth-child(4n+1) {
  background: linear-gradient(150deg, var(--gold), var(--orange));
}
.gallery-grid .photo-frame:nth-child(4n+2) {
  background: linear-gradient(150deg, var(--teal-deep), var(--blue-mid));
}
.gallery-grid .photo-frame:nth-child(4n+3) {
  background: linear-gradient(150deg, var(--mauve), var(--indigo));
}
.gallery-grid .photo-frame:nth-child(4n+4) {
  background: linear-gradient(150deg, var(--sage), var(--teal-deep));
}

/* ============ Featured In ============ */
.featured {
  background: var(--teal-deep);
  color: var(--white);
  padding: 44px 0;
}

.featured .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.featured-label {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold);
  white-space: nowrap;
}

.featured-list {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  opacity: 0.92;
}

/* ============ Testimonials ============ */
.testimonials {
  background: var(--cream-alt);
}

.testimonial-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-color: var(--teal-deep) var(--cream-alt);
}

.testimonial-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonial-grid::-webkit-scrollbar-thumb {
  background: var(--teal-deep);
  border-radius: 999px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 28px 8px 28px 8px;
  padding: 28px;
  position: relative;
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.testimonial-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border: 2px dashed rgba(62, 107, 148, 0.3);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-card p {
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-video {
  padding: 0;
  overflow: hidden;
  display: flex;
}

.testimonial-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 28px 8px 28px 8px;
  background: var(--teal-dark);
}

.testimonial-name {
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 0.92rem;
}

/* ============ Contact ============ */
.contact {
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: var(--cream-alt);
  border-radius: 28px;
  padding: 36px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-row .label {
  font-weight: 700;
  color: var(--teal-deep);
  display: block;
  font-size: 0.9rem;
  text-transform: none;
}

.contact-row a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.contact-row a:hover {
  color: var(--coral);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-pill {
  background: var(--white);
  border: 1px solid rgba(29,109,122,0.2);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.social-pill:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.map-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(29,109,122,0.15);
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
  text-align: center;
}

.site-footer .foot-script {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.site-footer p {
  margin: 4px auto;
  font-size: 0.9rem;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 260px;
  }

  .approach-grid,
  .program-feature {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 500px) {
  .wrap {
    padding: 0 20px;
  }

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

  .featured .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
