/* ============================================
   RACE CRAFT - KIDS CAR GAMES
   Newspaper / Broadsheet Design System
   ============================================ */

/* CSS VARIABLES */
:root {
    --primary: #1a1a1a;
    --secondary: #f4f1ea;
    --accent: #cc0000;
    --ink: #1a1a1a;
    --ink-light: #3a3a3a;
    --ink-lighter: #6a6a6a;
    --newsprint: #f4f1ea;
    --newsprint-dark: #e8e4d8;
    --newsprint-darker: #d9d4c5;
    --rule-color: #1a1a1a;
    --rule-light: #c0baa8;
    --accent-dark: #990000;
    --white: #ffffff;
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Libre Baskerville', 'Georgia', serif;
    --font-masthead: 'UnifrakturMaguntia', 'Playfair Display', serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;
    --max-width: 1280px;
    --gutter: 24px;
    --column-gap: 32px;
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--newsprint);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-image:
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* SELECTION */
::selection {
    background-color: var(--accent);
    color: var(--white);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--primary);
    color: var(--newsprint);
    border-top: 3px solid var(--accent);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.5s ease;
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px var(--gutter);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie-accept,
.btn-cookie-reject,
.btn-cookie-settings {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.btn-cookie-accept {
    background: var(--accent);
    color: var(--white);
}

.btn-cookie-accept:hover {
    background: var(--accent-dark);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--newsprint);
    border: 1px solid var(--rule-light);
}

.btn-cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

.btn-cookie-settings {
    background: transparent;
    color: var(--rule-light);
    border: 1px solid var(--rule-light);
}

.btn-cookie-settings:hover {
    color: var(--newsprint);
    border-color: var(--newsprint);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cookie-modal-content {
    background: var(--newsprint);
    color: var(--ink);
    max-width: 520px;
    width: 90%;
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 2px solid var(--ink);
}

.cookie-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--ink);
    line-height: 1;
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-option {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule-light);
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-option label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cookie-option p {
    font-size: 0.85rem;
    color: var(--ink-lighter);
    margin-top: 4px;
    padding-left: 24px;
}

.cookie-modal-footer {
    padding: 16px 20px;
    border-top: 2px solid var(--ink);
    text-align: right;
}

/* ============================================
   MASTHEAD / HEADER
   ============================================ */

.masthead {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--newsprint);
}

.masthead-top-rule {
    height: 4px;
    background: var(--ink);
    margin-bottom: 0;
}

.masthead-dateline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-lighter);
}

.masthead-rule {
    height: 1px;
    background: var(--ink);
}

.masthead-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0 8px;
    gap: 16px;
}

.masthead-ornament-left,
.masthead-ornament-right {
    font-size: 1.2rem;
    color: var(--accent);
}

.masthead-title {
    font-family: var(--font-masthead);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.masthead-the {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.5em;
    font-weight: 400;
    display: block;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: -4px;
}

.masthead-subtitle {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--ink-lighter);
    padding-bottom: 8px;
    letter-spacing: 0.05em;
}

/* NAVIGATION */
.main-nav {
    position: relative;
    border-top: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 0;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
    text-decoration: none;
    background: rgba(204,0,0,0.04);
}

.nav-link-accent {
    color: var(--accent);
    font-weight: 700;
}

.nav-link-accent:hover {
    background: var(--accent);
    color: var(--white);
}

.masthead-bottom-rule {
    height: 2px;
    background: var(--ink);
}

/* ============================================
   BROADSHEET / MAIN
   ============================================ */

.broadsheet {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* SECTION DIVIDER */
.section-divider {
    text-align: center;
    padding: 32px 0;
}

.divider-ornament {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.5em;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--accent);
    padding: 3px 12px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 8px;
}

.section-rule {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
}

/* ============================================
   HEADLINE SECTION
   ============================================ */

.section-headline {
    padding-top: 32px;
}

.headline-banner {
    text-align: center;
    margin-bottom: 24px;
}

.headline-rule {
    height: 1px;
    background: var(--rule-light);
    margin-top: 8px;
}

.headline-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--column-gap);
}

.main-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--ink);
}

.byline {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--ink-lighter);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule-light);
    margin-bottom: 20px;
}

.byline-separator {
    margin: 0 8px;
    color: var(--rule-light);
}

.headline-image-wrap {
    margin-bottom: 20px;
    border: 1px solid var(--rule-light);
    padding: 8px;
    background: var(--white);
}

.headline-image {
    width: 100%;
    filter: contrast(1.05);
}

.image-caption {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    color: var(--ink-lighter);
    margin-top: 8px;
    line-height: 1.4;
}

.article-body {
    text-align: justify;
    hyphens: auto;
}

.article-body p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.75;
}

/* DROP CAP */
.drop-cap::first-letter {
    font-family: var(--font-display);
    font-size: 3.8em;
    font-weight: 900;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 4px;
    color: var(--accent);
}

/* SIDEBAR */
.headline-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    border: 2px solid var(--ink);
    padding: 20px;
    background: var(--white);
}

.sidebar-label {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.sidebar-breaking h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.sidebar-breaking p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.sidebar-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sidebar-cta:hover {
    background: var(--accent-dark);
    color: var(--white);
    text-decoration: none;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule-light);
}

.stat-item:last-of-type {
    border-bottom: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
    line-height: 1.1;
}

.stat-desc {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-lighter);
}

.stat-divider {
    height: 2px;
    background: var(--ink);
    margin: 12px 0;
}

.social-proof {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--ink-light);
    animation: pulse 2s infinite;
}

.social-proof-icon {
    color: var(--accent);
    font-weight: 700;
}

#live-counter {
    font-weight: 700;
    color: var(--accent);
}

/* Pull Quote in sidebar */
.sidebar-quote {
    border-color: var(--accent);
    background: var(--newsprint);
}

.pull-quote {
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent);
    line-height: 0.5;
    display: block;
}

.quote-mark-close {
    margin-top: 8px;
}

.pull-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 8px 0;
    color: var(--ink);
}

.pull-quote cite {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    color: var(--ink-lighter);
    font-style: normal;
    display: block;
    margin-top: 8px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--column-gap);
}

.about-col {
    border-right: 1px solid var(--rule-light);
    padding-right: var(--column-gap);
}

.about-col:last-child {
    border-right: none;
    padding-right: 0;
}

.col-headline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--ink);
}

.about-col p {
    text-align: justify;
    hyphens: auto;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item-large {
    grid-column: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-image-wrap {
    border: 1px solid var(--rule-light);
    padding: 6px;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.gallery-image {
    width: 100%;
    transition: transform 0.5s ease;
    filter: contrast(1.05) saturate(0.9);
}

.gallery-image-wrap:hover .gallery-image {
    transform: scale(1.02);
}

.gallery-item .image-caption {
    margin-top: 6px;
    font-size: 0.78rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    border: 2px solid var(--ink);
    padding: 24px;
    background: var(--white);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 rgba(204,0,0,0.15);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-light);
}

/* Pull Quote Large */
.pull-quote-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 40px;
    border-top: 3px double var(--ink);
    border-bottom: 3px double var(--ink);
    text-align: center;
}

.pull-quote-large {
    position: relative;
}

.quote-mark-large {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent);
    line-height: 0.4;
    display: block;
    opacity: 0.5;
}

.quote-mark-close-large {
    margin-top: 12px;
}

.pull-quote-large p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 16px 0;
    color: var(--ink);
}

.pull-quote-large cite {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--ink-lighter);
    font-style: normal;
    display: block;
    margin-top: 8px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-columns {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--rule-light);
}

.faq-item:first-child {
    border-top: 2px solid var(--ink);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-q-mark {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 0 0 32px;
}

.faq-answer.open {
    max-height: 300px;
    padding: 0 0 16px 32px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-light);
}

/* ============================================
   SIGNUP / LEAD FORM SECTION
   ============================================ */

.signup-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--column-gap);
}

.signup-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Classified Ad Style */
.classified-ad {
    background: var(--white);
}

.classified-border {
    border: 3px double var(--ink);
    padding: 24px;
}

.classified-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink);
}

.classified-rule {
    height: 1px;
    background: var(--ink);
    margin: 12px 0;
}

.classified-ad p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.classified-list {
    margin-bottom: 12px;
}

.classified-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 4px 0;
    color: var(--ink-light);
}

.classified-note {
    color: var(--ink-lighter);
    font-size: 0.8rem !important;
}

/* Trust Box */
.trust-box {
    border: 2px solid var(--ink);
    padding: 20px;
    background: var(--newsprint-dark);
}

.trust-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trust-rule {
    height: 2px;
    background: var(--accent);
    width: 40px;
    margin: 8px 0 12px;
}

.trust-box p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--ink-light);
}

.trust-box a {
    color: var(--accent);
}

/* Form */
.form-classified-border {
    border: 3px double var(--ink);
    padding: 28px;
    background: var(--white);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-rule {
    height: 2px;
    background: var(--ink);
    margin: 12px 0 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 6px;
    font-weight: 600;
}

.required {
    color: var(--accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 2px solid var(--ink);
    background: var(--newsprint);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

.form-group input::placeholder {
    color: var(--ink-lighter);
    font-style: italic;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.field-error {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    color: var(--accent);
    margin-top: 4px;
    min-height: 1em;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--ink);
    color: var(--newsprint);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--accent);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    text-align: center;
    padding: 24px;
    margin-top: 16px;
    animation: fadeInUp 0.5s ease;
}

.form-success {
    border: 2px solid #2d7a2d;
    background: #f0f8f0;
}

.form-success h4 {
    font-family: var(--font-display);
    color: #2d7a2d;
    margin: 8px 0;
}

.success-icon {
    font-size: 2rem;
    color: #2d7a2d;
    font-weight: 700;
}

.form-error-msg {
    border: 2px solid var(--accent);
    background: #fff0f0;
}

.form-error-msg h4 {
    font-family: var(--font-display);
    color: var(--accent);
    margin: 8px 0;
}

.error-icon {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 0 var(--gutter);
}

.footer-rule {
    height: 4px;
    background: var(--ink);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--column-gap);
    padding: 32px 0;
    border-bottom: 1px solid var(--rule-light);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: var(--ink);
}

.footer-col p,
.footer-col li {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ink-light);
    margin-bottom: 6px;
}

.footer-col a {
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-address {
    margin-top: 12px;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
}

.footer-bottom-rule {
    height: 1px;
    background: var(--rule-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0 32px;
}

.footer-bottom p {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--ink-lighter);
    margin-bottom: 4px;
}

.footer-note {
    font-size: 0.72rem !important;
    font-style: italic;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px var(--gutter);
    background: var(--white);
    border-left: 1px solid var(--rule-light);
    border-right: 1px solid var(--rule-light);
    min-height: 60vh;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 8px;
    color: var(--ink);
    line-height: 1.2;
}

.legal-content .legal-date {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--ink-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--ink);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 32px 0 12px;
    color: var(--ink);
    border-bottom: 1px solid var(--rule-light);
    padding-bottom: 6px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 20px 0 8px;
    color: var(--ink);
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 12px;
    text-align: justify;
    hyphens: auto;
    color: var(--ink-light);
}

.legal-content ul,
.legal-content ol {
    margin: 12px 0 12px 24px;
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 6px;
    color: var(--ink-light);
}

.legal-content a {
    color: var(--accent);
}

.legal-content strong {
    color: var(--ink);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .headline-grid {
        grid-template-columns: 1fr 320px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --gutter: 16px;
        --column-gap: 20px;
    }

    .masthead {
        position: relative;
    }

    .masthead-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .masthead-dateline {
        font-size: 0.65rem;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background: var(--newsprint);
        border: 2px solid var(--ink);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid var(--rule-light);
        text-align: center;
    }

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

    .headline-sidebar {
        order: -1;
    }

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

    .about-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--rule-light);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .about-col:last-child {
        border-bottom: none;
    }

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

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }

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

    .signup-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pull-quote-section {
        padding: 24px 20px;
    }

    .pull-quote-large p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .masthead-ornament-left,
    .masthead-ornament-right {
        display: none;
    }

    .main-headline {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .drop-cap::first-letter {
        font-size: 3em;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    .main-nav,
    .sidebar-cta,
    .btn-submit,
    .nav-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
