/* Universal Scaling */
html { font-size: 16px; }

.logo-cell { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; font-weight: 900; }
.logo-slash { background: linear-gradient(to top right, transparent calc(50% - 1.5px), #3D2622 50%, transparent calc(50% + 1.5px)); }

#intake-modal.open { display: flex !important; }
.form-step { display: none; }
.form-step.active { display: block; }
.review-slide { display: none; }
.review-slide.active { display: block; }

.bg-backdrop { background-size: cover; background-position: center; background-repeat: no-repeat; }
.font-mono-matriarchy { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; }

/* Validation UI */
.err-text { display: block; color: #8B3A2B; font-family: ui-monospace, monospace; font-size: 0.75rem; font-weight: 700; margin-top: 0.25rem; opacity: 0; transition: opacity 0.2s ease; }
input.invalid, textarea.invalid { border-color: #8B3A2B !important; }
input.invalid + .err-text, textarea.invalid + .err-text { opacity: 1; }

@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.shake { animation: shake 0.2s ease-in-out 0s 2; }

/* Wireframe Hero */
.hero-wireframes { position: relative; background-image: url('./assets/images/hero-bg.jpg'); background-size: cover; background-position: center; }
.hero-wireframes::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background-image: 
        linear-gradient(#F8C8A0 1.5px, transparent 1.5px),
        linear-gradient(90deg, #F8C8A0 1.5px, transparent 1.5px),
        linear-gradient(rgba(248, 200, 160, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 200, 160, 0.2) 1px, transparent 1px);
    background-size: 15rem 15rem, 15rem 15rem, 3rem 3rem, 3rem 3rem;
    background-position: center center; opacity: 0.6;
}