/* Newsletter signup page — subset aligned with index.html */

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

html {
    scroll-behavior: smooth;
}

:root {
    --dark-charcoal: #1a1a1a;
    --mist-gray: #f5f5f5;
    --blood-red: #8B0000;
    --shadow-gray: #666;
    --text-light: #888;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--dark-charcoal);
    background: white;
}

.skip-nav {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--blood-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    clip: rect(0, 0, 0, 0);
}

.skip-nav:focus {
    top: 0;
    clip: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero — paths relative to this CSS file */
.hero {
    background:
        linear-gradient(
            180deg,
            rgba(26, 26, 26, 0.25) 0%,
            rgba(26, 26, 26, 0.15) 50%,
            rgba(26, 26, 26, 0.35) 100%
        ),
        url('../images/shropshire-hills-dark.png') center/cover no-repeat;
    background:
        linear-gradient(
            180deg,
            rgba(26, 26, 26, 0.25) 0%,
            rgba(26, 26, 26, 0.15) 50%,
            rgba(26, 26, 26, 0.35) 100%
        ),
        image-set(
            url('../images/shropshire-hills-dark.webp') type('image/webp'),
            url('../images/shropshire-hills-dark.png') type('image/png')
        ) center/cover no-repeat;
    background-attachment: fixed;
    background-position: center center;
    color: white;
    padding: 120px 0 100px;
    min-height: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
    text-shadow:
        3px 3px 12px rgba(0, 0, 0, 1),
        1px 1px 4px rgba(0, 0, 0, 1),
        0px 0px 20px rgba(0, 0, 0, 0.9);
}

.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #f0f0f0;
    font-style: italic;
    position: relative;
    z-index: 2;
    text-shadow:
        2px 2px 10px rgba(0, 0, 0, 1),
        1px 1px 4px rgba(0, 0, 0, 1),
        0px 0px 15px rgba(0, 0, 0, 0.9);
}

/* Sticky navigation */
nav[role='navigation'] {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav.nav-minimal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

nav.nav-minimal a {
    text-decoration: none;
    color: var(--dark-charcoal);
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
}

nav.nav-minimal a:hover {
    color: var(--blood-red);
}

/* Newsletter section */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-section h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.newsletter-section h2 em {
    font-style: italic;
    font-weight: 400;
}

.newsletter-intro {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 18px;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.newsletter-intro em {
    font-style: italic;
}

.newsletter-intro-secondary {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    margin-bottom: 28px;
    color: #d4d4d4;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.newsletter-micro-trust {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #f0f0f0;
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.newsletter-privacy {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #c8c8c8;
    max-width: 640px;
    margin: 28px auto 0;
    line-height: 1.65;
}

.newsletter-kit-wrap {
    margin-top: 4px;
}

.newsletter-section .formkit-form {
    max-width: 500px;
    margin: 30px auto;
}

.newsletter-section input[type='email'] {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 12px !important;
}

.newsletter-section button,
.newsletter-section input[type='submit'] {
    background: var(--blood-red) !important;
    transition: background 0.3s !important;
    padding: 12px 30px !important;
}

.newsletter-section button:hover,
.newsletter-section input[type='submit']:hover {
    background: #6b0000 !important;
}

/* Footer */
footer[role='contentinfo'] {
    background: #0a0a0a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: normal;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: var(--shadow-gray);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: background 0.3s, transform 0.2s;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    background: var(--blood-red);
    transform: translateY(-2px);
}

.social-links a[href*='facebook'] {
    background: #1877f2;
}

.social-links a[href*='x.com'] {
    background: #000000;
}

.social-links a[href*='instagram'] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a[href*='tiktok'] {
    background: #000000;
}

.social-links a[href*='youtube'] {
    background: #ff0000;
}

.social-links a[href*='substack'] {
    background: #ff6719;
}

.social-links a[href*='goodreads'] {
    background: #553b08;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-links a,
.footer-links .footer-link-button {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    padding: 8px 12px;
    display: inline-block;
    min-height: 44px;
    line-height: 28px;
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.footer-links a:hover,
.footer-links .footer-link-button:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(1.75rem, 5vw, 2rem);
    }

    .hero {
        background-attachment: scroll;
        min-height: clamp(300px, 50vh, 400px);
        padding: 80px 0 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    nav.nav-minimal ul {
        gap: 12px;
    }

    .newsletter-section {
        padding: 70px 0;
    }

    .newsletter-section h2 {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .newsletter-intro {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .newsletter-intro-secondary {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .newsletter-micro-trust {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: clamp(280px, 45vh, 350px);
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
        letter-spacing: 2px;
    }

    .hero .tagline {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    nav.nav-minimal ul {
        gap: 8px;
    }

    nav.nav-minimal a {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .hero {
        min-height: 450px;
        padding: 100px 0 90px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 280px;
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    nav[role='navigation'] {
        padding: 15px 0;
    }

    .newsletter-section {
        padding: 50px 0;
    }

    .newsletter-section h2 {
        font-size: 2.2rem;
    }

    .newsletter-intro {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}
