* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #1f1f1f;
    --muted: #5a5a5a;
    --bg: #fafafa;
    --paper: #ffffff;
    --accent: #a27c3a;
    --accent-hover: #8f6b2f;
    --soft: #f5efe8;
    --border: rgba(0, 0, 0, 0.10);
    --space-1: clamp(0.5rem, 1.2vw, 0.9rem);
    --space-2: clamp(0.9rem, 2vw, 1.4rem);
    --space-3: clamp(1rem, 2.2vw, 1.6rem);
    --space-4: clamp(1.25rem, 3vw, 2rem);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: var(--bg);
}

a {
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: var(--space-3);
    padding-right: var(--space-3);
}

/* Hero header */
.hero-header {
    position: relative;
    min-height: clamp(380px, 62vh, 560px);
    background: url("../img/truly-madly-deeply-wedding-confetti.jpg") center/cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.40) 55%,
            rgba(0, 0, 0, 0.28) 100%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--space-3);
    align-items: center;
    min-height: inherit;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
}

.logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.tagline {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
}

.hero-copy h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.subhead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

.cta-button:hover {
    background: var(--accent-hover);
}

.secondary-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Secondary lifestyle */
.feature-strip {
    background: var(--paper);
}

.feature-media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.feature-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Why section */
.why {
    background: var(--paper);
    padding: var(--space-4) 0;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.faq h3 {
    margin-top: 1.2rem;
}

.faq p {
    margin-top: 0.35rem;
}

.faq ol {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.faq li {
    margin: 0.5rem 0;
}

.bullets {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.bullets li {
    margin: 0.4rem 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--muted);
}

/* Gallery */
.gallery {
    background: var(--soft);
    padding: var(--space-4) 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
}

.product {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    transition: transform 120ms ease, box-shadow 120ms ease;
    text-decoration: none;
}

.product:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.product img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    display: block;
}

/* Content */
.content {
    background: var(--paper);
    padding: var(--space-4) 0;
}

.faq {
    background: var(--paper);
    padding: var(--space-4) 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.panel h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.panel p {
    margin-bottom: 0.9rem;
}

.panel ol {
    margin-left: 1.2rem;
    margin-bottom: 1.25rem;
}

.small {
    color: var(--muted);
}

.gallery-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Footer */
.site-footer {
    background: #eee;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

.affiliate-disclosure {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .feature-media img {
        height: 230px;
    }
}

/* --- Mobile spacing tune-up --- */
@media (max-width: 640px) {

    /* General container padding */
    .container {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .why,
    .gallery,
    .content,
    .faq,
    .feature-strip {
        padding: 1.75rem 0;
    }

    .hero-copy h1,
    .section-title,
    .panel h2,
    .faq h3 {
        margin-bottom: 0.75rem;
    }

    .section-intro,
    .panel p,
    .faq p {
        margin-bottom: 0.9rem;
    }

    /* If you have card grids, reduce gaps */
    .cards,
    .feature-grid,
    .product-grid {
        gap: 0.9rem !important;
    }

    /* If your cards have generous padding */
    .card {
        padding: 1rem !important;
    }

    /* If your featured products section has a big top margin */
    .section-title,
    .section-intro {
        margin-bottom: 0.75rem !important;
    }
}

@media (max-width: 520px) {

    /* Tighten overall padding */
    .container {
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    /* Make the logo less dominant on mobile */
    .logo {
        max-width: 220px;
        /* was 320px */
        margin-bottom: 0.75rem;
    }

    /* Tagline: slightly smaller and tighter */
    .tagline {
        font-size: 0.95rem;
        margin-top: 0.25rem;
    }

    /* Hero heading: reduce size so it wraps less */
    .hero-copy h1 {
        font-size: 1.6rem;
        line-height: 1.15;
        margin-bottom: 0.6rem;
    }

    .hero-inner {
        gap: 1rem;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .subhead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Button: a bit more compact */
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
}