html { scroll-behavior: smooth; }
/* ==========================================================================
   TFS FILM WORKS - PREMIUM CINEMATIC STYLES
   ========================================================================== */
:root {
  --tfs-black: #030305;
  --tfs-charcoal: #0a0a0c;
  --tfs-dark: #111116;
  --tfs-slate: #1c1c24;
  --tfs-text: #f0f0f5;
  --tfs-muted: #8b8b9f;
  --tfs-accent: #7fe9ff;
  --tfs-accent-hover: #5ad5f1;
  --max-width: 1400px;
  --transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--tfs-black);
  color: var(--tfs-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.tfs-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

/* ==========================================================================
   HERO SECTION (Cinematic)
   ========================================================================== */
.tfs-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--tfs-black);
}

.tfs-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tfs-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 25s infinite alternate ease-in-out;
  opacity: 0.6;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.tfs-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(3,3,5,0) 0%, rgba(3,3,5,0.8) 80%, rgba(3,3,5,1) 100%);
  z-index: 2;
}

.tfs-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1.5s var(--transition) forwards;
  animation-delay: 0.3s;
}

.tfs-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(127, 233, 255, 0.05);
  border: 1px solid rgba(127, 233, 255, 0.2);
  color: var(--tfs-accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.tfs-hero-title {
  font-size: clamp(48px, 9vw, 110px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.tfs-hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  margin-bottom: 50px;
  max-width: 800px;
  margin-inline: auto;
  font-weight: 400;
}

.tfs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--tfs-black);
  padding: 18px 46px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 1px solid transparent;
}

.tfs-btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   MANIFESTO / ABOUT SECTION
   ========================================================================== */
.tfs-manifesto {
  padding: 140px 0;
  background: var(--tfs-black);
  text-align: center;
  position: relative;
}

.tfs-manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.tfs-manifesto h2 {
  font-size: clamp(32px, 5vw, 56px);
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.3;
  font-weight: 300;
}

.tfs-manifesto h2 strong {
  font-weight: 700;
  color: var(--tfs-accent);
}

.tfs-manifesto p {
  font-size: 18px;
  color: var(--tfs-muted);
  line-height: 1.8;
}

/* ==========================================================================
   BENTO GALLERY (DISCIPLINES)
   ========================================================================== */
.tfs-disciplines {
  padding: 60px 0 140px;
  background: var(--tfs-black);
}

.tfs-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 450px;
  gap: 24px;
}

.tfs-bento-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--tfs-charcoal);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  border: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition);
}

/* Span classes for masonry look */
.tfs-bento-card.wide { grid-column: span 8; }
.tfs-bento-card.narrow { grid-column: span 4; }
.tfs-bento-card.half { grid-column: span 6; }

.tfs-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(3,3,5,0.9) 100%);
  z-index: 2;
  transition: var(--transition);
}

.tfs-bento-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tfs-bento-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.7;
}

.tfs-bento-content {
  position: relative;
  z-index: 3;
  transform: translateY(20px);
  transition: var(--transition);
}

.tfs-bento-card:hover {
  border-color: rgba(255,255,255,0.15);
}

.tfs-bento-card:hover .tfs-bento-bg img {
  transform: scale(1.08);
  opacity: 0.9;
}

.tfs-bento-card:hover .tfs-bento-content {
  transform: translateY(0);
}

.tfs-bento-content h3 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.tfs-bento-content p {
  color: var(--tfs-muted);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.7;
  transition: var(--transition);
}

.tfs-bento-card:hover .tfs-bento-content p {
  opacity: 1;
}

.tfs-bento-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8) translate(-10px, 10px);
  transition: var(--transition);
}

.tfs-bento-card:hover .tfs-bento-icon {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

/* ==========================================================================
   THE PROCESS SECTION
   ========================================================================== */
.tfs-process {
  padding: 120px 0;
  background: var(--tfs-charcoal);
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.tfs-process-header {
  text-align: center;
  margin-bottom: 80px;
}

.tfs-process-header h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 16px;
}

.tfs-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.tfs-process-step {
  padding: 40px;
  background: var(--tfs-slate);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.03);
}

.tfs-process-step .step-num {
  font-size: 14px;
  color: var(--tfs-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.tfs-process-step h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
}

.tfs-process-step p {
  color: var(--tfs-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   SERVICES (STUDIO RENTAL & PROMOTION)
   ========================================================================== */
.tfs-services {
  padding: 140px 0;
  background: var(--tfs-black);
}

.tfs-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.tfs-service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.tfs-service-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(127, 233, 255, 0.3);
  transform: translateY(-5px);
}

.tfs-service-card h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
}

.tfs-service-card .meta {
  font-size: 13px;
  color: var(--tfs-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}

.tfs-service-card p {
  color: var(--tfs-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
  flex-grow: 1;
}

/* ==========================================================================
   INNOVATION IMPACT (YOUTUBE API STATS)
   ========================================================================== */
.tfs-stats {
  padding: 100px 0;
  background: var(--tfs-charcoal);
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.tfs-stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.tfs-stats-header h2 {
  font-size: 36px;
  color: #fff;
}

.tfs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tfs-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tfs-stat-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--tfs-accent);
  filter: blur(80px);
  opacity: 0.1;
  border-radius: 50%;
}

.tfs-stat-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.tfs-stat-value {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #8b8b9f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tfs-stat-label {
  font-size: 14px;
  color: var(--tfs-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ==========================================================================
   SEO PROSE (PRE-FOOTER)
   ========================================================================== */
.tfs-seo-prose {
  padding: 100px 0;
  background: var(--tfs-black);
  text-align: center;
}

.tfs-seo-prose-inner {
  max-width: 900px;
  margin: 0 auto;
}

.tfs-seo-prose h2 {
  font-size: 16px;
  color: var(--tfs-accent);
  margin-bottom: 24px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tfs-seo-prose p {
  color: rgba(240, 240, 245, 0.5);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .tfs-bento-card.wide, .tfs-bento-card.narrow, .tfs-bento-card.half {
    grid-column: span 12;
  }
  .tfs-bento {
    grid-auto-rows: 400px;
  }
  .tfs-process-grid, .tfs-services-grid, .tfs-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tfs-hero-title {
    font-size: clamp(40px, 12vw, 60px);
  }
  .tfs-manifesto {
    padding: 100px 0;
  }
}


@media (max-width: 480px) {
  .tfs-bento-card.wide, .tfs-bento-card.narrow, .tfs-bento-card.half {
    grid-column: span 12 !important;
  }
  .tfs-cosmos-title {
    font-size: 2.5rem !important;
  }
}
