/* ==========================================================================
   Maya Akai - Mental Wellness Advocate | Custom CSS
   Modular, mobile-first, production-ready
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg: #F7F5F2;
  --color-text: #2A2A2A;
  --color-text-muted: #5a5a5a;
  --color-accent: #7C8C7A;
  --color-accent-hover: #6a7a68;
  --color-navy: #1F2A44;
  --color-navy-light: rgba(31, 42, 68, 0.08);
  --color-beige: #D8CFC4;
  --color-white: #FFFFFF;
  --color-border: rgba(31, 42, 68, 0.12);
  --color-shadow: rgba(31, 42, 68, 0.06);
  --color-shadow-soft: rgba(31, 42, 68, 0.04);

  /* Typography - Mobile first */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-h1: 38px;
  --text-h2: 30px;
  --text-h3: 22px;
  --text-body: 16px;
  --text-small: 13px;

  --line-heading: 1.15;
  --line-body: 1.6;

  /* Layout */
  --container-max: 1200px;
  --padding-x: 24px;
  --section-padding: 44px;
  --radius: 8px;
  --radius-lg: 12px;
}

@media (min-width: 768px) {
  :root {
    --text-h1: 48px;
    --text-h2: 36px;
    --text-h3: 26px;
    --text-body: 17px;
    --text-small: 14px;
    --section-padding: 54px;
  }
}

@media (min-width: 1024px) {
  :root {
    --text-h1: 56px;
    --text-h2: 40px;
    --text-h3: 28px;
    --text-body: 18px;
    --section-padding: 80px;
  }
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body > main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-navy);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--line-heading);
  margin: 0 0 0.5em;
}

h1 { font-size: var(--text-h1); font-weight: 700; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Layout Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section__header {
  margin-bottom: 2rem;
}

.section__header .icon-line {
  display: block;
  margin-bottom: 0.5rem;
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__subtitle {
  font-size: var(--text-body);
  color: var(--color-text-muted);
  max-width: 600px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(31, 42, 68, 0.15);
}

.btn--primary:hover {
  background-color: var(--color-accent);
  color: var(--color-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.25);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow-soft);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--color-shadow);
}

.btn--block {
  width: 100%;
}

@media (min-width: 768px) {
  .btn--block-mobile { width: auto; }
}

/* --------------------------------------------------------------------------
   Motion: Scroll reveal (IntersectionObserver adds .reveal-visible)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: parent has .reveal.reveal-stagger; children animate with delay when parent gets .reveal-visible */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.reveal-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.reveal-visible > *:nth-child(2) { transition-delay: 50ms; }
.reveal-stagger.reveal-visible > *:nth-child(3) { transition-delay: 100ms; }
.reveal-stagger.reveal-visible > *:nth-child(4) { transition-delay: 100ms; }
.reveal-stagger.reveal-visible > *:nth-child(5) { transition-delay: 100ms; }
.reveal-stagger.reveal-visible > *:nth-child(6) { transition-delay: 100ms; }

.reveal-stagger.reveal-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 12px var(--color-shadow-soft);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px var(--color-shadow);
  border-color: rgba(31, 42, 68, 0.2);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--color-beige);
}

.card__title {
  margin-bottom: 0.5rem;
}

.card__meta {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.card__excerpt {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.card__link {
  font-weight: 600;
  font-size: var(--text-small);
}

/* Card as link: entire card is clickable (press cards, role cards, Me On Pause, etc.) */
a.card,
.me-on-pause-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.card:hover,
.me-on-pause-card:hover {
  color: inherit;
}

a.card .card__link,
.me-on-pause-card .card__link {
  color: var(--color-navy);
}

a.card:hover .card__link,
.me-on-pause-card:hover .card__link {
  color: var(--color-accent);
}

a.card:focus-visible,
.me-on-pause-card:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

.card--narrow {
  max-width: 720px;
}

.section__cta {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Site Header (Sticky)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 var(--color-shadow-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
}

.header__logo:hover {
  color: var(--color-accent);
}

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .header__nav-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .header__nav-list a {
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-text);
  }

  .header__nav-list a {
    position: relative;
  }

  .header__nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
  }

  .header__nav-list a:hover::after,
  .header__nav-list a:focus-visible::after {
    width: 100%;
  }

  .header__nav-list a:hover {
    color: var(--color-accent);
  }

  .header__cta {
    flex-shrink: 0;
  }
}

/* Hamburger: only visible in mobile mode (below 1024px) */
.header__toggle {
  display: none;
}

@media (max-width: 1023px) {
  .header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
}

.header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.3s, opacity 0.3s;
}

.site-header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.header__mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.header__mobile[aria-hidden="false"] {
  transform: translateX(0);
}

.header__mobile-nav {
  padding: 2rem var(--padding-x);
}

.header__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header__mobile-list a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.header__mobile-list .btn {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .header__mobile {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Motion: Hero floating shapes (very subtle)
   -------------------------------------------------------------------------- */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.hero {
  position: relative;
  overflow: hidden;
}

/* Hero background video (light/subtle) */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 242, 0.82);
  z-index: 1;
}

.hero__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__float {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float 12s ease-in-out infinite;
}

.hero__float--sage {
  width: 280px;
  height: 280px;
  background: var(--color-accent);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero__float--beige {
  width: 200px;
  height: 200px;
  background: var(--color-beige);
  bottom: 20%;
  left: 0;
  animation-delay: -4s;
}

.hero__float--sage-sm {
  width: 160px;
  height: 160px;
  background: var(--color-accent);
  bottom: 30%;
  right: 15%;
  animation-delay: -8s;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--section-padding) + 1rem);
  padding-bottom: var(--section-padding);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero__content {
  order: 1;
}

.hero__title {
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__actions .btn {
  min-width: 160px;
}

.hero__image-wrap {
  order: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-beige);
  aspect-ratio: 4 / 3;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content--narrow {
  max-width: 720px;
}

.outcome-list {
  list-style: none;
  padding: 0;
}

.outcome-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.outcome-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.cta-block__text {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .hero__image-wrap {
    order: 1;
    aspect-ratio: 3 / 4;
  }
}

/* --------------------------------------------------------------------------
   Authority Strip
   -------------------------------------------------------------------------- */
.authority-strip {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--section-padding) 0;
}

.authority-strip .grid {
  gap: 2rem;
}

.authority-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.authority-strip__item .icon-line {
  margin-bottom: 0.25rem;
}

.authority-strip__value {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.authority-strip__label {
  font-size: var(--text-small);
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Partner strip (Brainz Magazine)
   -------------------------------------------------------------------------- */
.partner-strip {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px var(--color-shadow-soft);
}

.partner-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.partner-strip__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.partner-strip__link:hover {
  opacity: 0.9;
}

.partner-strip__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.partner-strip__badge {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.partner-strip__content {
  flex: 1;
  min-width: 0;
}

.partner-strip__title {
  font-size: var(--text-h3);
  margin-bottom: 0.35rem;
}

.partner-strip__text {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin: 0;
}

.partner-strip__text a {
  font-weight: 600;
}

@media (min-width: 768px) {
  .partner-strip__inner {
    padding: 1.75rem 0;
    gap: 2rem;
  }

  .partner-strip__logo {
    height: 56px;
  }
}

/* --------------------------------------------------------------------------
   App CTA (M.A.Y.A. Experience)
   -------------------------------------------------------------------------- */
.app-cta {
  background: var(--color-beige);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 42, 68, 0.08);
}

.app-cta__inner {
  padding: 2rem 0;
}

.app-cta__content {
  max-width: 560px;
}

.app-cta .section__title {
  margin-bottom: 0.75rem;
}

.app-cta__text {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.app-cta__search {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.app-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-cta__buttons .btn {
  min-width: 140px;
}

/* --------------------------------------------------------------------------
   Testimonials Carousel
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
}

.testimonials__slider {
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonials__slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .testimonials__slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonials__slide {
    flex: 0 0 33.333%;
  }
}

.testimonials__card {
  height: 100%;
  padding: 2rem;
}

.testimonials__quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonials__name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonials__title {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.testimonials__dot.is-active,
.testimonials__dot:hover {
  background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Newsletter CTA
   -------------------------------------------------------------------------- */
.newsletter-cta {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--section-padding) 0;
  text-align: center;
}

.newsletter-cta .section__title {
  color: var(--color-white);
}

.newsletter-cta .section__subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-left: auto;
  margin-right: auto;
}

.newsletter-cta__form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .newsletter-cta__form {
    flex-direction: row;
  }

  .newsletter-cta__input {
    flex: 1;
    min-width: 0;
  }
}

.newsletter-cta__input {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.newsletter-cta__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-cta__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter-cta .btn--primary {
  background: var(--color-white);
  color: var(--color-navy);
}

.newsletter-cta .btn--primary:hover {
  background: var(--color-beige);
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--section-padding) 0 2rem;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__bio-text {
  font-size: var(--text-small);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 360px;
}

.footer__credentials {
  font-size: var(--text-small);
  margin-top: 0.75rem;
  opacity: 0.8;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer__link-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-small);
  display: block;
  padding: 0.25rem 0;
}

.footer__link-list a:hover {
  color: var(--color-white);
}

.footer__newsletter-text {
  font-size: var(--text-small);
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__input {
  padding: 0.5rem 0.75rem;
  font-size: var(--text-small);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer__submit {
  padding: 0.5rem 1rem;
  width: fit-content;
}

.footer__social {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social-list {
  display: flex;
  gap: 1.5rem;
}

.footer__social-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-small);
}

.footer__social-list a:hover {
  color: var(--color-white);
}

/* Social icon-only links (footer + contact) */
.footer__social-list--icons {
  gap: 1rem;
}

.footer__social-list--icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer__social-list--icons a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__social-list--icons a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.footer__social-list--icons .social-icon {
  width: 20px;
  height: 20px;
}

/* Contact page: same icons on light background */
.contact__social.footer__social-list--icons a {
  background: var(--color-beige);
  color: var(--color-navy);
}

.contact__social.footer__social-list--icons a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.contact__social.footer__social-list--icons a:focus-visible {
  outline-color: var(--color-navy);
}

.footer__brainz {
  margin-top: 0.75rem;
  font-size: var(--text-small);
  opacity: 0.9;
}

.footer__brainz a {
  color: rgba(255, 255, 255, 0.9);
}

.footer__brainz a:hover {
  color: var(--color-white);
}

.footer__app {
  font-size: var(--text-small);
  margin-top: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.footer__app a {
  color: rgba(255, 255, 255, 0.9);
}

.footer__app a:hover {
  color: var(--color-white);
}

.footer__copyright {
  font-size: var(--text-small);
  opacity: 0.7;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.contact__social {
  margin-top: 1rem;
}

.contact__social a {
  color: var(--color-navy);
}

.contact__social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact__social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact__social-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Page: About - Content sections
   -------------------------------------------------------------------------- */
.content-section {
  margin-bottom: 3rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section__title {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Page: Speaking - Topic cards, form
   -------------------------------------------------------------------------- */
.topic-card {
  height: 100%;
}

.topic-card .icon-line {
  display: block;
  margin-bottom: 0.5rem;
}

.topic-card .card__title {
  font-size: 1.25rem;
}

.booking-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-navy-light);
}

.cta-block {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta-block .section__title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-block .btn--secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.cta-block .btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Page: Podcast - Episode cards, subscribe
   -------------------------------------------------------------------------- */
/* Spreaker embed: player + playlist */
.podcast-player-section .section__subtitle {
  margin-bottom: 1.25rem;
}

.spreaker-embed-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px var(--color-shadow-soft);
  background: var(--color-white);
}

.spreaker-embed-wrap .spreaker-player {
  display: block;
  width: 100%;
  min-height: 200px;
}

.spreaker-embed-wrap iframe {
  display: block;
  width: 100% !important;
}

.podcast-player-section__listen-on {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
}

.podcast-platforms--player {
  justify-content: center;
  gap: 0.75rem 1rem;
}

.podcast-platforms--player .podcast-platforms__link {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 160px;
  justify-content: center;
}

.podcast-platforms--player .podcast-platforms__link:hover {
  border-color: var(--color-accent);
  background: var(--color-beige);
}

.podcast-platforms--player .podcast-platforms__icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 767px) {
  .podcast-platforms--player {
    flex-direction: column;
  }

  .podcast-platforms--player .podcast-platforms__link {
    width: 100%;
    min-width: 0;
  }
}

.subscribe-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.subscribe-buttons {
  display: none; /* replaced by .podcast-platforms */
}

.podcast-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.podcast-platforms--hero {
  gap: 0.5rem 1rem;
}

.podcast-platforms__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--color-navy);
  text-decoration: none;
  padding: 0.35rem 0;
  border-radius: var(--radius);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.podcast-platforms__link:hover {
  color: var(--color-accent);
}

.podcast-platforms__link:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

.podcast-platforms__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.podcast-platforms--hero .podcast-platforms__link {
  padding: 0.5rem 0.75rem;
  background: var(--color-beige);
  border: 1px solid var(--color-border);
}

.podcast-platforms--hero .podcast-platforms__link:hover {
  border-color: var(--color-accent);
  background: var(--color-white);
}

.episode-card .podcast-platforms {
  margin-top: 1rem;
}

.episode-card .podcast-platforms__icon {
  width: 20px;
  height: 20px;
}

.episode-card .podcast-platforms__link {
  padding: 0.25rem 0;
}

.episode-card {
  height: 100%;
}

.episode-card .card__image {
  aspect-ratio: 16 / 9;
}

.episode-card__player {
  width: 100%;
  height: 0;
  padding-bottom: 20%;
  background: var(--color-navy-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

/* --------------------------------------------------------------------------
   Page: Media - Gallery, press
   -------------------------------------------------------------------------- */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .media-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.media-gallery__item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-beige);
  cursor: pointer;
}

.media-gallery__item:hover {
  opacity: 0.95;
}

.media-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem 5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.96) 0%, rgba(31, 42, 68, 0.92) 100%);
  cursor: pointer;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-beige);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-lightbox__close:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-beige);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-lightbox__prev {
  left: 1rem;
}

.gallery-lightbox__next {
  right: 1rem;
}

.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.gallery-lightbox__content {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-lightbox__toolbar .btn {
  margin: 0;
  font-weight: 600;
}

/* Primary: sage (brand accent) */
.gallery-lightbox__toolbar .btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
}

.gallery-lightbox__toolbar .btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

/* Secondary: outline style, visible and on-brand */
.gallery-lightbox__toolbar .btn--secondary {
  background-color: transparent;
  color: var(--color-beige);
  border: 2px solid rgba(216, 207, 196, 0.6);
}

.gallery-lightbox__toolbar .btn--secondary:hover {
  background-color: rgba(216, 207, 196, 0.15);
  color: var(--color-white);
  border-color: var(--color-beige);
}

.gallery-lightbox__counter {
  position: relative;
  z-index: 5;
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-beige);
  opacity: 0.95;
}

@media (max-width: 767px) {
  .gallery-lightbox {
    padding: 2rem 1rem 4rem;
  }

  .gallery-lightbox__prev,
  .gallery-lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .gallery-lightbox__prev { left: 0.5rem; }
  .gallery-lightbox__next { right: 0.5rem; }

  .gallery-lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .gallery-lightbox__toolbar {
    flex-direction: column;
  }

  .gallery-lightbox__toolbar .btn {
    width: 100%;
  }
}

.press-list .card {
  margin-bottom: 1rem;
}

.press-list .card:last-child {
  margin-bottom: 0;
}

.press-card--featured {
  margin-bottom: 1.5rem;
}

.press-card__brainz-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.press-card__brainz-link:hover {
  opacity: 0.85;
}

.press-card__brainz-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.press-card__badge {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.one-sheet-cta {
  text-align: center;
  padding: 2rem;
}

/* --------------------------------------------------------------------------
   Loading & Error states (dynamic content)
   -------------------------------------------------------------------------- */
.content-loading,
.content-error,
.content-empty {
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.content-error {
  color: #a94442;
  border-color: rgba(169, 68, 66, 0.3);
}

.content-empty {
  font-style: italic;
}

.content-loading--full,
.content-error--full,
.content-empty--full {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   Utility: Two-column layout for content
   -------------------------------------------------------------------------- */
.split-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .split-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Past engagements logos placeholder */
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.logos-strip__item {
  width: 120px;
  height: 60px;
  background: var(--color-navy-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.logos-strip__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Icons: minimal line style (24px, deep navy, thin stroke)
   -------------------------------------------------------------------------- */
.icon-line {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: var(--color-navy);
  color: var(--color-navy);
}

.authority-strip .icon-line {
  stroke: var(--color-white);
  color: var(--color-white);
}

.icon-line svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* --------------------------------------------------------------------------
   Reduced motion (accessibility)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__float {
    animation: none;
    opacity: 0.08;
  }

  .hero__video-wrap {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition-delay: 0ms !important;
  }

  .btn:hover,
  .btn--primary:hover,
  .btn--secondary:hover {
    transform: none;
  }

  .card:hover {
    transform: none;
  }
}
