/* Final brand layer for ai-av.org. Kept separate so the original template remains intact. */
:root {
  --ink: #26262A;
  --muted: rgba(38, 38, 42, .72);
  --night: #F1E8DF;
  --night-soft: #F3ECE0;
  --panel: #F1E8DF;
  --panel-light: #F3ECE0;
  --raspberry: #9E1030;
  --raspberry-dark: #6A282C;
  --violet: #612E35;
  --violet-soft: #F1E8DF;
  --sun: #EED0AE;
  --sun-soft: #EED0AE;
  --line: rgba(38, 38, 42, .16);
  --type-copy-color: rgba(38, 38, 42, .74);
  --type-h2-accent: #9E1030;
  --type-h3-accent: #9E1030;
  --type-h4-accent: #6A282C;
}

body { background: var(--night); color: var(--ink); }

.site-header {
  background: rgba(255, 250, 240, .92);
  border-bottom-color: rgba(105, 61, 112, .13);
  box-shadow: 0 8px 30px rgba(92, 46, 93, .07);
}

.site-header::after,
.eyebrow > span,
.gallery-section .split-heading::after,
.formats-section-head::after,
.feature-section-head::after,
.definition-section-head::after,
.video-gallery-section .split-heading::after {
  background: linear-gradient(90deg, var(--raspberry), var(--sun), var(--violet), transparent);
}

.desktop-nav { border-color: var(--line); background: rgba(255, 255, 255, .72); }
.desktop-nav a { color: #715d77; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: #5a306a; background: #f4e8ff; }
.brand-copy { color: #4d3157; }
.brand-copy small { color: #8b7391; }
.age-badge { border-color: rgba(155, 93, 229, .38); background: #f1e6ff; color: #8248bd; }

.button-small,
.button-primary,
body .character-profile-image > span,
body .formats-editor-number,
body .feature-board-number,
body .definition-step-number,
body .video-card-number {
  border-color: rgba(255, 255, 255, .65) !important;
  background: linear-gradient(120deg, var(--raspberry), #f46ca2 48%, var(--violet)) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(226, 61, 139, .22) !important;
}

.ticker { background: linear-gradient(90deg, #f59bc2, var(--sun-soft), #d9bcff, #f59bc2); color: #56325f; }
.ticker i { color: var(--raspberry); }

.article-hero {
  min-height: min(760px, calc(100svh - 98px));
  margin: 14px;
  border: 1px solid rgba(155, 93, 229, .16);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 202, 58, .42), transparent 25%),
    radial-gradient(circle at 90% 17%, rgba(200, 157, 244, .36), transparent 30%),
    radial-gradient(circle at 34% 94%, rgba(240, 79, 152, .2), transparent 30%),
    linear-gradient(132deg, #fffdf7, #fff3f8 50%, #f7efff);
  box-shadow: inset 0 1px rgba(255,255,255,.8), 0 18px 60px rgba(95,55,99,.08);
}

.article-hero .hero-copy-reference .hero-heading-group { gap: 18px; }
.article-hero .hero-copy-reference .hero-description { margin-top: 20px; }
.article-hero .hero-copy-reference .hero-actions { gap: 12px; margin-top: 22px; }

.article-hero::before {
  inset: 0;
  background: linear-gradient(rgba(116,64,159,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(116,64,159,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .8;
  transform: none;
}

.article-hero::after {
  top: -30vw;
  right: -18vw;
  border-color: rgba(155,93,229,.14);
  background: radial-gradient(circle, transparent 0 43%, rgba(239,63,143,.11) 43.1% 43.3%, transparent 43.5% 57%, rgba(155,93,229,.1) 57.1% 57.25%, transparent 57.45%);
  box-shadow: none;
}

body h1,
body .article-page h1,
body .article-hero .hero-copy-reference h1,
body h2,
body .article-page h2,
body .section-heading h2,
body .gallery-section .split-heading h2,
body .video-gallery-section .split-heading h2,
body .formats-editor-copy h2,
body .definition-section-head h2,
body .final-cta .final-cta-copy h2 { color: #3d2847 !important; text-shadow: none; }

body h1 span,
body .article-hero .hero-copy-reference h1 span { background-image: linear-gradient(92deg, #35233d, #5b3568); }
body h1 span:last-child,
body .article-hero .hero-copy-reference h1 span:last-child,
body .article-hero .hero-copy-reference h1 span.hero-title-accent { background-image: linear-gradient(92deg, var(--raspberry), #e44f9b 48%, var(--violet)); }

.hero-kicker,
.eyebrow { color: #7a4e8a; }
.hero-kicker { border-color: rgba(155,93,229,.24); background: rgba(255,255,255,.65); box-shadow: 0 10px 28px rgba(122,78,138,.08); }
body .article-hero .hero-copy-reference .hero-lead { color: #705e76; }

.article-page .button-secondary {
  min-height: 58px;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid rgba(95,55,99,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.68) !important;
  color: #52305e !important;
  box-shadow: inset 0 1px rgba(255,255,255,.9) !important;
}

.hero-benefits { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-benefits span {
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(239,63,143,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: #b62a70;
  font-size: 10px;
  font-weight: 850;
}

.article-hero .hero-feature-card,
.article-hero .hero-visual.hero-feature-card {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 720px);
  min-height: 0;
  aspect-ratio: 1.48 / 1;
  justify-self: center;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.86);
  border-radius: 28px;
  background: #f6eaff;
  box-shadow: 0 28px 68px rgba(91,53,104,.2), 18px 18px 0 rgba(255,202,58,.34), -15px -15px 0 rgba(240,79,152,.13);
}

.hero-feature-card::after {
  content: none;
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,250,240,.84);
  color: #713f7e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}

.hero-feature-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 31%; filter: saturate(.93) contrast(1.02) brightness(1.03); }

.models,
.video-gallery-section { background: #fff6ef; }
.content-section,
.content-section:nth-of-type(even) { background: #fffaf0; }
.content-section.dark-section,
#features { background: radial-gradient(circle at 88% 10%, rgba(200,157,244,.24), transparent 28%), radial-gradient(circle at 8% 90%, rgba(255,202,58,.2), transparent 26%), #fff8f2; }
.content-section.accent-section { background: linear-gradient(145deg, #fff2f7, #f8efff); }
.models::before { color: rgba(155,93,229,.08); }

.gallery-section .split-heading > p,
.video-gallery-section .split-heading > p,
.formats-editor-intro.info-panel { border-color: rgba(155,93,229,.18); border-left-color: var(--raspberry); background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(245,233,255,.72)); color: #6f5a75; box-shadow: 0 16px 36px rgba(96,56,105,.07); }

.character-profile,
.video-slider-track .video-card { border-color: rgba(155,93,229,.18); background: rgba(255,255,255,.88); box-shadow: 0 18px 46px rgba(99,58,105,.1); }
.character-profile-copy h4,
.video-card-copy h4 { color: #6e3b86 !important; }
.character-tags span,
.video-tags span,
.feature-board-tags span,
#how-to .how-to-tags span { border-color: rgba(155,93,229,.2); background: #f4eaff; color: #7a48a6; }

#generation .formats-editor-item,
#generation .formats-editor-item:nth-child(2),
#generation .formats-editor-item:nth-child(4),
.feature-board-card,
#how-to .jp-steps article,
#how-to .jp-steps article:nth-child(even),
#how-to .jp-steps article:nth-child(2),
#how-to .jp-steps article:nth-child(3) { border-color: rgba(155,93,229,.2); background: radial-gradient(circle at 92% 7%, rgba(255,202,58,.2), transparent 27%), linear-gradient(145deg, rgba(255,255,255,.97), rgba(248,237,255,.92)); box-shadow: 0 20px 50px rgba(92,53,100,.09); }

#generation .formats-editor-item.has-background::after { background: linear-gradient(180deg, rgba(255,250,240,.84), rgba(255,246,250,.9) 58%, rgba(246,235,255,.95)); }
#generation .formats-editor-bg { filter: brightness(1.05) saturate(.58) opacity(.24); }
#generation .formats-editor-body h3,
#generation .formats-editor-body h4,
#features .feature-board-card-image h3,
#features .feature-board-card-image h4 { text-shadow: none; }
#generation .formats-editor-body p,
#generation .formats-editor-item.has-background .formats-editor-body p,
#features .feature-board-card p,
#features .feature-board-card-image p,
#how-to .jp-steps p { color: #746379 !important; text-shadow: none; }

#features .feature-board-card-image { background: linear-gradient(180deg, rgba(255,250,240,.78), rgba(249,238,255,.92)), url("./assets/editorial/feature-style-card-bg.webp") center 34% / cover no-repeat; box-shadow: 0 20px 50px rgba(92,53,100,.09); }
.video-gallery-heading { border-bottom-color: var(--line); }

.final-cta { border-color: rgba(155,93,229,.16); background: radial-gradient(circle at 12% 85%, rgba(255,202,58,.36), transparent 30%), radial-gradient(circle at 86% 12%, rgba(200,157,244,.35), transparent 34%), linear-gradient(130deg, #fffaf0, #fff1f7 52%, #f5ebff); box-shadow: 0 20px 60px rgba(95,55,99,.09); }
.final-cta::before { opacity: .42; }
.final-cta::after { box-shadow: none; }
.final-cta-copy { border-left-color: var(--sun); }

.site-footer { border-top-color: rgba(155,93,229,.16); background: #f7eaff; }
.site-footer::after { content: none; }
.site-footer > p,
.site-footer nav a { color: #715d77; }
.to-top { background: rgba(255,255,255,.72); }

@media (min-width: 981px) {
  .article-hero { grid-template-columns: minmax(440px, .92fr) minmax(500px, 1.08fr); gap: clamp(48px, 5vw, 88px); padding-top: 38px; padding-bottom: 38px; }
}

@media (max-width: 980px) {
  .article-hero { min-height: 0; }
}

@media (max-width: 680px) {
  .article-hero { gap: 34px; margin: 6px; padding: 34px 20px 42px; border-radius: 22px; }
  .article-hero .hero-copy-reference .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .article-hero .hero-copy-reference .hero-primary-action,
  .article-hero .hero-copy-reference .hero-secondary-action { width: 100%; min-width: 0; }
  .hero-benefits { margin-top: 18px; }
  .article-hero .hero-feature-card,
  .article-hero .hero-visual.hero-feature-card { width: 100%; min-height: 240px; aspect-ratio: 1.18 / 1; border-width: 5px; border-radius: 20px; box-shadow: 0 20px 44px rgba(91,53,104,.18), 9px 9px 0 rgba(255,202,58,.32); }
  .hero-feature-card img { object-position: 50% 24%; }
  .final-cta-copy { border-color: rgba(155,93,229,.2); border-top-color: var(--sun); background: rgba(255,255,255,.72); box-shadow: 0 18px 42px rgba(99,58,105,.09); }
}

/* Content adaptation for the AI AV copy supplied on 2026-09-12. */
.article-hero .hero-copy-reference h1 {
  font-size: clamp(38px, 3.7vw, 64px);
  line-height: .94;
}

.article-hero .hero-copy-reference h1 span {
  white-space: normal;
}

.ai-av-overview-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 202, 58, .25), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(200, 157, 244, .2), transparent 31%),
    #fffaf0;
}

.ai-av-overview-section .formats-section-head {
  margin-bottom: 0;
}

#ai-av-types .definition-section-head h2 {
  max-width: none;
  font-size: clamp(42px, 5.6vw, 82px);
}

#ai-av-types .definition-section-head h2 em {
  display: inline;
}

#ai-av-types .jp-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
  padding: 0;
  background: transparent;
}

#ai-av-types .jp-steps::after {
  display: none;
}

#ai-av-types .jp-steps article,
#ai-av-types .jp-steps article:nth-child(even),
#ai-av-types .jp-steps article:nth-child(2),
#ai-av-types .jp-steps article:nth-child(3) {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 0;
  padding: clamp(26px, 2.7vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(155, 93, 229, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 7%, rgba(255, 202, 58, .2), transparent 27%),
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(248,237,255,.92));
  box-shadow: 0 20px 50px rgba(92,53,100,.09);
}

#ai-av-types .jp-steps article > div {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

#ai-av-types .definition-step-number {
  width: 52px;
  height: 52px;
  margin-bottom: clamp(24px, 2.6vw, 36px);
  flex: 0 0 auto;
}

#ai-av-types .jp-steps h3 {
  margin: 0 0 16px;
  color: var(--type-h3-accent) !important;
}

#ai-av-types .jp-steps p {
  max-width: none;
  color: var(--type-copy-color) !important;
  text-shadow: none;
}

.type-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: fit-content;
  margin-top: auto;
  padding-top: 26px;
  color: #a52a71;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.type-card-link:hover,
.type-card-link:focus-visible {
  color: var(--violet);
}

.video-gallery-section .split-heading > .video-section-intro {
  box-sizing: border-box;
  width: 100%;
  max-width: 540px;
  margin: 34px 0 0;
  padding: 28px 30px;
  border: 1px solid rgba(155,93,229,.18);
  border-left: 2px solid var(--raspberry);
  background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(245,233,255,.72));
  box-shadow: 0 16px 36px rgba(96,56,105,.07);
}

.video-section-intro > p {
  margin: 0;
  color: #6f5a75;
  font-size: 14px;
  line-height: 1.58;
}

.video-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.video-section-actions .button {
  min-height: 44px;
  padding: 9px 15px;
  font-size: 11px;
}

@media (max-width: 980px) {
  #ai-av-types .jp-steps {
    grid-template-columns: 1fr;
  }

  #ai-av-types .jp-steps article,
  #ai-av-types .jp-steps article:nth-child(even) {
    min-height: 0;
  }
}

/* Why choose: a compact editorial bridge into the closing CTA. */
.article-page #why-choose {
  padding-top: clamp(66px, 6vw, 90px);
  padding-bottom: clamp(66px, 6vw, 90px);
  background:
    radial-gradient(circle at 88% 14%, rgba(238, 208, 174, .4), transparent 28%),
    #F1E8DF;
}

.article-page #why-choose .why-choose-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: stretch;
  gap: clamp(42px, 6vw, 96px);
  overflow: hidden;
  padding: clamp(42px, 5vw, 72px);
  border: 1px solid rgba(97, 46, 53, .14);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(158, 16, 48, .035) 0 1px, transparent 1px 100%),
    linear-gradient(145deg, rgba(243, 236, 224, .96), rgba(238, 208, 174, .38));
  box-shadow: 0 26px 70px rgba(38, 38, 42, .1);
}

.article-page #why-choose .why-choose-frame::after {
  content: none;
  position: absolute;
  right: -20px;
  bottom: -38px;
  color: rgba(97, 46, 53, .045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(110px, 12vw, 210px);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.article-page #why-choose .why-choose-heading,
.article-page #why-choose .why-choose-points {
  position: relative;
  z-index: 1;
}

.article-page #why-choose .why-choose-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 24px);
}

.article-page #why-choose .eyebrow {
  justify-content: flex-start;
  margin: 0 0 20px;
  color: #9E1030;
}

.article-page #why-choose h2 {
  max-width: 700px;
  margin: 0;
  color: #26262A !important;
  font-size: clamp(44px, 4.25vw, 68px) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
}

.article-page #why-choose h2 em {
  color: #9E1030 !important;
}

.article-page #why-choose .why-choose-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(38, 38, 42, .72);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.85;
}

.article-page #why-choose .why-choose-action {
  position: relative;
  width: min(100%, 560px);
  min-height: 50px;
  margin-top: 28px;
  justify-content: center;
  padding-inline: 56px;
  border-color: rgba(97, 46, 53, .24);
  background: #9E1030;
  color: #F3ECE0;
  box-shadow: 0 14px 30px rgba(158, 16, 48, .22);
}

.article-page #why-choose .why-choose-action > span[aria-hidden="true"] {
  position: absolute;
  right: 14px;
  margin: 0;
}

.article-page #why-choose .why-choose-points {
  display: grid;
  align-content: center;
  gap: 12px;
}

.article-page #why-choose .why-choose-points article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 116px;
  padding: 20px 24px;
  border: 1px solid rgba(97, 46, 53, .13);
  border-radius: 18px;
  background: rgba(243, 236, 224, .82);
  box-shadow: 0 12px 30px rgba(38, 38, 42, .065);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.article-page #why-choose .why-choose-points article:nth-child(2) {
  margin-left: clamp(0px, 2vw, 26px);
}

.article-page #why-choose .why-choose-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(243, 236, 224, .52);
  border-radius: 50%;
  background: #9E1030;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(158, 16, 48, .2);
}

.article-page #why-choose .why-choose-points h3 {
  margin: 0 0 6px;
  color: #612E35 !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  line-height: 1.25;
}

.article-page #why-choose .why-choose-points p {
  margin: 0;
  color: rgba(38, 38, 42, .68);
  font-size: 12px;
  line-height: 1.65;
}

@media (hover: hover) {
  .article-page #why-choose .why-choose-points article:hover {
    border-color: rgba(158, 16, 48, .32);
    box-shadow: 0 18px 40px rgba(38, 38, 42, .1);
    transform: translateX(-4px);
  }
}

@media (max-width: 980px) {
  .article-page #why-choose .why-choose-frame {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .article-page #why-choose .why-choose-heading {
    padding-right: 0;
  }

  .article-page #why-choose .why-choose-points article:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .article-page #why-choose {
    padding: 54px 14px;
  }

  .article-page #why-choose .article-content {
    padding-inline: 0;
  }

  .article-page #why-choose .why-choose-frame {
    gap: 28px;
    padding: 28px 20px 22px;
    border-radius: 20px;
  }

  .article-page #why-choose h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.04 !important;
  }

  .article-page #why-choose .why-choose-lead {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.7;
  }

  .article-page #why-choose .why-choose-action {
    width: 100%;
    justify-content: space-between;
    margin-top: 22px;
  }

  .article-page #why-choose .why-choose-points article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px 16px;
  }

  .article-page #why-choose .why-choose-number {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .article-page #why-choose .why-choose-points h3 {
    font-size: 15px !important;
  }

  .article-page #why-choose .why-choose-points p {
    font-size: 11px;
    line-height: 1.55;
  }
}

.brand-logo-link {
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-logo-link:focus-visible {
  outline: 2px solid #e31b72;
  outline-offset: 4px;
}

.brand-lockup .brand-copy {
  cursor: default;
  user-select: text;
}

@media (max-width: 680px) {
  .article-hero .hero-copy-reference h1 {
    font-size: clamp(29px, 8.4vw, 38px);
  }

  #ai-av-types .definition-section-head h2 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  #ai-av-types .jp-steps article,
  #ai-av-types .jp-steps article:nth-child(even) {
    padding: 24px 20px;
  }

  .video-gallery-section .split-heading > .video-section-intro {
    max-width: none;
    margin-top: 0;
    padding: 22px 20px;
  }

  .video-section-intro > p {
    font-size: 12px;
  }

  .video-section-actions {
    flex-direction: column;
  }

  .video-section-actions .button {
    width: 100%;
  }
}

/* Autoplaying hero video slider. */
.article-hero .hero-video-slider {
  isolation: isolate;
  padding: 0;
}

.hero-video-slider::after {
  display: none;
}

.hero-video-track,
.hero-video-slide {
  position: absolute;
  inset: 0;
}

.hero-video-slide {
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s step-end;
}

.hero-video-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity .65s ease, visibility 0s step-start;
}

.hero-video-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eaddec;
}

.hero-video-slide:nth-child(1) video { object-position: 50% 33%; }
.hero-video-slide:nth-child(2) video { object-position: 50% 36%; }
.hero-video-slide:nth-child(3) video { object-position: 50% 35%; }
.hero-video-slide:nth-child(4) video { object-position: 50% 34%; }

.hero-video-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(44, 23, 50, .18));
}

.hero-video-label {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 16px;
  min-width: 86px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,250,240,.86);
  color: #713f7e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(52,30,59,.16);
  backdrop-filter: blur(10px);
}

.hero-slider-controls {
  position: absolute;
  z-index: 7;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: rgba(255,250,240,.82);
  box-shadow: 0 10px 28px rgba(52,30,59,.17);
  backdrop-filter: blur(12px);
}

.hero-slider-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--raspberry), var(--violet));
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(207,47,122,.25);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(113,63,126,.28);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-slider-dots button.is-active {
  width: 20px;
  background: linear-gradient(90deg, var(--raspberry), var(--violet));
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-slide {
    transition: none;
  }
}

@media (max-width: 680px) {
  .hero-video-label {
    left: 10px;
    bottom: 10px;
    min-width: 72px;
    padding: 7px 10px;
    font-size: 9px;
  }

  .hero-slider-controls {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .hero-slider-arrow {
    width: 31px;
    height: 31px;
  }
}

/* 2026-09-12 palette: charcoal, dusty rose, warm gray, cream, plum. */
body {
  background: #e2e2da;
  color: #2a2a35;
}

.site-header {
  background: rgba(226, 226, 218, .94);
  border-bottom-color: rgba(42, 42, 53, .14);
  box-shadow: 0 8px 30px rgba(42, 42, 53, .08);
}

.desktop-nav {
  border-color: rgba(42, 42, 53, .16);
  background: rgba(242, 232, 194, .64);
}

.desktop-nav a,
.brand-copy,
.site-footer > p,
.site-footer nav a {
  color: #2a2a35;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #ad4d8c;
  background: #f2e8c2;
}

.brand-copy small {
  color: #b98391;
}

.age-badge {
  border-color: rgba(173, 77, 140, .38);
  background: #f2e8c2;
  color: #ad4d8c;
}

.button-small,
.button-primary,
body .character-profile-image > span,
body .formats-editor-number,
body .feature-board-number,
body .definition-step-number,
body .video-card-number {
  border-color: rgba(226, 226, 218, .7) !important;
  background: linear-gradient(120deg, #ad4d8c, #b98391) !important;
  color: #e2e2da !important;
  box-shadow: 0 12px 30px rgba(42, 42, 53, .18) !important;
}

.ticker {
  background: linear-gradient(90deg, #b98391, #f2e8c2, #e2e2da, #b98391);
  color: #2a2a35;
}

.ticker i {
  color: #ad4d8c;
}

.article-hero {
  border-color: rgba(42, 42, 53, .14);
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 232, 194, .88), transparent 30%),
    radial-gradient(circle at 90% 17%, rgba(185, 131, 145, .32), transparent 32%),
    radial-gradient(circle at 34% 94%, rgba(173, 77, 140, .15), transparent 31%),
    linear-gradient(132deg, #e2e2da, #f2e8c2 52%, #e2e2da);
  box-shadow: inset 0 1px rgba(242, 232, 194, .7), 0 18px 60px rgba(42, 42, 53, .1);
}

.article-hero::before {
  background:
    linear-gradient(rgba(42, 42, 53, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 42, 53, .04) 1px, transparent 1px);
}

.article-hero::after {
  border-color: rgba(173, 77, 140, .13);
  background: radial-gradient(circle, transparent 0 43%, rgba(173, 77, 140, .11) 43.1% 43.3%, transparent 43.5% 57%, rgba(185, 131, 145, .12) 57.1% 57.25%, transparent 57.45%);
}

body h1,
body .article-page h1,
body .article-hero .hero-copy-reference h1,
body h2,
body .article-page h2,
body .section-heading h2,
body .gallery-section .split-heading h2,
body .video-gallery-section .split-heading h2,
body .formats-editor-copy h2,
body .definition-section-head h2,
body .final-cta .final-cta-copy h2 {
  color: #2a2a35 !important;
}

body h1 span,
body .article-hero .hero-copy-reference h1 span {
  background-image: linear-gradient(92deg, #2a2a35, #b98391);
}

body h1 span:last-child,
body .article-hero .hero-copy-reference h1 span:last-child,
body .article-hero .hero-copy-reference h1 span.hero-title-accent {
  background-image: linear-gradient(92deg, #ad4d8c, #b98391);
}

.hero-kicker,
.eyebrow {
  color: #ad4d8c;
}

.hero-kicker {
  border-color: rgba(173, 77, 140, .25);
  background: rgba(242, 232, 194, .72);
  box-shadow: 0 10px 28px rgba(42, 42, 53, .08);
}

body .article-hero .hero-copy-reference .hero-lead,
.video-section-intro > p,
#ai-av-types .jp-steps p,
#generation .formats-editor-body p,
#generation .formats-editor-item.has-background .formats-editor-body p,
#features .feature-board-card p,
#features .feature-board-card-image p {
  color: rgba(42, 42, 53, .76) !important;
}

.article-page .button-secondary {
  border-color: rgba(42, 42, 53, .22);
  background: rgba(226, 226, 218, .8) !important;
  color: #2a2a35 !important;
  box-shadow: inset 0 1px rgba(242, 232, 194, .8) !important;
}

.hero-benefits span {
  border-color: rgba(173, 77, 140, .28);
  background: rgba(242, 232, 194, .72);
  color: #ad4d8c;
}

.article-hero .hero-feature-card,
.article-hero .hero-visual.hero-feature-card {
  border-color: rgba(226, 226, 218, .92);
  background: #2a2a35;
  box-shadow: 0 28px 68px rgba(42, 42, 53, .2), 18px 18px 0 rgba(242, 232, 194, .58), -15px -15px 0 rgba(185, 131, 145, .2);
}

.models,
.video-gallery-section,
.content-section,
.content-section:nth-of-type(even) {
  background: #e2e2da;
}

.content-section.dark-section,
#features {
  background:
    radial-gradient(circle at 88% 10%, rgba(185, 131, 145, .24), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(242, 232, 194, .74), transparent 30%),
    #e2e2da;
}

.content-section.accent-section {
  background: linear-gradient(145deg, #f2e8c2, #e2e2da);
}

.ai-av-overview-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 232, 194, .9), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(185, 131, 145, .2), transparent 31%),
    #e2e2da;
}

.gallery-section .split-heading > p,
.formats-editor-intro.info-panel,
.video-gallery-section .split-heading > .video-section-intro {
  border-color: rgba(42, 42, 53, .16);
  border-left-color: #ad4d8c;
  background: linear-gradient(140deg, rgba(242, 232, 194, .82), rgba(226, 226, 218, .9));
  color: rgba(42, 42, 53, .76);
  box-shadow: 0 16px 36px rgba(42, 42, 53, .08);
}

.character-profile,
.video-slider-track .video-card,
#generation .formats-editor-item,
#generation .formats-editor-item:nth-child(2),
#generation .formats-editor-item:nth-child(4),
.feature-board-card,
#ai-av-types .jp-steps article,
#ai-av-types .jp-steps article:nth-child(even),
#ai-av-types .jp-steps article:nth-child(2),
#ai-av-types .jp-steps article:nth-child(3) {
  border-color: rgba(42, 42, 53, .17);
  background:
    radial-gradient(circle at 92% 7%, rgba(242, 232, 194, .62), transparent 30%),
    linear-gradient(145deg, rgba(226, 226, 218, .98), rgba(242, 232, 194, .78));
  box-shadow: 0 18px 46px rgba(42, 42, 53, .1);
}

.character-profile-copy h4,
.video-card-copy h4,
#ai-av-types .jp-steps h3 {
  color: #ad4d8c !important;
}

.character-tags span,
.video-tags span,
.feature-board-tags span {
  border-color: rgba(173, 77, 140, .2);
  background: rgba(242, 232, 194, .82);
  color: #ad4d8c;
}

#generation .formats-editor-item.has-background::after {
  background: linear-gradient(180deg, rgba(226, 226, 218, .84), rgba(242, 232, 194, .78) 58%, rgba(226, 226, 218, .94));
}

#features .feature-board-card-image {
  background: linear-gradient(180deg, rgba(226, 226, 218, .82), rgba(242, 232, 194, .9)), url("./assets/editorial/feature-style-card-bg.webp") center 34% / cover no-repeat;
  box-shadow: 0 20px 50px rgba(42, 42, 53, .1);
}

.type-card-link {
  color: #ad4d8c;
}

.type-card-link:hover,
.type-card-link:focus-visible {
  color: #b98391;
}

.final-cta {
  border-color: rgba(42, 42, 53, .16);
  background:
    radial-gradient(circle at 12% 85%, rgba(242, 232, 194, .9), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(185, 131, 145, .34), transparent 36%),
    linear-gradient(130deg, #e2e2da, #f2e8c2 52%, #e2e2da);
  box-shadow: 0 20px 60px rgba(42, 42, 53, .1);
}

.final-cta-copy {
  border-left-color: #ad4d8c;
}

.site-footer {
  border-top-color: rgba(42, 42, 53, .16);
  background: #e2e2da;
}

.site-footer::after {
  color: rgba(173, 77, 140, .09);
}

.to-top {
  background: rgba(242, 232, 194, .74);
}

.hero-video-label,
.hero-slider-controls {
  border-color: rgba(226, 226, 218, .72);
  background: rgba(242, 232, 194, .86);
  color: #2a2a35;
  box-shadow: 0 10px 28px rgba(42, 42, 53, .2);
}

.hero-slider-arrow,
.hero-slider-dots button.is-active {
  background: linear-gradient(135deg, #ad4d8c, #b98391);
}

.hero-slider-dots button {
  background: rgba(42, 42, 53, .25);
}

@media (max-width: 680px) {
  .article-hero .hero-feature-card,
  .article-hero .hero-visual.hero-feature-card {
    box-shadow: 0 20px 44px rgba(42, 42, 53, .18), 9px 9px 0 rgba(242, 232, 194, .55);
  }

  .final-cta-copy {
    border-color: rgba(42, 42, 53, .18);
    border-top-color: #ad4d8c;
    background: rgba(226, 226, 218, .82);
    box-shadow: 0 18px 42px rgba(42, 42, 53, .1);
  }
}

/* Portrait media treatment for the hero and final CTA. */
.article-hero .hero-feature-card,
.article-hero .hero-visual.hero-feature-card {
  width: min(100%, 460px);
  aspect-ratio: 9 / 14;
}

.hero-video-slide video {
  object-fit: cover;
}

.final-cta-portrait {
  width: min(100%, 470px);
  height: min(74vh, 650px);
}

.final-cta-portrait .glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 110%;
  height: 82%;
  transform: translate(-50%, -50%);
}

.final-portrait-frame {
  position: relative;
  z-index: 2;
  height: 100%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border: 8px solid rgba(226, 226, 218, .92);
  border-radius: 30px;
  background: #2a2a35;
  box-shadow: 0 28px 68px rgba(42, 42, 53, .22), 18px 18px 0 rgba(242, 232, 194, .58), -15px -15px 0 rgba(185, 131, 145, .2);
}

.final-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transition: transform .5s ease, filter .5s ease;
}

.final-portrait-frame span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(226, 226, 218, .72);
  border-radius: 999px;
  background: rgba(242, 232, 194, .86);
  color: #2a2a35;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  box-shadow: 0 10px 28px rgba(42, 42, 53, .18);
  backdrop-filter: blur(10px);
}

.final-cta-portrait:hover .final-portrait-frame img,
.final-cta-portrait:focus-visible .final-portrait-frame img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.02);
}

@media (max-width: 980px) {
  .article-hero .hero-feature-card,
  .article-hero .hero-visual.hero-feature-card {
    width: min(100%, 420px);
  }

  .final-cta-portrait {
    width: min(100%, 380px);
  }
}

@media (max-width: 680px) {
  .article-hero .hero-feature-card,
  .article-hero .hero-visual.hero-feature-card {
    width: min(100%, 360px);
    min-height: 0;
    aspect-ratio: 9 / 14;
  }

  .final-cta-portrait {
    width: min(100%, 250px);
    height: 100%;
    min-height: 170px;
    max-height: 250px;
  }

  .final-portrait-frame {
    border-width: 4px;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(42, 42, 53, .2), 8px 8px 0 rgba(242, 232, 194, .55);
  }

  .final-portrait-frame span {
    right: 9px;
    bottom: 9px;
    padding: 5px 8px;
    font-size: 7px;
  }
}

/* 2026-09-12 vivid interactive accents. */
:root {
  --raspberry: #9E1030;
  --raspberry-dark: #6A282C;
  --type-h2-accent: #9E1030;
  --type-h3-accent: #9E1030;
}

.button-small,
.button-primary,
.final-actions .button,
body .character-profile-image > span,
body .formats-editor-number,
body .feature-board-number,
body .definition-step-number,
body .video-card-number {
  border-color: rgba(255, 255, 255, .78) !important;
  background: linear-gradient(120deg, #c80d5d, #e31b72 48%, #ff529c) !important;
  color: #fff !important;
  box-shadow: 0 13px 32px rgba(227, 27, 114, .32) !important;
}

.button-small:hover,
.button-small:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.final-actions .button:hover,
.final-actions .button:focus-visible {
  border-color: #ff9fc8 !important;
  background: linear-gradient(120deg, #e31b72, #ff3f8d 54%, #ff72b0) !important;
  box-shadow: 0 16px 38px rgba(227, 27, 114, .42) !important;
}

.article-page .button-secondary {
  border-color: rgba(227, 27, 114, .52) !important;
  background: rgba(242, 232, 194, .9) !important;
  color: #bd0e59 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 9px 24px rgba(227, 27, 114, .12) !important;
}

.article-page .button-secondary:hover,
.article-page .button-secondary:focus-visible {
  border-color: #e31b72 !important;
  background: #fff4dd !important;
  color: #e31b72 !important;
  box-shadow: 0 13px 30px rgba(227, 27, 114, .22) !important;
}

.site-header::after,
.eyebrow > span,
.gallery-section .split-heading::after,
.formats-section-head::after,
.feature-section-head::after,
.definition-section-head::after,
.video-gallery-section .split-heading::after {
  background: linear-gradient(90deg, #e31b72, #ff5ba2 48%, #b98391, transparent);
}

body h1 span:last-child,
body .article-hero .hero-copy-reference h1 span:last-child,
body .article-hero .hero-copy-reference h1 span.hero-title-accent {
  background-image: linear-gradient(92deg, #e31b72, #f23489 52%, #ad4d8c);
}

.hero-kicker,
.eyebrow,
.ticker i,
.character-profile-copy h4,
.video-card-copy h4,
#ai-av-types .jp-steps h3,
.type-card-link {
  color: #d41466 !important;
}

.hero-kicker,
.hero-benefits span,
.character-tags span,
.video-tags span,
.feature-board-tags span {
  border-color: rgba(227, 27, 114, .38);
}

.hero-benefits span,
.character-tags span,
.video-tags span,
.feature-board-tags span {
  color: #c3135d;
}

.gallery-section .split-heading > p,
.formats-editor-intro.info-panel,
.video-gallery-section .split-heading > .video-section-intro,
.final-cta-copy {
  border-left-color: #e31b72;
}

.hero-slider-arrow,
.hero-slider-dots button.is-active {
  background: linear-gradient(135deg, #d71368, #ff4c98);
  box-shadow: 0 8px 22px rgba(227, 27, 114, .28);
}

.age-badge {
  border-color: rgba(227, 27, 114, .45);
  color: #d41466;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.type-card-link:hover,
.type-card-link:focus-visible {
  color: #e31b72;
}

/* One unified character gallery with editorial descriptions. */
.character-gallery-heading-controls-only {
  min-height: 58px;
  margin-bottom: 14px;
  padding: 0;
  border-bottom: 0;
}

.character-gallery-heading-controls-only::before,
.character-gallery-heading-controls-only::after {
  display: none;
}

#characters .split-heading {
  margin-bottom: 12px;
}

.character-gallery-heading-controls-only .character-slider-controls {
  bottom: 9px;
}

.character-gallery-unified .character-profile > a {
  display: grid;
  grid-template-rows: auto 1fr;
}

body main .character-profile-new .character-profile-copy p {
  display: -webkit-box;
  min-height: 5.8em;
  margin: 0;
  overflow: hidden;
  color: rgba(42, 42, 53, .72);
  font-size: 11px !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.character-profile-new .character-profile-copy {
  align-content: start;
}

@media (max-width: 980px) {
  body main .character-profile-new .character-profile-copy p {
    min-height: 4.8em;
    font-size: 12px !important;
    line-height: 1.55 !important;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 640px) {
  .character-gallery-heading-controls-only {
    min-height: 50px;
    margin-bottom: 16px;
  }

  .character-gallery-heading-controls-only .character-slider-controls {
    position: absolute;
    right: 0;
    bottom: 4px;
    margin-top: 0;
  }

  body main .character-profile-new .character-profile-copy p {
    min-height: 0;
    font-size: 11px !important;
    -webkit-line-clamp: 4;
  }
}

/* Three-card final CTA collage inspired by the supplied overlapping-frame reference. */
.final-cta-collage {
  position: relative;
  width: min(100%, 640px);
  height: min(68vh, 560px);
  isolation: isolate;
}

.final-cta-collage .glow {
  position: absolute;
  z-index: 0;
  inset: 50% auto auto 50%;
  width: 78%;
  height: 78%;
  border: 0;
  background: radial-gradient(circle, rgba(227, 27, 114, .29), rgba(185, 131, 145, .16) 48%, transparent 72%);
  box-shadow: none;
  transform: translate(-50%, -50%);
  filter: blur(10px);
}

.final-collage-card {
  position: absolute;
  width: 43%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 7px solid #2a2a35;
  border-radius: 30px;
  background: #2a2a35;
  box-shadow: 0 26px 58px rgba(42, 42, 53, .3), 0 0 0 1px rgba(227, 27, 114, .2);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.final-collage-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
}

.final-collage-card-left {
  z-index: 1;
  top: 20%;
  left: 1%;
  transform: rotate(-9deg);
}

.final-collage-card-left img {
  object-position: 50% 24%;
}

.final-collage-card-center {
  z-index: 3;
  top: 3%;
  left: 29%;
  transform: rotate(1.5deg);
}

.final-collage-card-center img {
  object-position: 50% 24%;
}

.final-collage-card-right {
  z-index: 2;
  top: 21%;
  right: 0;
  transform: rotate(9deg);
}

.final-collage-card-right img {
  object-position: 50% 22%;
}

.final-collage-card span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(242, 232, 194, .9);
  color: #2a2a35;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  box-shadow: 0 9px 24px rgba(42, 42, 53, .22);
  backdrop-filter: blur(10px);
}

.final-cta-collage:hover .final-collage-card,
.final-cta-collage:focus-visible .final-collage-card {
  box-shadow: 0 30px 70px rgba(42, 42, 53, .34), 0 0 30px rgba(227, 27, 114, .25);
}

.final-cta-collage:hover .final-collage-card img,
.final-cta-collage:focus-visible .final-collage-card img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.025);
}

.final-cta-collage:hover .final-collage-card-left,
.final-cta-collage:focus-visible .final-collage-card-left {
  transform: translateX(-5px) rotate(-11deg);
}

.final-cta-collage:hover .final-collage-card-center,
.final-cta-collage:focus-visible .final-collage-card-center {
  transform: translateY(-7px) rotate(1.5deg);
}

.final-cta-collage:hover .final-collage-card-right,
.final-cta-collage:focus-visible .final-collage-card-right {
  transform: translateX(5px) rotate(11deg);
}

@media (max-width: 980px) {
  .final-cta-collage {
    width: min(100%, 500px);
    height: min(66vh, 470px);
  }

  .final-collage-card {
    width: 45%;
    border-width: 6px;
    border-radius: 24px;
  }

  .final-collage-card-center {
    left: 27.5%;
  }
}

@media (max-width: 680px) {
  .final-cta-collage {
    width: min(100%, 360px);
    height: 100%;
    min-height: 180px;
    max-height: 270px;
  }

  .final-collage-card {
    width: 42%;
    border-width: 4px;
    border-radius: 17px;
    box-shadow: 0 14px 30px rgba(42, 42, 53, .28), 0 0 0 1px rgba(227, 27, 114, .18);
  }

  .final-collage-card-left {
    top: 23%;
    left: 2%;
  }

  .final-collage-card-center {
    top: 2%;
    left: 29%;
  }

  .final-collage-card-right {
    top: 23%;
    right: 2%;
  }

  .final-collage-card span {
    right: 7px;
    bottom: 7px;
    padding: 4px 7px;
    font-size: 6px;
  }
}

/* Two autoplaying hero videos arranged as the supplied overlapping-card reference. */
.article-hero .hero-video-duo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 650px);
  height: min(68vh, 600px);
  min-height: 480px;
  justify-self: center;
  isolation: isolate;
}

.hero-video-duo-glow {
  position: absolute;
  z-index: 0;
  inset: 50% auto auto 50%;
  width: 82%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 27, 114, .27), rgba(173, 77, 140, .14) 48%, transparent 72%);
  transform: translate(-50%, -50%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-video-duo-card {
  position: absolute;
  width: 52%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border: 8px solid #2a2a35;
  border-radius: 34px;
  background: #2a2a35;
  box-shadow: 0 30px 64px rgba(42, 42, 53, .34), 0 0 0 1px rgba(227, 27, 114, .18);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.hero-video-duo-card video,
.hero-video-duo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2a2a35;
}

.hero-video-duo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 63%, rgba(42, 42, 53, .22));
  pointer-events: none;
}

.hero-video-duo-card span {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 15px;
  min-width: 86px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 999px;
  background: rgba(242, 232, 194, .91);
  color: #2a2a35;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 9px 24px rgba(42, 42, 53, .22);
  backdrop-filter: blur(10px);
}

.hero-video-duo-card-r18 {
  z-index: 3;
  top: 15%;
  left: 4%;
  transform: rotate(-8deg);
}

.hero-video-duo-card-fantasy {
  z-index: 2;
  top: 5%;
  right: 4%;
  transform: rotate(8deg);
}

.hero-video-duo:hover .hero-video-duo-card,
.hero-video-duo:focus-within .hero-video-duo-card {
  box-shadow: 0 34px 74px rgba(42, 42, 53, .38), 0 0 34px rgba(227, 27, 114, .24);
}

.hero-video-duo:hover .hero-video-duo-card-r18,
.hero-video-duo:focus-within .hero-video-duo-card-r18 {
  transform: translateX(-7px) rotate(-10deg);
}

.hero-video-duo:hover .hero-video-duo-card-fantasy,
.hero-video-duo:focus-within .hero-video-duo-card-fantasy {
  transform: translateX(7px) rotate(10deg);
}

@media (max-width: 980px) {
  .article-hero .hero-video-duo {
    width: min(100%, 540px);
    height: min(70vh, 560px);
    min-height: 460px;
  }
}

/* 2026-09-12 wine and cream palette with refined hero typography. */
:root {
  --ink: #26262A;
  --muted: rgba(38, 38, 42, .72);
  --night: #F1E8DF;
  --night-soft: #F3ECE0;
  --panel: #F1E8DF;
  --panel-light: #F3ECE0;
  --raspberry: #9E1030;
  --raspberry-dark: #6A282C;
  --violet: #612E35;
  --violet-soft: #F1E8DF;
  --sun: #EED0AE;
  --sun-soft: #EED0AE;
  --line: rgba(38, 38, 42, .16);
  --type-copy-color: rgba(38, 38, 42, .76);
  --type-h2-accent: #9E1030;
  --type-h3-accent: #9E1030;
  --type-h4-accent: #6A282C;
}

body {
  background: #F1E8DF;
  color: #26262A;
}

.site-header {
  background: rgba(243, 236, 224, .96);
  border-bottom-color: rgba(97, 46, 53, .2);
  box-shadow: 0 8px 30px rgba(38, 38, 42, .08);
}

.site-header::after,
.eyebrow > span,
.gallery-section .split-heading::after,
.formats-section-head::after,
.feature-section-head::after,
.definition-section-head::after,
.video-gallery-section .split-heading::after {
  background: linear-gradient(90deg, #9E1030, #6A282C 48%, #EED0AE, transparent);
}

.brand-copy,
.site-footer > p,
.site-footer nav a {
  color: #26262A;
}

.age-badge {
  border-color: rgba(158, 16, 48, .48);
  background: #F3ECE0;
  color: #9E1030;
}

.button-small,
.button-primary,
.final-actions .button,
body .character-profile-image > span,
body .formats-editor-number,
body .feature-board-number,
body .definition-step-number,
body .video-card-number {
  border-color: rgba(238, 208, 174, .72) !important;
  background: linear-gradient(120deg, #6A282C, #9E1030 58%, #612E35) !important;
  color: #F3ECE0 !important;
  box-shadow: 0 13px 32px rgba(106, 40, 44, .28) !important;
}

.button-small:hover,
.button-small:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.final-actions .button:hover,
.final-actions .button:focus-visible {
  border-color: #EED0AE !important;
  background: linear-gradient(120deg, #9E1030, #6A282C 62%, #612E35) !important;
  box-shadow: 0 16px 38px rgba(106, 40, 44, .36) !important;
}

.article-page .button-secondary {
  border-color: rgba(158, 16, 48, .44) !important;
  background: rgba(243, 236, 224, .9) !important;
  color: #9E1030 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 9px 24px rgba(106, 40, 44, .1) !important;
}

.article-hero {
  border-color: rgba(97, 46, 53, .18);
  background:
    radial-gradient(circle at 7% 10%, rgba(238, 208, 174, .62), transparent 27%),
    radial-gradient(circle at 91% 13%, rgba(106, 40, 44, .14), transparent 31%),
    radial-gradient(circle at 43% 96%, rgba(158, 16, 48, .1), transparent 34%),
    linear-gradient(132deg, #F3ECE0, #F1E8DF 53%, #EED0AE);
  box-shadow: inset 0 1px rgba(255, 255, 255, .75), 0 18px 60px rgba(38, 38, 42, .09);
}

.article-hero::before {
  background:
    linear-gradient(rgba(97, 46, 53, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 46, 53, .035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.article-hero::after {
  border-color: rgba(97, 46, 53, .13);
  background: radial-gradient(circle, transparent 0 43%, rgba(158, 16, 48, .1) 43.1% 43.3%, transparent 43.5% 57%, rgba(106, 40, 44, .09) 57.1% 57.25%, transparent 57.45%);
}

.article-hero .hero-copy-reference .hero-heading-group {
  gap: 15px;
}

.article-hero .hero-copy-reference h1,
body .article-hero .hero-copy-reference h1 {
  max-width: 630px;
  font-size: clamp(38px, 3.25vw, 58px) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
  text-shadow: none;
}

body .article-hero .hero-copy-reference h1 span,
body .article-hero .hero-copy-reference h1 span.hero-title-main {
  color: transparent;
  background-image: linear-gradient(92deg, #26262A, #612E35);
  -webkit-background-clip: text;
  background-clip: text;
}

body .article-hero .hero-copy-reference h1 span.hero-title-accent,
body .article-hero .hero-copy-reference h1 span:last-child {
  background-image: linear-gradient(92deg, #9E1030, #6A282C 58%, #612E35);
}

.hero-kicker,
.eyebrow,
.ticker i,
.character-profile-copy h4,
.video-card-copy h4,
#ai-av-types .jp-steps h3,
.type-card-link {
  color: #9E1030 !important;
}

.hero-kicker {
  min-height: 40px;
  padding: 8px 15px;
  border-color: rgba(158, 16, 48, .3);
  background: rgba(243, 236, 224, .72);
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(106, 40, 44, .08);
}

.article-hero .hero-copy-reference .hero-description {
  max-width: 620px;
  margin-top: 20px;
  padding: 17px 20px;
  border: 1px solid rgba(106, 40, 44, .17);
  border-left: 4px solid #9E1030;
  border-radius: 0 17px 17px 0;
  background: rgba(243, 236, 224, .72);
  box-shadow: 0 14px 34px rgba(38, 38, 42, .07);
  backdrop-filter: blur(8px);
}

body .article-hero .hero-copy-reference .hero-lead {
  max-width: none;
  color: rgba(38, 38, 42, .78);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.8;
  letter-spacing: .015em;
}

.hero-benefits span,
.character-tags span,
.video-tags span,
.feature-board-tags span {
  border-color: rgba(158, 16, 48, .3);
  background: rgba(238, 208, 174, .35);
  color: #6A282C;
}

.hero-video-duo-glow {
  background: radial-gradient(circle, rgba(158, 16, 48, .22), rgba(106, 40, 44, .12) 48%, transparent 72%);
}

.hero-video-duo-card,
.final-collage-card {
  border-color: #26262A;
  background: #26262A;
  box-shadow: 0 28px 60px rgba(38, 38, 42, .28), 0 0 0 1px rgba(158, 16, 48, .18);
}

.hero-video-duo-card span,
.final-collage-card span {
  border-color: rgba(243, 236, 224, .72);
  background: rgba(238, 208, 174, .92);
  color: #26262A;
}

.ticker {
  background: linear-gradient(90deg, #EED0AE, #F3ECE0, #F1E8DF, #EED0AE);
  color: #612E35;
}

.models,
.video-gallery-section {
  background: #F3ECE0;
}

.content-section,
.content-section:nth-of-type(even),
.ai-av-overview-section {
  background: #F1E8DF;
}

.content-section.dark-section,
#features {
  background: radial-gradient(circle at 88% 10%, rgba(106, 40, 44, .12), transparent 28%), radial-gradient(circle at 8% 90%, rgba(238, 208, 174, .28), transparent 26%), #F3ECE0;
}

.content-section.accent-section {
  background: linear-gradient(145deg, #F1E8DF, #EED0AE);
}

.character-profile,
.video-slider-track .video-card,
#generation .formats-editor-item,
.feature-board-card,
#how-to .jp-steps article {
  border-color: rgba(97, 46, 53, .17);
  background-color: rgba(243, 236, 224, .92);
  box-shadow: 0 18px 46px rgba(38, 38, 42, .09);
}

.gallery-section .split-heading > p,
.formats-editor-intro.info-panel,
.video-gallery-section .split-heading > .video-section-intro,
.final-cta-copy {
  border-left-color: #9E1030;
  background: rgba(243, 236, 224, .76);
}

.final-cta {
  border-color: rgba(97, 46, 53, .16);
  background: radial-gradient(circle at 12% 85%, rgba(238, 208, 174, .38), transparent 30%), radial-gradient(circle at 86% 12%, rgba(106, 40, 44, .13), transparent 34%), linear-gradient(130deg, #F3ECE0, #F1E8DF 52%, #EED0AE);
}

.site-footer {
  border-top-color: rgba(97, 46, 53, .18);
  background: #F3ECE0;
}

.site-footer::after {
  color: rgba(97, 46, 53, .07);
}

.brand-logo-link:focus-visible {
  outline-color: #9E1030;
}

@media (max-width: 680px) {
  .article-hero .hero-copy-reference h1,
  body .article-hero .hero-copy-reference h1 {
    font-size: clamp(31px, 9.1vw, 42px) !important;
    line-height: 1.04 !important;
  }

  .hero-kicker {
    min-height: 0;
    padding: 7px 11px;
    font-size: 10px;
  }

  .article-hero .hero-copy-reference .hero-description {
    margin-top: 15px;
    padding: 14px 15px;
    border-left-width: 3px;
    border-radius: 0 14px 14px 0;
  }

  body .article-hero .hero-copy-reference .hero-lead {
    font-size: 11px;
    line-height: 1.72;
  }

  .hero-video-duo-card span {
    min-width: 0;
    max-width: calc(100% - 16px);
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .article-hero .hero-video-duo {
    width: min(100%, 390px);
    height: min(122vw, 470px);
    min-height: 360px;
  }

  .hero-video-duo-card {
    width: 54%;
    border-width: 5px;
    border-radius: 22px;
    box-shadow: 0 20px 44px rgba(42, 42, 53, .31), 0 0 0 1px rgba(227, 27, 114, .16);
  }

  .hero-video-duo-card-r18 {
    top: 16%;
    left: 2%;
  }

  .hero-video-duo-card-fantasy {
    top: 4%;
    right: 2%;
  }

  .hero-video-duo-card span {
    left: 8px;
    bottom: 8px;
    min-width: 64px;
    padding: 6px 9px;
    font-size: 8px;
  }
}

/* Header cleanup and evenly aligned hero videos. */
.site-header {
  justify-content: space-between;
}

.site-header .brand-copy,
.footer-brand .brand-copy {
  display: block;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .03em;
  white-space: nowrap;
}

.article-hero .hero-video-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  height: auto;
  min-height: 0;
  padding: 34px 0;
}

.hero-video-duo-card,
.hero-video-duo-card-r18,
.hero-video-duo-card-fantasy {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: 2;
  width: 100%;
  transform: none;
}

.hero-video-duo:hover .hero-video-duo-card-r18,
.hero-video-duo:focus-within .hero-video-duo-card-r18,
.hero-video-duo:hover .hero-video-duo-card-fantasy,
.hero-video-duo:focus-within .hero-video-duo-card-fantasy {
  transform: translateY(-6px);
}

@media (max-width: 680px) {
  .site-header .brand-copy,
  .footer-brand .brand-copy {
    font-size: 13px;
  }

  .article-hero .hero-video-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 12px 0;
  }
}

/* Intent-led links to the dedicated anime and R18 landing pages. */
.site-header .desktop-nav {
  border-color: rgba(97, 46, 53, .22);
  background: rgba(241, 232, 223, .82);
  box-shadow: inset 0 1px rgba(255, 255, 255, .56);
}

.site-header .desktop-nav a {
  color: #612E35;
  letter-spacing: .015em;
}

.site-header .desktop-nav a:hover,
.site-header .desktop-nav a:focus-visible {
  color: #F3ECE0;
  background: #9E1030;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .site-header .desktop-nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .site-header .desktop-nav {
    gap: 2px;
    padding: 3px;
  }

  .site-header .desktop-nav a {
    flex: 1 1 25%;
    padding: 7px 8px;
    font-size: 10px;
    text-align: center;
  }
}

/* Visual section titles that intentionally stay outside the document heading outline. */
body main #videos p.video-gallery-bridge-title {
  max-width: 760px;
  margin: 0;
  color: #fff !important;
  font-size: 48px !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
}

body main #videos p.landing-gallery-title {
  margin: 0;
  color: #612E35 !important;
  font-size: 50px !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
}

body main #videos p.landing-topic-title {
  margin: 0 0 12px;
  color: #612E35 !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
}

@media (max-width: 680px) {
  body main #videos p.video-gallery-bridge-title,
  body main #videos p.landing-gallery-title {
    font-size: 30px !important;
  }

  body main #videos p.landing-topic-title {
    font-size: 18px !important;
  }
}

/* Dense horizontal brand lockup: the logo now reads clearly at navigation size. */
.site-header .brand-logo {
  width: 116px;
}

.site-footer .brand-logo {
  width: 108px;
}

@media (max-width: 680px) {
  .site-header .brand-logo {
    width: 92px;
  }

  .site-footer .brand-logo {
    width: 78px;
    flex-basis: 78px;
  }
}

@media (max-width: 350px) {
  .site-header .brand-logo {
    width: 84px;
  }

  .site-footer .brand-logo {
    width: 70px;
    flex-basis: 70px;
  }
}

/* Introductory copy belongs directly below its section title on every page. */
.article-page .section-heading.split-heading,
.article-page .formats-section-head,
.article-page .definition-section-head,
.article-page .formats-section-head.why-choose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 2.4vw, 30px);
}

.article-page .section-heading.split-heading > div,
.article-page .formats-editor-copy,
.article-page .definition-heading-copy {
  width: 100%;
  max-width: none;
}

.article-page .gallery-section .split-heading > p,
.article-page .formats-editor-intro.info-panel,
.article-page .video-gallery-section .split-heading > .video-section-intro {
  width: 100%;
  max-width: none;
  margin: 0;
}

.article-page .gallery-section .split-heading > p,
.article-page .formats-editor-intro.info-panel {
  padding: clamp(46px, 4.2vw, 58px) clamp(24px, 4vw, 54px) clamp(28px, 3.2vw, 42px);
}

.article-page .video-gallery-section .split-heading > .video-section-intro {
  padding: clamp(28px, 3.2vw, 40px) clamp(24px, 4vw, 54px);
}

.article-page .gallery-section .split-heading > p,
.article-page .formats-editor-intro.info-panel p,
.article-page .video-section-intro > p {
  max-width: 1120px;
}

@media (max-width: 680px) {
  .article-page .gallery-section .split-heading > p,
  .article-page .formats-editor-intro.info-panel,
  .article-page .video-gallery-section .split-heading > .video-section-intro {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Editorial accent within the hero title. */
body .article-hero .hero-copy-reference h1 .hero-title-italic {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.04em;
}

/* 2026-09-12: editorial split layouts and compact content rhythm. */
.article-page main p:not(.eyebrow):not(.landing-gallery-title):not(.landing-topic-title):not(.video-gallery-bridge-title) {
  font-size: clamp(12px, .88vw, 14px) !important;
  line-height: 1.68 !important;
}

/* Character section: heading and framed introduction share the first row. */
.article-page #characters .section-heading.split-heading {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr);
  align-items: end;
  gap: clamp(36px, 5vw, 82px);
  margin-bottom: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(30px, 3.2vw, 42px);
}

.article-page #characters .section-heading.split-heading > p {
  align-self: stretch;
  max-width: none;
  margin: 0;
  padding: clamp(46px, 4vw, 58px) clamp(26px, 3vw, 42px) clamp(28px, 3vw, 38px);
}

.article-page #characters .section-heading.split-heading > p::before {
  content: "日本語対応 · R18";
}

/* About and enjoy: equal-width framed copy and image panels. */
.article-page .formats-section-head.about-section-head {
  display: block;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.article-page .formats-section-head.about-section-head::after {
  display: none;
}

.article-page .about-section-head .formats-editor-copy {
  margin-bottom: clamp(28px, 3vw, 42px);
  padding-bottom: clamp(24px, 2.6vw, 34px);
  border-bottom: 1px solid var(--line);
}

.section-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 34px);
}

.section-media-pair > .info-panel,
.section-media-frame {
  box-sizing: border-box;
  min-height: clamp(250px, 24vw, 370px);
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.section-media-pair > .info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: clamp(36px, 4vw, 60px);
  border: 1px solid rgba(97, 46, 53, .2);
  border-left: 3px solid #9E1030;
  background: linear-gradient(145deg, rgba(243, 236, 224, .98), rgba(238, 208, 174, .46));
  box-shadow: 0 22px 54px rgba(38, 38, 42, .09);
}

.section-media-frame {
  position: relative;
  background: #26262A;
  box-shadow: 0 22px 54px rgba(38, 38, 42, .18);
}

.section-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: inherit;
  box-shadow: inset 0 0 0 5px rgba(241, 232, 223, .12);
}

.section-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.section-media-frame:hover img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.03);
}

.article-page #enjoy {
  background:
    radial-gradient(circle at 10% 10%, rgba(158, 16, 48, .34), transparent 31%),
    radial-gradient(circle at 90% 90%, rgba(238, 208, 174, .12), transparent 28%),
    linear-gradient(135deg, #612E35, #26262A 74%);
}

.article-page #enjoy .section-heading.split-heading.enjoy-heading {
  display: block;
  margin-bottom: clamp(28px, 3vw, 42px);
  padding-bottom: clamp(24px, 2.6vw, 34px);
  border-bottom-color: rgba(243, 236, 224, .22);
}

.article-page #enjoy .enjoy-heading h2 {
  color: #F3ECE0 !important;
}

.article-page #enjoy .eyebrow {
  color: #EED0AE;
}

.article-page #enjoy .video-section-intro {
  color: #26262A;
}

.article-page #enjoy .video-section-actions {
  justify-content: center;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 34px);
}

.article-page #enjoy .video-section-actions .button {
  width: min(100%, 330px);
  min-width: min(100%, 250px);
  min-height: 58px;
  justify-content: center;
  padding-inline: 28px;
  border-radius: 999px;
}

/* Type section: a two-column lead followed by four compact visual cards. */
.article-page #ai-av-types .definition-section-head {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(440px, .82fr);
  align-items: end;
  gap: clamp(34px, 5vw, 78px);
  margin-bottom: clamp(34px, 4vw, 52px);
}

.article-page #ai-av-types .formats-editor-intro.info-panel {
  max-width: none;
  margin: 0;
  padding: clamp(42px, 3.8vw, 54px) clamp(26px, 3vw, 40px) clamp(26px, 2.8vw, 38px);
}

.article-page #ai-av-types .jp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 18px);
}

.article-page #ai-av-types .jp-steps article,
.article-page #ai-av-types .jp-steps article:nth-child(even),
.article-page #ai-av-types .jp-steps article:nth-child(2),
.article-page #ai-av-types .jp-steps article:nth-child(3) {
  min-height: 360px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid rgba(243, 236, 224, .3);
  border-radius: 20px;
  background-color: #26262A;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(38, 38, 42, .18);
  isolation: isolate;
}

.article-page #ai-av-types .jp-steps article::before {
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(38, 38, 42, .34), rgba(38, 38, 42, .93) 72%);
}

.article-page #ai-av-types .jp-steps article:nth-child(1) { background-image: url("./assets/characters/featured/featured-04.webp"); }
.article-page #ai-av-types .jp-steps article:nth-child(2) { background-image: url("./assets/characters/featured/featured-06.webp"); }
.article-page #ai-av-types .jp-steps article:nth-child(3) { background-image: url("./assets/characters/featured/featured-01.webp"); }
.article-page #ai-av-types .jp-steps article:nth-child(4) { background-image: url("./assets/characters/featured/featured-03.webp"); }
.article-page #ai-av-types .jp-steps article:nth-child(5) { background-image: url("./assets/characters/featured/featured-05.webp"); }
.article-page #ai-av-types .jp-steps article:nth-child(6) { background-image: url("./assets/characters/featured/featured-02.webp"); }
.theme-anime .article-page #ai-av-types .jp-steps article:nth-child(7) { background-image: url("./assets/videos/posters/popular-09.webp"); }

.article-page #ai-av-types .definition-step-number {
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  font-size: 12px;
}

.article-page #ai-av-types .jp-steps article > div {
  justify-content: flex-end;
  min-height: 225px;
  padding-top: 22px;
}

.article-page #ai-av-types .jp-steps h3 {
  margin-bottom: 10px;
  color: #F3ECE0 !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.article-page #ai-av-types .jp-steps p {
  display: -webkit-box;
  max-height: 6.4em;
  overflow: hidden;
  color: rgba(243, 236, 224, .86) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-page #ai-av-types .type-card-link {
  width: 100%;
  min-height: 40px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  background: #9E1030;
  color: #fff !important;
  font-size: 10px;
  box-shadow: 0 10px 26px rgba(158, 16, 48, .34);
}

.article-page #ai-av-types .type-card-link:hover,
.article-page #ai-av-types .type-card-link:focus-visible {
  background: #EED0AE;
  color: #26262A !important;
  transform: translateY(-2px);
}

/* Sliders remain swipeable/scrollable, but visual arrow controls are removed site-wide. */
.article-page .character-slider-controls,
.article-page .character-gallery-heading-controls-only {
  display: none !important;
}

.article-page .character-profile {
  border: 2px solid transparent;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.article-page .character-profile:hover,
.article-page .character-profile:focus-within {
  border-color: #9E1030;
  box-shadow: 0 0 0 4px rgba(238, 208, 174, .9), 0 24px 58px rgba(38, 38, 42, .2);
}

body.article-page main .character-profile-new .character-profile-copy p {
  min-height: 5.8em;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

@media (max-width: 1180px) {
  .article-page #ai-av-types .jp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .article-page #characters .section-heading.split-heading,
  .article-page #ai-av-types .definition-section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .article-page #characters .section-heading.split-heading > p,
  .article-page #ai-av-types .formats-editor-intro.info-panel {
    width: 100%;
  }

  .section-media-pair {
    grid-template-columns: 1fr;
  }

  .about-media-pair .section-media-frame {
    min-height: 300px;
  }

  .enjoy-media-pair .section-media-frame {
    order: 0;
  }

  .enjoy-media-pair .video-section-intro {
    order: 1;
  }
}

@media (max-width: 680px) {
  .article-page #characters .section-heading.split-heading > p,
  .article-page #ai-av-types .formats-editor-intro.info-panel,
  .section-media-pair > .info-panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-media-pair > .info-panel,
  .section-media-frame {
    min-height: 250px;
    border-radius: 18px;
  }

  .article-page #enjoy .video-section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-page #enjoy .video-section-actions .button {
    width: 100%;
    min-width: 0;
  }

  .article-page #ai-av-types .jp-steps {
    grid-template-columns: 1fr;
  }

  .article-page #ai-av-types .jp-steps article,
  .article-page #ai-av-types .jp-steps article:nth-child(even) {
    min-height: 330px;
  }

  body.article-page main .character-profile-new .character-profile-copy p {
    min-height: 0;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
}

/* Home generation tools: the same compact visual treatment as the type cards. */
.article-page #generation .formats-section-head {
  grid-template-columns: minmax(0, .88fr) minmax(440px, .82fr);
  align-items: end;
  gap: clamp(34px, 5vw, 78px);
}

.article-page #generation .formats-editor-intro.info-panel {
  max-width: none;
  margin: 0;
  padding: clamp(42px, 3.8vw, 54px) clamp(26px, 3vw, 40px) clamp(26px, 2.8vw, 38px);
}

.article-page #generation .formats-editor-list.jp-generation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 18px);
}

.article-page #generation .formats-editor-item,
.article-page #generation .formats-editor-item:nth-child(2),
.article-page #generation .formats-editor-item:nth-child(4) {
  min-height: 440px;
  border: 1px solid rgba(243, 236, 224, .3);
  border-radius: 20px;
  background: #26262A;
  box-shadow: 0 18px 42px rgba(38, 38, 42, .18);
  isolation: isolate;
}

.article-page #generation .formats-editor-item::before {
  right: auto;
  width: 100%;
  background: linear-gradient(90deg, #9E1030, #ff78a1 48%, transparent);
}

.article-page #generation .formats-editor-item.has-background::after {
  background: linear-gradient(180deg, rgba(38, 38, 42, .14), rgba(38, 38, 42, .48) 42%, rgba(38, 38, 42, .96) 82%);
}

.article-page #generation .formats-editor-bg {
  object-position: center 28%;
  filter: brightness(.84) saturate(.9);
  transform: none;
}

.article-page #generation .formats-editor-content {
  min-height: 440px;
  justify-content: space-between;
  padding: clamp(20px, 2vw, 28px);
}

.article-page #generation .formats-editor-number {
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: #9E1030;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 10px 26px rgba(158, 16, 48, .34);
}

.article-page #generation .formats-editor-body {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 22px;
}

.article-page #generation .formats-editor-body h3 {
  margin-bottom: 10px;
  color: #F3ECE0 !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.article-page #generation .formats-editor-body p,
.article-page #generation .formats-editor-item.has-background .formats-editor-body p {
  display: -webkit-box;
  max-height: 6.4em;
  overflow: hidden;
  margin-bottom: 0;
  color: rgba(243, 236, 224, .88) !important;
  font-size: 11px;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-page #generation .generation-card-link {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  background: #9E1030;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(158, 16, 48, .34);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.article-page #generation .generation-card-link:hover,
.article-page #generation .generation-card-link:focus-visible {
  background: #EED0AE;
  color: #26262A !important;
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .article-page #generation .formats-editor-list.jp-generation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .article-page #generation .formats-section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .article-page #generation .formats-editor-intro.info-panel {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .article-page #generation .formats-editor-intro.info-panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .article-page #generation .formats-editor-list.jp-generation-grid {
    grid-template-columns: 1fr;
  }

  .article-page #generation .formats-editor-item,
  .article-page #generation .formats-editor-item:nth-child(2),
  .article-page #generation .formats-editor-item:nth-child(4),
  .article-page #generation .formats-editor-content {
    min-height: 410px;
  }
}

/* Features: one horizontal sequence with a restrained high-low rhythm. */
.article-page #features .feature-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.35vw, 20px);
  padding: clamp(22px, 2.5vw, 38px) 0;
}

.article-page #features .feature-board-card {
  min-height: 390px;
  padding: clamp(24px, 2.2vw, 32px);
  border-color: rgba(97, 46, 53, .16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(238, 208, 174, .72), transparent 34%),
    linear-gradient(145deg, rgba(243, 236, 224, .98), rgba(241, 232, 223, .9));
  box-shadow: 0 20px 48px rgba(38, 38, 42, .1);
}

.article-page #features .feature-board-card:nth-child(odd) {
  transform: translateY(-18px);
}

.article-page #features .feature-board-card:nth-child(even) {
  transform: translateY(18px);
}

.article-page #features .feature-board-card h3 {
  color: #9E1030 !important;
  font-size: clamp(17px, 1.35vw, 21px) !important;
  line-height: 1.35;
}

.article-page #features .feature-board-card p {
  color: rgba(38, 38, 42, .7) !important;
  font-size: 12px;
  line-height: 1.75;
}

.article-page #features .feature-board-tags span {
  border-color: rgba(158, 16, 48, .24);
  background: rgba(243, 236, 224, .68);
  color: #612E35;
}

@media (hover: hover) {
  .article-page #features .feature-board-card:nth-child(odd):hover {
    transform: translateY(-24px);
    border-color: rgba(158, 16, 48, .38);
    box-shadow: 0 28px 60px rgba(38, 38, 42, .14);
  }

  .article-page #features .feature-board-card:nth-child(even):hover {
    transform: translateY(12px);
    border-color: rgba(158, 16, 48, .38);
    box-shadow: 0 28px 60px rgba(38, 38, 42, .14);
  }
}

@media (max-width: 1180px) {
  .article-page #features .feature-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .article-page #features .feature-board-card {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .article-page #features .feature-board {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
  }

  .article-page #features .feature-board-card,
  .article-page #features .feature-board-card:nth-child(odd),
  .article-page #features .feature-board-card:nth-child(even) {
    min-height: 0;
    transform: none;
  }
}

/* Enjoy section: stronger heading contrast and a single-row CTA pair. */
.article-page #enjoy .enjoy-heading .eyebrow {
  color: #EED0AE !important;
  text-shadow: 0 1px 12px rgba(38, 38, 42, .3);
}

.article-page #enjoy .enjoy-heading h2,
.article-page #enjoy .enjoy-heading h2 em {
  color: #F3ECE0 !important;
  text-shadow: 0 3px 24px rgba(38, 38, 42, .38);
}

.article-page #enjoy .enjoy-heading h2 em {
  color: #EED0AE !important;
}

.article-page #enjoy .video-section-actions {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.article-page #enjoy .video-section-actions .button {
  width: auto !important;
  min-width: 0;
  max-width: none;
  flex: 1 1 0;
  padding-inline: 18px;
  font-size: 11px !important;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .article-page #enjoy .video-section-actions {
    flex-direction: column;
  }

  .article-page #enjoy .video-section-actions .button {
    width: 100% !important;
  }
}

/* One compact transition block between the realistic and anime galleries. */
.article-page #videos .video-gallery-groups {
  gap: clamp(28px, 3vw, 40px);
}

.article-page #videos .video-gallery-transition {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 2.8vw, 38px);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(26px, 3.2vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(238, 208, 174, .32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(158, 16, 48, .3), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(238, 208, 174, .13), transparent 36%),
    linear-gradient(135deg, #4b2430, #26262a 76%);
  box-shadow: 0 26px 62px rgba(38, 38, 42, .18);
}

.article-page #videos .video-gallery-transition::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(116deg, transparent 35%, rgba(255, 255, 255, .055) 50%, transparent 66%);
  pointer-events: none;
}

.article-page #videos .video-gallery-bridge {
  align-content: center;
  justify-items: start;
  max-width: none;
  margin: 0;
  padding: 2px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}

.article-page #videos .video-gallery-bridge::after {
  display: none;
}

.article-page #videos .video-gallery-bridge .eyebrow {
  margin-bottom: 12px;
  color: #EED0AE !important;
}

body.article-page main #videos p.video-gallery-bridge-title {
  max-width: 520px;
  color: #F3ECE0 !important;
  font-size: clamp(28px, 3.1vw, 42px) !important;
  line-height: 1.08 !important;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .28);
}

body.article-page main #videos p.video-gallery-bridge-copy {
  max-width: 540px;
  margin: 14px 0 22px;
  color: rgba(243, 236, 224, .78) !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

.article-page #videos .video-gallery-bridge .button {
  width: fit-content;
  min-width: 210px;
  margin: 0;
}

.article-page #videos .landing-gallery-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(243, 236, 224, .4);
  border-radius: 22px;
  background: rgba(243, 236, 224, .94);
  box-shadow: inset 0 1px rgba(255, 255, 255, .7);
}

body.article-page main #videos p.landing-gallery-title {
  color: #612E35 !important;
  font-size: clamp(25px, 2.7vw, 36px) !important;
  line-height: 1.12 !important;
}

body.article-page main #videos .landing-gallery-intro > p:not(.landing-gallery-title) {
  margin: 12px 0 0;
  color: rgba(38, 38, 42, .68) !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
}

.article-page #videos .landing-topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.article-page #videos .landing-topic-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  border-color: rgba(158, 16, 48, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
}

body.article-page main #videos p.landing-topic-title {
  margin-bottom: 8px;
  color: #9E1030 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

body.article-page main #videos .landing-topic-grid article > p:not(.landing-topic-title) {
  margin: 0 0 14px;
  color: rgba(38, 38, 42, .66) !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
}

.article-page #videos .landing-topic-grid .type-card-link {
  margin-top: auto;
}

@media (max-width: 900px) {
  .article-page #videos .video-gallery-transition {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .article-page #videos .video-gallery-transition {
    padding: 20px;
    border-radius: 22px;
  }

  .article-page #videos .landing-topic-grid {
    grid-template-columns: 1fr;
  }

  .article-page #videos .video-gallery-bridge .button {
    width: 100%;
    min-width: 0;
  }
}

/* Hero: deeper banner backdrop for stronger text and CTA contrast. */
.article-page .article-hero {
  border-color: rgba(238, 208, 174, .2);
  background:
    radial-gradient(circle at 8% 10%, rgba(158, 16, 48, .32), transparent 31%),
    radial-gradient(circle at 92% 82%, rgba(97, 46, 53, .48), transparent 38%),
    linear-gradient(132deg, #25171b 0%, #171316 54%, #26262a 100%);
  color: #F3ECE0;
  box-shadow:
    inset 0 1px rgba(243, 236, 224, .035),
    inset 0 -120px 180px rgba(9, 6, 8, .22),
    0 22px 62px rgba(38, 38, 42, .18);
}

.article-page .article-hero::before {
  background:
    linear-gradient(rgba(243, 236, 224, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 236, 224, .035) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .72;
}

.article-page .article-hero::after {
  background:
    radial-gradient(ellipse 54% 78% at 18% 26%, rgba(158, 16, 48, .12), transparent 72%),
    linear-gradient(90deg, rgba(8, 6, 7, .1), rgba(8, 6, 7, .28));
  box-shadow: inset 0 0 140px rgba(7, 5, 6, .28);
}

body .article-page .article-hero .hero-copy-reference h1 {
  color: #F3ECE0 !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .32);
}

body .article-page .article-hero .hero-copy-reference h1 span,
body .article-page .article-hero .hero-copy-reference h1 span:last-child,
body .article-page .article-hero .hero-copy-reference h1 span.hero-title-accent {
  background-image: linear-gradient(94deg, #F3ECE0, #EED0AE 72%);
}

.article-page .article-hero .hero-kicker {
  border-color: rgba(238, 208, 174, .34);
  background: rgba(38, 38, 42, .42);
  color: #EED0AE;
  box-shadow: inset 0 1px rgba(243, 236, 224, .06), 0 10px 28px rgba(0, 0, 0, .18);
}

.article-page .article-hero .hero-description {
  border-color: rgba(238, 208, 174, .22);
  border-left-color: #9E1030;
  background: rgba(38, 38, 42, .58);
  box-shadow: inset 0 1px rgba(243, 236, 224, .045), 0 16px 34px rgba(0, 0, 0, .14);
}

body .article-page .article-hero .hero-copy-reference .hero-lead {
  color: rgba(243, 236, 224, .84) !important;
}

.article-page .article-hero .hero-benefits span {
  border-color: rgba(238, 208, 174, .28);
  background: rgba(38, 38, 42, .48);
  color: #EED0AE;
}

.article-page .article-hero .button-secondary,
.article-page .article-hero .hero-secondary-action {
  border-color: rgba(238, 208, 174, .5);
  background: rgba(243, 236, 224, .08) !important;
  color: #F3ECE0 !important;
  box-shadow: inset 0 1px rgba(243, 236, 224, .08) !important;
}

.article-page .article-hero .button-secondary:hover,
.article-page .article-hero .button-secondary:focus-visible,
.article-page .article-hero .hero-secondary-action:hover,
.article-page .article-hero .hero-secondary-action:focus-visible {
  border-color: #EED0AE;
  background: #EED0AE !important;
  color: #26262A !important;
}

.article-page .article-hero .hero-video-duo-card video {
  filter: brightness(.78) saturate(.92) contrast(1.05);
}

/* Header brand lockup: quiet descriptor directly beneath the logo. */
.site-header .brand.brand-lockup {
  min-width: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  letter-spacing: 0;
}

.site-header .brand-lockup .brand-logo-link {
  line-height: 0;
}

.site-header .brand-lockup .brand-copy {
  display: block;
  width: 100%;
  color: #6A282C !important;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .16em;
  text-align: center;
  white-space: nowrap;
  opacity: .78;
}

@media (max-width: 680px) {
  .site-header .brand.brand-lockup {
    min-width: 92px;
    gap: 2px;
  }

  .site-header .brand-lockup .brand-copy {
    font-size: 7px;
    letter-spacing: .12em;
  }
}

@media (max-width: 350px) {
  .site-header .brand.brand-lockup {
    min-width: 84px;
  }
}

/* Preserve the original colour logo and lift it gently from light surfaces. */
.site-header .brand-lockup .brand-logo,
.site-footer .brand-lockup .brand-logo {
  filter:
    drop-shadow(0 2px 2px rgba(38, 20, 27, .28))
    drop-shadow(0 7px 11px rgba(38, 20, 27, .16));
}

/* Compact descriptor beneath the logo in both shared brand lockups. */
.site-header .brand.brand-lockup,
.site-footer .brand.brand-lockup {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.site-header .brand-lockup .brand-copy,
.site-footer .brand-lockup .brand-copy {
  width: 100%;
  font-size: 7px !important;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .12em;
  text-align: center;
  white-space: nowrap;
}

.site-footer .footer-nav {
  justify-content: flex-end;
  flex-wrap: wrap;
  row-gap: 8px;
}

.site-footer .footer-nav > a:not(.to-top) {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .035em;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .site-footer {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand age"
      "nav nav";
    gap: 12px 16px;
    min-height: 0;
    padding: 14px;
  }

  .site-footer .footer-brand {
    grid-area: brand;
  }

  .site-footer > p {
    grid-area: age;
    text-align: right;
  }

  .site-footer .footer-nav {
    grid-area: nav;
    width: 100%;
    justify-content: center;
    gap: 8px 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(97, 46, 53, .16);
  }

  .site-footer .footer-nav > a:not(.to-top) {
    font-size: 9px;
  }
}

@media (max-width: 350px) {
  .site-footer {
    gap: 10px 12px;
  }

  .site-footer .footer-nav {
    gap: 7px 10px;
  }

  .site-footer .footer-nav > a:not(.to-top) {
    font-size: 8px;
  }
}

/* 2026-09-14: legible editorial labels across light and dark sections. */
:root {
  --label-wine: #74142b;
  --label-wine-dark: #4f2028;
  --label-cream: #f6dfbf;
  --label-surface: #ead0b2;
  --label-line: #8f1c36;
}

/* Small editorial captions and their leading rule. */
body .eyebrow,
body .hero-kicker {
  color: var(--label-wine) !important;
  font-weight: 850;
  text-shadow: none;
}

body .eyebrow > span,
.gallery-section .split-heading::after,
.formats-section-head::after,
.feature-section-head::after,
.definition-section-head::after,
.video-gallery-section .split-heading::after {
  background: linear-gradient(90deg, var(--label-line) 0 42%, #c88f62 72%, transparent 100%) !important;
  opacity: 1 !important;
}

body .hero-kicker {
  border-color: rgba(116, 20, 43, .62) !important;
  background: rgba(243, 236, 224, .94) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), 0 8px 22px rgba(79, 32, 40, .12) !important;
}

/* Framed-panel captions such as “日本語対応 · R18”. */
body .gallery-section .split-heading > p::before,
body .formats-editor-intro.info-panel::before {
  color: var(--label-wine) !important;
  font-weight: 950;
  text-shadow: none;
}

.gallery-section .split-heading > p,
.formats-editor-intro.info-panel,
.video-gallery-section .split-heading > .video-section-intro,
.final-cta-copy {
  border-color: rgba(79, 32, 40, .24) !important;
  border-left-color: var(--label-line) !important;
}

/* Pills used in hero benefits, character cards, videos and feature cards. */
body .hero-benefits span,
body .character-tags span,
body .video-tags span,
body .feature-board-tags span,
body #how-to .how-to-tags span,
body .age-badge {
  border-color: rgba(116, 20, 43, .58) !important;
  background: rgba(234, 208, 178, .72) !important;
  color: var(--label-wine-dark) !important;
  font-weight: 850;
  box-shadow: inset 0 1px rgba(255, 255, 255, .46) !important;
}

body .age-badge {
  background: #f3e7d7 !important;
  color: var(--label-wine) !important;
}

/* Keep the same pill palette when a category-specific theme is loaded later. */
body:is(.theme-anime, .theme-r18, .theme-realistic) main .character-tags span,
body:is(.theme-anime, .theme-r18, .theme-realistic) main .video-tags span,
body:is(.theme-anime, .theme-r18, .theme-realistic) main .feature-board-tags span,
body:is(.theme-anime, .theme-r18, .theme-realistic) main #how-to .how-to-tags span {
  border-color: rgba(116, 20, 43, .58) !important;
  background: rgba(234, 208, 178, .72) !important;
  color: var(--label-wine-dark) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .46) !important;
}

body .video-category-badge,
body .hero-video-duo-card span,
body .final-collage-card span,
body .final-portrait-frame span {
  border-color: rgba(246, 223, 191, .7) !important;
  background: rgba(38, 20, 27, .88) !important;
  color: #fff4e4 !important;
  font-weight: 900;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .42);
}

/* Category ribbon: stronger rule and darker text on the cream background. */
body .ticker {
  border-top: 1px solid rgba(116, 20, 43, .46) !important;
  border-bottom: 1px solid rgba(116, 20, 43, .46) !important;
  background: linear-gradient(90deg, #e5c19d, #f2e5d5 24%, #f1e8df 72%, #e5c19d) !important;
  color: #47232d !important;
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255, 255, 255, .42), 0 5px 16px rgba(79, 32, 40, .08);
}

body .ticker span {
  color: #47232d !important;
}

body .ticker i {
  color: var(--label-line) !important;
}

/* Dark surfaces need the inverse cream treatment. */
body .article-page .article-hero .hero-kicker,
body .article-page #enjoy .eyebrow,
body .article-page #videos .video-gallery-bridge .eyebrow {
  color: var(--label-cream) !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

body .article-page .article-hero .hero-kicker {
  border-color: rgba(246, 223, 191, .62) !important;
  background: rgba(23, 14, 18, .72) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 10px 28px rgba(0, 0, 0, .22) !important;
}

body .article-page .article-hero .hero-benefits span {
  border-color: rgba(246, 223, 191, .54) !important;
  background: rgba(23, 14, 18, .68) !important;
  color: var(--label-cream) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06) !important;
}

@media (max-width: 680px) {
  body .final-cta .final-cta-copy .eyebrow {
    color: var(--label-cream) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  }
}

/* Character gallery CTA follows the full width of the portrait rail. */
main .character-gallery-action:not(.video-gallery-action) {
  box-sizing: border-box;
  width: 100%;
}

main .character-gallery-action:not(.video-gallery-action) .button {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 60px;
  justify-content: center;
  padding-inline: clamp(22px, 4vw, 48px);
  text-align: center;
}

/* Video-gallery CTAs span the same width as their card rails. */
main .video-gallery-action {
  box-sizing: border-box;
  width: 100%;
}

main .video-gallery-action .button {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 60px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 680px) {
  main .character-gallery-action:not(.video-gallery-action) .button {
    min-height: 52px;
  }

  main .video-gallery-action .button {
    min-height: 52px;
  }
}

/* 2026-09-14: richer watch/create story panel on the home page. */
body:not(.landing-page) #enjoy .enjoy-media-pair {
  gap: clamp(20px, 2.6vw, 38px);
}

body:not(.landing-page) #enjoy .enjoy-media-pair > .section-media-frame,
body:not(.landing-page) #enjoy .enjoy-media-pair > .video-section-intro {
  min-height: clamp(340px, 27vw, 460px);
}

body:not(.landing-page) #enjoy .enjoy-media-pair > .section-media-frame img {
  object-position: center center;
}

body:not(.landing-page) #enjoy .video-section-intro {
  position: relative;
  isolation: isolate;
  justify-content: center;
  padding: clamp(34px, 3.4vw, 54px);
  border: 1px solid rgba(116, 20, 43, .28) !important;
  border-left: 3px solid #8f1c36 !important;
  background:
    radial-gradient(circle at 96% 8%, rgba(143, 28, 54, .14), transparent 27%),
    linear-gradient(142deg, #f5e9d9 0%, #ead1b4 100%) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 24px 58px rgba(21, 13, 16, .2);
}

body:not(.landing-page) #enjoy .video-section-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(22px, 2.6vw, 40px);
  bottom: clamp(22px, 2.6vw, 40px);
  width: 78px;
  height: 78px;
  border: 1px solid rgba(116, 20, 43, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(116, 20, 43, .035), 0 0 0 28px rgba(116, 20, 43, .025);
}

body:not(.landing-page) #enjoy .video-intro-title {
  max-width: 640px;
  margin: 0;
  color: #2c2427;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -.045em;
}

body:not(.landing-page) #enjoy .video-intro-title em {
  display: block;
  margin-top: 4px;
  color: #8f1c36;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

body:not(.landing-page) #enjoy .video-intro-copy {
  max-width: 670px;
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  color: #514448;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.72;
}

body:not(.landing-page) #enjoy .video-intro-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(18px, 2vw, 26px);
}

body:not(.landing-page) #enjoy .video-intro-path > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(116, 20, 43, .2);
  border-radius: 12px;
  background: rgba(255, 250, 241, .48);
  color: #4f2028;
  font-size: clamp(9px, .75vw, 11px);
  font-weight: 850;
  white-space: nowrap;
}

body:not(.landing-page) #enjoy .video-intro-path b {
  color: #9e1030;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
}

body:not(.landing-page) #enjoy .video-section-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 2.2vw, 30px);
}

body:not(.landing-page) #enjoy .video-section-actions .button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  justify-content: center;
  border-radius: 999px;
}

body:not(.landing-page) #enjoy .video-section-actions .button-secondary {
  border-color: #b77a3f !important;
  background: linear-gradient(135deg, #d9ad78, #edcfaa 54%, #c99156) !important;
  color: #3d2024 !important;
  box-shadow: 0 12px 30px rgba(94, 50, 28, .22), inset 0 1px rgba(255, 255, 255, .48) !important;
}

body:not(.landing-page) #enjoy .video-section-actions .button-secondary:hover,
body:not(.landing-page) #enjoy .video-section-actions .button-secondary:focus-visible {
  border-color: #8f552d !important;
  filter: brightness(1.05) saturate(1.04);
  box-shadow: 0 15px 34px rgba(94, 50, 28, .3), inset 0 1px rgba(255, 255, 255, .58) !important;
}

body:not(.landing-page) #enjoy .video-section-actions .button-secondary > span[aria-hidden="true"] {
  border-color: rgba(61, 32, 36, .22) !important;
  background: rgba(61, 32, 36, .1) !important;
  color: #65172a !important;
}

/* Keep arrow badges at the far edge of every standard CTA. */
body .button {
  position: relative;
  justify-content: center !important;
  padding-left: 54px !important;
  padding-right: 54px !important;
  text-align: center !important;
}

body .button > span[aria-hidden="true"] {
  position: absolute !important;
  z-index: 2;
  top: 50%;
  right: 14px;
  margin: 0 !important;
  transform: translateY(-50%);
}

body .button:hover > span[aria-hidden="true"],
body .button:focus-visible > span[aria-hidden="true"] {
  transform: translate(2px, calc(-50% - 2px));
}

/* Centre card-button labels independently from the arrow on the right. */
body .type-card-link {
  position: relative;
  justify-content: center !important;
  padding-left: 44px !important;
  padding-right: 44px !important;
  text-align: center !important;
}

body .type-card-link > span[aria-hidden="true"] {
  position: absolute !important;
  top: 50%;
  right: 14px;
  margin: 0 !important;
  transform: translateY(-50%);
}

body .type-card-link:hover > span[aria-hidden="true"],
body .type-card-link:focus-visible > span[aria-hidden="true"] {
  transform: translate(2px, calc(-50% - 2px));
}

/* Generation-card labels stay optically centred while arrows hug the edge. */
body #generation .generation-card-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center !important;
  padding-left: 44px !important;
  padding-right: 44px !important;
  text-align: center !important;
}

body #generation .generation-card-link > span[aria-hidden="true"] {
  position: absolute !important;
  top: 50%;
  right: 14px;
  margin: 0 !important;
  transform: translateY(-50%);
}

/* Match the feature heading to the site's dark-sans / burgundy-serif system. */
body:not(.article-page) #features-title {
  color: #2a2a35 !important;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
}

body:not(.article-page) #features-title em {
  color: #9e1030 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

/* Homepage feature cards: alternating editorial panels instead of four identical tag cards. */
body:not(.landing-page) #features .feature-board-card {
  isolation: isolate;
  min-height: 390px;
  padding: clamp(26px, 2.5vw, 38px);
  border: 1px solid rgba(97, 46, 53, .16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 94% 5%, rgba(238, 208, 174, .78), transparent 34%),
    linear-gradient(145deg, #f7f0e7, #efe2d5);
  box-shadow: 0 22px 52px rgba(38, 38, 42, .1);
}

body:not(.landing-page) #features .feature-board-card::after {
  inset: auto 30px 0;
  height: 3px;
  background: linear-gradient(90deg, #9e1030, #d19a71 58%, transparent);
}

body:not(.landing-page) #features .feature-board-card:nth-child(even) {
  border-color: rgba(238, 208, 174, .32);
  background:
    radial-gradient(circle at 94% 6%, rgba(185, 131, 145, .28), transparent 34%),
    linear-gradient(150deg, #6a282c, #3b292e 72%, #29262a);
  box-shadow: 0 26px 58px rgba(48, 28, 33, .22);
}

body:not(.landing-page) #features .feature-board-card:nth-child(even)::before {
  color: rgba(243, 236, 224, .14);
}

body:not(.landing-page) #features .feature-board-number {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 0 clamp(44px, 4vw, 62px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #9e1030 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(50px, 4vw, 66px) !important;
  font-weight: 600 !important;
  font-style: italic !important;
  line-height: .86 !important;
  letter-spacing: -.075em !important;
  text-shadow: 0 3px 0 rgba(97, 46, 53, .08);
  box-shadow: none !important;
}

body:not(.landing-page) #features .feature-board-card:nth-child(even) .feature-board-number {
  color: #eed0ae !important;
  text-shadow: none;
}

body:not(.landing-page) #features .feature-board-card h3 {
  margin-bottom: 16px;
  color: #8f1c36 !important;
}

body:not(.landing-page) #features .feature-board-card:nth-child(even) h3 {
  color: #fff8ee !important;
}

body:not(.landing-page) #features .feature-board-card:nth-child(even) p {
  color: rgba(255, 248, 238, .76) !important;
}

body:not(.landing-page) #features .feature-board-tags {
  align-items: center;
  gap: 0;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(97, 46, 53, .18);
}

body:not(.landing-page) #features .feature-board-tags span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #6a282c !important;
  font-size: 10px !important;
  font-weight: 850;
  letter-spacing: .045em;
}

body:not(.landing-page) #features .feature-board-tags span + span::before {
  content: "／";
  margin: 0 8px;
  color: #c99156;
  font-weight: 500;
}

body:not(.landing-page) #features .feature-board-card:nth-child(even) .feature-board-tags {
  border-top-color: rgba(238, 208, 174, .25);
}

body:not(.landing-page) #features .feature-board-card:nth-child(even) .feature-board-tags span {
  color: #eed0ae !important;
}

@media (hover: hover) {
  body:not(.landing-page) #features .feature-board-card:nth-child(odd):hover {
    transform: translateY(-24px);
    border-color: rgba(158, 16, 48, .36);
  }

  body:not(.landing-page) #features .feature-board-card:nth-child(even):hover {
    transform: translateY(12px);
    border-color: rgba(238, 208, 174, .52);
  }
}

@media (max-width: 640px) {
  body:not(.landing-page) #features .feature-board-card {
    min-height: 0;
    padding: 26px 22px;
  }

  body:not(.landing-page) #features .feature-board-number {
    margin-bottom: 34px !important;
    font-size: 48px !important;
  }

  body:not(.landing-page) #features .feature-board-tags {
    margin-top: 26px;
  }
}

@media (max-width: 980px) {
  body:not(.landing-page) #enjoy .enjoy-media-pair > .section-media-frame {
    min-height: clamp(250px, 48vw, 420px);
  }

  body:not(.landing-page) #enjoy .enjoy-media-pair > .video-section-intro {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  body:not(.landing-page) #enjoy .video-section-intro {
    padding: 28px 20px;
  }

  body:not(.landing-page) #enjoy .video-intro-title {
    font-size: clamp(25px, 8vw, 32px);
  }

  body:not(.landing-page) #enjoy .video-intro-path {
    grid-template-columns: 1fr;
  }

  body:not(.landing-page) #enjoy .video-intro-path > span {
    justify-content: center;
    white-space: normal;
  }

  body:not(.landing-page) #enjoy .video-section-actions {
    grid-template-columns: 1fr;
  }

  body:not(.landing-page) #enjoy .video-section-actions .button {
    min-height: 52px;
  }

  body .button {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }

  body .button > span[aria-hidden="true"] {
    right: 11px;
  }

  body .type-card-link {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  body .type-card-link > span[aria-hidden="true"] {
    right: 11px;
  }

  body #generation .generation-card-link {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  body #generation .generation-card-link > span[aria-hidden="true"] {
    right: 11px;
  }
}

/* 2026-09-14: editorial “What is AI AV?” block matching the watch/create module. */
body:not(.landing-page) #about-ai-av .formats-editor-copy h2 {
  color: #26262a !important;
}

body:not(.landing-page) #about-ai-av .formats-editor-copy h2 em {
  color: #9e1030 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

body:not(.landing-page) #about-ai-av .about-media-pair {
  gap: clamp(20px, 2.6vw, 38px);
}

body:not(.landing-page) #about-ai-av .about-media-pair > .about-intro-panel,
body:not(.landing-page) #about-ai-av .about-media-pair > .section-media-frame {
  min-height: clamp(390px, 29vw, 490px);
}

body:not(.landing-page) #about-ai-av .about-intro-panel {
  position: relative;
  isolation: isolate;
  justify-content: center;
  padding: clamp(34px, 3.4vw, 54px);
  border: 1px solid rgba(116, 20, 43, .28) !important;
  border-left: 3px solid #8f1c36 !important;
  background:
    radial-gradient(circle at 4% 96%, rgba(143, 28, 54, .12), transparent 28%),
    linear-gradient(142deg, #f5e9d9 0%, #ead1b4 100%) !important;
  color: #514448;
  box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 24px 58px rgba(62, 30, 34, .12);
}

body:not(.landing-page) #about-ai-av .about-intro-panel::before {
  content: none !important;
}

body:not(.landing-page) #about-ai-av .about-intro-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(22px, 2.6vw, 40px);
  top: clamp(22px, 2.6vw, 40px);
  width: 78px;
  height: 78px;
  border: 1px solid rgba(116, 20, 43, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(116, 20, 43, .035), 0 0 0 28px rgba(116, 20, 43, .022);
}

body:not(.landing-page) #about-ai-av .about-intro-title {
  max-width: 640px;
  margin: 0;
  color: #2c2427 !important;
  font-size: clamp(26px, 2.4vw, 40px) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: -.045em !important;
}

body:not(.landing-page) #about-ai-av .about-intro-title em {
  display: block;
  margin-top: 4px;
  color: #8f1c36;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

body:not(.landing-page) #about-ai-av .about-intro-copy {
  max-width: 670px;
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  color: #514448;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
  line-height: 1.72;
}

body:not(.landing-page) #about-ai-av .about-intro-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(18px, 2vw, 26px);
}

body:not(.landing-page) #about-ai-av .about-intro-path > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(116, 20, 43, .2);
  border-radius: 12px;
  background: rgba(255, 250, 241, .5);
  color: #4f2028;
  font-size: clamp(9px, .75vw, 11px);
  font-weight: 850;
  white-space: nowrap;
}

body:not(.landing-page) #about-ai-av .about-intro-path b {
  color: #9e1030;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
}

body:not(.landing-page) #about-ai-av .about-section-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(20px, 2.2vw, 30px);
}

body:not(.landing-page) #about-ai-av .about-section-actions .button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  justify-content: center;
  border-radius: 999px;
}

body:not(.landing-page) #about-ai-av .about-section-actions .button-secondary {
  border-color: #b77a3f !important;
  background: linear-gradient(135deg, #d9ad78, #edcfaa 54%, #c99156) !important;
  color: #3d2024 !important;
  box-shadow: 0 12px 30px rgba(94, 50, 28, .22), inset 0 1px rgba(255, 255, 255, .48) !important;
}

body:not(.landing-page) #about-ai-av .about-section-actions .button-secondary:hover,
body:not(.landing-page) #about-ai-av .about-section-actions .button-secondary:focus-visible {
  border-color: #8f552d !important;
  filter: brightness(1.05) saturate(1.04);
}

body:not(.landing-page) #about-ai-av .about-section-actions .button-secondary > span[aria-hidden="true"] {
  border-color: rgba(61, 32, 36, .22) !important;
  background: rgba(61, 32, 36, .1) !important;
  color: #65172a !important;
}

body:not(.landing-page) #about-ai-av .section-media-frame img {
  object-position: 68% center;
}

@media (max-width: 980px) {
  body:not(.landing-page) #about-ai-av .about-media-pair > .about-intro-panel {
    min-height: 0;
  }

  body:not(.landing-page) #about-ai-av .about-media-pair > .section-media-frame {
    min-height: clamp(250px, 48vw, 420px);
  }
}

@media (max-width: 680px) {
  body:not(.landing-page) #about-ai-av .about-intro-panel {
    padding: 28px 20px;
  }

  body:not(.landing-page) #about-ai-av .about-intro-title {
    font-size: clamp(25px, 8vw, 32px) !important;
  }

  body:not(.landing-page) #about-ai-av .about-intro-path,
  body:not(.landing-page) #about-ai-av .about-section-actions {
    grid-template-columns: 1fr;
  }

  body:not(.landing-page) #about-ai-av .about-intro-path > span {
    justify-content: center;
    white-space: normal;
  }

  body:not(.landing-page) #about-ai-av .about-section-actions .button {
    min-height: 52px;
  }
}
