:root {
  --font-sans: 'Inter', system-ui, sans-serif;
  --laser-color: #00e5ff;
  --laser-glow: rgba(0, 229, 255, 0.6);
  --studio-dark: #0B0B0F;
  --studio-darker: #060608;
  --studio-beige: #D4CFC4;
  --studio-beige-light: #E8E3DA;
  --studio-beige-dark: #B8B3A8;
  --studio-text: #1A1A1A;
  --studio-text-muted: #6B6B6B;
  --studio-text-light: #A8A8A8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--studio-dark);
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--studio-dark); }
::-webkit-scrollbar-thumb {
  background: var(--studio-beige-dark);
  border-radius: 9999px;
}

.section-padding {
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) {
  .section-padding { padding: 7rem 3rem; }
}
@media (min-width: 1024px) {
  .section-padding { padding-left: 5rem; padding-right: 5rem; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.film-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.04;
  pointer-events: none;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  opacity: 0.25;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.viewfinder-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.viewfinder-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.25);
  border-style: solid;
  border-width: 0;
}
.viewfinder-corner--tl { top: 16px; left: 16px; border-top-width: 1.5px; border-left-width: 1.5px; }
.viewfinder-corner--tr { top: 16px; right: 16px; border-top-width: 1.5px; border-right-width: 1.5px; }
.viewfinder-corner--bl { bottom: 16px; left: 16px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder-corner--br { bottom: 16px; right: 16px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.viewfinder-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  opacity: 0.15;
}
.viewfinder-crosshair::before,
.viewfinder-crosshair::after {
  content: '';
  position: absolute;
  background: white;
}
.viewfinder-crosshair::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.viewfinder-crosshair::after {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.letterbox-frame { position: relative; }
.letterbox-bar {
  position: absolute;
  left: -4%;
  right: -4%;
  height: 28px;
  background: #000;
  z-index: 10;
  pointer-events: none;
}
.letterbox-bar--top { top: -28px; }
.letterbox-bar--bottom { bottom: -28px; }

.cinematic-frame {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 229, 255, 0.04);
}

.hero-title-glow {
  text-shadow: 0 0 40px rgba(212, 207, 196, 0.15);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.film-timecode {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-variant-numeric: tabular-nums;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff2d55;
  animation: recBlink 1.2s step-end infinite;
}
@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.compare-slider {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 80px rgba(0, 0, 0, 0.3);
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-divider-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--laser-glow), transparent);
  filter: blur(8px);
}
.compare-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--laser-color) 20%,
    #fff 50%,
    var(--laser-color) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 8px var(--laser-glow),
    0 0 20px var(--laser-glow),
    0 0 40px rgba(0, 229, 255, 0.2);
  animation: laserPulse 2s ease-in-out infinite;
}
@keyframes laserPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid var(--laser-color);
  color: var(--laser-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--laser-glow), 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.compare-slider:active .compare-handle,
.compare-slider:hover .compare-handle {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 30px var(--laser-glow), 0 4px 30px rgba(0, 0, 0, 0.6);
}

.compare-label {
  position: absolute;
  bottom: 16px;
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  z-index: 15;
}
.compare-label--before { left: 16px; color: #ff9500; }
.compare-label--after { right: 16px; color: #30d158; }

.compare-hint {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  z-index: 15;
  animation: hintPulse 2.5s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.7s;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.compare-readout {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 10px;
  letter-spacing: 0.15em;
  z-index: 15;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scene-picker {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  border-radius: 4px;
  outline: none;
  text-align: left;
  transition: all 0.3s;
}
.scene-picker--active .scene-thumb {
  box-shadow:
    0 0 0 2px var(--scene-color, #00e5ff),
    0 0 24px color-mix(in srgb, var(--scene-color, #00e5ff) 30%, transparent);
}
.scene-picker-dot {
  box-shadow: 0 0 8px currentColor;
  animation: recBlink 1.2s step-end infinite;
}
.scene-compare-wrap { animation: sceneFadeIn 0.4s ease-out; }
@keyframes sceneFadeIn {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.mission-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #1a1a1a, transparent);
}
.reveal.visible .mission-paragraph {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mission-paragraph { opacity: 0; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-orb--1 { animation: orbFloat 8s ease-in-out infinite; }
.services-orb--2 { animation: orbFloat 10s ease-in-out infinite reverse; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.services-title-cinematic { position: relative; display: inline-block; }
.services-title-cinematic::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, transparent);
}

.service-cinematic-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-out;
}
.service-ken-burns { animation: kenBurns 20s ease-in-out infinite alternate; }
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.service-scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
  animation: scanBeam 4s ease-in-out infinite;
  opacity: 0.5;
}
@keyframes scanBeam {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.service-card-cinematic {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 26, 26, 0.06);
}
.service-card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(26, 26, 26, 0.15);
  border-style: solid;
  border-width: 0;
}
.service-card-corner--tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.service-card-corner--br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }

.service-item-cinematic {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  opacity: 0;
  transform: translateX(-16px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.service-item-cinematic--visible { opacity: 1; transform: translateX(0); }
.service-item-cinematic:last-of-type { border-bottom: none; }
.service-item-cinematic:hover { padding-left: 8px; }
.service-item-index {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(26, 26, 26, 0.25);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  flex-shrink: 0;
  width: 24px;
}
.service-item-cinematic:hover .service-item-index { color: rgba(26, 26, 26, 0.7); }
.service-item-text {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  transition: letter-spacing 0.3s ease;
}
@media (min-width: 768px) {
  .service-item-text { font-size: 1.125rem; }
}
.service-item-cinematic:hover .service-item-text { letter-spacing: 0.04em; }
.service-item-glow {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #1a1a1a, transparent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-item-cinematic:hover .service-item-glow { width: 100%; }
.service-tagline {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.5s;
}
.service-tagline--visible { opacity: 1; transform: translateY(0); }

.poster-shine { position: relative; overflow: hidden; }
.poster-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 5;
}
.poster-shine:hover::after { transform: translateX(100%); }

.film-perforations {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 6px,
    rgba(0, 0, 0, 0.5) 6px,
    rgba(0, 0, 0, 0.5) 10px
  );
  z-index: 4;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.poster-card:hover .film-perforations { opacity: 1; }

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.contact-orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(26, 26, 26, 0.06);
  top: 10%;
  left: -10%;
  animation: contactOrb 12s ease-in-out infinite;
}
.contact-orb--2 {
  width: 250px;
  height: 250px;
  background: rgba(212, 207, 196, 0.3);
  bottom: 10%;
  right: -5%;
  animation: contactOrb 15s ease-in-out infinite reverse;
}
@keyframes contactOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.contact-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.contact-marquee-item {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding-right: 2rem;
  color: #1a1a1a;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact-headline-line {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-headline-line--visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}
.contact-card--visible { opacity: 1; transform: translateY(0); }
.contact-card:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(26, 26, 26, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(26, 26, 26, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.contact-card:hover .contact-card-icon {
  background: #1a1a1a;
  color: #d4cfc4;
  transform: scale(1.05);
}
.contact-card-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  margin-bottom: 4px;
}
.contact-card-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}
.contact-card-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  color: rgba(26, 26, 26, 0.3);
  font-size: 18px;
}
.contact-card:hover .contact-card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.contact-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.contact-card:hover .contact-card-shine { transform: translateX(100%); }

.contact-cta-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
  animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.3; width: 40px; }
  50% { opacity: 1; width: 60px; }
}

/* Admin */
.admin-input {
  width: 100%;
  background: #09090b;
  border: 1px solid #3f3f46;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-input:focus {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.2);
}
.admin-input::placeholder { color: #52525b; }
.admin-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.admin-btn--primary {
  background: #06b6d4;
  color: #09090b;
}
.admin-btn--primary:hover { background: #22d3ee; }
.admin-btn--secondary {
  background: #27272a;
  color: #d4d4d8;
  border: 1px solid #3f3f46;
}
.admin-btn--secondary:hover { background: #3f3f46; }
