@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --arr-bg: #0d0d10;
  --arr-ink: #070709;
  --arr-ash: #16161a;
  --arr-card: #141418;
  --arr-border: rgba(255, 255, 255, 0.12);
  --arr-border-gold: rgba(212, 175, 55, 0.4);
  --arr-gold: #d4af37;
  --arr-gold-soft: #f3d06a;
  --arr-gold-dim: #9a7d2c;
  --arr-foreground: #f4f4f5;
  --arr-muted: #a1a1aa;
  --arr-font-display: 'Cormorant Garamond', Georgia, serif;
  --arr-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --arr-font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Scoping */
html, body, .arr-cinema-body {
  background: #000000 !important;
  background-color: #000000 !important;
  color: var(--arr-foreground);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.arr-site-wrapper {
  background-color: var(--arr-bg);
  color: var(--arr-foreground);
  font-family: var(--arr-font-sans);
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.arr-site-wrapper *,
.arr-site-wrapper *::before,
.arr-site-wrapper *::after {
  box-sizing: border-box;
}

/* Typography */
.arr-display,
.arr-site-wrapper h1,
.arr-site-wrapper h2,
.arr-site-wrapper h3,
.arr-site-wrapper h4 {
  font-family: var(--arr-font-display);
  font-weight: 400;
  color: var(--arr-foreground);
  margin: 0;
  letter-spacing: -0.02em;
}

.arr-mono-eyebrow {
  font-family: var(--arr-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--arr-gold);
  font-weight: 500;
  display: block;
}

.arr-text-gold { color: var(--arr-gold) !important; }
.arr-italic { font-style: italic; font-weight: 300; }
.arr-muted-text { color: var(--arr-muted); }

/* Containers */
.arr-container {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .arr-container {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

/* Header & Nav */
.arr-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.arr-header.scrolled {
  background: rgba(13, 13, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--arr-border);
}

.arr-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.arr-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.arr-brand-logo {
  height: 2.75rem;
  width: 2.75rem;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.arr-brand:hover .arr-brand-logo {
  transform: rotate(8deg);
}

.arr-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.arr-brand-title {
  font-family: var(--arr-font-display);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.arr-brand-sub {
  font-family: var(--arr-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: var(--arr-gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.arr-nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .arr-nav-links { display: flex; }
}

.arr-nav-links a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--arr-muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.arr-nav-links a:hover,
.arr-nav-links a.active {
  color: var(--arr-gold);
}

.arr-btn-outline {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--arr-border-gold);
  padding: 0.65rem 1.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--arr-gold);
  text-decoration: none;
  transition: all 0.3s;
}

@media (min-width: 1024px) {
  .arr-btn-outline { display: inline-flex; }
}

.arr-btn-outline:hover {
  background: var(--arr-gold);
  color: #000000;
}

.arr-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--arr-gold);
  color: #000000;
  padding: 1.1rem 2.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.arr-btn-solid:hover {
  background: var(--arr-gold-soft);
  transform: translateY(-2px);
}

.arr-mobile-toggle {
  display: block;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .arr-mobile-toggle { display: none; }
}

.arr-mobile-menu {
  display: none;
  background: rgba(13, 13, 16, 0.98);
  border-top: 1px solid var(--arr-border);
  padding: 1.5rem 1.5rem 2rem;
}

.arr-mobile-menu.open {
  display: block;
}

.arr-mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--arr-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.arr-mobile-menu a:hover {
  color: var(--arr-gold);
}

/* Hero Section */
.arr-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  background: var(--arr-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.arr-hero-top {
  position: relative;
  height: 50%;
  overflow: hidden;
  border-bottom: 1px solid var(--arr-border);
}

.arr-marquee-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: arrMarquee 45s linear infinite;
}

.arr-marquee-item {
  position: relative;
  height: 100%;
  flex-shrink: 0;
}

.arr-marquee-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
}

.arr-marquee-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 9, 0.2);
}

.arr-marquee-gradient-left {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 6rem;
  background: linear-gradient(90deg, var(--arr-ink), transparent);
  pointer-events: none;
}

.arr-marquee-gradient-right {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 6rem;
  background: linear-gradient(-90deg, var(--arr-ink), transparent);
  pointer-events: none;
}

.arr-hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  font-family: var(--arr-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--arr-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
}

@media (min-width: 1024px) {
  .arr-hero-badge { left: 3.5rem; }
}

.arr-hero-badge::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--arr-gold);
}

.arr-hero-bottom {
  position: relative;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--arr-ink);
  padding: 1.5rem;
}

.arr-hero-center-logo {
  max-width: 24rem;
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.8));
}

.arr-hero-tagline {
  font-family: var(--arr-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--arr-muted);
  text-align: center;
  margin-top: 1.5rem;
}

.arr-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.arr-hero-scroll span {
  font-family: var(--arr-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--arr-muted);
}

.arr-hero-scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(180deg, var(--arr-gold), transparent);
}

@keyframes arrMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Spacing */
.arr-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

@media (min-width: 1024px) {
  .arr-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.arr-section-ink {
  background-color: var(--arr-ink);
  border-top: 1px solid var(--arr-border);
  border-bottom: 1px solid var(--arr-border);
}

.arr-section-title {
  font-size: 3rem;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .arr-section-title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .arr-section-title { font-size: 5rem; }
}

.arr-hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--arr-border-gold), transparent);
  margin: 1.5rem 0;
}

/* Leadership Cards */
.arr-leaders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .arr-leaders-grid { grid-template-columns: repeat(3, 1fr); }
}

.arr-leader-card {
  border: 1px solid var(--arr-border);
  background: rgba(20, 20, 24, 0.4);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease;
  height: 100%;
}

.arr-leader-card:hover {
  border-color: var(--arr-gold);
}

.arr-leader-img-box {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--arr-ash);
}

.arr-leader-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  transition: all 0.7s ease;
}

.arr-leader-card:hover .arr-leader-img-box img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.arr-leader-body {
  padding: 2rem;
  flex: 1;
}

.arr-leader-role {
  font-family: var(--arr-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--arr-gold);
}

.arr-leader-name {
  font-size: 1.85rem;
  margin-top: 0.75rem;
}

.arr-leader-bio {
  color: var(--arr-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Portfolio / Selected Work Grid */
.arr-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .arr-work-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.arr-work-card {
  text-decoration: none;
  display: block;
  group: pointer;
}

.arr-work-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--arr-ash);
}

.arr-work-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.arr-work-card:hover .arr-work-poster img {
  transform: scale(1.06);
}

.arr-work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 9, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.arr-work-card:hover .arr-work-overlay {
  opacity: 1;
}

.arr-work-overlay-text {
  font-family: var(--arr-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--arr-gold);
}

.arr-work-meta {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.arr-work-title {
  font-size: 1.25rem;
  color: #ffffff;
  transition: color 0.3s;
}

.arr-work-card:hover .arr-work-title {
  color: var(--arr-gold);
}

.arr-work-cat {
  font-family: var(--arr-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--arr-gold);
}

/* Portfolio Page Filter Tabs */
.arr-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--arr-border);
  padding-bottom: 1.5rem;
  margin-bottom: 3.5rem;
}

.arr-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--arr-muted);
  padding: 0.5rem 1.25rem;
  font-family: var(--arr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  cursor: pointer;
  transition: all 0.3s;
}

.arr-filter-btn:hover {
  color: #ffffff;
}

.arr-filter-btn.active {
  border-color: var(--arr-gold);
  color: var(--arr-gold);
}

.arr-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .arr-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .arr-portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.arr-portfolio-card {
  display: block;
}

.arr-portfolio-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--arr-ash);
}

.arr-portfolio-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.arr-portfolio-card:hover .arr-portfolio-poster img {
  transform: scale(1.08);
}

.arr-portfolio-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--arr-ink) 0%, transparent 60%);
}

.arr-portfolio-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.arr-portfolio-year {
  font-family: var(--arr-font-mono);
  font-size: 0.75rem;
  color: var(--arr-gold);
}

.arr-portfolio-credit {
  margin-top: 0.85rem;
  font-family: var(--arr-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--arr-muted);
}

/* Studio Section */
.arr-studio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .arr-studio-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
  }
}

.arr-studio-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--arr-ash);
}

.arr-studio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arr-studio-coords {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--arr-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--arr-gold);
}

.arr-prose {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--arr-muted);
}

.arr-prose p {
  margin-bottom: 1.5rem;
}

/* Services Grid */
.arr-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .arr-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .arr-services-grid { grid-template-columns: repeat(3, 1fr); }
}

.arr-service-card {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  background: var(--arr-ash);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  text-decoration: none;
}

.arr-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.arr-service-card:hover img {
  transform: scale(1.06);
}

.arr-service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--arr-ink) 0%, rgba(7, 7, 9, 0.6) 60%, rgba(7, 7, 9, 0.1) 100%);
  transition: all 0.4s;
}

.arr-service-card:hover .arr-service-overlay {
  background: linear-gradient(0deg, var(--arr-ink) 0%, rgba(7, 7, 9, 0.4) 60%, transparent 100%);
}

.arr-service-content {
  position: relative;
  z-index: 2;
}

.arr-service-idx {
  font-family: var(--arr-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--arr-gold);
  display: block;
  margin-bottom: 1rem;
}

.arr-service-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.arr-service-desc {
  font-size: 0.88rem;
  color: var(--arr-muted);
  line-height: 1.6;
}

.arr-service-bar {
  width: 2rem;
  height: 1px;
  background: var(--arr-gold);
  margin-top: 1.5rem;
  transition: width 0.4s ease;
}

.arr-service-card:hover .arr-service-bar {
  width: 4rem;
}

/* Contact CTA Block */
.arr-contact-cta {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  background-color: var(--arr-ink);
  overflow: hidden;
  border-top: 1px solid var(--arr-border);
}

.arr-cta-title {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .arr-cta-title { font-size: 5.5rem; }
}

/* Contact Page Layout */
.arr-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .arr-contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.arr-form-field {
  margin-bottom: 2rem;
}

.arr-form-label {
  display: block;
  font-family: var(--arr-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--arr-gold);
  margin-bottom: 0.75rem;
}

.arr-form-input,
.arr-form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--arr-border);
  padding: 0.85rem 0;
  color: #ffffff;
  font-family: var(--arr-font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.arr-form-input:focus,
.arr-form-textarea:focus {
  border-bottom-color: var(--arr-gold);
}

.arr-contact-info-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.arr-contact-icon {
  color: var(--arr-gold);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Footer */
.arr-footer {
  background: var(--arr-ink);
  border-top: 1px solid var(--arr-border);
  padding: 6rem 0 2.5rem;
}

.arr-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 768px) {
  .arr-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .arr-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

.arr-footer-tagline {
  font-family: var(--arr-font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--arr-muted);
  margin: 1.5rem 0;
  line-height: 1.3;
}

.arr-footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.arr-social-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--arr-border);
  color: var(--arr-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.arr-social-icon:hover {
  border-color: var(--arr-gold);
  color: var(--arr-gold);
}

.arr-footer-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.arr-footer-links li {
  margin-bottom: 0.75rem;
}

.arr-footer-links a {
  color: var(--arr-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.arr-footer-links a:hover {
  color: var(--arr-gold);
}

.arr-footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--arr-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .arr-footer-bottom {
    flex-direction: row;
  }
}

.arr-footer-copy {
  font-family: var(--arr-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--arr-muted);
}

/* ==========================================================================
   Cinematic Intro Video Overlay & Seamless Logo Transition
   ========================================================================== */

.arr-intro-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 999999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 1s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, visibility;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.arr-intro-light-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(229, 193, 88, 0.5) 0%, rgba(229, 193, 88, 0.15) 35%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  will-change: opacity, transform;
}

.arr-intro-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  background-color: #000000;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.arr-intro-video-container video {
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  object-fit: contain;
  display: block;
  background: #000000;
  background-color: #000000;
}

@media (min-width: 769px) {
  .arr-intro-video-container video {
    object-fit: cover;
  }
}

/* Skip Intro button */
.arr-skip-intro-btn {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
  right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
  z-index: 1000000;
  background: rgba(13, 13, 16, 0.75);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: var(--arr-gold, #e5c158);
  font-family: var(--arr-font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .arr-skip-intro-btn {
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
    right: max(1rem, env(safe-area-inset-right, 1rem));
    padding: 0.6rem 1.1rem;
    font-size: 0.6rem;
  }
}

.arr-skip-intro-btn:hover {
  background: var(--arr-gold, #e5c158);
  color: #000000;
  border-color: var(--arr-gold, #e5c158);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.45);
  transform: translateY(-2px);
}

/* Transition state when video seamlessly dissolves into hero screen */
.arr-intro-overlay.arr-intro-morphing {
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: background 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              visibility 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.arr-intro-overlay.arr-intro-morphing .arr-intro-light-burst {
  opacity: 0.85;
  transform: scale(1.35);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.arr-intro-overlay.arr-intro-morphing .arr-intro-video-container {
  transform: scale(1.05);
  opacity: 0;
  filter: blur(12px) brightness(1.3) drop-shadow(0 0 50px rgba(229, 193, 88, 0.6));
}

.arr-intro-overlay.arr-intro-morphing .arr-skip-intro-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transition: all 0.4s ease;
}

.arr-intro-overlay.arr-intro-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

/* When user already saw the intro, skip overlay immediately with zero flash */
.arr-intro-skip #arr-intro-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.arr-intro-skip .arr-home-content {
  opacity: 1 !important;
}

.arr-intro-skip .arr-header,
.arr-intro-skip .arr-hero-top,
.arr-intro-skip .arr-hero-tagline,
.arr-intro-skip .arr-hero-scroll {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Pause background marquee while intro is running to dedicate 100% CPU/GPU to smooth video playback */
body:not(.intro-finished):not(.arr-intro-skip) .arr-marquee-track {
  animation-play-state: paused !important;
}

/* Home Screen & Hero Center Logo Cinematic Arrival Animation */
.arr-home-content {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}

.arr-hero-center-logo.logo-arrived {
  animation: arrLogoArrival 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, filter, opacity;
}

.arr-home-content.intro-revealed .arr-header {
  animation: arrFadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.arr-home-content.intro-revealed .arr-hero-top {
  animation: arrFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.arr-home-content.intro-revealed .arr-hero-tagline,
.arr-home-content.intro-revealed .arr-hero-scroll {
  animation: arrFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes arrLogoArrival {
  0% {
    transform: scale(0.92);
    filter: drop-shadow(0 0 55px rgba(229, 193, 88, 0.95)) brightness(1.4);
    opacity: 0.65;
  }
  45% {
    transform: scale(1.025);
    filter: drop-shadow(0 0 30px rgba(229, 193, 88, 0.6)) brightness(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.8));
    opacity: 1;
  }
}

@keyframes arrFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
