:root {
  --bg: #0b0b0c;
  --border-line: rgba(255, 255, 255, 0.08);
  --wire-border: rgba(255, 255, 255, 0.24);
  --text: #f0f1f3;
  --text-muted: #8e929b;
  --accent-gold: #cfa470;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-reading: 'Noto Sans JP', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  padding: 7.5rem 0 5.5rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Page Containers */
.wrapper-wide {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1.25rem, 3.5vw, 4rem);
  margin: 0 auto;
}

.project-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
  margin: 0 auto;
}

/* Centered Reading Column for Text */
.text-col {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Top Fixed Bar: Dynamic Safe-Area Padding with Protective Gradient */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(1.2rem + env(safe-area-inset-top, 0px)) clamp(1.25rem, 3.5vw, 4rem) 2.5rem;
  border-bottom: none;

  background: linear-gradient(to bottom,
      rgba(11, 11, 12, 0.92) 0%,
      rgba(11, 11, 12, 0.6) 45%,
      rgba(11, 11, 12, 0) 100%);

  pointer-events: none;
}

header a,
header button,
header .lang-switch {
  pointer-events: auto;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
  position: relative;
  z-index: 2010;
}

/* Desktop Navigation */
nav.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav.nav-desktop a {
  font-family: var(--font-sans);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

nav.nav-desktop a:hover {
  opacity: 0.5;
}

/* Header Radio Pill */
.header-radio {
  display: inline-flex;
  align-items: center;
}

.header-radio-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.header-radio-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.header-radio-btn.is-active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(207, 164, 112, 0.08);
}

.header-radio-btn .live-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 6px var(--accent-gold);
  display: inline-block;
  animation: pulseDot 2.2s infinite ease-in-out;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-left: 1px solid var(--border-line);
  padding-left: 1.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: inherit;
  letter-spacing: inherit;
  padding: 0;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--text);
  font-weight: 600;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2010;
  width: 32px;
  height: 32px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text);
  position: absolute;
  left: 5px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.hamburger-line:first-child {
  top: 11px;
}

.hamburger-line:last-child {
  top: 19px;
}

.menu-toggle.active .hamburger-line:first-child {
  top: 15px;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger-line:last-child {
  top: 15px;
  transform: rotate(-45deg);
}

/* Mobile Drawer (Hardware-accelerated layout retention) */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #0b0b0c;
  z-index: 1500;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  padding-top: calc(6.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(env(safe-area-inset-bottom, 15px) + 5.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  will-change: opacity, visibility;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer a {
  font-family: var(--font-sans);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: color, text-shadow;
}

/* Prevent mobile browser compositor from sleeping the 144.0 animation layer */
body.alien-disco .mobile-drawer a,
body.alien-disco .mobile-drawer a:visited,
body.alien-disco .mobile-drawer a:active {
  animation: discoTextGlow 1.6s infinite steps(1) !important;
  -webkit-text-fill-color: initial !important;
  transition: none !important;
}

.mobile-drawer .lang-switch {
  border-left: none;
  padding-left: 0;
  font-size: 1rem;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Back Link */
.back-nav {
  margin-bottom: 2.5rem;
}

.back-link {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--text);
}

/* --- Miyu-Inspired Tight Editorial Catalog Grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(8px, 0.9vw, 14px);
  row-gap: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 5.5rem;
}

.item {
  display: flex;
  flex-direction: column;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.project-link:hover .title {
  color: #ffffff;
  opacity: 0.85;
}

.project-link:hover .thumb-frame img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.thumb-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: none;
  position: relative;
  margin-bottom: 0.55rem;
  background-color: #141518;
  overflow: hidden;
}

.thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.96);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.row-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.meta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
  opacity: 0.85;
}

/* Detail Page Layout */
.article-body {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-bottom: 7rem;
}

.project-header h1 {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.project-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* High-Legibility Body & Statement Typography */
p.copy {
  font-family: var(--font-reading);
  font-size: 1rem;
  line-height: 1.85;
  color: #dce0e6;
  font-weight: 400;
}

p.copy em {
  font-style: italic;
}

p.lead-hook {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Discreet Expandable Director's Statement */
.statement-details {
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 1.25rem 0;
  margin: 0.5rem 0 1rem;
}

.statement-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  user-select: none;
}

.statement-summary::-webkit-details-marker {
  display: none;
}

.statement-icon {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
}

.statement-details[open] .statement-icon {
  transform: rotate(45deg);
}

.statement-content {
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Block & Video Tabs */
.media-block {
  width: 100%;
  max-width: 1080px;
  margin: 0.5rem auto;
}

.video-tabs {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-line);
  padding-bottom: 0.4rem;
}

.video-tabs-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab-group {
  display: inline-flex;
  gap: 1.5rem;
}

.video-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.2rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.video-tab-btn:hover {
  color: var(--text);
}

.video-tab-btn.active {
  color: var(--accent-gold);
}

.video-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -0.45rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-gold);
}

/* Inline Video Tab Link */
.film-tab-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.film-tab-link:hover {
  opacity: 0.6;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border: none;
  background-color: #141518;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Expansive Carousel */
.carousel-section {
  width: 100%;
  max-width: 1080px;
  margin: 1.5rem auto;
  position: relative;
}

.carousel-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  cursor: zoom-in;
  padding: 0;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: auto;
}

.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1.2rem;
}

.carousel-controls {
  display: flex;
  gap: 1.2rem;
}

.carousel-arrow {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0;
  transition: color 0.2s ease;
}

.carousel-arrow:hover {
  color: #ffffff;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 7, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}

/* Credits & Awards Layout */
.credits-section {
  border-top: 1px solid var(--border-line);
  padding-top: 3.2rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.credits-poster {
  width: 100%;
  background-color: #141518;
  overflow: hidden;
  cursor: zoom-in;
}

.credits-poster img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.credits-poster:hover img {
  transform: scale(1.02);
}

.credits-info {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.1rem;
}

.credits-list,
.awards-list {
  list-style: none;
  font-family: var(--font-reading);
  font-size: 0.84rem;
  line-height: 1.85;
  color: #c5cad3;
}

.credits-list p {
  margin-bottom: 0.2rem;
}

.credits-list strong {
  color: #ffffff;
  font-weight: 500;
}

.awards-list li {
  margin-bottom: 0.35rem;
}

.awards-list strong {
  color: #ffffff;
  font-weight: 500;
}

/* Project Pagination */
.project-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-line);
  margin-top: 4rem;
  width: 100%;
}

.pag-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s ease;
}

.pag-link:hover {
  color: #ffffff;
}

.pag-empty {
  visibility: hidden;
}

/* Cinema Anchor Scroll Margin */
#replacements {
  scroll-margin-top: 7rem;
}

#works {
  scroll-margin-top: 100vh;
}

/* Footer (Base / Desktop) */
.footer-divider {
  height: 1px;
  background: var(--border-line);
  margin-bottom: 1.75rem;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0 clamp(1.25rem, 3.5vw, 4rem);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-sep {
  color: var(--wire-border);
  font-size: 0.75rem;
  user-select: none;
  opacity: 0.6;
}

footer a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff;
}

.instagram-icon {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

/* --- Semi-Transparent 70% Black Sequential News Bar (Desktop: 20s Arrival, 3s Rest, 1s Fade) --- */
.news-ticker-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.3rem;
  background-color: rgba(11, 11, 12, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: none;
  z-index: 1200;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 clamp(1.25rem, 3.5vw, 4rem);

  /* Frame-accurate docking response when lifting above footer */
  will-change: transform;
  -webkit-text-size-adjust: none !important;
  text-size-adjust: none !important;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-right: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: transparent;
  height: 100%;
  z-index: 10;
  flex-shrink: 0;
  user-select: none;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  display: inline-block;
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.ticker-track-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 48s Total Cycle (24s Per Topic): 20s Glide + 3s Pause + 1s Fade */
.ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
  animation: rollStopFade 72s linear infinite;
  contain: layout style;
}

/* Topic 1: 0s to 24s */
.ticker-item.item-1 {
  animation-delay: 0s;
}

/* Topic 2: 24s to 48s */
.ticker-item.item-2 {
  animation-delay: 24s;
}

/* Topic 3: 48s to 72s */
.ticker-item.item-3 {
  animation-delay: 48s;
}

.news-ticker-bar:hover .ticker-item {
  animation-play-state: paused;
}

@keyframes rollStopFade {
  0% {
    transform: translateX(100vw);
    opacity: 0;
    pointer-events: none;
  }
  0.5% {
    opacity: 1;
    pointer-events: auto;
  }
  27.78% {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  31.94% {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  33.33% {
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
  }
  33.4%, 100% {
    transform: translateX(100vw);
    opacity: 0;
    pointer-events: none;
  }
}

.ticker-tag {
  font-family: var(--font-sans);
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  flex-shrink: 0;
  line-height: 1 !important;
  -webkit-text-size-adjust: none !important;
}

.ticker-text {
  font-family: var(--font-sans);
  font-size: 11.5px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #c5cad3;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-block;
  -webkit-text-size-adjust: none !important;
  text-size-adjust: none !important;
}

html[lang="ja"] .ticker-tag {
  font-family: var(--font-reading) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

html[lang="ja"] .ticker-text {
  font-family: var(--font-reading) !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  -webkit-font-smoothing: antialiased;
}

.ticker-item:hover .ticker-text {
  color: #ffffff;
}

/* Breakpoints */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
  }

  .credits-section {
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
  }

  .credits-info {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {

  header {
    height: calc(3.8rem + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-bottom: 0 !important;
  }

  body {
    padding-top: calc(4.6rem + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 6rem !important;
  }

  .project-container {
    padding-top: 0 !important;
  }

  .back-nav {
    height: 1.2rem !important;
    line-height: 1.2rem !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
  }

  .project-header {
    margin: 0 0 0.5rem 0 !important;
  }

  .article-body {
    gap: 1.35rem !important;
    margin-bottom: 4rem !important;
  }

  .project-header h1 {
    font-size: 1.65rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.15 !important;
  }

  .project-meta {
    font-size: 0.72rem !important;
    margin-bottom: 0.5rem !important;
  }

  p.copy {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
  }

  p.lead-hook {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .statement-details {
    padding: 0.85rem 0 !important;
    margin: 0.25rem 0 0.5rem !important;
  }

  .video-tabs {
    margin-bottom: 0.5rem !important;
  }

  .video-tabs-with-action {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .tab-group {
    gap: 1.15rem !important;
  }

  .brand-logo {
    width: 150px;
  }

  nav.nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .grid {
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
  }

  .credits-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .credits-poster {
    max-width: 200px;
  }

  .credits-info {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  /* --- Mobile News Ticker Customizations (Uniform Physical Speed) --- */
  .news-ticker-bar {
    height: 2.4rem;
    padding: 0 1rem;
  }

  .ticker-badge {
    padding-right: 1.2rem;
    background: linear-gradient(90deg, rgba(11, 11, 12, 1) 70%, rgba(11, 11, 12, 0) 100%);
    position: relative;
    z-index: 10;
  }

  /* 90s Total Mobile Sequence: Items 1 & 2 get 22s each; Item 3 gets 46s */
  .ticker-item {
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }

  /* Item 1: 0s -> 22s */
  .ticker-item.item-1 {
    animation: mobileRollShort 90s linear infinite;
    animation-delay: 0s;
  }

  /* Item 2: 22s -> 44s */
  .ticker-item.item-2 {
    animation: mobileRollShort 90s linear infinite;
    animation-delay: 22s;
  }

  /* Item 3 (Long Dispatch): 44s -> 90s */
  .ticker-item.item-3 {
    animation: mobileRollLong 90s linear infinite;
    animation-delay: 44s;
  }

  /* Short Headlines (Items 1 & 2: Active for ~24% of 90s) */
  @keyframes mobileRollShort {
    0% {
      transform: translateX(100vw);
      opacity: 0;
      pointer-events: none;
    }
    0.5% {
      transform: translateX(96vw);
      opacity: 1;
      pointer-events: auto;
    }
    23.5% {
      transform: translateX(calc(-100% - 20px));
      opacity: 1;
      pointer-events: auto;
    }
    24% {
      transform: translateX(calc(-100% - 20px));
      opacity: 0;
      pointer-events: none;
    }
    24.5%, 100% {
      transform: translateX(100vw);
      opacity: 0;
      pointer-events: none;
    }
  }

  /* Long Daily Dispatch (Item 3: Active for ~50% of 90s) */
  @keyframes mobileRollLong {
    0% {
      transform: translateX(100vw);
      opacity: 0;
      pointer-events: none;
    }
    0.5% {
      transform: translateX(96vw);
      opacity: 1;
      pointer-events: auto;
    }
    49.5% {
      transform: translateX(calc(-100% - 20px));
      opacity: 1;
      pointer-events: auto;
    }
    50.5% {
      transform: translateX(calc(-100% - 20px));
      opacity: 0;
      pointer-events: none;
    }
    51%, 100% {
      transform: translateX(100vw);
      opacity: 0;
      pointer-events: none;
    }
  }

}

/* --- Geoblocked Screener Button --- */
.btn-locked {
  background-color: rgba(11, 11, 12, 0.4) !important;
  color: #71717a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed !important;
  pointer-events: none;
}