@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700&family=Montserrat:wght@400;500;600&display=swap');

html {
  scroll-behavior: smooth;
}

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

body {
  background: #16171b;
  background: linear-gradient(180deg, #16171b 0px, #16171b 100vh, #0f1013 180vh, #050506 100%);
  color: #ffffff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── INTERSECTION OBSERVER SENSOR ── */
#scroll-sensor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px; /* Slightly taller for initial premium breathing room */
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: background-color, backdrop-filter, border-color, height, box-shadow;
  transform: translate3d(0, 0, 0);
}

nav.scrolled {
  background: rgba(26, 26, 29, 0.85); /* Matches deeper body tone */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 64px; /* Organic shrinking animation */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.9;
}

/* Brand Text Logo Styling */
.logo-svg-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.logo-text span {
  color: #5b8eb8; /* Brand accent color */
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

/* Animated Underline */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #5b8eb8;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Active Page State */
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  background-size: cover;
  background-position: 40% top;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 80px 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 23, 27, 0.12) 0%,
    rgba(22, 23, 27, 0.53) 60%,
    rgb(22, 23, 27) 100% /* Matches top of body background gradient seamlessly */
  );
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 820px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.02;
  color: #ffffff;
  margin-bottom: 24px;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-deck {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-deck.no-italic {
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ── ARTICLE BODY ── */
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  position: relative; /* Keeps the absolute glows anchored vertically relative to the article */
}

.article-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 72px;
  margin-bottom: 28px;
  line-height: 1.15;
  border-left: 4px solid #5b8eb8;
  padding-left: 16px;
}

.article-body p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

.article-body p.punchy {
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: 20px;
}

.article-body p strong {
  font-weight: 600;
  color: #ffffff;
}

.section-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 72px 0;
}

/* ── GOAL CARDS ── */
.goals-cards {
  display: flex;
  gap: 16px;
  margin: 56px 0;
}

@media (min-width: 1024px) {
  /* Break out of the 740px text column to 1000px wide for dynamic premium editorial spacing */
  .goals-cards {
    margin-left: -130px;
    margin-right: -130px;
    gap: 20px;
  }
}

.goal-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 36px 20px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, border-color, box-shadow, background-color;
  transform: translate3d(0, 0, 0);
}

.goal-card:hover {
  transform: translate3d(0, -6px, 0);
  background: linear-gradient(135deg, rgba(91, 142, 184, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-color: rgba(91, 142, 184, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(91, 142, 184, 0.05);
}

.goal-svg, .goal-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, filter;
  /* Light GPU-friendly shadow initially */
  filter: drop-shadow(0 2px 8px rgba(91, 142, 184, 0.2));
  object-fit: contain;
}

.goal-card:hover .goal-svg,
.goal-card:hover .goal-icon {
  transform: scale(1.12) translate3d(0, 0, 0);
  /* Highlight filter shadow only on hover card to prevent background layout thrashing */
  filter: drop-shadow(0 0 12px rgba(91, 142, 184, 0.7));
}

.goal-text-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.goal-card:hover h4 {
  color: #5b8eb8; /* Brand accent hover color */
}

.goal-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.goal-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .goals-cards {
    flex-direction: column;
    gap: 16px;
  }
  .goal-card {
    padding: 24px 28px;
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 20px;
  }
  .goal-text-content {
    gap: 4px;
  }
  .goal-svg, .goal-icon {
    width: 44px;
    height: 44px;
  }
  .goal-card h4 {
    font-size: 20px;
  }
  .goal-card p {
    font-size: 13.5px;
  }
}

/* ── PHOTO BREAKS ── */
.article-photo {
  margin: 64px -40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translate3d(0, 0, 0);
}

.article-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.article-photo:hover img {
  transform: scale(1.025);
}

.article-photo figcaption {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  margin-top: 12px;
  padding: 0 16px 12px;
}

/* ── STAT CALLOUT ── */
.stat-callout {
  background: linear-gradient(90deg, rgba(91, 142, 184, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-left: 4px solid #5b8eb8;
  border-radius: 0 16px 16px 0;
  padding: 32px 36px;
  margin: 56px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  margin-top: 88px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

/* Accent Glow Vector inside CTA */
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(91, 142, 184, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.cta-contact {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #5b8eb8; /* Brand accent text color */
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.cta-note {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 24px;
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── PODCAST PAGE ── */
.podcast-hero {
  min-height: 82vh;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 80px 100px;
}

.podcast-hero .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(22, 23, 27, 0.03) 0%,
    rgba(22, 23, 27, 0.12) 45%,
    rgba(22, 23, 27, 0.35) 70%,
    rgba(22, 23, 27, 0.72) 88%,
    rgb(22, 23, 27) 100%
  );
}

.podcast-description {
  padding: 96px 24px 64px;
  position: relative;
}

.podcast-description-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.podcast-description-inner p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}

.episodes-section {
  padding: 0 24px 96px;
}

.episodes-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.episode-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 36px 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, border-color, box-shadow, background-color;
  transform: translate3d(0, 0, 0);
}

.episode-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(91, 142, 184, 0.25);
  background: linear-gradient(135deg, rgba(91, 142, 184, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(91, 142, 184, 0.03);
}

.episode-number {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #5b8eb8; /* Brand accent tag color */
  display: block;
  margin-bottom: 12px;
}

.episode-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.episode-desc {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.episode-listen {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.episode-listen::after {
  content: '→';
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.episode-card:hover .episode-listen {
  color: #5b8eb8;
}

.episode-card:hover .episode-listen::after {
  transform: translate3d(6px, 0, 0);
}

/* ── WHERE TO LISTEN ── */
.listen-on {
  padding: 80px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.listen-on-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.listen-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.listen-platforms {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.platform-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.platform-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-link:hover {
  color: #ffffff;
}

.platform-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── FOOTER ── */
.site-footer {
  background: #0f1013; /* Deep darkest luxury backdrop for footer */
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 64px 48px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 260px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-links-grid {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  flex: 2 1 500px;
  justify-content: flex-end;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-podcast-link {
  transition: transform 0.3s ease;
}

.footer-podcast-link:hover .youtube-icon-wrapper {
  background: rgba(255, 0, 0, 0.1) !important;
  border-color: rgba(255, 0, 0, 0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
}

.footer-podcast-link:hover span {
  color: #ff0000 !important;
}

.social-icon-wrapper {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-wrapper svg {
  transition: all 0.3s ease;
}

.social-icon-wrapper[title="Instagram"]:hover {
  background: rgba(193, 53, 132, 0.1) !important;
  border-color: rgba(193, 53, 132, 0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(193, 53, 132, 0.2);
}

.social-icon-wrapper[title="Instagram"]:hover svg {
  stroke: #e1306c !important;
}

.social-icon-wrapper[title="TikTok"]:hover {
  background: rgba(255, 0, 0, 0.1) !important;
  border-color: rgba(255, 0, 0, 0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
}

.social-icon-wrapper[title="TikTok"]:hover svg {
  fill: #ff0000 !important;
}

.social-icon-wrapper[title="LinkedIn"]:hover {
  background: rgba(0, 119, 181, 0.1) !important;
  border-color: rgba(0, 119, 181, 0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 119, 181, 0.25);
}

.social-icon-wrapper[title="LinkedIn"]:hover svg {
  stroke: #0077b5 !important;
}

.footer-copy {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    padding: 0 24px;
    height: 72px;
  }

  nav.scrolled {
    height: 60px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero {
    min-height: 85vh;
    padding: 0 24px 60px;
  }

  .hero-headline {
    margin-bottom: 16px;
  }

  .hero-deck {
    font-size: 16px;
  }

  .podcast-hero {
    min-height: 80vh;
    padding: 0 24px 60px;
  }

  .podcast-description {
    padding: 64px 24px 48px;
  }

  .podcast-description-inner p {
    font-size: 16px;
  }

  .article-body {
    padding: 48px 24px 80px;
  }

  .article-body h2 {
    font-size: 28px;
    margin-top: 56px;
    padding-left: 12px;
  }

  .article-body p {
    font-size: 16.5px;
    line-height: 1.8;
  }

  .article-body p.punchy {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 32px;
    padding-left: 16px;
  }

  .article-photo {
    margin: 40px -24px;
    border-radius: 0; /* Full-bleed look on mobile screens */
  }

  .stat-callout {
    padding: 24px 28px;
    margin: 40px 0;
  }

  .stat-number {
    font-size: 36px;
  }

  .cta-box {
    padding: 40px 24px;
    margin-top: 60px;
  }

  .cta-headline {
    font-size: 26px;
  }

  .cta-contact {
    font-size: 16px;
  }

  .episode-card {
    padding: 28px 24px;
  }

  .episode-title {
    font-size: 22px;
  }

  .site-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 40px 24px;
  }

  .listen-platforms {
    gap: 28px;
  }
}

/* ── AMBIENT GLOW BACKDROPS ── */
.ambient-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1; /* Behind text content but in front of background */
  opacity: 0.09; /* Elevated visibility for a stunning pronounced glow */
  filter: blur(110px); /* Slightly sharper blur for richer color presence */
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.glow-1 {
  top: 5%;
  left: -200px;
  background: radial-gradient(circle, rgba(91, 142, 184, 0.8) 0%, transparent 70%);
  animation: drift-glow-1 25s ease-in-out infinite alternate;
}

.glow-2 {
  top: 45%;
  right: -250px;
  background: radial-gradient(circle, rgba(74, 118, 155, 0.75) 0%, transparent 70%);
  animation: drift-glow-2 30s ease-in-out infinite alternate;
}

.glow-3 {
  bottom: 5%;
  left: -200px;
  background: radial-gradient(circle, rgba(110, 162, 204, 0.8) 0%, transparent 70%);
  animation: drift-glow-1 28s ease-in-out infinite alternate-reverse;
}

@media (max-width: 768px) {
  .ambient-glow {
    width: 300px;
    height: 300px;
    opacity: 0.03; /* Make it even softer on mobile screens */
    filter: blur(80px);
  }
}

@keyframes drift-glow-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(80px, 60px, 0) scale(1.15); }
  100% { transform: translate3d(-40px, 120px, 0) scale(0.9); }
}

@keyframes drift-glow-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-70px, -80px, 0) scale(0.85); }
  100% { transform: translate3d(60px, 40px, 0) scale(1.1); }
}

/* ── MISTAKES CHECKERBOARD CONTAINER ── */
.mistakes-container {
  display: flex;
  flex-direction: column;
  gap: 96px; /* Increased to 96px for premium airy spacing between sections */
  margin-top: 56px;
}

.mistake-row {
  display: flex;
  align-items: center;
  gap: 48px;
  will-change: transform;
}

@media (min-width: 1024px) {
  /* Widescreen breakout for mistakes section to create premium editorial layout */
  .mistake-row {
    margin-left: -50px;
    margin-right: -50px;
  }
}

.mistake-image {
  flex: 1.1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 4 / 3;
  transform: translate3d(0, 0, 0);
}

.mistake-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.mistake-row:hover .mistake-image img {
  transform: scale(1.035);
}

.mistake-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mistake-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.mistake-row:hover .mistake-text h3 {
  color: #5b8eb8; /* Smooth brand accent color transition on hover */
}

.mistake-text p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Alternate row directions for visual rhythm (Malelaud) */
.mistake-row.reverse {
  flex-direction: row-reverse;
}

/* Responsive mobile styles */
@media (max-width: 768px) {
  .mistakes-container {
    gap: 48px;
  }
  
  .mistake-row,
  .mistake-row.reverse {
    flex-direction: column; /* Stack vertically on mobile */
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
  }
  
  .mistake-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* Wider cinema format on mobile */
  }
  
  .mistake-text {
    gap: 12px;
  }
  
  .mistake-text h3 {
    font-size: 22px;
  }
  
  .mistake-text p {
    font-size: 14.5px;
  }
}

/* ── BEFORE / AFTER TRANSFORMATION ── */
.transformation-container {
  display: flex;
  gap: 20px;
  margin: 44px 0 48px;
}

@media (min-width: 1024px) {
  /* Widescreen breakout for transformation cards */
  .transformation-container {
    margin-left: -50px;
    margin-right: -50px;
  }
}

.transform-card {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 3 / 4;
  transform: translate3d(0, 0, 0);
}

.transform-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.transform-card:hover img {
  transform: scale(1.04);
}

.transform-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(22, 23, 27, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
  z-index: 2;
  pointer-events: none;
}

.transform-badge.active {
  background: rgba(91, 142, 184, 0.85);
  color: #ffffff;
  border-color: rgba(91, 142, 184, 0.3);
  box-shadow: 0 4px 15px rgba(91, 142, 184, 0.2);
}

@media (max-width: 576px) {
  .transformation-container {
    gap: 12px;
  }
  .transform-badge {
    bottom: 12px;
    left: 12px;
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* ── MOSAIC GALLERY GRID ── */
.mosaic-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  margin: 44px 0 48px;
}

@media (min-width: 1024px) {
  /* Widescreen breakout for mosaic gallery */
  .mosaic-gallery {
    margin-left: -50px;
    margin-right: -50px;
  }
}

.mosaic-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translate3d(0, 0, 0);
}

.mosaic-item.main {
  aspect-ratio: 4 / 3;
}

.mosaic-subgrid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.mosaic-item:hover img {
  transform: scale(1.035);
}

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(22, 23, 27, 0.95) 0%, rgba(22, 23, 27, 0.6) 50%, rgba(22, 23, 27, 0) 100%);
  padding: 24px 16px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.mosaic-item:hover .mosaic-caption {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 768px) {
  .mosaic-gallery {
    grid-template-columns: 1fr; /* Stacks vertically on mobile */
    gap: 12px;
  }
  .mosaic-item.main {
    aspect-ratio: 16 / 10;
  }
  .mosaic-subgrid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
  }
  .mosaic-subgrid .mosaic-item {
    aspect-ratio: 1 / 1; /* Squares on mobile subgrid */
  }
  .mosaic-caption {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    padding: 16px 8px 6px;
    font-size: 9px;
  }
}

