/* twenty5zero5 Treatment Styles */
/* Placeholder — treatments will be built incrementally in future sessions */

/* ========================================
   TREATMENT CONTAINER
   All treatments are applied as overlays via data-attributes
   ======================================== */

/* Block positioning for treatment overlays */
[data-type] {
  position: relative;
}

/* ========================================
   T0 - CLEAN
   No visual treatments
   ======================================== */
/* T0 has no CSS — it's the absence of treatments */

/* ========================================
   T1 - OSCILLATING EDGE
   SVG paths creating irregular, hand-drawn edge effect
   ======================================== */
/* SVG overlay - exact match from specimen */
.treatment-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Ensure parent block has overflow visible */
[data-treatments*="T1"] {
  overflow: visible !important;
}

/* ========================================
   T2 - BORDER WEIGHT
   To be implemented
   ======================================== */

/* ========================================
   T3 - HALFTONE DISSOLUTION
   To be implemented
   ======================================== */

/* ========================================
   T4 - MISREGISTRATION LINES
   To be implemented
   ======================================== */

/* ========================================
   T5 - SPEC ANNOTATIONS
   Design specifications floating at block edges
   ======================================== */
.treatment-t5 {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

/* SVG styles for annotations */
.treatment-t5 svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Ensure parent block has overflow visible */
[data-treatments*="T5"] {
  overflow: visible !important;
}

/* ========================================
   T6a - DUMBAR FRAGMENTS
   To be implemented
   ======================================== */

/* ========================================
   T6b - CARSON LAYERING
   Large background typography behind content
   ======================================== */
.treatment-t6b {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.treatment-t6b-text {
  position: absolute;
  font-size: 180px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.85;
  color: var(--construction);
  opacity: 0.15;
  white-space: nowrap;
  user-select: none;
}

/* Ensure content sits above treatment */
[data-type] > *:not(.treatment-t6b) {
  position: relative;
  z-index: 1;
}

/* ========================================
   BG1 - BUBBLE SYSTEM
   Canvas-based organic shapes
   ======================================== */
.bubble-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* ========================================
   PX1 - PARALLAX SCROLL
   Blur + tilt + movement
   ======================================== */
.parallax-container {
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.parallax-card {
  will-change: transform, filter;
  position: relative;
  transition: transform 0.1s ease-out, filter 0.1s ease-out;
}

.parallax-treatment-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.parallax-content {
  position: relative;
  z-index: 2;
}
