/* --- PROJECT BRIEFING MODAL (LIGHT-GLASS OVERLAY) --- */
.project-briefing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Light Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    padding: 20px;
}

.project-briefing-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.briefing-modal-card {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 40px 120px rgba(0, 102, 255, 0.08);
    border-radius: 40px;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-briefing-modal.active .briefing-modal-card {
    transform: translateY(0) scale(1);
}

.briefing-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    z-index: 10;
}

.briefing-modal-close:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: rotate(90deg);
}

.briefing-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
}

.briefing-image-side img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.05);
}

.briefing-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.briefing-text-side .hero-label {
    margin-bottom: 20px;
    display: inline-block;
}

.briefing-text-side h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.04em;
    font-weight: 800;
}

.briefing-long-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 48px;
}

.briefing-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 48px;
}

.briefing-specs .hud-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 700;
}

.briefing-specs .spec-value {
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}


@media (max-width: 991px) {
    .briefing-grid-layout {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    .briefing-image-side img {
        min-height: 300px;
    }
}

/* --- SUCCESS CHECKMARK ANIMATION --- */
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--accent);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
