/*
Theme Name: PTI - Power Tool Insider (Redesign)
Theme URI: https://powertoolinsider.com
Author: Power Tool Insider
Description: Workshop Authority - Industrial-blueprint aesthetic for expert power tool reviews
Version: 2.0.0
*/

/* ==========================================================================
   CSS VARIABLES - Workshop Authority Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors - Workshop Palette */
    --pti-safety-yellow: #FFD700;
    --pti-warning-orange: #FF8C00;
    --pti-tool-black: #0A0A0A;
    --pti-oil-gray: #1C1C1C;
    --pti-steel: #2D3142;
    --pti-concrete: #3F4756;
    --pti-aluminum: #8B8D94;
    --pti-zinc: #BFC0C0;
    --pti-blueprint: #E8F4F8;

    /* Accent & Status */
    --pti-certified: #00D084;
    --pti-caution: #FF3B30;
    --pti-precision: #0A84FF;

    /* Typography - Industrial Strength */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-heading: 'Oswald', 'Arial Black', sans-serif;
    --font-body: 'IBM Plex Mono', 'Courier New', monospace;

    /* Spacing - Grid System (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Layout */
    --container: 1280px;
    --container-narrow: 880px;
    --header-height: 80px;
    --diagonal-angle: 3deg;

    /* Effects */
    --shadow-tool: 0 4px 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-lifted: 0 8px 24px rgba(0, 0, 0, 0.7);
    --glow-yellow: 0 0 20px rgba(255, 215, 0, 0.4);
    --texture-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--pti-zinc);
    background: var(--pti-tool-black);
    position: relative;
}

/* Concrete texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        var(--texture-noise),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.site-main {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   TRUST BANNER - Certification Strip
   ========================================================================== */

.trust-banner {
    background: linear-gradient(135deg, var(--pti-safety-yellow) 0%, var(--pti-warning-orange) 100%);
    color: var(--pti-tool-black);
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.05) 10px,
        rgba(0, 0, 0, 0.05) 20px
    );
    animation: slide-caution 20s linear infinite;
}

@keyframes slide-caution {
    to { left: 0%; }
}

.trust-banner p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.trust-banner strong {
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HEADER - Workshop Command Center
   ========================================================================== */

.site-header {
    background: var(--pti-oil-gray);
    border-bottom: 3px solid var(--pti-safety-yellow);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.site-logo {
    flex-shrink: 0;
}

.site-logo svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease;
}

.site-logo a:hover svg {
    transform: translateY(-2px);
}

/* Main Navigation - Tool Rack */
.main-navigation {
    flex: 1;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--pti-zinc);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: var(--pti-tool-black);
    background: var(--pti-safety-yellow);
    border-color: var(--pti-safety-yellow);
    box-shadow: var(--glow-yellow);
}

/* Dropdown indicator */
.primary-menu > li.menu-item-has-children > a::after {
    content: ' \25BE';
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Dropdown Sub-menu */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--pti-oil-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--pti-safety-yellow);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    list-style: none;
    margin: 0;
    padding: var(--space-xs) 0;
    z-index: 200;
}

.primary-menu > li:hover > .sub-menu {
    display: block;
}

.primary-menu .sub-menu li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--pti-zinc);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
    border: none;
    background: transparent;
}

.primary-menu .sub-menu li a:hover {
    color: var(--pti-safety-yellow);
    background: rgba(255, 215, 0, 0.08);
    padding-left: calc(var(--space-md) + 4px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--pti-safety-yellow);
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* ==========================================================================
   LAYOUT - Blueprint Grid System
   ========================================================================== */

.site-main {
    min-height: 100vh;
    background:
        linear-gradient(180deg, var(--pti-tool-black) 0%, var(--pti-oil-gray) 100%);
}

.content-wrapper {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

/* Article Header - Diagonal Hero */
.article-header {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    margin: 0 0 var(--space-3xl) 0;
    background:
        linear-gradient(135deg, var(--pti-steel) 0%, var(--pti-oil-gray) 100%);
    border-left: 6px solid var(--pti-safety-yellow);
    transform: skewY(calc(var(--diagonal-angle) * -1));
    box-shadow: var(--shadow-tool);
}

.article-header > * {
    transform: skewY(var(--diagonal-angle));
}

.article-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pti-tool-black);
    background: var(--pti-safety-yellow);
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-md);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: var(--shadow-tool);
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    color: var(--pti-safety-yellow);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 var(--space-lg) 0;
    text-shadow:
        2px 2px 0 var(--pti-tool-black),
        4px 4px 8px rgba(0, 0, 0, 0.8);
}

.article-meta {
    display: flex;
    gap: var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--pti-aluminum);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.article-meta span::before {
    content: '■';
    color: var(--pti-safety-yellow);
    font-size: 0.5em;
}

/* ==========================================================================
   VERDICT BOX - Quality Control Stamp
   ========================================================================== */

.verdict-box {
    background: var(--pti-steel);
    border: 4px solid var(--pti-safety-yellow);
    padding: var(--space-xl);
    margin: var(--space-3xl) 0;
    position: relative;
    box-shadow: var(--shadow-lifted);
    transform: rotate(-0.5deg);
}

.verdict-box::before {
    content: 'CERTIFIED';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--pti-certified);
    opacity: 0.1;
    transform: rotate(-15deg);
    pointer-events: none;
}

.verdict-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--pti-safety-yellow);
}

.verdict-icon {
    width: 64px;
    height: 64px;
    background: var(--pti-safety-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--glow-yellow);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--glow-yellow); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

.verdict-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--pti-safety-yellow);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.verdict-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--pti-aluminum);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.verdict-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--pti-blueprint);
}

.verdict-content strong {
    color: var(--pti-safety-yellow);
    font-weight: 600;
}

/* ==========================================================================
   PRODUCT CARDS - Tool Showcase
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
}

.product-card {
    background: var(--pti-steel);
    border: 2px solid var(--pti-concrete);
    padding: var(--space-xl);
    position: relative;
    transition: all 0.3s ease;
    clip-path: polygon(
        0 0,
        calc(100% - 16px) 0,
        100% 16px,
        100% 100%,
        16px 100%,
        0 calc(100% - 16px)
    );
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pti-safety-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--pti-safety-yellow);
    box-shadow: var(--shadow-lifted);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-rank {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    background: var(--pti-safety-yellow);
    color: var(--pti-tool-black);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: var(--shadow-tool);
}

.product-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--pti-oil-gray);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    border: 2px solid var(--pti-concrete);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pti-blueprint);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--pti-safety-yellow);
    font-size: 1.125rem;
}

.rating-value {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--pti-safety-yellow);
}

.product-price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--pti-safety-yellow);
    margin-bottom: var(--space-md);
}

.product-features {
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}

.product-features li {
    padding: var(--space-xs) 0;
    color: var(--pti-zinc);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.product-features li::before {
    content: '▸';
    color: var(--pti-safety-yellow);
    flex-shrink: 0;
    font-weight: 700;
}

.cta-button {
    display: block;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--pti-safety-yellow);
    color: var(--pti-tool-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    box-shadow: var(--shadow-tool);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    background: var(--pti-warning-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lifted), var(--glow-yellow);
}

.cta-button:hover::before {
    left: 100%;
}

/* ==========================================================================
   CONTENT TYPOGRAPHY - Technical Manual
   ========================================================================== */

.article-content {
    color: var(--pti-zinc);
    font-size: 1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pti-safety-yellow);
    text-transform: uppercase;
    margin: var(--space-3xl) 0 var(--space-lg) 0;
    padding-left: var(--space-md);
    border-left: 6px solid var(--pti-safety-yellow);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pti-blueprint);
    text-transform: uppercase;
    margin: var(--space-xl) 0 var(--space-md) 0;
    letter-spacing: 0.03em;
}

.article-content p {
    margin: 0 0 var(--space-lg) 0;
}

.article-content strong {
    color: var(--pti-safety-yellow);
    font-weight: 600;
}

.article-content a {
    color: var(--pti-precision);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: var(--pti-safety-yellow);
}

.article-content ul,
.article-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.article-content li {
    margin-bottom: var(--space-sm);
    color: var(--pti-zinc);
}

.article-content li::marker {
    color: var(--pti-safety-yellow);
}

/* Comparison Tables - Spec Sheets */
.article-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--space-xl) 0;
    background: var(--pti-steel);
    border: 2px solid var(--pti-concrete);
    overflow: hidden;
}

.article-content thead {
    background: var(--pti-safety-yellow);
    color: var(--pti-tool-black);
}

.article-content th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.article-content td {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--pti-concrete);
    color: var(--pti-zinc);
}

.article-content tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* Blockquotes - Expert Callouts */
.article-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-xl);
    background: var(--pti-steel);
    border-left: 6px solid var(--pti-certified);
    position: relative;
    font-style: italic;
    color: var(--pti-blueprint);
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--pti-certified);
    opacity: 0.2;
    line-height: 1;
}

/* ==========================================================================
   FOOTER - Workshop Floor
   ========================================================================== */

.site-footer {
    background: var(--pti-tool-black);
    border-top: 4px solid var(--pti-safety-yellow);
    margin-top: var(--space-3xl);
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(255, 215, 0, 0.02) 50px,
        rgba(255, 215, 0, 0.02) 51px
    );
    pointer-events: none;
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pti-safety-yellow);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.footer-section p,
.footer-section a {
    color: var(--pti-aluminum);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-section a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--pti-safety-yellow);
}

.footer-legal {
    text-align: center;
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--pti-concrete);
    color: var(--pti-aluminum);
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   RESPONSIVE - Mobile Workshop
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --space-3xl: 48px;
    }

    .header-inner {
        padding: var(--space-md);
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--pti-oil-gray);
        border-bottom: 3px solid var(--pti-safety-yellow);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
    }

    .main-navigation.is-active {
        transform: translateY(0);
    }

    .primary-menu {
        flex-direction: column;
        padding: var(--space-lg);
    }

    .primary-menu > li > a {
        width: 100%;
    }

    .primary-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        border: none;
        border-top: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .primary-menu .sub-menu li a {
        padding-left: calc(var(--space-md) + var(--space-md));
        font-size: 0.8125rem;
        color: var(--pti-aluminum);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .article-header {
        padding: var(--space-xl) var(--space-md);
        margin: 0 0 var(--space-xl) 0;
    }

    .article-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .article-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .verdict-box {
        padding: var(--space-lg);
        margin: var(--space-xl) 0;
    }

    .verdict-title {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: var(--space-xl) var(--space-md);
    }
}

/* ==========================================================================
   ANIMATIONS - Workshop Motion
   ========================================================================== */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-header,
.verdict-box,
.product-card {
    animation: fade-in-up 0.6s ease-out backwards;
}

.article-header {
    animation-delay: 0.1s;
}

.verdict-box {
    animation-delay: 0.2s;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* Measurement tape decoration */
@keyframes tape-measure {
    0% { background-position: 0 0; }
    100% { background-position: 60px 0; }
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 6px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--pti-safety-yellow) 0px,
            var(--pti-safety-yellow) 2px,
            var(--pti-tool-black) 2px,
            var(--pti-tool-black) 10px,
            var(--pti-safety-yellow) 10px,
            var(--pti-safety-yellow) 12px,
            var(--pti-tool-black) 12px,
            var(--pti-tool-black) 60px
        );
    animation: tape-measure 2s linear infinite;
}

/* Scroll reveal effects */
@media (prefers-reduced-motion: no-preference) {
    .article-content h2,
    .article-content h3 {
        opacity: 0;
        transform: translateX(-20px);
        animation: slide-in-right 0.6s ease-out forwards;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }
}

@keyframes slide-in-right {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Print styles */
@media print {
    body::before,
    .trust-banner,
    .site-header,
    .site-footer,
    .cta-button {
        display: none;
    }

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