.ai-creations-main {
  max-width: none;
  padding-inline: 0;
}
.ai-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - clamp(24px, 5vw, 100px));
  margin-inline: auto;
  border: 1px solid #b38a7c55;
  border-radius: clamp(14px, 2vw, 28px);
  background: #080707;
  box-shadow: 0 28px 80px #350a0a55;
}
.ai-feature video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 88svh;
  object-fit: contain;
}
.ai-feature-caption {
  position: relative;
  padding: clamp(14px, 3vw, 48px);
  background: #100c0d;
  text-align:center;
  pointer-events: none;
}
.ai-feature-description{max-width:850px;margin:20px auto 0;font-size:14px;line-height:1.95;color:var(--muted)}
.ai-feature-caption .portfolio-kicker {color: #f3c8bc}
.ai-feature-caption h1,
.ai-services h2,
.ai-works-header h2 {
  font-size: clamp(30px, 4.7vw, 70px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.045em;
  margin-top: .2em;
}
.ai-services {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: start;
  gap: clamp(25px, 6vw, 90px);
  margin-block: clamp(55px, 8vw, 122px) clamp(60px, 8vw, 110px);
  padding: clamp(24px, 4vw, 58px);
  border: 1px solid #d9b1a22b;
  border-radius: 26px;
  background: linear-gradient(130deg,#40100e55,#111010e0 75%);
}
.ai-services h2 {font-size: clamp(30px, 3.9vw, 57px)}
.ai-services div > p:not(.portfolio-kicker) {
  color: #c6b8b3;
  line-height: 1.9;
}
.ai-services .portfolio-link {margin-top: 1.25rem}
.ai-works-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-block-end: 24px;
  margin-block-end: 30px;
  border-bottom: 1px solid #dfcfd626;
}
.ai-works-header h2 {font-size: clamp(28px, 3.5vw, 52px)}
.ai-works-header [data-grid-help] {
  max-width: 40ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.ai-creations-page > [data-grid-sound] {
  inset-inline-start: auto;
  inset-inline-end: auto;
  right: 22px;
}
.ai-creations-page [data-film-category],
.ai-creations-page [data-film-summary] {display: none}
.ai-creations-page .film-card-copy h2 {margin-top: 0}
.ai-film-viewer {
  width: max-content;
  max-width: calc(100% - 28px);
  max-height: calc(100dvh - 28px);
  padding: 0;
  margin: auto;
  overflow: hidden;
  color: var(--text);
  background: #120e0d;
  border: 1px solid #c78b7966;
  border-radius: 20px;
}
.ai-film-viewer::backdrop {background: #080506e8; backdrop-filter: blur(10px)}
.ai-film-viewer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 12px;
}
.ai-film-viewer h2 {font-size: 15px;font-weight: 400}
.ai-film-viewer button {width: 40px;height: 40px;border-radius: 50%;border: 1px solid #dfcfd655}
.ai-film-viewer video {
  display: block;
  width: auto;
  height: calc(100dvh - 92px);
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  background: #080707;
}
[dir=rtl] .ai-creations-main h1,
[dir=rtl] .ai-creations-main h2 {letter-spacing: 0;line-height: 1.35}
@media (max-width: 760px) {
  .ai-services {grid-template-columns: 1fr}
  .ai-works-header {display: block}
  .ai-works-header [data-grid-help] {margin-top: 16px}
}
