:root {
  --header: 72px;
  --gutter: 18px;
}

html {
  background: #111315;
}

body.mobile-site {
  width: 100%;
  max-width: 560px;
  min-width: 280px;
  margin: 0 auto;
  overflow-x: hidden;
  background: #050607;
  box-shadow: 0 0 80px rgba(0, 0, 0, .55);
}

.mobile-site .site-header {
  left: 50%;
  width: min(100%, 560px);
  min-height: var(--header);
  padding: 0 var(--gutter);
  transform: translateX(-50%);
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(5, 6, 7, .94);
  backdrop-filter: blur(18px);
}

.mobile-site .brand img {
  width: 154px;
}

.mobile-site .header-socials {
  display: none;
}

.mobile-site .menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.mobile-site .site-nav {
  position: fixed;
  top: var(--header);
  right: auto;
  bottom: 0;
  left: 50%;
  z-index: 101;
  width: min(100%, 560px);
  height: calc(100dvh - var(--header));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px var(--gutter);
  justify-content: center;
  gap: 22px;
  background: rgba(5, 6, 7, .985);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-site .site-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-site .site-nav a {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--paper);
  font-size: clamp(1.65rem, 8vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(-18px, 0, 0);
  transition: color 220ms ease, opacity 260ms ease, filter 260ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1), text-shadow 220ms ease;
}

.mobile-site .site-nav a::after {
  display: none;
}

.mobile-site .site-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: .72em;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(213, 255, 53, .62);
  opacity: 0;
  transform: translateY(-50%) scaleY(.2);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(.2, .8, .2, 1);
}

.mobile-site .site-nav.is-open a {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.mobile-site .site-nav.is-open a:nth-child(1) { transition-delay: 35ms; }
.mobile-site .site-nav.is-open a:nth-child(2) { transition-delay: 65ms; }
.mobile-site .site-nav.is-open a:nth-child(3) { transition-delay: 95ms; }
.mobile-site .site-nav.is-open a:nth-child(4) { transition-delay: 125ms; }
.mobile-site .site-nav.is-open a:nth-child(5) { transition-delay: 155ms; }
.mobile-site .site-nav.is-open a:nth-child(6) { transition-delay: 185ms; }
.mobile-site .site-nav.is-open a:nth-child(7) { transition-delay: 215ms; }

.mobile-site .site-nav.is-open:has(a:is(:hover, :focus-visible)) a:not(:hover):not(:focus-visible) {
  color: var(--muted);
  opacity: .28;
  filter: blur(1.5px);
  transform: translate3d(-5px, 0, 0);
  transition-delay: 0ms;
}

.mobile-site .site-nav.is-open a:is(:hover, :focus-visible) {
  color: var(--accent);
  opacity: 1;
  filter: blur(0);
  outline: none;
  transform: translate3d(13px, 0, 0);
  text-shadow: 0 0 30px rgba(213, 255, 53, .24);
  transition-delay: 0ms;
}

.mobile-site .site-nav.is-open a:is(:hover, :focus-visible)::before {
  opacity: .5;
  transform: translateY(-50%) scaleY(1);
}

.mobile-site main {
  overflow: hidden;
}

.mobile-site .hero-slider {
  min-height: 0 !important;
  padding-top: var(--header);
  background: #050607;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: contain;
}

.mobile-site .hero {
  min-height: 0 !important;
}

.mobile-site .hero-slider .hero-slide {
  position: absolute;
  inset: var(--header) 0 auto;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  flex: 0 0 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  background: #050607;
  pointer-events: none;
}

.mobile-site .hero-slider .hero-slide.is-active {
  position: relative;
  inset: auto;
  pointer-events: auto;
}

.mobile-site .hero-slider .hero-media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto !important;
  max-height: calc(100svh - var(--header));
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020304;
  touch-action: pan-y pinch-zoom;
}

.mobile-site .hero-slider .hero-media::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: 0;
  background-image: var(--mobile-poster);
  background-position: center;
  background-size: cover;
  filter: blur(18px) brightness(.32) saturate(.78);
  opacity: .9;
  transform: scale(1.08);
  pointer-events: none;
}

.mobile-site .hero-slider .hero-slide:nth-of-type(1) .hero-media { --mobile-poster: url('../image/posters/tb_poster.jpg'); }
.mobile-site .hero-slider .hero-slide:nth-of-type(2) .hero-media { --mobile-poster: url('../image/posters/taataHIRES.jpg'); }
.mobile-site .hero-slider .hero-slide:nth-of-type(3) .hero-media { --mobile-poster: url('../image/posters/vhd-cover-a-revised-web.jpg'); }
.mobile-site .hero-slider .hero-slide:nth-of-type(4) .hero-media { --mobile-poster: url('../image/posters/tsposterHIRES.jpg'); }
.mobile-site .hero-slider .hero-slide:nth-of-type(5) .hero-media { --mobile-poster: url('../image/posters/draggedposterHIRES.jpeg'); }

.mobile-site .hero-slider .hero-media img {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: calc(100svh - var(--header)) !important;
  object-fit: contain !important;
  object-position: center !important;
  user-select: none;
  -webkit-user-drag: none;
}

.mobile-site .hero-slider .hero-media::after {
  display: block;
  z-index: 2;
  background: linear-gradient(90deg, rgba(2, 3, 4, .22), transparent 18%, transparent 82%, rgba(2, 3, 4, .22));
  pointer-events: none;
}

.mobile-site .feature-hero .hero-media {
  position: relative;
  inset: auto;
  width: 100%;
  height: min(calc(min(100vw, 560px) * 1.25), calc(100svh - var(--header))) !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020304;
}

.mobile-site .feature-hero .hero-media img,
.mobile-site .feature-hero--key-art .hero-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.mobile-site .hero-media::after {
  display: none;
}

.mobile-site .hero-slider .hero-content,
.mobile-site .feature-hero .hero-content {
  position: relative;
  inset: auto;
  min-height: 0;
  padding: 25px var(--gutter) 104px;
  display: block;
  background: linear-gradient(180deg, #0b0d0f 0%, #050607 100%);
  color: var(--paper);
}

.mobile-site .hero-slider .hero-slide .hero-content {
  min-height: 0;
  margin: 0;
  padding: 25px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .08);
  opacity: 1;
  transform: none;
}

.mobile-site .hero-grid {
  display: block;
}

.mobile-site .hero-copy {
  max-width: none;
}

.mobile-site .hero .display {
  max-width: 100%;
  margin-top: 15px;
  font-size: clamp(3rem, 15vw, 5.15rem);
  line-height: .88;
  overflow-wrap: anywhere;
}

.mobile-site .hero-note {
  display: block;
  margin-top: 20px;
  padding: 0;
  font-size: .92rem;
  line-height: 1.55;
}

.mobile-site .hero-actions,
.mobile-site .detail-actions,
.mobile-site .profile-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 24px;
}

.mobile-site .hero-actions .btn,
.mobile-site .detail-actions .btn,
.mobile-site .profile-actions .btn,
.mobile-site .contact-form .btn,
.mobile-site .investor-form .btn {
  width: 100%;
  min-height: 54px;
  justify-content: center;
  text-align: center;
}

.mobile-site .btn::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mobile-site .hero-edge-controls {
  display: none;
}

.mobile-site .feature-hero {
  min-height: 0;
  padding-top: var(--header);
  display: flex;
  flex-direction: column;
  background: #050607;
}

.mobile-site .feature-hero .hero-content {
  width: 100%;
}

.mobile-site .feature-hero .hero-content:has(.sr-only:only-child),
.mobile-site .feature-hero--key-art .hero-content {
  padding: 0;
}

.mobile-site .film-scroll-cue {
  display: none;
}

.mobile-site .mobile-poster-action {
  padding: 0 var(--gutter) 22px;
  background: #050607;
}

.mobile-site .mobile-poster-action .poster-trailer-link {
  position: relative;
  inset: auto;
  min-height: 56px;
  width: 100%;
}

.mobile-site .page-hero,
.mobile-site .profile-hero,
.mobile-site .investing-hero {
  min-height: 0;
  padding-top: calc(var(--header) + 54px);
  padding-bottom: 54px;
}

.mobile-site .page-hero-row,
.mobile-site .films-hero-row,
.mobile-site .profile-hero-grid,
.mobile-site .investing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.mobile-site .page-title {
  font-size: clamp(3.8rem, 18vw, 6.1rem);
  line-height: .88;
}

.mobile-site .section {
  padding: 58px 0;
}

.mobile-site .section-title {
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  line-height: .92;
}

.mobile-site .section-head {
  display: block;
}

.mobile-site .section-head-side,
.mobile-site .section-head > p {
  margin-top: 22px;
}

.mobile-site .film-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-site .film-card-copy {
  padding: 16px 13px 18px;
}

.mobile-site .film-card-copy h3 {
  font-size: 1.2rem;
}

.mobile-site .film-card-arrow {
  width: 40px;
  height: 40px;
  font-size: 0;
  background: rgba(4, 5, 6, .38);
  backdrop-filter: blur(5px);
}

.mobile-site .film-card-arrow::before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mobile-site .filters {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.mobile-site .filters::-webkit-scrollbar {
  display: none;
}

.mobile-site .filter-btn {
  min-height: 46px;
  flex: 0 0 auto;
}

.mobile-site .film-rail-track {
  grid-auto-columns: 82%;
  scroll-padding-left: var(--gutter);
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.mobile-site .film-rail-card {
  scroll-snap-stop: always;
}

.mobile-site .film-rail-controls {
  display: none;
}

.mobile-site .split {
  min-height: 0;
  grid-template-columns: 1fr;
}

.mobile-site .split-media {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.mobile-site .split-media--ark {
  aspect-ratio: 2 / 3;
  background: #050607;
}

.mobile-site .split-media--arrival {
  aspect-ratio: 16 / 9;
}

.mobile-site .film-bottom-split {
  min-height: 0;
  height: auto;
}

.mobile-site .film-bottom-split .split-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.mobile-site .about-story-split .split-media {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.mobile-site .split-media img,
.mobile-site .split-media--beast-still img {
  object-position: center;
}

.mobile-site .split-media--ark img {
  object-fit: contain;
  object-position: center;
}

.mobile-site .split-copy {
  min-height: 0;
  padding: 52px var(--gutter);
}

.mobile-site .film-bottom-split .split-copy {
  min-height: 0;
  height: auto;
  justify-content: center;
  padding-block: 40px;
}

.mobile-site .detail-layout,
.mobile-site .contact-layout,
.mobile-site .profile-layout {
  grid-template-columns: 1fr;
  gap: 40px;
}

.mobile-site .detail-poster.mobile-poster-used {
  display: none;
}

.mobile-site .detail-meta-row {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
}

.mobile-site .film-social-links--official,
.mobile-site .film-social-links--resources,
.mobile-site .film-latest-grid,
.mobile-site .film-latest-grid--equal,
.mobile-site .news-grid,
.mobile-site .news-archive-grid,
.mobile-site .stats,
.mobile-site .team-list,
.mobile-site .contact-form {
  grid-template-columns: 1fr;
}

.mobile-site .team-list {
  border-top-color: rgba(255, 255, 255, .14);
}

.mobile-site .team-person,
.mobile-site .team-person:nth-child(odd),
.mobile-site .team-person:nth-child(even) {
  min-height: 190px;
  padding: 32px 70px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 0;
  text-align: left;
}

.mobile-site .team-person h3 {
  margin-bottom: 9px;
}

.mobile-site .team-person a {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 40px;
  height: 40px;
  margin-top: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .025);
  font-size: 0;
  transform: translateY(-50%);
}

.mobile-site .team-person a::before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mobile-site .stat { min-height: 190px; }

.mobile-site .profile-contact-card,
.mobile-site .investor-form {
  margin-top: 6px;
  padding: 22px 18px;
}

.mobile-site .profile-contact-card {
  padding: 0;
}

.mobile-site .profile-aside {
  position: static;
}

.mobile-site .contact-layout {
  min-height: 0;
  padding-top: var(--header);
}

.mobile-site .contact-panel {
  padding: 54px var(--gutter);
}

.mobile-site .contact-panel:first-child {
  border-right: 0;
}

.mobile-site input,
.mobile-site select,
.mobile-site textarea {
  min-height: 50px;
  font-size: 16px;
}

.mobile-site textarea {
  min-height: 150px;
}

.mobile-site .footer-grid {
  grid-template-columns: 1fr;
  width: min(100%, 460px);
  border: 0;
  text-align: center;
}

.mobile-site .site-footer {
  padding: 40px var(--gutter) calc(28px + env(safe-area-inset-bottom));
}

.mobile-site .footer-brand,
.mobile-site .footer-column {
  padding: 28px 12px;
  align-items: center;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.mobile-site .footer-brand {
  display: flex;
  flex-direction: column;
}

.mobile-site .footer-brand img {
  width: min(210px, 72vw);
  margin-inline: auto;
}

.mobile-site .footer-brand p {
  margin: 14px auto 0;
}

.mobile-site .footer-column {
  gap: 11px;
}

.mobile-site .footer-heading {
  margin-bottom: 10px;
  text-align: center;
}

.mobile-site .footer-column a {
  justify-content: center;
  text-align: center;
}

.mobile-site .footer-column a[href*="theanimationroundtable.com"] {
  color: var(--paper-soft);
}

.mobile-site .footer-contact > span {
  width: auto;
  padding-left: 0;
  justify-content: center;
  text-align: center;
}

.mobile-site .footer-contact > span::before {
  position: static;
  padding-top: .15em;
}

.mobile-site .footer-grid > :last-child {
  border-bottom: 0;
}

.mobile-site .footer-bottom {
  width: min(100%, 460px);
  align-items: center;
  flex-direction: column;
  gap: 18px;
  padding-top: 26px;
  text-align: center;
}

.mobile-site .footer-socials {
  order: 1;
  justify-content: center;
  gap: 12px;
}

.mobile-site .footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .025);
}

.mobile-site .copyright {
  order: 2;
}

.mobile-site .desktop-site-link {
  order: 3;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@media (max-width: 370px) {
  .mobile-site .film-grid {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  .mobile-site .site-nav a {
    filter: none;
  }
}
