html {
  scroll-behavior: smooth;
}

.ai-section {
  scroll-margin-top: 110px;
}

.ai-page {
  --ai-text: #0f1115;
  --ai-muted: #5d6470;
  --ai-border: rgba(15, 17, 21, 0.12);
  --ai-bg: #ffffff;
  --ai-soft: #f5f6f8;
  --ai-shadow: 0 16px 36px rgba(15, 17, 21, 0.08);
  --ai-shadow-hover: 0 22px 50px rgba(15, 17, 21, 0.12);
  --ai-radius: 22px;
  --ai-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--ai-bg);
  color: var(--ai-text);
  font-family: var(--ai-font);

  font-family: "Montserrat","Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

.ai-page h1,
.ai-page h2,
.ai-page h3{
  font-family: "Montserrat","Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

.ai-page #page-content {
  background: var(--ai-bg);
}

.ai-page #header,
.ai-page #header .header-inner {
  background: rgba(255, 255, 255, 0.88);
}

.ai-page #header #menu .open-nav .text,
.ai-page #main-nav a,
.ai-page #main-nav li a {
  font-family: var(--ai-font);
  letter-spacing: 0.03em;
}

/* AI page: header/nav compatibility */
.ai-page #header {
  z-index: 1200;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ai-page #header .header-inner {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ai-page #header:after {
  z-index: 1201;
}

.ai-page #header #menu,
.ai-page #header #menu nav#main-nav,
.ai-page #header #menu nav#main-nav ul {
  z-index: 1202;
}

.ai-page #main-nav > ul > li > a,
.ai-page #menu.menu-light nav#main-nav > ul > li > a,
.ai-page header.nav-is-open #menu nav#main-nav > ul > li > a,
.ai-page header.nav-is-open #menu.menu-light nav#main-nav > ul > li > a {
  color: #0d0d0d;
}

.ai-page #menu .open-nav .text,
.ai-page #menu .open-nav .hamburger:before,
.ai-page #menu .open-nav .hamburger:after {
  color: #0d0d0d;
  background-color:;
}

.ai-page .ai-bg-noise,
.ai-page .ai-hero-spotlight,
.ai-page .ai-hero::before {
  pointer-events: none;
}

@media only screen and (max-width: 1024px) {
  .ai-page #header #menu nav#main-nav {
    z-index: 1203;
  }
}

.ai-wrap,
.ai-hero-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.ai-section {
  padding: 45px 0;
}

.ai-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 160px;


  min-height: 68vh;   /* was bigger */
  padding: 140px 20px 60px;

}

.ai-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(182, 206, 255, 0.45), transparent 46%),
    radial-gradient(circle at 80% 10%, rgba(225, 237, 255, 0.7), transparent 52%),
    radial-gradient(circle at 65% 80%, rgba(237, 236, 251, 0.65), transparent 46%);
  z-index: 0;
}

.ai-bg-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0px, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 2px);
}

.ai-hero-inner {
  position: relative;
  z-index: 2;
}

.ai-hero-image {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 56px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 40px 80px rgba(15, 17, 21, 0.12);
  object-fit: cover;
  transform: translate3d(0, var(--ai-hero-shift, 0px), 0) scale(1.01);
  transition: transform 0.45s ease;
  background: #050505;
}

.ai-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ai-muted);
  text-align: center;
}

.ai-title {
  margin: 0;
  text-align: center;
  font-size: clamp(44px, 10vw, 118px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  font-weight: 700;
}

.ai-subtitle {
  margin: 22px auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--ai-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}

.ai-cta {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--ai-border);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ai-text);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 22px rgba(15, 17, 21, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.ai-btn:hover,
.ai-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 17, 21, 0.1);
}

.ai-btn-primary {
  background: #0f1115;
  color: #ffffff;
  border-color: #0f1115;
}

.ai-section-title {
  margin: 0 0px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0.01em;
  font-weight: 650;
}

.ai-featured-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.ai-card {
  grid-column: span 6;
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--ai-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.ai-card-large {
  grid-column: span 12;
}

.ai-card-media {
  aspect-ratio: 16 / 9;
  background: #050505;
}

.ai-card img,
.ai-card video,
.ai-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ai-card iframe {
  border: 0;
}

.ai-card-body {
  padding: 20px 22px 24px;
}

.ai-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.ai-card p {
  margin: 10px 0 0;
  color: var(--ai-muted);
  line-height: 1.55;
}

.ai-tools-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-tools-list li {
  margin: 0 !important;
  border: 1px solid var(--ai-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
  font-size: 12px;
  color: #2e3340;
  background: #fafbfc;
}

.ai-spotlight-sub {
  margin: -8px 0 4px;
  font-size: 20px;
  color: #2a303c;
}

.ai-spotlight-note {
  margin: 0 0 10px;
  color: var(--ai-muted);
  font-size: 14px;
}

.ai-spotlight-gallery {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 28px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.ai-spotlight-preview {
  position: sticky;
  top: 118px;
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ai-border);
  box-shadow: var(--ai-shadow);
  background: #070709;
}

.ai-spotlight-preview.preview--portrait {
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  max-width: 420px;
}

.ai-spotlight-preview.preview--landscape {
  aspect-ratio: 16 / 9;
  max-width: 920px;
}

.ai-spotlight-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ai-spotlight-media.is-visible {
  opacity: 1;
}

.ai-spotlight-video {
  background: #000000;
  object-fit: cover;
}

.ai-spotlight-audio-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.62);
  color: #ffffff;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.ai-spotlight-audio-toggle.is-hidden {
  display: none;
}

.ai-spotlight-audio-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ai-spotlight-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ai-spotlight-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ai-spotlight-dot.is-active {
  background: #111111;
  transform: scale(1.15);
}

.ai-spotlight-dot:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.ai-spotlight-steps {
  display: grid;
  gap: 22px;
  align-content: center;
}

.ai-spotlight-step {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--ai-font);
  cursor: pointer;
  border-left: 2px solid transparent;
  padding: 16px 0 16px 18px;
  transition: border-color 0.35s ease, opacity 0.35s ease;
  opacity: 0.48;
}

.ai-spotlight-step.is-active {
  border-color: #121620;
  opacity: 1;
}

.ai-spotlight-step strong {
  display: block;
  margin: 0;
  font-size: 30px;
  font-weight: 620;
  color: #111111;
}

.ai-spotlight-step span {
  display: block;
  margin: 10px 0 0;
  color: var(--ai-muted);
  line-height: 1.6;
  max-width: 42ch;
}

.ai-spotlight-step:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.ai-xform-head {
  margin: 14px 0 20px;
}

.ai-xform-head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.ai-xform-head p {
  margin: 8px 0 0;
  color: var(--ai-muted);
}

.ai-xform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.ai-xform-card {
  border: 1px solid var(--ai-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--ai-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ai-xform-media {
  position: relative;
  background: #070709;
}

.ai-xform-card.ratio-9x16 .ai-xform-media {
  aspect-ratio: 9 / 16;
}

.ai-xform-card.ratio-1x1 .ai-xform-media {
  aspect-ratio: 1 / 1;
}

.ai-xform-card.ratio-16x9 .ai-xform-media {
  aspect-ratio: 16 / 9;
}

.ai-xform-poster,
.ai-xform-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-xform-video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ai-xform-card.is-video .ai-xform-video {
  opacity: 1;
  pointer-events: auto;
}

.ai-xform-card.is-video .ai-xform-poster {
  opacity: 0;
}

.ai-xform-cta {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
}

.ai-xform-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.62);
  color: #ffffff;
  padding: 9px 14px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.ai-xform-btn.is-hidden {
  display: none;
}

.ai-xform-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ai-xform-meta {
  margin: 0;
  padding: 12px 12px 14px;
}

.ai-xform-meta strong {
  display: block;
  font-size: 14px;
  color: #111111;
}

.ai-xform-meta span {
  display: block;
  margin-top: 5px;
  color: var(--ai-muted);
  font-size: 12px;
}

.ai-masonry {
  column-count: 3;
  column-gap: 18px;
}

.ai-exp-card {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
  border: 1px solid var(--ai-border);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--ai-shadow);
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-exp-card:hover,
.ai-exp-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--ai-shadow-hover);
}

.ai-exp-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #060606;
}

.ai-exp-meta {
  display: block;
  padding: 14px 14px 16px;
}

.ai-exp-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.ai-exp-meta em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--ai-muted);
  font-size: 13px;
}

.ai-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-workflow-step {
  background: linear-gradient(165deg, #ffffff, #f9fafc);
  border-radius: 18px;
  border: 1px solid var(--ai-border);
  box-shadow: var(--ai-shadow);
  padding: 22px;
}

.ai-workflow-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--ai-border);
  font-size: 12px;
  color: var(--ai-muted);
}

.ai-workflow-step h3 {
  margin: 14px 0 0;
  font-size: 22px;
}

.ai-workflow-step p {
  margin: 9px 0 0;
  color: var(--ai-muted);
  line-height: 1.6;
}

.ai-tools {
  overflow: hidden;
  border-top: 1px solid var(--ai-border);
  border-bottom: 1px solid var(--ai-border);
  margin: 20px 0 20px;
  padding: 15px 0;
  background: #fcfcfd;
}

.ai-tools-track {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  animation: aiMarquee 28s linear infinite;
}

.ai-tools-track span {
  display: inline-flex;
  border: 1px solid var(--ai-border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  color: #232836;
  background: #ffffff;
}

@keyframes aiMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ai-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
}

.ai-lightbox.is-open {
  display: block;
}

.ai-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(2px);
}

.ai-lightbox-dialog {
  position: relative;
  width: min(980px, calc(100% - 36px));
  max-height: calc(100vh - 52px);
  margin: 26px auto;
  border-radius: 22px;
  overflow: auto;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 35px 90px rgba(8, 10, 14, 0.35);
  z-index: 1;
}

.ai-lightbox-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  border: 0;
  border-left: 1px solid var(--ai-border);
  border-bottom: 1px solid var(--ai-border);
  border-radius: 0 0 0 14px;
  background: #ffffff;
  padding: 12px 15px;
  font-family: var(--ai-font);
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.ai-lightbox-dialog img {
  width: 100%;
  height: auto;
  display: block;
  background: #050505;
}

.ai-lightbox-body {
  padding: 22px 24px 28px;
}

.ai-lightbox-body h3 {
  margin: 0;
  font-size: 28px;
}

.ai-lightbox-tools {
  margin: 8px 0 0;
  color: var(--ai-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-lightbox-body p {
  margin-top: 12px;
  color: #323846;
  line-height: 1.65;
}

body.ai-lightbox-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1100px) {
  .ai-wrap,
  .ai-hero-inner {
    width: min(1180px, calc(100% - 42px));
  }

  .ai-spotlight-gallery {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ai-spotlight-dots {
    display: none;
  }

  .ai-spotlight-preview.preview--portrait {
    max-width: 90vw;
  }

  .ai-spotlight-preview {
    position: static;
  }

  .ai-masonry {
    column-count: 2;
  }

  .ai-xform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .ai-section {
    padding: 40px 0;
  }

  .ai-hero {
    min-height: auto;
    padding-top: 132px;
  }

  .ai-hero-image {
    margin-bottom: 32px;
    border-radius: 20px;
  }

  .ai-card,
  .ai-card-large {
    grid-column: span 12;
  }

  .ai-workflow-grid {
    grid-template-columns: 1fr;
  }

  .ai-masonry {
    column-count: 1;
  }

  .ai-xform-grid {
    grid-template-columns: 1fr;
  }

  .ai-lightbox-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
    max-height: calc(100vh - 20px);
  }
}

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

  .reveal,
  .reveal.in,
  .ai-btn,
  .ai-card,
  .ai-exp-card,
  .ai-spotlight-media,
  .ai-hero-image,
  .ai-spotlight-step {
    transition: none;
    transform: none;
    animation: none;
  }

  .ai-tools-track {
    animation: none;
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    padding: 0 16px;
  }

  .ai-spotlight-media {
    transition: none;
  }

  .ai-spotlight-dot {
    transition: none;
  }

  .ai-spotlight-preview {
    position: static;
  }

  .ai-xform-video {
    transition: none;
  }
}



/**CUSTOM**/
.ai-vibe-note{
  margin:0px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
}

.ai-hero{
  background: radial-gradient(circle at 30% 20%, rgba(0,0,0,.05), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(0,0,0,.04), transparent 55%);
  animation: aiHeroDrift 12s ease-in-out infinite alternate;
}
@keyframes aiHeroDrift{
  from{ background-position: 0% 0%, 100% 100%; }
  to{ background-position: 15% 8%, 85% 92%; }
}
@media (prefers-reduced-motion: reduce){
  .ai-hero{ animation:none; }
}

.ai-btn{
  position:relative;
  overflow:hidden;
}
.ai-btn:after{
  content:"";
  position:absolute; inset:-40% -20%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transform: translateX(-60%);
  transition: transform .45s ease;
  pointer-events:none;
}
.ai-btn:hover:after{ transform: translateX(60%); }


.ai-hero{ position: relative; overflow: hidden; }
.ai-hero-spotlight{
  position:absolute; inset:-40%;
  background: radial-gradient(600px 600px at var(--mx,50%) var(--my,40%),
    rgba(0,0,0,0.06), transparent 60%);
  pointer-events:none;
  transition: opacity .2s ease;
  opacity:.9;
}
@media (prefers-reduced-motion: reduce){
  .ai-hero-spotlight{ display:none; }
}

/* --- FIX: Primary CTA text goes black on hover --- */
.ai-cta .ai-btn{
  text-decoration: none;
}

.ai-cta .ai-btn:visited{
  color: inherit;
}

/* Primary button must ALWAYS keep white text */
.ai-cta .ai-btn.ai-btn-primary,
.ai-cta .ai-btn.ai-btn-primary:visited{
  color: #ffffff !important;
}

.ai-cta .ai-btn.ai-btn-primary:hover,
.ai-cta .ai-btn.ai-btn-primary:focus,
.ai-cta .ai-btn.ai-btn-primary:focus-visible,
.ai-cta .ai-btn.ai-btn-primary:active{
  color: #ffffff !important;
}

/* --- Workflow Spotlight: constrain width + narrower text column --- */
#workflow-spotlight .ai-spotlight-gallery{
  max-width: 1100px;
  margin: 0 auto;
  /* preview | dots | steps */
  grid-template-columns: minmax(320px, 440px) 22px minmax(280px, 520px);
  gap: 26px;
}

/* Keep the steps column from feeling like a full-page paragraph */
#workflow-spotlight .ai-spotlight-steps{
  max-width: 520px;
}

/* --- Premium reveal motion (subtle Apple-style) --- */
.reveal{
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  filter: blur(4px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
  will-change: transform, opacity, filter;
}

.reveal.in{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.in{
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

.ai-title{
  transform: translateZ(0);
  animation: aiTitleBreath 6s ease-in-out infinite;
}

@keyframes aiTitleBreath{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.01); opacity: .98; }
}

@media (prefers-reduced-motion: reduce){
  .ai-title{ animation: none; }
}

@media (hover:hover) and (pointer:fine){
  .ai-card{
    transition: transform 250ms ease, box-shadow 250ms ease;
    will-change: transform;
  }
  .ai-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 26px 90px rgba(0,0,0,.14);
  }
}


#experiments .ai-section-title{
  position: sticky;
  top: 84px; /* adjust if your header height differs */
  z-index: 3;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}

.ai-page a:focus-visible,
.ai-page button:focus-visible{
  outline: 2px solid rgba(0,0,0,.55);
  outline-offset: 4px;
  border-radius: 14px;
}

/* --- MOBILE FIX: stack Workflow Spotlight (AI Influencer) --- */
@media (max-width: 980px) {

  /* Stop the 3-column grid on mobile */
  .ai-spotlight-gallery{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 22px !important;
  }

  /* Keep the preview centered and responsive */
  .ai-spotlight-preview{
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

  /* Make dots horizontal under the preview (optional) */
  .ai-spotlight-dots{
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* Put the steps after dots */
  .ai-spotlight-steps{
    order: 3 !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

}


/* ================================
   AI page: keep MF logo visible when menu is open
   ================================ */

.ai-page header.nav-is-open #logo,
.ai-page header.header-open #logo {
  position: relative;
  z-index: 9999;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force DARK logo on white menu bar (even if show-light-logo is present) */
.ai-page header.nav-is-open #logo #dark-logo,
.ai-page header.header-open #logo #dark-logo,
.ai-page header.nav-is-open #logo.show-light-logo #dark-logo,
.ai-page header.header-open #logo.show-light-logo #dark-logo {
  opacity: 1 !important;
}

/* Hide LIGHT logo while menu is open */
.ai-page header.nav-is-open #logo #light-logo,
.ai-page header.header-open #logo #light-logo,
.ai-page header.nav-is-open #logo.show-light-logo #dark-logo + #light-logo,
.ai-page header.header-open #logo.show-light-logo #dark-logo + #light-logo {
  opacity: 0 !important;
}