/* TJ Voices — styles.css */

:root {
  --green: #355E3B;
  --green-dark: #1E3324;
  --green-light: #E8F0EA;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --charcoal: #1C1C1C;
  --muted: #5C5C5C;
  --gold: #E8D5A3;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(30, 51, 36, 0.08);
  --shadow-lg: 0 12px 40px rgba(30, 51, 36, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body { font-size: 19px; }
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

.page-max {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.75rem;
}

.eyebrow-light {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--charcoal);
}

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

.section {
  padding: 5rem 0;
  scroll-margin-top: var(--nav-h);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding-inline: 1rem;
}

.btn-ghost:hover {
  color: var(--green);
  background: transparent;
}

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

.btn-white:hover {
  background: var(--green-light);
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

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

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.nav-link-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
}

.nav-link-btn:hover {
  color: var(--green);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(53, 94, 59, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.2;
}

.logo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.nav-desktop a:hover {
  color: var(--green);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
  margin-inline: auto;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-backdrop,
  .mobile-nav-panel {
    transition: none;
  }
}

/* Mobile nav — viewport overlay + slide-in panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav.is-open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  right: 0;
  width: min(calc(100% - 3rem), 20rem);
  height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
  background: var(--cream);
  padding:
    0.75rem
    1.5rem
    max(1.5rem, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 32px rgba(26, 26, 26, 0.12);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0 1.25rem;
  border-bottom: 1px solid var(--green-light);
  margin-bottom: 0.5rem;
}

.mobile-nav-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-dark);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--green-light);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-close:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid var(--green-light);
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav a:hover {
  color: var(--green);
}

.mobile-nav-cta {
  margin-top: 1.25rem;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-bottom: none;
}

body.nav-open .site-header {
  z-index: 200;
}

body.nav-open .nav-toggle {
  position: relative;
  z-index: 201;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .mobile-book-bar {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(232, 240, 234, 0.9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 45% at 85% 75%, rgba(53, 94, 59, 0.08) 0%, transparent 65%),
    linear-gradient(165deg, var(--cream) 0%, #F3F0EA 45%, var(--green-light) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, var(--green) 1px, transparent 0);
  background-size: 28px 28px;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero-photo {
    margin-inline: 0;
    justify-self: start;
  }
}

.hero-photo img {
  width: 100%;
  max-width: 468px;
  height: auto;
  display: block;
}

.hero-content {
  text-align: center;
}

@media (min-width: 900px) {
  .hero-content {
    text-align: left;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green);
  margin: 0 0 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 28ch;
}

@media (min-width: 900px) {
  .hero-sub {
    margin-inline: 0;
  }
}

@media (max-width: 899px) {
  .hero-sub {
    margin-inline: auto;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

/* Stats */
.stats {
  padding: 3rem 0;
  background: var(--white);
  border-block: 1px solid var(--green-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--green-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Fixed-height icon row so titles align across all four cards */
.stat-card > .stat-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
}

.stat-card > .stat-sports {
  flex: 0 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.75rem;
}

.stat-icon {
  color: var(--green);
}

.stat-icon-wide {
  width: 56px;
  height: auto;
}

.stat-sports {
  gap: 0.35rem;
}

.stat-sports img {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.icon-football {
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(28%) sepia(18%) saturate(1200%) hue-rotate(98deg) brightness(92%) contrast(90%);
}

.service-icon .icon-football {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.25rem;
  width: 100%;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  width: 100%;
}

@media (min-width: 768px) {
  .stats-grid {
    align-items: stretch;
  }

  .stat-card {
    height: 100%;
  }

  /* Same min-height so subtitles line up when titles wrap */
  .stat-number {
    min-height: 2.6em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.about-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.about-quote {
  position: relative;
  margin: 0;
  padding: 2rem;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--green);
}

.about-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-dark);
  margin: 0;
  line-height: 1.5;
}

.quote-attrib {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(53, 94, 59, 0.15);
}

.quote-attrib cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
}

.quote-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

/* Why Terry + Trusted by */
.why {
  padding: 3rem 0 2rem;
  background: var(--white);
  border-top: 1px solid var(--green-light);
  border-bottom: 1px solid var(--green-light);
}

.why .section-header {
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .why {
    padding: 3.5rem 0 2.5rem;
  }

  .why .section-header {
    margin-bottom: 2.5rem;
  }

  .why-grid {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.why-card {
  padding: 1.35rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.trusted-inner {
  text-align: center;
}

.trusted-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.trusted-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.trusted-logos li {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-dark);
  opacity: 0.85;
}

.trusted-sub {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 767px) {
  .trusted-logos {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .trusted-logos li {
    font-size: 1.05rem;
  }
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.service-card {
  padding: 1.75rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--green);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--green);
}

.service-icon img {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--green-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Demo / Audio player */
.demo.section {
  padding: 2rem 0 5rem;
  background: var(--cream);
}

@media (min-width: 768px) {
  .demo.section {
    padding-top: 2.5rem;
  }
}

.demo-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.demo-wrap .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-intro {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.demo-tab {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--green-light);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.demo-tab:hover {
  border-color: var(--green);
}

.demo-tab.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

.demo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.demo-card:hover:not(:disabled) {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.demo-card.is-active {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: var(--shadow);
}

.demo-card.is-placeholder,
.demo-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.demo-grid[hidden] {
  display: none !important;
}

.demo-spotlight[hidden] {
  display: none !important;
}

.demo-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.demo-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.demo-spotlight {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--cream) 100%);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.demo-spotlight:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}

.demo-spotlight-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--green);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.demo-spotlight-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
}

.demo-spotlight-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.demo-spotlight-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 0.25rem;
}

.track-context {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -0.35rem 0 0.75rem;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--green-light);
  text-align: left;
}

.play-btn {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px rgba(53, 94, 59, 0.15);
}

.play-btn.is-playing {
  animation: playRing 1.5s ease-in-out infinite;
}

@keyframes playRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 94, 59, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(53, 94, 59, 0); }
}

.play-btn svg {
  width: 28px;
  height: 28px;
}

.icon-pause {
  display: none;
}

.play-btn.is-playing .icon-play {
  display: none;
}

.play-btn.is-playing .icon-pause {
  display: block;
}

.player-body {
  flex: 1;
  min-width: 0;
}

.track-title {
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.25rem;
}

.waveform {
  width: 100%;
  height: 32px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  position: relative;
}

.waveform canvas {
  width: 100%;
  height: 100%;
  max-height: 32px;
  display: block;
}

.player-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.demo-note {
  text-align: center;
  margin: 1.75rem auto 0;
  max-width: 42rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.demo-secondary {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.demo-secondary a {
  text-decoration: none;
  font-weight: 500;
}

/* Mobile sticky book bar */
.mobile-book-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(250, 248, 245, 0.95);
  border-top: 1px solid var(--green-light);
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .mobile-book-bar {
    display: block;
  }

  body:not(.modal-open):not(.nav-open) .site-footer {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 500px) {
  .audio-player {
    flex-direction: column;
    text-align: center;
  }
}

/* Book section */
.book {
  position: relative;
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
}

.book.section {
  padding-bottom: 1rem;
}

.book-bg-bars {
  display: block;
  width: 115%;
  min-width: 720px;
  max-width: 1600px;
  margin: 1rem auto -0.25rem;
  opacity: 0.42;
  pointer-events: none;
}

@media (max-width: 767px) {
  .book-bg-bars {
    width: 160%;
    min-width: 0;
    margin-top: 0.75rem;
    margin-bottom: -0.5rem;
    opacity: 0.34;
  }
}

.book-inner {
  position: relative;
}

.book-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.book-header .btn {
  margin: 0 0 1.25rem;
}

.book-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.75rem;
  max-width: 50ch;
  margin-inline: auto;
}

.book-trust {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.5rem;
  max-width: 46ch;
  margin-inline: auto;
  line-height: 1.55;
  font-style: italic;
}

.book-meta {
  font-size: 0.85rem;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0.02em;
}

.platform-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-more a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.platform-more a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Contact strip */
.contact-strip {
  padding: 4rem 0;
}

.contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--green-light);
}

.contact-strip-inner .section-title {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-brand {
  margin: 0;
  color: var(--white);
  font-weight: 500;
}

.footer-copy {
  margin: 0;
}

.footer-cta {
  color: var(--gold);
  font-weight: 600;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.footer-cta:hover {
  color: var(--white);
  text-decoration: underline;
}

.link-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--green);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.link-btn:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  pointer-events: none;
}

.modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 51, 36, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-card-wide {
  width: min(560px, 100%);
}

.modal.is-open .modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--green-light);
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--green);
  color: var(--white);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--green);
}

.modal-sub {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color var(--transition);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C5C5C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 520px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.label-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(53, 94, 59, 0.12);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #b33;
}

body.modal-open {
  overflow: hidden;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .play-btn.is-playing {
    animation: none;
  }

  .btn:hover,
  .stat-card:hover,
  .service-card:hover {
    transform: none;
  }
}
