/* Keep the headline and the actual navigation rail in one layout. */
.cinematic-home .home-nav-slot {
  height: auto;
  margin-top: clamp(20px, 3svh, 30px);
}
.cinematic-home .home-nav-slot > .glass-nav {
  position: relative;
  margin-block: 0;
  pointer-events: auto;
}
.video-examples-dialog .video-examples-intro a { white-space: nowrap; }
.videos-page #featured-video-title {
  max-width: 100%;
  margin: 0 auto 16px;
  font-size: clamp(.875rem, 3.1vw, 1.55rem);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.featured-title-short { display: none; }
@media (max-width: 374px) {
  .has-short-title .featured-title-full { display: none; }
  .has-short-title .featured-title-short { display: inline; }
}
.videos-page #featured-video-title::-webkit-scrollbar { display: none; }
.videos-page #featured-video-title .featured-title-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  padding-block: .16em;
}
.videos-page #featured-video-title .featured-title-link:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.videos-page #featured-video-title .featured-title-link:focus-visible {
  outline-offset: -2px;
}

/* The sentence flows as prose. The privacy link keeps its own touch target. */
.about-page .about-gift-note {
  display: block;
  max-width: 56ch;
  margin: clamp(28px, 5vw, 48px) auto 12px;
  padding: 0 12px;
  font-size: .9375rem;
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
}
.about-page .about-gift-note a {
  display: inline;
  min-height: 0;
  padding: 0;
  font-weight: 600;
  text-underline-offset: .2em;
}
.about-page .about-gift-note + .about-privacy-link {
  padding: 0 0 clamp(12px, 3vw, 26px);
}
html[data-theme="terracotta"] body:has(.gift-hero) .related {
  gap: 0 16px;
  justify-content: center;
}
.related a { display: inline-block; padding-block: 9px; }

/* Creator's graphite backdrop and steel-blue project cards. */
html[data-theme="studio"], html[data-theme="studio"] body.creator-page {
  background: #101821;
  color-scheme: dark;
}
html[data-theme="studio"] body.creator-page {
  isolation: isolate;
  --ink: #f5f8fc;
  --muted: #d3e0ec;
  --accent: #abd9f8;
}
html[data-theme="studio"] body.creator-page > .site-backdrop {
  background:
    radial-gradient(ellipse at 8% 8%, #27394a 0, transparent 53%),
    radial-gradient(ellipse at 100% 82%, #192b3d 0, transparent 55%),
    #0e151d;
}
body.creator-page .creator-copy h1,
body.creator-page .creator-projects h2,
body.creator-page .project-row h3 {
  color: #f9fbff;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}
body.creator-page .creator-copy > .lead { color: #b4dbf8; }
body.creator-page .creator-copy p:not(.eyebrow):not(.lead) { color: #dde6ef; }
body.creator-page .creator-projects .eyebrow,
body.creator-page .project-number { color: #c1def5; }
body.creator-page .project-list > .project-row,
body.creator-page .creator-profile > .creator-contact {
  border: 1px solid #6f94b2;
  background: linear-gradient(120deg, #274c6b, #183348 85%);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff15, 0 4px 12px #050e1b40;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.creator-page .project-list > .project-row::after,
body.creator-page .creator-profile > .creator-contact::after { display: none; }
body.creator-page .project-row p { color: #dfebf6; }
body.creator-page .project-arrow {
  color: #edf8ff;
  background: #142c40;
  border-color: #6e94b0;
}
body.creator-page .glass-nav .nav-cell { color: #e6eef7; }
body.creator-page .glass-nav .nav-cell[aria-current="page"] { color: white; }
body.creator-page .glass-nav .nav-track { background: #17283a; }
body.creator-page .glass-nav .nav-capsule { background: #305579; }
body.creator-page .compact-footer :is(small, a, .footer-separator) {
  color: #e0eaf4;
  font-weight: 650;
}
body.creator-page .creator-socials .social-icon-link { border-color: #7691aa; }
@media (hover: hover) {
  body.creator-page .project-list > .project-row:hover,
  body.creator-page .creator-profile > .creator-contact:hover {
    background: linear-gradient(120deg, #305b7c, #22435e);
    border-color: #a9d9fa;
  }
}

@media (max-width: 700px) {
  .site-footer.compact-footer .footer-meta { font-size: .75rem; gap: clamp(4px, 1.3vw, 8px); }
  .site-footer.compact-footer .footer-meta small { font-size: inherit; }
  html[data-theme="terracotta"] .atelier-page .atelier-product,
  html[data-theme="terracotta"] body .glass-nav .nav-track,
  html[data-theme="studio"] body .glass-nav :is(.nav-track, .nav-capsule),
  html[data-theme="terracotta"] body .cinema-screen .play-button {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .videos-page .carousel-track { touch-action: pan-x pan-y pinch-zoom; }
  .related .category-dot { display: none; }
}
@media (max-width: 350px) {
  .site-footer.compact-footer .footer-meta { font-size: .6875rem; }
}
