/* ══════════════════════════════
   TATAGON VISUAL PAGE
   Same design tokens as style.css
   Different energy: cinematic, quiet, image-heavy
══════════════════════════════ */

/* ── Override nav logo text for Visual ── */
.logo-text span { color: var(--text-secondary-dark); font-weight: 400; }

/* ── Visual CTA in nav ── */
.tv-nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid rgba(0,200,240,0.3);
  border-radius: 4px;
  transition: all 0.25s;
}
.tv-nav-cta:hover {
  background: rgba(0,200,240,0.08);
  border-color: var(--blue);
}


/* ══════════════════════════════
   SHARED
══════════════════════════════ */
.tv-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.tv-section-head { margin-bottom: 56px; }
.tv-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.tv-section-title {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary-dark);
}
.tv-section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary-dark);
  max-width: 540px;
  margin-top: 16px;
}
.accent-text { color: var(--blue); }


/* ══════════════════════════════
   1. HERO — Full-bleed cinematic
══════════════════════════════ */
.tv-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.tv-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tv-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.tv-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,13,17,0.3) 0%,
      rgba(10,13,17,0.1) 30%,
      rgba(10,13,17,0.4) 60%,
      rgba(10,13,17,0.92) 100%),
    linear-gradient(90deg,
      rgba(10,13,17,0.6) 0%,
      rgba(10,13,17,0.0) 50%);
}
.tv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}
.tv-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
}
.tv-eyebrow-mark { flex-shrink: 0; opacity: 0.7; }
.tv-hero-title {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary-dark);
  margin-bottom: 24px;
}
.tv-title-line {
  display: block;
  overflow: hidden;
}
.tv-title-accent { color: var(--blue); }
.tv-hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary-dark);
  max-width: 480px;
  margin-bottom: 32px;
}
.tv-hero-cta { display: flex; gap: 12px; }
.tv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark);
  background: var(--blue);
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s;
}
.tv-btn-primary:hover {
  background: #1ad2f5;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,200,240,0.25);
}
.tv-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  color: var(--text-muted-dark);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: tvScrollBounce 2.5s ease-in-out infinite;
}
@keyframes tvScrollBounce {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}


/* ══════════════════════════════
   2. PROJECTS / GALLERY
══════════════════════════════ */
.tv-projects {
  background: var(--dark);
  padding: 100px 0 80px;
}
.tv-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 0 4px;
}
.tv-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}
.tv-gallery-wide {
  grid-column: span 2;
  aspect-ratio: 21/9;
}
.tv-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.tv-gallery-item:hover img {
  transform: scale(1.03);
}
.tv-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,13,17,0.7) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}
.tv-gallery-item:hover .tv-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.tv-caption-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.tv-caption-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary-dark);
}

/* Clip-path reveal — GSAP sets initial state */
.tv-reveal {
  clip-path: inset(100% 0% 0% 0%);
  will-change: clip-path;
}
.tv-reveal.is-revealed {
  clip-path: inset(0% 0% 0% 0%);
}


/* ══════════════════════════════
   3. SERVICES
══════════════════════════════ */
.tv-services {
  background: var(--dark-2);
  padding: 100px 0;
}
.tv-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}
.tv-service-card {
  padding: 36px 28px;
  background: var(--dark);
  border-left: 2px solid transparent;
  transition: all 0.3s;
}
.tv-service-card:hover {
  border-left-color: var(--blue);
  background: var(--dark-3);
}
.tv-service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  margin-bottom: 14px;
  opacity: 0.6;
}
.tv-service-card h3 {
  font-family: 'League Spartan', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary-dark);
  margin-bottom: 10px;
}
.tv-service-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary-dark);
}


/* ══════════════════════════════
   4. PROCESS
══════════════════════════════ */
.tv-process {
  background: var(--dark);
  padding: 100px 0;
}
.tv-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.tv-step {
  padding: 0 28px;
  position: relative;
}
.tv-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 500;
  color: rgba(0,200,240,0.15);
  margin-bottom: 16px;
  line-height: 1;
}
.tv-step-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), rgba(0,200,240,0.1));
  margin-bottom: 20px;
}
.tv-step-body h3 {
  font-family: 'League Spartan', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary-dark);
  margin-bottom: 8px;
}
.tv-step-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary-dark);
}


/* ══════════════════════════════
   5. CONTACT
══════════════════════════════ */
.tv-contact {
  background: var(--dark-2);
  padding: 100px 0;
}
.tv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tv-contact-channels { margin-top: 36px; }
.tv-wa-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-primary-dark);
  transition: all 0.25s;
  margin-bottom: 14px;
}
.tv-wa-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}
.tv-wa-btn svg { color: #25D366; flex-shrink: 0; }
.tv-wa-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.tv-wa-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted-dark);
  margin-top: 2px;
}
.tv-email-link {
  font-size: 13px;
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.tv-email-link:hover { color: var(--blue); }

/* Form */
.tv-form { display: flex; flex-direction: column; gap: 18px; }
.tv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tv-form-group { display: flex; flex-direction: column; gap: 6px; }
.tv-form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}
.tv-form-group input,
.tv-form-group select,
.tv-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: var(--text-primary-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.2s;
  outline: none;
}
.tv-form-group input:focus,
.tv-form-group select:focus,
.tv-form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,200,240,0.08);
}
.tv-form-group select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300C8F0" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}
.tv-form-group textarea { resize: vertical; min-height: 120px; }
.tv-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  background: var(--blue);
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
}
.tv-btn-submit:hover {
  background: #1ad2f5;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,200,240,0.25);
}
.tv-form-note {
  font-size: 11px;
  color: var(--text-muted-dark);
  text-align: center;
}


/* ══════════════════════════════
   6. LAB BRIDGE
══════════════════════════════ */
.tv-lab-link {
  background: var(--dark);
  padding: 48px 0;
  border-top: 1px solid var(--border-dark);
}
.tv-lab-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tv-lab-bridge-text {
  font-size: 14px;
  color: var(--text-muted-dark);
}
.tv-lab-bridge-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s;
}
.tv-lab-bridge-cta:hover { opacity: 0.7; }


/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .tv-section-inner { padding: 0 20px; }
  .tv-hero { padding-bottom: 60px; }
  .tv-hero-content { padding: 0 20px; }
  .tv-hero-title { font-size: clamp(36px, 10vw, 56px); }
  .tv-gallery { grid-template-columns: 1fr; }
  .tv-gallery-wide { grid-column: span 1; aspect-ratio: 16/10; }
  .tv-gallery-caption { opacity: 1; transform: translateY(0); }
  .tv-process-steps { grid-template-columns: 1fr; gap: 36px; }
  .tv-step { padding: 0; }
  .tv-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .tv-form-row { grid-template-columns: 1fr; }
  .tv-services-grid { grid-template-columns: 1fr; }
  .tv-projects { padding: 60px 0 40px; }
  .tv-services,
  .tv-process,
  .tv-contact { padding: 60px 0; }
}
@media (max-width: 480px) {
  .tv-hero-title { font-size: 34px; }
  .tv-hero-sub { font-size: 14px; }
  .tv-nav-cta { display: none; }
  .tv-lab-bridge { flex-direction: column; text-align: center; }
}
