/* ==========================================================================
   JFREITAS • ARQUITETURA, VISTORIAS, LAUDOS & PERÍCIAS TÉCNICAS
   CAU A327000-9 • São Paulo e Região
   Editorial High-End Architecture • Anti-AI Minimalist Signature
   ========================================================================== */

:root {
  --bg-deep: #030813;
  --bg-navy: #050e1f;
  --bg-surface-glass: rgba(5, 14, 30, 0.72);
  --silver-white: #ffffff;
  --silver-bright: #e2e8f0;
  --silver-soft: #94a3b8;
  --silver-border: rgba(226, 232, 240, 0.12);
  --silver-border-active: rgba(226, 232, 240, 0.32);
  --accent-cyan: #38bdf8;
  --accent-cyan-subtle: rgba(56, 189, 248, 0.15);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Plus Jakarta Sans', sans-serif;
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --spot-x: 45%;
  --spot-y: 68%;
}

/* Base Reset & Crisp Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-deep);
  overflow-y: scroll;
  scroll-behavior: auto !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-deep);
  color: var(--silver-bright);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, video {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Custom Magnetic Cursor (Desktop only) */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--silver-white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.25s ease;
  opacity: 0;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(226, 232, 240, 0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, opacity 0.25s ease;
  opacity: 0;
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Physical Scroll Track */
.scroll-track {
  width: 100%;
  height: 750vh;
  position: relative;
  display: block;
  pointer-events: none;
}

/* FIXED STAGE VIEWPORT */
.stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  perspective: 1200px;
  pointer-events: none;
  z-index: 10;
  background-color: var(--bg-deep);
}

/* Backdrop Ambience */
.stage-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ambient-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 30%, rgba(14, 46, 92, 0.40) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(6, 24, 52, 0.45) 0%, transparent 50%),
    linear-gradient(to bottom, #030813 0%, #050e1f 50%, #030813 100%);
}

.blueprint-grid-subtle {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.film-grain {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(3, 8, 19, 0.85) 100%);
  pointer-events: none;
}

/* ==========================================================================
   STUDIO HEADER
   ========================================================================== */
.studio-header {
  position: absolute;
  top: 24px;
  left: 32px;
  right: 32px;
  height: 60px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  padding: 0 16px 0 14px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--silver-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.4s var(--ease-cinematic);
  box-sizing: border-box;
}

.studio-header.is-docked {
  opacity: 1;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-dock-anchor {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--silver-white);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  letter-spacing: 0.10em;
  color: var(--silver-soft);
  margin-top: 2px;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.nav-item {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--silver-soft);
  cursor: pointer;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
  color: var(--silver-white);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--silver-white);
  transition: width 0.25s ease;
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.location-tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--silver-soft);
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .location-tag {
    display: none;
  }
}

.btn-direct-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--silver-border-active);
  background: transparent;
  color: var(--silver-white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-direct-contact:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.btn-direct-contact svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

/* Minimal Progress Indicator (Desktop) */
.minimal-progress {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.progress-line {
  width: 1px;
  height: 140px;
  background: rgba(226, 232, 240, 0.15);
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--silver-white);
  transition: height 0.04s linear;
}

.progress-phase {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--silver-soft);
  text-transform: uppercase;
}

/* ==========================================================================
   ACT 1 & 2: 4K VIDEO SCRUBBING LAYER
   ========================================================================== */
.video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.video-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ACT 1: HERO EDITORIAL (Vidro Transparente com Borda Infinita & Desfocada) */
.hero-editorial {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  padding: 48px 64px 36px 64px;
  background: radial-gradient(ellipse 960px 600px at center, rgba(3, 8, 19, 0.76) 0%, rgba(3, 8, 19, 0.50) 55%, transparent 95%);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  mask-image: radial-gradient(ellipse 1000px 640px at center, black 45%, rgba(0,0,0,0.85) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 1000px 640px at center, black 45%, rgba(0,0,0,0.85) 70%, transparent 100%);
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.hero-label-wrap {
  margin-bottom: 24px;
}

.editorial-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--silver-bright);
  padding: 6px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.25);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--silver-white);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
}

.line-mask {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: block;
  transform: translateY(0%);
  transition: transform 0.8s var(--ease-cinematic);
}

.font-accent {
  font-style: italic;
  font-weight: 400;
  color: #e2e8f0;
}

.hero-subline {
  margin-top: 24px;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--silver-bright);
  max-width: 680px;
  font-weight: 300;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.scroll-cue {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.scroll-arrow-line {
  width: 1px;
  height: 44px;
  background: rgba(226, 232, 240, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line-draw {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--silver-white);
  animation: lineDraw 2.4s infinite;
}

@keyframes lineDraw {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0%); }
  100% { transform: translateY(100%); }
}

.scroll-cue-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--silver-soft);
  text-transform: uppercase;
}

/* ==========================================================================
   ACT 3: METAMORPHIC MONOGRAM LOGO
   ========================================================================== */
.metamorphic-logo-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.metamorphic-logo-badge {
  width: min(440px, 78vw);
  height: min(440px, 78vw);
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95));
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

/* ==========================================================================
   ACT 4: THE HOUSE MODEL STAGE & FORENSIC OPTICAL GLASS
   ========================================================================== */
.house-model-stage {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.model-aspect-container {
  position: relative;
  width: min(100vw, calc(100vh * (16 / 9)));
  height: min(100vh, calc(100vw * (9 / 16)));
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #030813;
}

.model-image {
  display: none !important;
}

/* Contextual Architectural Service Slides Deck (4K Discipline Scenes) */
.service-slides-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.service-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
  background: #030813;
}

.service-slide.is-active {
  opacity: 1 !important;
}

.service-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.90 !important;
  filter: blur(5px) brightness(0.92);
  transform: scale(1.06);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Frosted Glass Overlay & Target Reticles - Disabled for 100% Sharp 4K Discipline Imagery */
.vitric-lens-overlay,
.forensic-reticle,
.model-scan-beam {
  display: none !important;
}

.reticle-core-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(226, 232, 240, 0.32);
  border-radius: 50%;
}

.reticle-pulse-ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 50%;
  animation: reticlePulse 3.5s ease-out infinite;
}

@keyframes reticlePulse {
  0% { transform: scale(0.96); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

.model-scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--silver-white) 50%, transparent);
  box-shadow: 0 0 15px var(--accent-cyan);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

/* Pins (Locked inside 16:9 model-frame) */
.model-pins-layer,
.editorial-pin {
  display: none !important;
}

.pin-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
  animation: pinPulse 2.4s infinite ease-out;
}

@keyframes pinPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.35); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.85; }
}

.pin-dot {
  width: 7px;
  height: 7px;
  background-color: var(--silver-white);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.editorial-pin:hover .pin-ring, .editorial-pin.active .pin-ring {
  border-color: var(--accent-cyan);
  transform: scale(1.35);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.7);
  animation: none;
}

.editorial-pin:hover .pin-dot, .editorial-pin.active .pin-dot {
  background-color: var(--accent-cyan);
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--accent-cyan);
}

/* ==========================================================================
   ACT 5: INFINITE BLEED EDITORIAL OVERLAY (Zero Card Box, Anti-AI Aesthetic)
   [1] "borda infinita pra não parecer que esse texto ta dentro de um card"
   [4] "dependendo do ponto de foco o cardizinho precisa aparecer em outro canto"
   ========================================================================== */
.editorial-stage-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(450px, 38vw, 590px);
  z-index: 35;
  pointer-events: none;
  opacity: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-50%) translate3d(72px, 0, 0);
  transition: opacity 0.5s var(--ease-cinematic), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smart Counter-Positioning via GPU translate3d (No snap, 120fps glide) */
.editorial-stage-overlay[data-side="left"] {
  transform: translateY(-50%) translate3d(72px, 0, 0);
  text-align: left;
}

.editorial-stage-overlay[data-side="right"] {
  transform: translateY(-50%) translate3d(calc(100vw - 100% - 72px), 0, 0);
  text-align: left;
}

.editorial-stage-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Infinite Ambient Vignette Bleed (Deep Contrast, Zero Card Box, Zero Outlines) */
.editorial-overlay-inner {
  background: radial-gradient(ellipse 600px 500px at center, rgba(3, 8, 19, 0.94) 0%, rgba(3, 8, 19, 0.82) 55%, rgba(3, 8, 19, 0.40) 80%, transparent 100%);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Architectural Index Navigation */
.architectural-tabs-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--silver-border);
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.architectural-tabs-nav::-webkit-scrollbar {
  display: none;
}

.dock-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--silver-soft);
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 0;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.dock-tab:hover {
  color: var(--silver-white);
}

.dock-tab.is-active {
  color: var(--silver-white);
  border-bottom-color: var(--accent-cyan);
}

.tab-index {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.dock-body {
  position: relative;
}

.dock-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.dock-panel.is-active {
  display: flex;
  animation: panelFade 0.45s var(--ease-cinematic) forwards;
}

@keyframes panelFade {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.panel-discipline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Monumental Editorial Headline in Cormorant Garamond */
.panel-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--silver-white);
}

.panel-description {
  font-family: var(--font-sans);
  font-size: 0.90rem;
  line-height: 1.65;
  color: var(--silver-soft);
  font-weight: 300;
}

.service-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 4px;
}

.service-pill {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--silver-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-pill::before {
  content: '—';
  color: var(--accent-cyan);
}

.panel-metrics-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--silver-border);
  padding-top: 14px;
}

.metric-callout {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 12px;
}

.metric-val {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--silver-white);
  letter-spacing: 0.04em;
}

.metric-lbl {
  font-size: 0.62rem;
  color: var(--silver-soft);
  line-height: 1.25;
}

/* [2] Bespoke Architectural Action Link (Zero Rounded Corners) */
.editorial-action-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0 8px 0;
  border: none;
  border-bottom: 1px solid var(--silver-white);
  background: transparent;
  color: var(--silver-white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
  align-self: flex-start;
  transition: all 0.25s ease;
}

.editorial-action-link:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  padding-left: 6px;
}

.editorial-action-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.editorial-action-link:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   ACT 6: FINAL CONTACT EDITORIAL STAGE (Infinite Bleed Architecture)
   [1] Zero ghost clicks: completely detached from hit-testing when inactive
   [2] & [3] Infinite bleed: no boxed cards, no enclosing rectangular borders
   ========================================================================== */
.contact-dock {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: none !important;
  visibility: hidden !important;
  opacity: 0;
  pointer-events: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 19, 0.84) !important;
  backdrop-filter: blur(24px) brightness(0.45);
  -webkit-backdrop-filter: blur(24px) brightness(0.45);
  padding: 30px 24px;
  overflow-y: auto;
  transition: opacity 0.5s var(--ease-cinematic);
}

.contact-dock.is-active {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.contact-dock * {
  pointer-events: inherit;
}

/* Infinite Bleed Container (Deep Architectural Contrast & Zero Card Box) */
.contact-editorial-bleed {
  width: clamp(360px, 66vw, 860px);
  background: radial-gradient(ellipse 820px 650px at center, rgba(3, 8, 19, 0.98) 0%, rgba(3, 8, 19, 0.94) 55%, rgba(3, 8, 19, 0.65) 85%, transparent 100%);
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
}

.contact-editorial-bleed::-webkit-scrollbar {
  display: none;
}

.contact-top-editorial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.contact-discipline-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.cau-bullet {
  color: var(--silver-soft);
  opacity: 0.5;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--silver-white);
}

.contact-lead {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--silver-soft);
  font-weight: 300;
  max-width: 720px;
}

/* Architectural Editorial Action CTA */
.contact-cta-action {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.editorial-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--silver-white);
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  pointer-events: auto;
}

.editorial-contact-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15);
}

.editorial-contact-btn svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.editorial-contact-btn:hover svg {
  transform: translateX(4px);
}

.editorial-contact-btn--email {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.22);
  color: var(--silver-soft);
}

.editorial-contact-btn--email:hover {
  background: rgba(56, 189, 248, 0.10);
  border-color: rgba(56, 189, 248, 0.5);
  color: var(--silver-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.editorial-contact-btn--email svg {
  color: var(--silver-soft);
}

.editorial-contact-btn--email:hover svg {
  color: var(--accent-cyan);
}

/* Footer Channels Row (Email & Instagram) */
.footer-channels-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.footer-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-channel-link svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}

.footer-email-link {
  color: var(--silver-white);
}

.footer-email-link svg {
  color: var(--accent-cyan);
}

.footer-email-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.footer-instagram-link {
  color: var(--accent-cyan);
}

.footer-instagram-link svg {
  color: var(--accent-cyan);
}

.footer-instagram-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-channel-dot {
  color: rgba(226, 232, 240, 0.25);
  font-size: 0.60rem;
}

/* Contact Channel Action Rows (Infinite Bleed with Hairline Separators) */
.contact-channels-editorial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.contact-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  text-decoration: none;
  background: rgba(226, 232, 240, 0.03);
  border: none;
  border-bottom: 1px solid var(--silver-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  pointer-events: auto;
}

.contact-action-row:hover {
  background: rgba(56, 189, 248, 0.08);
  border-bottom-color: var(--accent-cyan);
  padding-left: 26px;
}

.channel-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.4);
  flex-shrink: 0;
}

.channel-icon-circle svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
}

.channel-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: #030813;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.channel-info-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-tag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--silver-soft);
  text-transform: uppercase;
  font-weight: 500;
}

.channel-value {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--silver-white);
  letter-spacing: 0.02em;
}

.channel-arrow-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-soft);
  transition: all 0.25s ease;
}

.channel-action-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--silver-soft);
}

.channel-arrow-wrap svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-action-row:hover .channel-arrow-wrap {
  color: var(--accent-cyan);
}

.contact-action-row:hover .channel-action-hint {
  color: var(--accent-cyan);
}

.contact-action-row:hover .channel-arrow-wrap svg {
  transform: translateX(6px);
  color: var(--accent-cyan);
}

/* 14 Official Services Directory (Hairline Architectural Grid) */
.services-directory-editorial {
  border-top: 1px solid var(--silver-border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.directory-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.directory-title {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

.directory-count {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--silver-soft);
  opacity: 0.8;
}

.directory-grid-editorial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.dir-item {
  font-size: 0.76rem;
  color: var(--silver-soft);
  line-height: 1.4;
  font-weight: 300;
}

.dir-item span {
  color: var(--accent-cyan);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-right: 6px;
}

.contact-footer-editorial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--silver-border);
  padding-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--silver-soft);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-brand {
  font-weight: 600;
  color: var(--silver-white);
  letter-spacing: 0.06em;
}

.legal-cau {
  font-size: 0.60rem;
  color: var(--silver-soft);
  letter-spacing: 0.08em;
}

.footer-back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--silver-soft);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 6px 0;
}

.footer-back-to-top:hover {
  color: var(--silver-white);
  padding-right: 4px;
}

.footer-back-to-top svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.footer-back-to-top:hover svg {
  transform: translateY(-3px);
  color: var(--accent-cyan);
}

/* ==========================================================================
   PERMANENT FLOATING VITRIC QUICK-ACTION HUB (Across All Moments)
   [4] Official profile photo avatar for Instagram!
   ========================================================================== */
.floating-contact-hub {
  display: none !important;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  text-decoration: none;
  background: rgba(4, 14, 32, 0.78);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(226, 232, 240, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
  border-radius: 0 !important;
}

.float-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 20, 44, 0.92);
}

.float-icon-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 232, 240, 0.08);
}

.float-whatsapp .float-icon-box svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
}

/* [4] Official Profile Avatar for Instagram */
.float-avatar-box {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  background: #030813;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  display: block;
}

.float-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.float-badge {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--silver-soft);
}

.float-info {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--silver-white);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1023px) {
  .studio-header {
    top: 16px;
    left: 16px;
    right: 16px;
    height: 56px;
    padding: 0 16px 0 12px;
  }
  
  .header-nav, .location-tag, .header-cau-tag {
    display: none;
  }

  .minimal-progress {
    display: none;
  }

  .btn-direct-contact {
    padding: 6px 12px;
    font-size: 0.68rem;
  }

  .editorial-stage-overlay {
    width: clamp(340px, 44vw, 440px);
  }

  .editorial-stage-overlay[data-side="left"] {
    transform: translateY(-50%) translate3d(24px, 0, 0);
  }

  .editorial-stage-overlay[data-side="right"] {
    transform: translateY(-50%) translate3d(calc(100vw - 100% - 24px), 0, 0);
  }

  .floating-contact-hub {
    bottom: 20px;
    right: 20px;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .studio-header {
    top: 10px;
    left: 10px;
    right: 10px;
    height: 48px;
    padding: 0 10px;
    gap: 8px;
  }

  .logo-dock-anchor {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .header-brand-text {
    overflow: hidden;
  }

  .brand-title {
    font-size: 0.80rem;
    letter-spacing: 0.08em;
  }

  .brand-sub {
    display: none;
  }

  .btn-direct-contact {
    padding: 6px 10px;
    font-size: 0.62rem;
    flex-shrink: 0;
    gap: 6px;
  }

  .btn-direct-contact svg:last-child {
    display: none;
  }

  .hero-content {
    padding: 32px 18px 24px 18px;
    background: radial-gradient(ellipse 390px 480px at center, rgba(3, 8, 19, 0.82) 0%, rgba(3, 8, 19, 0.55) 60%, transparent 100%);
    backdrop-filter: blur(14px) saturate(125%);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
    mask-image: radial-gradient(ellipse 400px 500px at center, black 50%, rgba(0,0,0,0.85) 75%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 400px 500px at center, black 50%, rgba(0,0,0,0.85) 75%, transparent 100%);
  }

  .hero-headline {
    font-size: clamp(2.0rem, 8vw, 2.6rem);
    line-height: 1.15;
  }
  
  .hero-subline {
    font-size: 0.85rem;
    margin-top: 14px;
    padding: 0 10px;
  }
  
  .scroll-cue {
    margin-top: 24px;
  }
  
  .scroll-arrow-line {
    height: 30px;
  }

  .house-model-stage {
    align-items: flex-start;
    padding-top: 72px;
  }

  .model-aspect-container {
    width: 100vw;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 42vh;
  }

  .editorial-pin {
    width: 26px;
    height: 26px;
  }

  .pin-dot {
    width: 7px;
    height: 7px;
  }

  .pin-label {
    display: none;
  }

  .forensic-reticle {
    width: 100px;
    height: 100px;
  }

  /* Bottom drawer on mobile */
  .editorial-stage-overlay,
  .editorial-stage-overlay[data-side="left"],
  .editorial-stage-overlay[data-side="right"] {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    transform: translateY(60px);
    max-height: 50vh;
  }

  .editorial-stage-overlay.is-active {
    transform: translateY(0);
  }

  .editorial-overlay-inner {
    padding: 12px 14px;
    gap: 8px;
    max-height: 48vh;
    overflow-y: auto;
  }

  .panel-heading {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .panel-description {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .panel-metrics-row {
    gap: 12px;
    padding-top: 10px;
  }

  .metric-val {
    font-size: 0.85rem;
  }

  .metric-lbl {
    font-size: 0.55rem;
  }

  .contact-dock {
    padding: 16px 12px;
  }

  .contact-editorial-bleed {
    width: 100%;
    padding: 24px 18px;
    gap: 16px;
    max-height: 86vh;
  }
  
  .contact-heading {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .contact-lead {
    font-size: 0.82rem;
  }

  .contact-cta-action {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .editorial-contact-btn {
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.76rem;
  }
  
  .contact-action-row {
    padding: 12px 14px;
    gap: 12px;
  }

  .channel-value {
    font-size: 0.88rem;
  }

  .channel-action-hint {
    display: none;
  }

  .directory-grid-editorial {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .contact-footer-editorial {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .footer-channels-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-channel-dot {
    display: none;
  }

  .floating-contact-hub {
    bottom: 84px;
    right: 12px;
    gap: 8px;
  }

  .float-btn {
    padding: 6px;
  }

  .float-content {
    display: none;
  }
}

/* Lenis smooth scroll (recommended base styles) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
