body {
    background-color: #f4f2ed;
    color: #111111;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-style: normal !important;
    text-transform: none !important;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f4f2ed; }
::-webkit-scrollbar-thumb { background: #d1cdc1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b5b0a1; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.reveal-text { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
.reveal-text span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}
.reveal-text.active span { transform: translateY(0); opacity: 1; }

.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.active { opacity: 1; transform: translateY(0); }

/* Slight scroll reveal animation requested by user */
.reveal-slight {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-slight.active {
    opacity: 1;
    transform: translateY(0);
}

.signature-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawSignature 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}
@keyframes drawSignature {
    to { stroke-dashoffset: 0; }
}

.logo-monogram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.logo-monogram .s-1, .logo-monogram .s-2 {
    position: absolute;
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 32px;
    color: #b58d7b;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-monogram .s-1 {
    transform: translate(-4px, -4px);
    opacity: 0.9;
}
.logo-monogram .s-2 {
    transform: translate(4px, 4px);
    opacity: 0.7;
}
.logo-monogram:hover .s-1 {
    transform: translate(-6px, -6px);
    opacity: 1;
}
.logo-monogram:hover .s-2 {
    transform: translate(6px, 6px);
    opacity: 0.8;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f4f2ed inset !important;
    -webkit-text-fill-color: #111111 !important;
}

.ruled-bg {
    background-color: #fbf9f4;
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(0,0,0,0.04) 31px, rgba(0,0,0,0.04) 32px);
    background-position: 0 16px;
}

.shadow-note {
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.08), 0 5px 15px -5px rgba(0,0,0,0.03);
}

/* Testimonial Transition */
.testimonial-content {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.testimonial-fade-out {
    opacity: 0;
    transform: translateY(10px);
}
