/* ==========================================================================
   SCARFACE VFX — OSLO, NORWAY
   Cinematic Studio & VFX Architecture Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --color-bg: #0d0d0d;
  --color-surface-lowest: #0a0a0a;
  --color-surface: #131313;
  --color-surface-card: #181818;
  --color-surface-border: #262626;
  --color-accent: #ddee1e;
  --color-accent-chartreuse: #e2f326;
  --color-cream: #ede9dc;
  --color-cream-muted: #9b9990;
  --color-light-sand: #f2efe9;
  --font-syne: 'Syne', sans-serif;
  --font-grotesk: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-cream);
  font-family: var(--font-sans);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-accent);
  color: #000000;
}

/* Font helpers */
.font-syne { font-family: var(--font-syne); }
.font-grotesk { font-family: var(--font-grotesk); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

/* Signature Architectural Stacked Typography for SCARFACE */
.hero-mask-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.78;
  user-select: none;
}

.hero-cutout-top {
  clip-path: ellipse(54% 48% at 50% 102%);
  opacity: 0.35;
  transform: perspective(600px) rotateX(16deg) scale(0.97);
  filter: blur(0.4px);
}

.hero-cutout-bottom {
  clip-path: ellipse(54% 48% at 50% -2%);
  opacity: 0.32;
  transform: perspective(600px) rotateX(-16deg) scale(0.97);
  filter: blur(0.4px);
}

.hero-main-title {
  text-shadow: 0 10px 40px rgba(0,0,0,0.9), 0 0 80px rgba(221, 238, 30, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-main-title:hover {
  transform: scale(1.015) translateY(-2px);
}

/* Footer Monolith Watermark Typography - Non-clipping, responsive */
.footer-mask-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  user-select: none;
  line-height: 0.85;
  overflow: hidden;
}

.footer-cutout-top {
  font-family: var(--font-syne);
  font-weight: 900;
  font-size: clamp(2.2rem, 7vw, 7.2rem) !important;
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  opacity: 0.35;
  clip-path: ellipse(75% 55% at 50% 102%);
  -webkit-clip-path: ellipse(75% 55% at 50% 102%);
  transform: perspective(600px) rotateX(16deg) scale(0.98);
  filter: blur(0.4px);
}

.footer-main-watermark {
  font-family: var(--font-syne);
  font-weight: 900;
  font-size: clamp(2.4rem, 7.5vw, 7.6rem) !important;
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  margin-top: -0.22em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Film Grain Texture */
.film-grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 4px 4px;
}

/* Gradients and Shadows */
.film-gradient-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.9) 100%);
}

.card-cinematic-shadow {
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06);
}

.lens-glow {
  box-shadow: 0 0 35px rgba(221, 238, 30, 0.25);
}

.optical-glow:hover {
  box-shadow: 0 0 24px rgba(226, 243, 38, 0.22);
}

.hairline-border {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hairline-border-b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hairline-border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Service row hover */
.service-row-border {
  border-bottom: 1px solid #1a1a1a;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-border:hover {
  background-color: #171717;
  padding-left: 1rem;
}

/* Before / After Interactive Slider */
.ba-slider-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  --clip-pos: 50%;
}

.ba-slider-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  clip-path: inset(0 calc(100% - var(--clip-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--clip-pos, 50%)) 0 0);
}

.ba-slider-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: var(--clip-pos, 50%);
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: 0 0 18px rgba(221, 238, 30, 0.6);
  pointer-events: none;
  font-weight: bold;
}

.ba-slider-handle::before {
  content: '';
  position: absolute;
  top: -1000px;
  bottom: -1000px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(221, 238, 30, 0.5);
  pointer-events: none;
}

/* Material symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* ==========================================================================
   Astra Theme Header & Footer Suppression
   ========================================================================== */
.site-header,
#ast-desktop-header,
#ast-mobile-header,
.site-footer,
.ast-footer-builder,
.ast-above-header-wrap,
.ast-below-header-wrap,
.ast-mobile-header-wrap,
.entry-header {
  display: none !important;
}

/* ==========================================================================
   Contact Section & Inquiry Form Overrides (Astra Theme Compatibility)
   ========================================================================== */
#contact .lg\:col-span-5 h2 {
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: manual !important;
}

#contact input[type="text"],
#contact input[type="email"],
#contact select,
#contact textarea {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #000000 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  outline: none !important;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: rgba(0, 0, 0, 0.45) !important;
}

#contact input:focus,
#contact textarea:focus,
#contact select:focus {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}


