/*
Theme Name: Knox Blueprint
Theme URI: https://callumknox.com
Author: Callum Knox
Author URI: https://callumknox.com
Description: Luxury agency aesthetic for autonomous system blueprints. Products-first design with consulting upsell.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: knox-blueprint
Tags: blog, portfolio, minimal, custom-menu, featured-images, theme-options
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Palette — Monochrome Luxury with warm undertones */
    --charcoal: #0d0d0d;
    --charcoal-light: #1a1a1a;
    --slate: #2d2d2d;
    --stone: #3d3d3d;
    --mist: #8b8b8b;
    --bone: #e8e6e1;
    --ivory: #f5f4f0;
    --white: #ffffff;

    /* Accent — Burnt Orange / Clay */
    --clay: #c75c3e;
    --clay-hover: #a84a2e;
    --clay-light: #f0e6e2;

    /* Success state */
    --live-green: #22c55e;

    /* Typography */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 128px;

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --duration-fast: 200ms;
    --duration-base: 350ms;
    --duration-slow: 600ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--ivory);
    overflow-x: hidden;
}

/* Noise overlay for texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Custom cursor follower */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--clay);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
    opacity: 0.6;
    display: none;
}

@media (min-width: 1024px) {
    .cursor-follower {
        display: block;
    }
}

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    background-color: rgba(199, 92, 62, 0.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(245, 244, 240, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    transition: opacity 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--clay);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(199, 92, 62, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--mist);
    margin-bottom: var(--space-lg);
}

.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--clay);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--charcoal);
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--clay);
}

.hero-subhead {
    font-size: 19px;
    color: var(--mist);
    max-width: 640px;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: var(--space-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--charcoal);
    color: var(--ivory);
}

.btn-primary:hover {
    background: var(--clay);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

.btn-price {
    font-family: var(--font-body);
    font-weight: 500;
    opacity: 0.8;
    font-size: 14px;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-proof {
    display: flex;
    gap: var(--space-lg);
    font-size: 13px;
    color: var(--mist);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: 12px;
    color: var(--mist);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--mist), transparent);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: var(--space-md);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

.title-accent {
    color: var(--clay);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-lg);
}

.products-grid-large {
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(199, 92, 62, 0.2);
}

.product-card.collapsible-product {
    cursor: pointer;
    transition: none;
}

.product-card.collapsible-product:hover {
    transform: none;
}

.product-card.collapsible-product[data-expanded="true"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(199, 92, 62, 0.2);
}

.product-card.collapsible-product[data-expanded="false"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.product-niche {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mist);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--clay);
    color: var(--white);
}

.product-badge[data-badge="Start Here"] {
    background: var(--live-green);
}

.product-badge[data-badge="High Touch"] {
    background: var(--charcoal);
}

.product-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.product-subtitle {
    font-size: 15px;
    color: var(--mist);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

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

.price-current {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
}

.price-original {
    font-size: 15px;
    color: var(--mist);
    text-decoration: line-through;
}

.product-modules {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: var(--space-md);
}

.module-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.module-bullet {
    color: var(--clay);
    font-weight: 700;
}

.product-bonuses {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: var(--clay-light);
    border-radius: 4px;
}

.bonus-item {
    font-size: 13px;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.bonus-star {
    color: var(--clay);
}

.product-cta {
    margin-top: var(--space-md);
    width: 100%;
    justify-content: center;
}

/* Collapsible product content */
.product-card .product-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.product-card[data-expanded="true"] .product-content {
    display: block;
    max-height: 1000px;
}

.product-card[data-expanded="true"] .product-toggle {
    transform: rotate(180deg);
}

.product-toggle {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out);
}

.product-header-clickable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    width: 100%;
}

.product-header-main {
    flex: 1;
}

.product-header-main h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.product-summary {
    font-size: 14px;
    color: var(--mist);
    line-height: 1.4;
}

.product-header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.product-price {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--clay);
}

.product-card[data-expanded="true"] .product-price {
    font-size: 24px;
}

.product-toggle {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
}

.product-toggle:hover {
    border-color: var(--clay);
    background: var(--clay-light);
}

.product-toggle svg {
    width: 16px;
    height: 16px;
}

.product-content {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-content p {
    font-size: 15px;
    color: var(--mist);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.product-outcomes {
    list-style: none;
    margin-bottom: var(--space-md);
}

.product-outcomes li {
    font-size: 13px;
    color: var(--charcoal);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.5;
}

.product-outcomes li:last-child {
    border-bottom: none;
}

.product-outcomes strong {
    color: var(--clay);
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 12px 20px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    background: var(--charcoal);
    color: var(--ivory);
}

.btn-sm:hover {
    background: var(--clay);
    transform: translateY(-2px);
}

.btn-sm svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.btn-sm:hover svg {
    transform: translateX(4px);
}

.blueprints-note {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    font-size: 14px;
    color: var(--mist);
}

/* ============================================
   PROOF
   ============================================ */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.proof-stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.proof-value {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--clay);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.proof-label {
    font-size: 13px;
    color: var(--mist);
    font-weight: 500;
}

.systems-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.system-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: all 0.4s var(--ease-out);
}

.system-card:hover {
    border-color: var(--clay);
    transform: translateY(-4px);
}

.system-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.system-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mist);
}

.system-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 12px;
    font-weight: 600;
    color: var(--live-green);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--live-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.system-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.system-desc {
    font-size: 15px;
    color: var(--mist);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.system-metrics {
    display: flex;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mist);
}

.metric-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
}

.proof-note {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    font-size: 14px;
    color: var(--mist);
}

/* ============================================
   CONSULTING
   ============================================ */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
}

.consulting-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: var(--space-xl);
    position: relative;
    transition: all 0.4s var(--ease-out);
}

.consulting-card:hover {
    border-color: var(--clay);
    transform: translateY(-4px);
}

.consulting-card:first-child {
    border-color: var(--clay);
}

.consulting-badge {
    position: absolute;
    top: -12px;
    left: var(--space-lg);
    background: var(--clay);
    color: var(--ivory);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.consulting-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.consulting-price {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--clay);
    margin-bottom: var(--space-md);
}

.consulting-price span {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--mist);
}

.consulting-desc {
    font-size: 15px;
    color: var(--mist);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.consulting-list {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.consulting-list li {
    font-size: 14px;
    color: var(--charcoal);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.consulting-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clay);
    font-weight: 700;
}

.consulting-note {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    font-size: 14px;
    color: var(--mist);
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
    background: var(--charcoal);
    color: var(--ivory);
    padding: var(--space-2xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.cta-subhead {
    font-size: 17px;
    color: var(--mist);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.cta-subhead strong {
    color: var(--ivory);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.cta-final .btn-primary {
    background: var(--ivory);
    color: var(--charcoal);
}

.cta-final .btn-primary:hover {
    background: var(--clay);
    color: var(--ivory);
}

.cta-final .btn-outline {
    border-color: var(--ivory);
    color: var(--ivory);
}

.cta-final .btn-outline:hover {
    background: var(--ivory);
    color: var(--charcoal);
}

.cta-direct {
    font-size: 14px;
    color: var(--mist);
}

.cta-direct a {
    color: var(--clay);
    text-decoration: none;
}

.cta-direct a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 14px;
    color: var(--mist);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    font-size: 14px;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-legal {
    font-size: 13px;
    color: var(--mist);
}

.footer-note {
    font-size: 13px;
    color: var(--mist);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-proof {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .products-grid,
    .products-grid-large {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .systems-list {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

/* ============================================
   BLOG STYLES (WordPress)
   ============================================ */
.site-main {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 244, 240, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.site-branding .brand-wordmark {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
}

.brand-sep {
    color: var(--clay);
}

.brand-byline {
    font-size: 12px;
    color: var(--mist);
    margin-top: 4px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

.nav-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-menu li a:hover {
    color: var(--clay);
}

.nav-subscribe-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-subscribe-btn:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.menu-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

/* Blog Index */
.archive-header {
    margin-bottom: var(--space-xl);
    max-width: 700px;
}

.archive-header .section-label {
    color: var(--clay);
    margin-bottom: var(--space-sm);
}

.archive-header h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.archive-description {
    font-size: 17px;
    color: var(--mist);
    line-height: 1.6;
    max-width: 600px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.post-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: var(--clay);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.post-card-meta {
    font-size: 12px;
    color: var(--mist);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.post-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: var(--space-xs) 0 var(--space-sm);
    flex: 1;
}

.post-card h2 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card h2 a:hover {
    color: var(--clay);
}

.post-card p {
    font-size: 15px;
    color: var(--mist);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--clay);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap 0.2s ease;
}

.read-more:hover {
    text-decoration: none;
    gap: 8px;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.nav-links a,
.nav-links span {
    padding: var(--space-xs) var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    border-color: var(--clay);
    color: var(--clay);
}

.nav-links .current,
.nav-links span.current {
    background: var(--charcoal);
    color: var(--ivory);
    border-color: var(--charcoal);
}

.nav-links .prev,
.nav-links .next {
    font-weight: 600;
}

/* Single Post */
.single-post {
    max-width: 720px;
    margin: 0 auto;
}

.single-post-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post-header .section-label {
    color: var(--clay);
    display: block;
    margin-bottom: var(--space-md);
}

.single-post-header h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.single-post-meta {
    font-size: 14px;
    color: var(--mist);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.single-post-meta a {
    color: var(--clay);
    text-decoration: none;
}

.single-post-meta a:hover {
    text-decoration: underline;
}

.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--charcoal);
}

.single-post-content p {
    margin-bottom: var(--space-md);
}

.single-post-content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.single-post-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.single-post-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.single-post-content li {
    margin-bottom: var(--space-xs);
}

.single-post-content a {
    color: var(--clay);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post-content a:hover {
    color: var(--clay-hover);
}

.single-post-content blockquote {
    border-left: 3px solid var(--clay);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--mist);
    background: var(--clay-light);
    padding: var(--space-md);
    border-radius: 0 4px 4px 0;
}

.single-post-content blockquote p {
    margin-bottom: 0;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: var(--space-lg) 0;
}

.single-post-content figure {
    margin: var(--space-lg) 0;
}

.single-post-content figcaption {
    font-size: 14px;
    color: var(--mist);
    text-align: center;
    margin-top: var(--space-sm);
}

.single-post-content code {
    background: var(--charcoal-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9em;
    color: var(--clay);
}

.single-post-content pre {
    background: var(--charcoal-light);
    padding: var(--space-md);
    border-radius: 8px;
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post-content pre code {
    background: none;
    padding: 0;
}

.single-post-content hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: var(--space-2xl) 0;
}

.single-post-footer {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post-footer .read-more {
    font-size: 15px;
}

/* Archive */
.archive-header {
    margin-bottom: var(--space-xl);
}

.archive-header h1 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.archive-description {
    font-size: 17px;
    color: var(--mist);
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.nav-links a,
.nav-links span {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    border-color: var(--clay);
    color: var(--clay);
}

.nav-links .current {
    background: var(--charcoal);
    color: var(--ivory);
    border-color: var(--charcoal);
}

/* Footer */
.site-footer {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-xl) 0;
}

.footer-subscribe {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-subscribe-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-subscribe-headline {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-subscribe-sub {
    font-size: 14px;
    color: var(--mist);
}

.footer-main {
    padding: var(--space-xl) 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.footer-wordmark {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.footer-byline {
    display: block;
    font-size: 12px;
    color: var(--mist);
    margin-top: 4px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-nav a {
    font-size: 14px;
    color: var(--charcoal);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--clay);
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    color: var(--mist);
}

.footer-copy a {
    color: var(--mist);
    text-decoration: none;
}

.footer-copy a:hover {
    color: var(--clay);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-subscribe-btn {
        display: none;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-copy {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero .about-content {
    max-width: 900px;
}

.about-background {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-text p {
    font-size: 17px;
    color: var(--mist);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

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

.about-metric {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--ivory);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-metric .metric-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--clay);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.about-metric .metric-label {
    font-size: 13px;
    color: var(--mist);
    font-weight: 500;
}

.about-philosophy {
    background: var(--ivory);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.philosophy-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: var(--space-lg);
    position: relative;
}

.philosophy-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--clay);
    opacity: 0.3;
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

.philosophy-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    padding-right: var(--space-xl);
}

.philosophy-card p {
    font-size: 15px;
    color: var(--mist);
    line-height: 1.6;
}

.about-proof {
    background: var(--white);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero .contact-content {
    max-width: 700px;
}

.contact-options {
    background: var(--ivory);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.contact-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
    border-color: var(--clay);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--clay);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.contact-card p {
    font-size: 15px;
    color: var(--mist);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 14px;
    font-weight: 600;
    color: var(--clay);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.contact-link:hover {
    gap: 8px;
}

.contact-link svg {
    width: 16px;
    height: 16px;
}

.consulting-cta {
    background: var(--charcoal);
    color: var(--ivory);
}

.consulting-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.consulting-cta .section-label {
    color: var(--mist);
}

.consulting-cta .section-title {
    color: var(--ivory);
}

.consulting-cta-desc {
    font-size: 17px;
    color: var(--mist);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.consulting-cta .btn-primary {
    background: var(--ivory);
    color: var(--charcoal);
}

.consulting-cta .btn-primary:hover {
    background: var(--clay);
    color: var(--ivory);
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

@media (max-width: 600px) {
    .about-metrics {
        grid-template-columns: 1fr;
    }

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

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

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
