/* DESIGN TOKENS */
:root {
    --bg-cream: #FDFBF7;
    --bg-warm-cream: #F5F2EA;
    --accent-red: #B92322; /* TRT App Red */
    --accent-red-hover: #8F1716;
    --text-dark: #2A2422;
    --text-muted: #6B625E;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-handwriting: 'Caveat', cursive; /* Handwritten font for postcards */

    /* Base Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, a, span {
    font-family: var(--font-sans);
}

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

/* NAVIGATION */
.navbar {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    padding: 1.2rem 5%;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

/* Force all direct navbar children into row 1 */
.navbar > * {
    grid-row: 1;
    min-width: 0;
}

.navbar.scrolled {
    padding: 0.5rem 5%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.left-links {
    justify-content: flex-start;
}

.right-links {
    justify-content: flex-end;
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--accent-red);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.brand-logo {
    height: 1.5rem;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(185, 35, 34, 0.2));
    transition: height 0.3s ease;
}

.navbar.scrolled .brand-logo {
    height: 1.2rem;
}

.brand-name {
    font-family: var(--font-sans);
    color: var(--accent-red);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo-link:hover {
    transform: scale(1.05);
}

.btn-coming-soon {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-coming-soon:hover {
    background-color: var(--accent-red);
    color: var(--bg-cream);
    box-shadow: 0 5px 15px rgba(185, 35, 34, 0.2);
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--spacing-xl) + 4rem) 5% var(--spacing-lg);
    gap: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title em {
    font-style: italic;
    color: var(--accent-red);
    font-weight: 400; /* Aesthetic contrast */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--bg-cream);
    box-shadow: 0 10px 25px rgba(185, 35, 34, 0.25);
    border: 2px solid var(--accent-red);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(185, 35, 34, 0.35);
}

.btn-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
}

.btn-secondary:hover {
    background-color: rgba(185, 35, 34, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(185, 35, 34, 0.1);
}

/* Abstract App Aesthetic Graphic */
.hero-graphic {
    flex: 1;
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-phone-mockup {
    max-height: 650px;
    width: auto;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
    /* Optional: very slight tilt for editorial feel */
    transform: rotate(-2deg);
}

.hero-graphic::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.2; /* More visible premium glow */
    z-index: 1;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

.hero-graphic::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-red) 0%, transparent 60%);
    filter: blur(100px);
    opacity: 0.08; /* Outer soft atmosphere */
    z-index: 0;
    pointer-events: none;
}

@keyframes glowPulse {
    from { transform: scale(1) translate(0, 0); opacity: 0.08; }
    to { transform: scale(1.1) translate(5px, 5px); opacity: 0.15; }
}

/* VALUE DRIVERS */
.value-drivers-section {
    padding: var(--spacing-xl) 5%;
    background-color: white;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.driver-card {
    background-color: var(--bg-cream);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 1.2rem;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.card-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* REALISTIC POSTCARD BLOG SECTION */
.blog-section {
    padding: var(--spacing-xl) 5%;
    position: relative;
    /* Clean lifestyle background as requested */
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.blog-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(253, 251, 247, 0.6); /* Translucent cream brand tint */
    z-index: 0;
}

.section-header {
    position: relative;
    z-index: 1;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(185, 35, 34, 0.2);
    background: white;
    color: #666;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
    box-shadow: 0 5px 15px rgba(185, 35, 34, 0.2);
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.real-postcard {
    width: 100%;
    margin: 0;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.real-postcard:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.02);
    z-index: 10;
}

.postcard-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.rotated-left { transform: rotate(-2deg); }
.rotated-right { transform: rotate(3deg); }
.rotated-left-slight { transform: rotate(-1deg); }

.postcard-true {
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1.25fr; /* Precise editorial ratio */
    min-height: 280px;
    max-height: 280px; /* Force uniform size */
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* Subtle rounding for premium feel */
    
    /* Elegant Airmail Accents (Top/Bottom only) */
    background-image: 
        repeating-linear-gradient(
            -45deg, 
            var(--accent-red) 0 10px, 
            #fff 10px 20px, 
            #2B5292 20px 30px, 
            #fff 30px 40px
        ),
        repeating-linear-gradient(
            -45deg, 
            var(--accent-red) 0 10px, 
            #fff 10px 20px, 
            #2B5292 20px 30px, 
            #fff 30px 40px
        ),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 100% 8px, 100% 8px, 100% 100%;
    background-position: top center, bottom center, center center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.05),
        0 10px 30px rgba(0,0,0,0.08); /* Modern, clean shadow */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.real-postcard:hover .postcard-true {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    z-index: 10;
}

@media (max-width: 1200px) {
    .blog-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .blog-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .postcard-true {
        grid-template-columns: 1fr;
    }
    .pct-photo {
        height: 200px;
    }
    .pct-back {
        padding: 1.5rem;
    }
}

/* LEFT: PHOTO */
.pct-photo {
    height: 100%;
}

.pct-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.05) contrast(1.05);
}

.ig-post {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background-color: #eee;
    transition: transform 0.4s ease;
}

.ig-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.95);
}

.ig-post:hover {
    transform: translateY(-5px);
}

.ig-post:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.ig-post::after {
    content: 'View on Instagram';
    position: absolute;
    inset: 0;
    background: rgba(185, 35, 34, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-post:hover::after {
    opacity: 1;
}

/* RIGHT: BACK */
.pct-back {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
}

.pct-top {
    display: none; /* Hidden in clean layout */
}

.pct-date {
    font-family: var(--font-hand); /* Date in Biro */
    font-size: 1.1rem;
    color: #B92322;
    margin-top: -2px;
}

.pct-biro {
    font-family: var(--font-hand); /* Date in Biro helper */
    font-size: 1.1rem;
    color: #444;
}

.pct-inter {
    font-family: var(--font-sans);
}

/* STAMPS & POSTMARK */
.pct-stamp-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.pct-stamps-row {
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
}

.pct-stamp {
    width: 28px;
    height: 38px;
    background: #fff;
    padding: 2px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    mask: radial-gradient(1.5px at 0 0, transparent 96%, #000) -1.5px -1.5px / 3px 3px;
    -webkit-mask: radial-gradient(1.5px at 0 0, transparent 96%, #000) -1.5px -1.5px / 3px 3px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pct-stamp span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 0.4rem;
    font-weight: 800;
    color: white;
    padding-bottom: 2px;
}

.red-s span { background: var(--accent-red); }
.blk-s span { background: #333; }

.pct-postmark {
    position: absolute;
    top: -5px;
    right: 25px;
    width: 45px;
    height: 45px;
    z-index: 2;
    transform: rotate(15deg);
    pointer-events: none;
}

.pct-wavy {
    position: absolute;
    top: 50%;
    right: 35px;
    width: 60px;
    height: 20px;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* RULE */
.pct-rule {
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    margin: 0.5rem 0;
}

/* CLEAN EDITORIAL LAYOUT */
.pct-back {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
    font-family: var(--font-sans);
}

.pct-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.pct-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.pct-category {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-red);
    opacity: 0.9;
    margin-top: 5px;
}

/* CUSTOM SCALLOPED STAMP TOP RIGHT */
.pct-stamp-svg {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 38px;
    height: 46px;
    object-fit: contain;
    transform: rotate(4deg);
    z-index: 2;
    display: block;
}

/* Newsletter stamp inner (kept for nl section) */
.pct-stamp-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.pct-stamp-inner img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    display: block;
}

.pct-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 25px; /* Room for stamp */
}

.pct-article-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.pct-summary {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    font-family: var(--font-sans);
}

.pct-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.pct-date {
    font-family: var(--font-handwriting); /* Biro / Caveat */
    font-size: 1.0rem;
    color: #444;
    transform: none; /* STRAIGHT */
    border-bottom: 1px dotted rgba(0,0,0,0.1);
    padding-bottom: 2px;
}

/* End of Postcard Styles */

/* BOTTOM LINE */
.bottom-line-section {
    padding: var(--spacing-md) 5% var(--spacing-xl);
    background-color: transparent;
    display: flex;
    justify-content: center;
}

.bottom-line-container {
    background-color: var(--bg-warm-cream);
    padding: 5rem 4rem;
    border-radius: 30px;
    max-width: 850px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transform: rotate(1deg);
}

.tape {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 120px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.6);
}

.bottom-line-container h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-red);
    margin-bottom: 2rem;
    font-weight: 800;
}

.bottom-line-container p {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.5;
    letter-spacing: -0.5px;
    font-style: italic; /* Emphasize quote-like aesthetic */
}

/* INSTAGRAM PREVIEW */
.instagram-section {
    padding: 0 5% var(--spacing-xl);
    background-color: var(--bg-cream);
    max-width: 1400px;
    margin: 0 auto;
}

.instagram-header {
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ig-link {
    font-size: 1.1rem;
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none;
}

.ig-link:hover {
    text-decoration: underline;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ig-post {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background-color: var(--bg-warm-cream);
    text-decoration: none;
}

.placeholder-post {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: var(--accent-red);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    transition: transform 0.5s ease;
    /* Watermark for empty state */
    background-image: url('logo.png');
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    /* Blend to make it look faded/subtle */
    box-shadow: inset 0 0 0 1000px rgba(245, 242, 234, 0.85); /* Fades the background image by layering cream over it */
}

.ig-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-post:hover, .placeholder-post:hover {
    transform: scale(1.05);
}

.ig-post:hover img {
    transform: scale(1.08);
}

/* NEWSLETTER POSTCARD SECTION */
.newsletter-section {
    padding: var(--spacing-xl) 5%;
    background-color: var(--bg-cream);
    display: flex;
    justify-content: center;
}

.newsletter-postcard {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    width: 100%;
    background-color: #ffffff;
    position: relative;

    /* Same airmail border as postcards */
    border: 12px solid transparent;
    border-image: repeating-linear-gradient(
        -45deg,
        var(--accent-red) 0 15px,
        #fff 15px 30px,
        #2B5292 30px 45px,
        #fff 45px 60px
    ) 12;

    box-shadow: 0 25px 60px rgba(0,0,0,0.15); /* More depth */
    filter: drop-shadow(0 10px 25px rgba(185,35,34,0.1));
}

/* LEFT SIDE */
.nl-left {
    flex: 1;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nl-title {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 5vw, 3.5rem); /* Slightly bolder impact */
    font-weight: 800;
    color: var(--accent-red);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -1.5px; /* Tighter editorial tracking */
    margin-bottom: 2rem;
}

.nl-body {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.nl-handwriting {
    font-family: var(--font-handwriting);
    font-size: 1.8rem; /* Larger, more confident signature */
    color: var(--accent-red);
    opacity: 0.9;
    transform: rotate(-3deg);
    margin-top: auto;
    letter-spacing: -0.5px;
}

/* VERTICAL DIVIDER */
.nl-divider {
    width: 1px;
    background-color: rgba(0,0,0,0.08);
    align-self: stretch;
    margin: 20px 0;
}

/* RIGHT SIDE */
.nl-right {
    flex: 1.1;
    padding: 2rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
}

/* STAMPS ROW */
.nl-stamps {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 2rem;
}

.nl-stamps .nl-stamp-rect:nth-child(1) { transform: rotate(-4deg); }
.nl-stamps .nl-stamp-rect:nth-child(2) { transform: rotate(2deg) translateY(-5px); }

.nl-stamp-rect {
    width: 60px; /* Slightly larger for impact */
    height: 75px;
    background: #fff; /* Crisp white */
    padding: 6px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.15);
    mask: radial-gradient(3px at 0 0, transparent 96%, #000) -3px -3px / 6px 6px;
    -webkit-mask: radial-gradient(3px at 0 0, transparent 96%, #000) -3px -3px / 6px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nl-stamp-rect img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nl-circle-postmark {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.nl-circle-postmark > svg:first-child {
    width: 70px;
    height: 70px;
}

.nl-wavy {
    position: absolute;
    top: 50%;
    left: -55px;
    width: 55px;
    height: 28px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* FORM */
.nl-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.nl-field {
    display: flex;
    align-items: baseline;
    margin-bottom: 14px;
}

.nl-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: #333;
    min-width: 52px;
    margin-right: 8px;
}

.nl-input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    padding: 4px 0 4px 4px;
    font-family: var(--font-handwriting);
    font-size: 1.1rem;
    color: #111;
    outline: none;
    transition: border-color 0.2s ease;
}

.nl-input::placeholder {
    color: rgba(0,0,0,0.25);
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

.nl-input:focus {
    border-bottom-color: var(--accent-red);
}

.nl-submit {
    margin-top: auto;
    align-self: flex-start;
    background: var(--accent-red);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(185,35,34,0.2);
}

.nl-submit:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(185,35,34,0.3);
}

@media (max-width: 700px) {
    .newsletter-postcard {
        flex-direction: column;
    }
    .nl-divider {
        width: 100%; height: 1px;
        margin: 0 20px;
    }
}

/* PHONE TYPE DROPDOWN */
.nl-field-select {
    align-items: center;
    position: relative;
}

.nl-select-wrapper {
    flex: 1;
    position: relative;
}

.nl-select-btn {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    padding: 4px 0 4px 4px;
    font-family: var(--font-handwriting);
    font-size: 1.1rem;
    color: rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: border-color 0.2s ease;
}

.nl-select-btn.selected {
    color: #111;
}

.nl-select-btn:focus {
    outline: none;
    border-bottom-color: var(--accent-red);
}

.nl-select-arrow {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nl-select-btn.open .nl-select-arrow {
    transform: rotate(180deg);
}

.nl-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 50;
}

.nl-dropdown.open {
    display: block;
}

.nl-option {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.nl-option:hover {
    background: rgba(185, 35, 34, 0.06);
    color: var(--accent-red);
}

/* FOOTER */
.site-footer {
    background-color: white;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.legal-links a {
    margin: 0 !important;
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.85rem !important;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-red) !important;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #999;
    font-size: 0.85rem;
}


/* NAVBAR - always visible, never animated */
.navbar,
.navbar > *,
.navbar * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: padding 0.3s ease, box-shadow 0.3s ease, height 0.3s ease !important;
}

/* ANIMATIONS */
/* Animations - better default visibility */
.fade-in, 
.slide-up, 
.slide-left { 
    opacity: 1; /* Visible by default! */
}

/* Only hide if we are about to animate them and JS is active */
.js-enabled .fade-in:not(.is-visible),
.js-enabled .slide-up:not(.is-visible),
.js-enabled .slide-left:not(.is-visible) {
    opacity: 0;
}

.fade-in.is-visible { animation: fadeIn 1s ease forwards; }
.slide-up.is-visible { animation: slideUp 0.8s ease forwards; }
.slide-left.is-visible { animation: slideLeft 0.8s ease forwards; }

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

@keyframes floatAlt {
    0% { transform: translateY(0px) rotate(4deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
    100% { transform: translateY(0px) rotate(4deg); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-graphic { margin-top: 4rem; height: 400px; display: none; } /* Simplify on smaller screens */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .postcard-canvas {
        flex-direction: column;
        gap: 20px;
    }
    .photo-area {
        height: 250px;
    }
    .pc-fields { margin-bottom: 1rem; }
    .pc-title { font-size: 1.8rem; margin-bottom: 1rem; }
}

@media (max-width: 800px) {
    .real-postcard {
        padding: 20px;
    }
    .postcard-inner {
        flex-direction: column;
    }
    .postcard-divider {
        height: 1px;
        width: 100%;
        margin: 20px 0;
    }
    .postcard-address-area {
        width: 100%;
    }
    .stamp-wrapper {
        position: absolute;
        top: -40px;
        right: 0;
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        display: none; 
    }
}

@media (max-width: 600px) {
    .hero-title { font-size: 3rem; }
    .drivers-grid { grid-template-columns: 1fr; }
    .bottom-line-container { padding: 3rem 2rem; transform: rotate(0); }
}