/* ============================================
   CONTACT VINTAGE PARCHMENT OVERLAY (RADIAL INK SPLAT)
   ============================================ */

.parchment-contact-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  background: #f5f0e6 !important;
  background-image: radial-gradient(ellipse at center, #fcf9f2 0%, #ebe3d2 100%) !important;
  color: #1c1a17 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease !important;
  z-index: 2000 !important;
}

.parchment-contact-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.paper-contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.5s ease 0.1s;
}

#contact-overlay.active .paper-contact-layout {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.parchment-contact-overlay .paper-close {
  position: absolute;
  top: 3rem;
  right: 3rem;
  z-index: 100;
}

.contact-paper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.contact-header-logo {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1c1a17;
}

.logo-red-dot {
  color: #c93b2b;
  margin-left: 2px;
}

.contact-header-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.contact-nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: #5c5448;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
  position: relative;
}

.contact-nav-link:hover, .contact-nav-link.active {
  color: #1c1a17;
}

.contact-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1c1a17;
  border-radius: 1px;
}

.get-in-touch-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #1c1a17;
  border: 1.2px solid #3a342c;
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.get-in-touch-btn:hover {
  background: #1c1a17;
  color: #f5f0e6;
}

.contact-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
  flex: 1;
  margin-top: 1rem;
}

.contact-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-red-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #c93b2b;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-main-title {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.05;
  color: #1c1a17;
  letter-spacing: -0.02em;
}

.title-period {
  color: #1c1a17;
}

.contact-desc-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #4a433a;
  max-width: 380px;
}

.contact-script-note {
  font-family: var(--font-handwriting);
  font-size: 2.2rem;
  line-height: 1.1;
  color: #3b352e;
  position: relative;
  margin-top: 1rem;
  transform: rotate(-2deg);
}

.script-underline {
  width: 140px;
  height: 3px;
  background: #3b352e;
  margin-top: 0.4rem;
  border-radius: 2px;
}

.contact-bottom-indicator {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #8c8273;
}

/* ============================================
   RIGHT HUB: RADIAL INK SPLATTER CENTER & NODES
   ============================================ */
.contact-right-hub {
  position: relative;
  width: 540px;
  height: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-lines-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85 !important;
}

.ink-splatter-wrapper {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1) !important;
  opacity: 1 !important;
  z-index: 5;
}

.ink-splatter-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.25) brightness(0.92);
  opacity: 0.95;
  pointer-events: none;
}

#contact-overlay.active .ink-splatter-wrapper {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.ink-splatter-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.22));
}

.splatter-center-text {
  position: relative;
  z-index: 10;
  font-family: var(--font-handwriting);
  font-size: 2.6rem;
  color: #f5f0e6;
  text-align: center;
  pointer-events: none;
  transform: rotate(-3deg);
}

.center-text-underline {
  width: 75px;
  height: 2px;
  background: #f5f0e6;
  margin: 0.2rem auto 0 auto;
  border-radius: 1px;
}

/* 6 Radial Node Wrappers Positioning */
.radial-node-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 10;
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Precise Coordinate Placement around 540x540 Hub */
.node-top {
  top: 15px;
  left: 270px;
  transform: translateX(-50%) scale(1) !important;
  flex-direction: column;
  align-items: center;
}

.node-top-right {
  top: 105px;
  left: 405px;
  flex-direction: row;
  align-items: center;
}

.node-bottom-right {
  top: 375px;
  left: 405px;
  flex-direction: row;
  align-items: center;
}

.node-bottom {
  top: 468px;
  left: 270px;
  transform: translateX(-50%) scale(1) !important;
  flex-direction: column;
  align-items: center;
}

.node-bottom-left {
  top: 375px;
  left: 35px;
  flex-direction: row;
  align-items: center;
}

.node-top-left {
  top: 105px;
  left: 35px;
  flex-direction: row;
  align-items: center;
}

/* Badge Circle Styling */
.radial-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f6f1e7;
  border: 2px solid #1c1a17;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c1a17;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.radial-badge:hover {
  background: #1c1a17;
  color: #f5f0e6;
  transform: scale(1.15);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.radial-badge svg {
  width: 22px;
  height: 22px;
}

/* Non-Overlapping Text Metadata Blocks */
.node-text-block {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.text-top {
  align-items: center;
  margin-bottom: 0.6rem;
}

.text-top-right {
  align-items: flex-start;
  margin-left: 0.8rem;
}

.text-bottom-right {
  align-items: flex-start;
  margin-left: 0.8rem;
}

.text-bottom {
  align-items: center;
  margin-top: 0.6rem;
}

.text-bottom-left {
  align-items: flex-end;
  margin-right: 0.8rem;
}

.text-top-left {
  align-items: flex-end;
  margin-right: 0.8rem;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #1c1a17;
  text-transform: uppercase;
}

.meta-val {
  font-size: 0.74rem;
  color: #4a433a;
  font-weight: 600;
}

/* ---------- Comprehensive Responsive Styles (Desktop, Tablet, Mobile) ---------- */

.parchment-contact-overlay .paper-close {
  position: fixed;
  top: calc(1.5rem + var(--sat));
  right: calc(1.5rem + var(--sar));
  z-index: 2100;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .paper-contact-layout {
    padding: calc(4.5rem + var(--sat)) 1.8rem calc(5rem + var(--sab)) 1.8rem;
  }

  .contact-main-title {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }

  .contact-body-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-left-col {
    align-items: center;
    text-align: center;
  }

  .contact-desc-text {
    max-width: 520px;
    text-align: center;
  }

  .contact-script-note {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .contact-bottom-indicator {
    align-items: center;
  }
}

@media (max-width: 650px) {
  .paper-contact-layout {
    padding: calc(4rem + var(--sat)) 1rem calc(4rem + var(--sab)) 1rem;
  }

  .contact-paper-header {
    padding-bottom: 1.2rem;
  }

  .contact-main-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .contact-right-hub {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    position: relative;
  }

  .radial-lines-layer {
    display: none;
  }

  .ink-splatter-wrapper {
    display: none;
  }

  .radial-node-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(60, 50, 40, 0.15);
    border-radius: 10px;
    padding: 0.8rem;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  }

  .radial-badge {
    width: 42px;
    height: 42px;
  }

  .radial-badge svg {
    width: 18px;
    height: 18px;
  }

  .node-text-block {
    text-align: left !important;
    align-items: flex-start !important;
    margin: 0 !important;
    white-space: normal;
  }

  .meta-label {
    font-size: 0.6rem;
  }

  .meta-val {
    font-size: 0.68rem;
    word-break: break-all;
  }
}

@media (max-width: 420px) {
  .contact-right-hub {
    grid-template-columns: 1fr;
  }
}


