/* Design tokens */
:root {
  --color-bg: #f3f4f6;
  --color-white: #ffffff;
  --color-dark: #1f2937;
  --color-dark-muted: #374151;
  --color-accent: #1e3a8a;
  --color-accent-hover: #1e40af;
  --color-text: #4b5563;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --container: 72rem;
  --font: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
}

@media (min-width: 768px) {
  .header-inner {
    padding-block: 1.5rem;
  }
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.site-logo:hover {
  color: var(--color-dark-muted);
}

@media (min-width: 768px) {
  .site-logo {
    font-size: 1.5rem;
  }
}

.nav-desktop ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--color-text);
  font-weight: 400;
}

.nav-desktop a:hover {
  color: #111827;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-dark-muted);
  cursor: pointer;
}

.menu-toggle:hover {
  background: #f3f4f6;
}

.menu-toggle:focus-visible {
  outline: 2px solid #9ca3af;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }
}

.nav-mobile {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
}

.nav-mobile li + li {
  margin-top: 0.25rem;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-dark-muted);
  font-weight: 500;
}

.nav-mobile a:hover {
  color: #111827;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .hero {
    min-height: 80vh;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding-block: 3rem;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.15;
}

.hero-subtitle {
  margin: 0 auto 2rem;
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  min-width: 11rem;
}

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

.btn-primary:hover {
  background: #f3f4f6;
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  min-width: auto;
}

/* Credentials strip */
.credentials {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: 1.5rem;
  border-bottom: 3px solid var(--color-accent);
}

.credentials-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 1rem;
}

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

@media (min-width: 640px) {
  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.credential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.credential-abbr {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.credential-name {
  font-size: 0.7rem;
  color: #d1d5db;
  line-height: 1.3;
}

/* Sections */
.section {
  padding-block: 4rem;
}

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

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

.section-muted {
  background: var(--color-bg);
}

.section-heading {
  margin: 0 0 3rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: inherit;
}

.section-heading-dark {
  color: #111827;
}

.section-intro {
  max-width: 42rem;
  margin: -2rem 0 2.5rem;
  color: var(--color-text);
  font-size: 1.0625rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-photo-wrap {
    justify-content: flex-start;
  }
}

.about-photo {
  width: 100%;
  max-width: 20rem;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: var(--color-white);
}

@media (min-width: 768px) {
  .about-photo {
    max-width: 28rem;
    max-height: 28rem;
  }
}

.about-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.about-tagline {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-light);
}

.pull-quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: #eff6ff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-dark);
}

.about-blocks {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.about-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

.about-block p {
  margin: 0;
  font-size: 0.9375rem;
}

.text-link {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  color: var(--color-accent);
}

/* Services */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.service-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.25rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
}

.service-outcome {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.55;
}

.service-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.875rem;
  color: #d1d5db;
}

/* Research */
.research-links {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .research-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.research-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.research-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.research-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.research-card p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text);
}

/* Trust / affiliations */
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
}

.trust-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.9375rem;
  color: var(--color-text);
  font-style: italic;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #065f46;
}

/* Podcast */
.podcast-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .podcast-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.podcast-logo {
  flex-shrink: 0;
  width: 100%;
  max-width: 180px;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .podcast-logo {
    max-width: 200px;
    margin-top: 0.25rem;
  }
}

.podcast-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.podcast-text {
  font-size: 1rem;
  color: var(--color-text);
}

.podcast-text p {
  margin: 0;
}

.podcast-text p + p {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .podcast-text {
    font-size: 1.0625rem;
  }
}

.podcast-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.podcast-links-label {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.featured-episode {
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.featured-episode-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.featured-episode-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.featured-episode h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #111827;
}

.featured-episode-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.spotify-embed {
  width: 100%;
  border: none;
  border-radius: 12px;
  min-height: 152px;
}

.spotify-embed-show {
  min-height: 352px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-heading {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  color: #111827;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 2rem 2rem;
}

@media (max-width: 639px) {
  .contact-form {
    padding-inline: 1.25rem;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 400;
  color: var(--color-dark-muted);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid #9ca3af;
  outline-offset: 0;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  color: #065f46;
  font-weight: 500;
}

.form-success.visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #d1d5db;
  font-size: 0.9375rem;
}

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

.footer-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-copy {
  margin: 0;
  font-size: 0.9375rem;
}

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.success-card {
  max-width: 28rem;
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.success-card h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  color: #111827;
}

.success-card p {
  margin: 0 0 1.5rem;
  color: var(--color-text);
}
