/* Built by website/local/scripts/build_css.py from assets/css/manifest.json. Edit the sources, then rebuild. */

/* pages/home.css */
/*
 * The home page, one of the files manifest.json joins into
 * bundles/home.css.
 *
 * This file: the hero, the value props, the section headings, the
 * testimonials and the press strip.
 */

        /* Hero Section */
        .hero {
            min-height: 85vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-warm) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: var(--spacing-xl) var(--spacing-lg);
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-xl);
            align-items: center;
        }

        .hero-content h1 {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 72px;
            font-weight: 500;
            line-height: 1.1;
            color: var(--color-primary);
            margin-bottom: var(--spacing-md);
            letter-spacing: -0.02em;
        }

        .hero-content .subtitle {
            font-size: 20px;
            color: var(--color-text-mid);
            margin-bottom: var(--spacing-lg);
            font-weight: 400;
            line-height: 1.7;
        }

        .hero-cta {
            display: flex;
            gap: var(--spacing-sm);
            align-items: center;
        }




        .hero-image {
            position: relative;
            aspect-ratio: 1;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 2px;
            display: block;
        }

        /* Value Props */
        .value-props {
            background: white;
            padding: var(--spacing-xl) var(--spacing-lg);
        }

        .value-props-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--spacing-lg);
        }

        .value-prop {
            text-align: center;
        }

        .value-prop-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto var(--spacing-md);
            background: var(--color-bg-warm);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-secondary); /* levoro_icon() strokes inherit */
        }

        /* An h2 since SF54 (an h3 under the hero's h1 skipped a level);
         * it keeps the h3's line height. */
        .value-prop-title {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 22px;
            font-weight: 500;
            line-height: 1.2;
            margin-bottom: var(--spacing-xs);
            color: var(--color-primary);
        }

        .value-prop p {
            font-size: 15px;
            color: var(--color-text-mid);
            line-height: 1.6;
        }
        .section-header {
            max-width: 1400px;
            margin: 0 auto var(--spacing-xl);
            text-align: center;
        }

        .section-header h2 {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 56px;
            font-weight: 500;
            color: var(--color-primary);
            margin-bottom: var(--spacing-sm);
            letter-spacing: -0.01em;
        }

        .section-header p {
            font-size: 18px;
            color: var(--color-text-mid);
        }
        /* .add-to-cart styles live in components.css (shared with the
           shop archive). Keep page-specific tweaks here if needed. */

        /* Testimonials Section */
        .testimonials {
            padding: var(--spacing-xxl) var(--spacing-lg);
            background: var(--color-bg-warm);
        }

        .testimonials-header {
            max-width: 900px;
            margin: 0 auto var(--spacing-xl);
            text-align: center;
        }

        .testimonials-header .eyebrow { font-size: 12px; margin-bottom: var(--spacing-sm); }

        .testimonials-header h2 {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 56px;
            font-weight: 500;
            color: var(--color-primary);
            margin-bottom: var(--spacing-sm);
            letter-spacing: -0.01em;
            line-height: 1.1;
        }

        .testimonials-header p {
            font-size: 17px;
            color: var(--color-text-mid);
            line-height: 1.7;
        }

        .testimonials-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-md);
        }

        .testimonial {
            background: white;
            padding: var(--spacing-lg);
            border: 1px solid var(--color-border);
            display: flex;
            flex-direction: column;
            gap: var(--spacing-md);
        }

        .testimonial-stars {
            color: #D4A574;
            font-size: 16px;
            letter-spacing: 3px;
        }

        .testimonial-quote {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 22px;
            line-height: 1.45;
            color: var(--color-primary);
            font-style: italic;
            flex: 1;
        }

        .testimonial-attribution {
            display: flex;
            gap: var(--spacing-sm);
            align-items: center;
            padding-top: var(--spacing-sm);
            border-top: 1px solid var(--color-border);
        }

        .testimonial-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #A67C52 0%, #8B6F47 100%);
            flex-shrink: 0;
        }

        .testimonial-author {
            font-size: 14px;
            font-weight: 600;
            color: var(--color-primary);
            line-height: 1.3;
        }

        .testimonial-product {
            font-size: 13px;
            color: var(--color-text-mid);
            line-height: 1.3;
        }

        .testimonials-trust {
            max-width: 1400px;
            margin: var(--spacing-xl) auto 0;
            padding-top: var(--spacing-lg);
            border-top: 1px solid var(--color-border);
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--spacing-md);
            text-align: center;
        }

        .trust-stat-number {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 48px;
            font-weight: 500;
            color: var(--color-primary);
            line-height: 1;
            margin-bottom: 4px;
            letter-spacing: -0.01em;
        }

        .trust-stat-label {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--color-text-mid);
        }

        /* Press strip */
        .press-strip {
            padding: var(--spacing-lg) var(--spacing-lg);
            background: white;
            border-top: 1px solid var(--color-border);
            border-bottom: 1px solid var(--color-border);
        }

        .press-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: var(--spacing-lg);
            align-items: center;
            text-align: center;
        }

        .press-name {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 22px;
            font-weight: 500;
            /* Was --color-text-mid + opacity 0.7, which dropped to 3.4:1.
               Use the dark text color outright for AA-pass contrast. */
            color: var(--color-text-dark);
            letter-spacing: 0.04em;
            opacity: 0.85;
            transition: opacity 0.2s;
        }

        .press-name:hover { opacity: 1; }

/* pages/home-craft.css */
/*
 * The home page, one of the files manifest.json joins into
 * bundles/home.css.
 *
 * This file: the newsletter strip, the craftsmanship section, and
 * the page's tablet and phone layout (last, over every rule above).
 */

        /* Newsletter strip */
        .newsletter {
            padding: var(--spacing-xxl) var(--spacing-lg);
            background: var(--color-primary);
            color: white;
        }

        .newsletter-container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .newsletter .eyebrow { font-size: 12px; margin-bottom: var(--spacing-sm); }

        .newsletter h2 {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 48px;
            font-weight: 500;
            margin-bottom: var(--spacing-sm);
            letter-spacing: -0.01em;
            line-height: 1.1;
            /* Section bg is --color-primary; base.css colors every h1/h2/h3
             * with the same token by default, so without this override the
             * heading is invisible (primary on primary). */
            color: #fff;
        }

        .newsletter p {
            font-size: 17px;
            line-height: 1.7;
            color: rgba(255,255,255,0.8);
            margin-bottom: var(--spacing-lg);
        }

        .newsletter-form {
            display: flex;
            gap: var(--spacing-sm);
            max-width: 500px;
            margin: 0 auto;
        }

        .newsletter-form input {
            flex: 1;
            min-width: 0;
            padding: 16px 20px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.2);
            color: white;
            font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
            font-size: 15px;
            outline: none;
            transition: all 0.2s;
        }

        .newsletter-form input:focus {
            background: rgba(255,255,255,0.12);
            border-color: var(--color-accent);
        }

        .newsletter-form input::placeholder {
            color: rgba(255,255,255,0.5);
        }

        .newsletter-form button {
            padding: 16px 32px;
            background: var(--color-bg-light);
            color: var(--color-primary);
            border: none;
            font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.3s;
            white-space: nowrap;
        }

        .newsletter-form button:hover {
            background: var(--color-accent);
            color: white;
        }

        .newsletter-fineprint {
            font-size: 12px;
            color: rgba(255,255,255,0.5);
            margin-top: var(--spacing-md);
        }

        /* Craftsmanship Section */
        .craftsmanship {
            background: var(--color-primary);
            color: white;
            padding: var(--spacing-xxl) var(--spacing-lg);
        }

        .craftsmanship-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-xl);
            align-items: center;
        }

        /* Real photograph (theme asset) — the gradient stays as the
         * loading backdrop; the design-file texture overlay is gone. */
        .craftsmanship-image {
            aspect-ratio: 4/3;
            background: linear-gradient(135deg, #A67C52 0%, #8B6F47 100%);
            position: relative;
            overflow: hidden;
        }

        .craftsmanship-image img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .craftsmanship-content h2 {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 48px;
            font-weight: 500;
            margin-bottom: var(--spacing-md);
            letter-spacing: -0.01em;
        }

        .craftsmanship-content p {
            font-size: 18px;
            line-height: 1.8;
            color: rgba(255,255,255,0.9);
            margin-bottom: var(--spacing-md);
        }

        .craftsmanship-features {
            display: grid;
            gap: var(--spacing-md);
            margin-top: var(--spacing-lg);
        }

        .feature-item {
            display: flex;
            gap: var(--spacing-sm);
            align-items: flex-start;
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            background: var(--color-secondary);
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            margin-top: 2px;
        }

        /* An h3 since SF54 (an h4 under the section's h2 skipped a
         * level); it keeps the h4's body line height and letter spacing. */
        .feature-title {
            font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
            font-size: 20px;
            font-weight: 500;
            line-height: inherit;
            letter-spacing: normal;
            margin-bottom: 4px;
        }

        .feature-text p {
            font-size: 15px;
            color: rgba(255,255,255,0.8);
        }

        /* To Our Story's "From our software to our laser". */
        .craftsmanship-link {
            display: inline-block;
            margin-top: var(--spacing-lg);
            padding: 12px 0;
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            text-decoration: underline;
            text-underline-offset: 4px;
        }

        /* Responsive */
        @media (max-width: 1100px) {
.testimonials-grid { grid-template-columns: 1fr; }
            .press-grid { grid-template-columns: repeat(3, 1fr); }
            .testimonials-trust { grid-template-columns: repeat(2, 1fr); }
}

        @media (max-width: 768px) {
/* .footer-container responsive collapse lives in
               components.css; .products-grid responsive collapse lives
               in product-card.css. Do not duplicate here. */
            .hero-container,
            .value-props-container,
            .craftsmanship-container { grid-template-columns: 1fr; }
            .hero-content h1 { font-size: 52px; }
            .section-header h2,
            .testimonials-header h2,
            .newsletter h2 { font-size: 40px; }
            .press-grid { grid-template-columns: repeat(2, 1fr); }
            .newsletter-form { flex-direction: column; }
}
