/* Generated by scripts/build-agreement.py. Edit the original assets and rebuild. */
/* Source: assets/site-base.css */

        :root {
            --primary: #8e44ad;
            --secondary: #9b59b6;
            --accent: #e74c3c;
            --light: #f9f9f9;
            --dark: #2c3e50;
            --text: #34495e;
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text);
            background-color: var(--light);
            overflow-x: hidden;
            line-height: 1.6;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            color: var(--dark);
        }
        
        a {
            text-decoration: none;
            color: var(--primary);
            transition: all 0.3s ease;
        }
        
        a:hover {
            color: var(--accent);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 20px 0;
            transition: all 0.3s ease;
        }
        
        header.scrolled {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--light);
            display: flex;
            align-items: center;
        }
        
        .logo.scrolled {
            color: var(--primary);
        }
        
        .logo span {
            color: var(--accent);
        }
        
        .logo img {
            height: 40px;
            margin-right: 10px;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            color: var(--light);
            font-weight: 500;
            position: relative;
        }
        
        nav ul li a.scrolled {
            color: var(--dark);
        }
        
        nav ul li a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent);
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }
        
        nav ul li a:hover:after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--light);
            font-size: 24px;
            cursor: pointer;
        }
        
        .mobile-menu-btn.scrolled {
            color: var(--dark);
        }
        
        /* Hero Banner */
    .hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
        /*  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), */
	background: linear-gradient(rgba(142, 68, 173, 0.6), rgba(142, 68, 173, 0.3)), 
	url('img/tammy-presenting.jpg') no-repeat center center/cover;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /><path fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z" /></svg>');
    background-size: cover;
    opacity: 0.3;
}

/* Make particles more visible on image */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light);
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}
/* End New Image Banner */
        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            color: var(--light);
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--accent);
            color: var(--light);
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            border: 2px solid var(--accent);
        }
        
        .btn:hover {
            background: transparent;
            color: var(--light);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--light);
            margin-left: 15px;
        }
        
        .btn-outline:hover {
            background: var(--light);
            color: var(--primary);
        }
        
        /* About Section */
        .section {
            padding: 100px 0;
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background: var(--accent);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .about-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .about-text {
            flex: 1;
            min-width: 300px;
            padding-right: 40px;
        }
        
        .about-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
        }
        
        .about-image {
            flex: 1;
            min-width: 300px;
            position: relative;
        }
        
        .fractal-bg {
            width: 100%;
            height: 400px;
            background: url() center/cover no-repeat;
            border-radius: 50px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .fractal-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            mix-blend-mode: multiply;
        }
        
        /* Services Section */
        .services {
            background: #f5f5f5;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background: var(--light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }
        
        .service-icon {
            height: 200px;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .service-icon i {
            font-size: 5rem;
            color: rgba(255, 255, 255, 0.8);
            z-index: 2;
        }
        
        .service-icon::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
            background-size: 50px 50px;
            animation: rotate 20s linear infinite;
            z-index: 1;
        }
        
        .service-content {
            padding: 30px;
        }
        
        .service-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        .service-content p {
            margin-bottom: 20px;
        }
        
        /* Testimonials */
        .testimonials {
            position: relative;
            overflow: hidden;
        }
        
        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(142, 68, 173, 0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /><path fill="none" stroke="rgba(142, 68, 173, 0.05)" stroke-width="0.5" d="M20,20 Q50,0 80,20 T100,50 T80,80 T50,100 T20,80 T0,50 T20,20 Z" /></svg>');
            background-size: cover;
            z-index: -1;
        }
        
        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        .testimonial {
            background: var(--light);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            text-align: center;
            margin: 20px;
            opacity: 0;
            transition: opacity 0.5s ease;
            position: absolute;
            width: calc(100% - 40px);
            top: 0;
            left: 0;
        }
        
        .testimonial.active {
            opacity: 1;
            position: relative;
        }
        
        .testimonial .quote {
            font-size: 1.2rem;
            font-style: italic;
            margin-bottom: 20px;
            color: var(--dark);
        }
        
        .testimonial .client {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .client-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }
        
        .client-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .client-info h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        
        .client-info p {
            font-size: 0.9rem;
            color: var(--secondary);
        }
        
        .testimonial-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .testimonial-nav span {
            width: 12px;
            height: 12px;
            background: #ddd;
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .testimonial-nav span.active {
            background: var(--primary);
            transform: scale(1.2);
        }
/* focused content */
        .focused-content {
            padding: 80px 0;
            max-width: 900px;
            margin: 0 auto;
        }
        .focused-content h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            position: relative;
        }
        .focused-content h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background: var(--accent);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        .service-detail {
            background: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            margin-bottom: 40px;
        }
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .benefit-card {
            background: rgba(142, 68, 173, 0.05);
            padding: 20px;
            border-radius: 8px;
            border-left: 3px solid var(--primary);
        }
/* Contact Section */
        .contact {
            background: var(--gradient);
            color: var(--light);
        }
        
        .contact .section-title h2 {
            color: var(--light);
        }
        
        .contact .section-title h2:after {
            background: var(--light);
        }
        
        .contact-container {
            display: flex;
            flex-wrap: wrap;
        }
        
        .contact-info {
            flex: 1;
            min-width: 300px;
            padding-right: 40px;
        }
        
        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--light);
        }
        
        .contact-info p {
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .contact-item i {
            font-size: 1.2rem;
            margin-right: 15px;
            color: var(--accent);
        }
        
        .social-links {
            display: flex;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 10px;
            color: var(--light);
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }
        
        .contact-form {
            flex: 1;
            min-width: 300px;
            background: var(--light);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: var(--dark);
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background: var(--accent);
            color: var(--light);
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        /* Footer */
        footer {
            background: var(--dark);
            color: var(--light);
            padding: 30px 0;
            text-align: center;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .footer-logo {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--light);
        }
        
        .footer-logo span {
            color: var(--accent);
        }
        
        .footer-links {
            display: flex;
            margin-bottom: 20px;
        }
        
        .footer-links a {
            color: var(--light);
            margin: 0 15px;
            opacity: 0.8;
        }
        
        .footer-links a:hover {
            opacity: 1;
            color: var(--accent);
        }
        
        .copyright {
            opacity: 0.7;
            font-size: 0.9rem;
        }
        
        /* Animations */
        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }
        
        .floating {
            animation: float 6s ease-in-out infinite;
        }
        
        /* Fractal Animation */
        .fractal-animation {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            opacity: 0.1;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .about-text, .about-image {
                flex: 100%;
                padding-right: 0;
            }
            
            .about-image {
                margin-top: 40px;
            }
            
            .contact-info, .contact-form {
                flex: 100%;
                padding-right: 0;
            }
            
            .contact-form {
                margin-top: 40px;
            }
        }
        
        @media (max-width: 768px) {
            nav ul {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--light);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                transition: all 0.5s ease;
            }
            
            nav ul.active {
                left: 0;
            }
            
            nav ul li {
                margin: 15px 0;
            }
            
            nav ul li a {
                color: var(--dark);
                font-size: 1.2rem;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero {
                height: 90vh;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .btn-container {
                display: flex;
                flex-direction: column;
            }
            
            .btn-outline {
                margin-left: 0;
                margin-top: 15px;
            }
            
            .testimonial {
                padding: 30px 20px;
            }
            
            .contact-form {
                padding: 30px 20px;
            }
        }
    

/* Source: assets/site-navigation.css */
/* Allow the wedding link to fit the established navigation. */
.header-container { gap: 18px; }
.header-container .logo { white-space: nowrap; }
nav ul { gap: 22px; }
nav ul li { margin-left: 0; }
.footer-links { flex-wrap: wrap; justify-content: center; gap: 10px 0; }
@media (min-width: 1001px) and (max-width: 1150px) {
    nav ul { gap: 15px; }
    nav ul li a { font-size: 0.9rem; }
}
@media (max-width: 1000px) {
    nav ul { position: fixed; top: 80px; left: -110%; width: 100%; height: calc(100dvh - 80px); background: #f9f9f9; flex-direction: column; align-items: center; justify-content: flex-start; padding: 28px 20px; overflow-y: auto; transition: left 0.3s ease; gap: 18px; visibility: hidden; }
    nav ul.active { left: 0; visibility: visible; }
    nav ul li { margin: 0; }
    nav ul li a, nav ul li a.scrolled { color: #2c3e50; font-size: 1.1rem; }
    .mobile-menu-btn { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    nav ul { transition: none; }
}


/* Source: assets/weddings.css */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
.skip-link { position: fixed; z-index: 2000; top: -100px; left: 15px; padding: 12px 20px; background: white; color: #6f2b8c; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid #6f2b8c; outline-offset: 4px; }
.weddings-page .section { padding: 90px 0; }
.weddings-page p { margin-bottom: 20px; }
.weddings-page .eyebrow, .agreement-page .eyebrow { color: #793894; text-transform: uppercase; letter-spacing: 2.3px; font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; }
.wedding-hero { background: #423847; min-height: 670px; height: 84vh; max-height: 940px; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 58%; }
.wedding-hero::before { background: linear-gradient(90deg, rgba(42,25,52,.78), rgba(75,35,92,.43)); opacity: 1; z-index: 1; }
.wedding-hero .hero-content { max-width: 920px; padding-top: 85px; }
.wedding-hero h1 { font-size: clamp(3rem,6vw,5.3rem); line-height: 1.1; margin-bottom: 28px; }
.wedding-hero .eyebrow { color: #fff; }
.wedding-hero .hero-location { font-size: 0.85rem; margin-top: 26px; }
.wedding-intro { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; align-items: center; }
.portrait-frame img { width: 100%; height: 510px; object-fit: cover; object-position: center 26%; border-radius: 50px 50px 10px 10px; box-shadow: 0 18px 40px #2c3e501a; }
figcaption { font-size: 0.75rem; color: #6a6870; padding-top: 9px; }
.intro-copy h2 { font-size: 2.7rem; margin-bottom: 24px; }
.text-link { color: #793894; font-weight: 600; }
.section-title p:last-child { max-width: 650px; margin: 30px auto 0; }
.ceremony-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.ceremony-card { background: white; border-radius: 12px; padding: 34px; box-shadow: 0 10px 30px #2c3e500a; border-top: 3px solid #9b59b6; }
.ceremony-number { color: #cdb0d9; font: 2.5rem 'Playfair Display',serif; }
.ceremony-card h3 { font-size: 1.55rem; margin: 18px 0; line-height: 1.3; }
.ceremony-card ul { padding-left: 18px; margin: 20px 0 28px; }
.ceremony-card li { margin: 12px 0; }
.section-note { text-align: center; max-width: 850px; margin: 35px auto 0; font-size: .9rem; }
.planning-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; list-style: none; margin-bottom: 75px; }
.planning-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eee2f3; color: #793894; margin-bottom: 20px; }
.planning-steps h3 { font-size: 1.35rem; margin-bottom: 12px; }
.planning-steps p { font-size: .92rem; }
.feature-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.feature-row img { display: block; width: 100%; height: auto; border-radius: 12px; }
.feature-row h3 { font-size: 2rem; margin-bottom: 20px; }
.weddings-page .btn:hover { color: #6f2b8c; }
.wedding-hero .btn:hover,.contact .btn:hover { color: white; }
.wedding-gallery { background: #f3edf6; }
.gallery-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; align-items: center; }
.gallery-grid img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: 12px; }
.gallery-grid figure:nth-child(2) img { height: auto; }
.faq-container { max-width: 900px; }
.faq-container details { background: white; margin-bottom: 16px; border: 1px solid #e8ddec; border-radius: 10px; padding: 22px 28px; }
.faq-container summary { cursor: pointer; font-weight: 600; color: #2c3e50; }
.faq-container details p { margin: 18px 0 0; }
.agreement-banner { background: #f3edf6; text-align: center; }
.agreement-banner h2 { font-size: 2.5rem; margin-bottom: 24px; }
.agreement-banner p { max-width: 760px; margin-left: auto; margin-right: auto; }
.contact-info a { color: white; text-decoration: underline; text-underline-offset: 4px; }
.form-status { color: #2c3e50; margin-top: 20px; font-size: .9rem; }
@media(max-width:1000px) {
    .wedding-intro { gap: 40px; }
    .ceremony-grid { grid-template-columns: 1fr; }
    .ceremony-card { padding: 30px; }
    .planning-steps { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:650px) {
    .weddings-page .section { padding: 65px 0; }
    .wedding-hero { height: auto; min-height: 740px; }
    .hero-photo { object-position: 60% center; }
    .wedding-hero .hero-content { padding: 130px 24px 50px; }
    .wedding-hero .btn-container { display: flex; flex-direction: column; gap: 16px; }
    .wedding-hero .btn-outline { margin: 0; }
    .wedding-intro,.feature-row,.gallery-grid { grid-template-columns: 1fr; gap: 32px; }
    .portrait-frame { max-width: 380px; margin: auto; }
    .portrait-frame img { height: 440px; }
    .intro-copy h2 { font-size: 2.2rem; }
    .planning-steps { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
    .planning-steps li { padding-left: 65px; position: relative; }
    .planning-steps span { position: absolute; left: 0; }
    .weddings-page .contact-info,.weddings-page .contact-form { min-width: 0; }
    .weddings-page .contact-form { padding: 28px 20px; }
    .faq-container details { padding: 20px; }
    .agreement-banner h2 { font-size: 2rem; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { animation:none!important; transition:none!important; } }


/* Source: assets/agreement.css */
.agreement-page { background: #f5f1f7; }
.agreement-shell { max-width: 1050px; padding-top: 135px; padding-bottom: 75px; }
.agreement-intro { max-width: 760px; margin-bottom: 30px; }
.agreement-intro h1 { font-size: clamp(2rem,4vw,3rem); line-height: 1.2; margin-bottom: 20px; }
.agreement-intro p { margin-bottom: 18px; }
.required-note { font-size: .85rem; margin-bottom: 22px; }
.agreement-section { padding: 30px; margin-bottom: 24px; background: white; border: 1px solid #e5d8eb; border-radius: 12px; scroll-margin-top: 95px; }
.agreement-section h2 { font-size: 1.65rem; margin-bottom: 20px; }
.agreement-section p { margin-bottom: 16px; }
.officiant-line { color: #64556b; font-size: .9rem; }
.agreement-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 22px; margin: 20px 0; }
.agreement-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.agreement-field.wide { grid-column: 1 / -1; }
.agreement-field label { font-size: .85rem; font-weight: 500; color: #2c3e50; }
.agreement-field input { width: 100%; padding: 11px 12px; border: 1px solid #cdbdd4; border-radius: 6px; font: .92rem Poppins,sans-serif; color: #2c3e50; background: white; }
.agreement-field input:focus { outline: 2px solid #8e44ad; outline-offset: 2px; }
.agreement-field input[readonly] { background: #f4f0f6; color: #625569; }
.field-help { font-size: .78rem; line-height: 1.5; color: #625569; }
.rehearsal-choice,.signature-consent { display: flex; align-items: flex-start; gap: 10px; }
.rehearsal-choice { margin: 22px 0; font-size: .95rem; font-weight: 500; }
.rehearsal-choice input,.signature-consent input { accent-color: #8e44ad; width: 18px; min-width: 18px; height: 18px; margin-top: 4px; }
[hidden] { display: none !important; }
.fee-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0; padding: 20px; border-radius: 8px; background: #f2eaf6; }
.fee-summary p { margin: 0; font-size: .9rem; }
.fee-summary strong { display: block; font-size: 1.4rem; color: #6f2b8c; margin-top: 5px; }
.payment-note { font-size: .85rem; overflow-wrap: anywhere; }
.payment-note a { color: #793894; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.deadline-note { background: #fff6ed; border-left: 3px solid #e74c3c; border-radius: 4px; padding: 16px; font-size: .9rem; }
.contract-term { margin: 22px 0; }
.contract-term h3 { font: 600 1rem Poppins,sans-serif; color: #2c3e50; margin-bottom: 8px; }
.contract-term p { font-size: .9rem; line-height: 1.7; margin-bottom: 0; }
.signature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 25px; }
.signature-card { padding: 18px; background: #faf8fb; border: 1px solid #dfd0e5; border-radius: 8px; min-width: 0; }
.signature-card h3 { font: 600 1rem Poppins,sans-serif; margin-bottom: 8px; }
.signature-name { font-size: .82rem; min-height: 2.8em; overflow-wrap: anywhere; }
.signing-help { font-size: .88rem; color: #625569; }
.signature-tabs { display: flex; gap: 15px; margin: 14px 0; font-size: .85rem; }
.signature-tabs input { accent-color: #8e44ad; }
.signature-card .agreement-field { margin: 14px 0; }
.signature-card canvas { display: block; width: 100%; height: 115px; border: 1px solid #b9a5c4; border-radius: 6px; background: white; touch-action: none; margin: 10px 0; }
.signature-consent { margin-top: 18px; font-size: .79rem; line-height: 1.6; }
.agreement-actions,.agreement-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 18px; }
.secondary-button { font: 500 .85rem Poppins,sans-serif; padding: 10px 18px; color: #793894; background: white; border: 1px solid #cdbdd4; border-radius: 30px; cursor: pointer; }
.secondary-button:hover { background: #eee3f3; color: #793894; }
.agreement-actions .submit-btn { font-size: .83rem; }
.privacy-note { font-size: .82rem; color: #625569; margin-bottom: 0; }
#agreementStatus { padding-top: 8px; font-size: .9rem; }
.error-status { color: #9b2536; font-weight: 500; }
.draft-tools { padding: 20px 24px; border: 1px solid #d9c8e1; border-radius: 10px; }
.draft-tools summary { cursor: pointer; font-size: .9rem; font-weight: 500; }
.draft-tools p { margin: 18px 0 0; font-size: .85rem; }
@media(max-width:850px) { .signature-grid { grid-template-columns: 1fr; } .signature-name { min-height: 0; } }
@media(max-width:600px) {
 .agreement-shell { padding-top: 110px; } .agreement-section { padding: 22px 18px; }
 .agreement-section h2 { font-size: 1.4rem; } .agreement-fields,.fee-summary { grid-template-columns: 1fr; }
 .fee-summary { gap: 15px; } .agreement-actions { flex-direction: column; align-items: stretch; }
 .agreement-actions button { width: 100%; }
}

.agreement-loading { padding: 16px; margin-bottom: 24px; border: 1px solid #e4c6ac; border-radius: 8px; background: #fff6ed; font-size: .9rem; }
.agreement-loading a { color: #793894; text-decoration: underline; }
.agreement-page button:disabled { opacity: .6; cursor: not-allowed; }

