:root {
    /* Minimalist / Crypto Theme - Light Mode */
    --bg-color: #FFFFFF;
    /* Pure White */
    --text-color: #050505;
    /* Deep Black */
    --accent-color: #E0E0E0;
    /* Light Grey for subtle accents */
    --highlight-color: #000000;
    /* Pure Black for highlights */
    --secondary-text: #555555;
    --line-color: #E0E0E0;
    /* Darkened from #F0F0F0 for better visibility */

    --card-bg: rgba(0, 0, 0, 0.02);
    --card-border: rgba(0, 0, 0, 0.05);
    --card-hover-bg: rgba(0, 0, 0, 0.05);

    --font-serif: 'Playfair Display', serif;
    --font-mono: 'Space Mono', monospace;

    --spacing-unit: 8px;
    --container-width: 1400px;

    --nav-height: 70px;
    /* Reduced from 80px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
    /* Custom cursor implementation later */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Schematic Grid Background - Technical Feel */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(34, 34, 34, 0) 0%,
            var(--line-color) 20%,
            var(--line-color) 80%,
            rgba(34, 34, 34, 0) 100%);
    opacity: 0.5;
}

/* Modern Navigation - Glassmorphism */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--nav-height);
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    /* Slightly darker black */
}

.logo a {
    font-weight: 700;
    /* Bold weight */
    font-size: 16px;
    /* Smaller size */
    font-family: var(--font-mono);
    /* Match nav font */
    color: var(--text-color);
    letter-spacing: 0;
    text-transform: none;
    /* Prevent uppercase from nav */
}

.nav-links a {
    color: var(--secondary-text);
    margin-left: 40px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-color);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

/* Main Layout */
main {
    padding: 0 5%;
    max-width: var(--container-width);
    margin: 0 auto;
    min-height: 100vh;
}

/* Landing Page Hero */
#hero-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
}

.hero-content-landing {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-left {
    padding-right: 40px;
}

/* Main Logo Drag Prevention */
.main-logo {
    display: block;
    width: 625px;
    height: auto;
    margin-bottom: 40px;
    margin-left: -65px;
    animation: floatLogo 8s ease-in-out infinite;
    user-select: none;
    -webkit-user-drag: none;
    /* Webkit specific */
    pointer-events: none;
    /* Disables dragging entirely */
}

/* ... existing keyframes ... */

/* Footer Links */
.footer-col a {
    color: #888888;
    transition: color 0.2s;
    display: inline-block;
    /* Ensure it only wraps text */
    width: fit-content;
    /* Only highlight text width */
    text-decoration: none;
}

.footer-col a:hover {
    color: #FFFFFF;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.02);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.landing-tagline {
    font-size: 2.2rem;
    /* Reduced by another ~20% */
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 40px;
    font-family: var(--font-serif);
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Elegant Cards */
.landing-summaries {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.landing-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    /* Reduced from 180px to shift text left */
    align-items: center;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.landing-card:hover {
    background: var(--card-hover-bg);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.landing-card .card-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 140px;
    /* Matched to grid column width */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    /* Increased by 25% from 1.0rem */
    font-weight: 400;
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Enforce max 2 lines safely */
    display: block;
    line-height: 1.4;
    max-height: 3.0em;
    /* Slighly more breathing room */
    overflow: hidden;
}

.landing-card .read-more {
    font-family: var(--font-mono);
    font-size: 11px;
    /* Reduced by ~20% from 14px */
    color: var(--secondary-text);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.landing-card:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}


/* Subpages */
main.subpage {
    padding-top: 180px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    /* Space between label and title */
}

.page-header {
    margin-bottom: 40px;
    /* Reduced from 80px */
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 40px;
    margin-left: 20%;
    margin-right: 20%;
}

.page-title {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.page-description {
    max-width: 100%;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #222222;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: var(--font-mono);
    color: var(--secondary-text);
    font-size: 1rem;
    max-width: 100%;
}

/* Services Grid */
/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    /* Reduced gap for tighter layout */
    margin-left: 20%;
    margin-right: 20%;
}

.service-item {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    /* Space between Title and List */
    scroll-margin-top: 240px;
    /* Increased offset for full visibility */
}

.service-item:hover {
    background-color: transparent;
}

.service-item h3 {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-bottom: 0;
    /* Gap is handled by parent gap */
    color: var(--highlight-color);
    font-weight: 400;
}

.service-item ul {
    list-style: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    /* Reduced to match .page-description / Team */
    color: var(--secondary-text);
    line-height: 1.8;
}

.service-item ul li::before {
    content: '> ';
    color: #000000;
    /* Black arrows */
}

/* Sidebar Navigation */
html {
    scroll-behavior: smooth;
}

.sidebar-nav {
    position: fixed;
    top: 180px;
    /* Align with page header "02 / Services" padding-top */
    left: 4%;
    /* In the left margin */
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.sidebar-header {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    margin-bottom: 8px;
    display: inline-block;
    width: fit-content;
}

.sidebar-nav a {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: #000;
}

/* Small black box on hover/active */
.sidebar-nav a::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.2s;
}

.sidebar-nav a:hover::before,
.sidebar-nav a:focus::before,
.sidebar-nav a.active::before {
    opacity: 1;
    /* Stay visible when active */
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    padding: 60px 5%;
    /* Increased padding slightly for the black box look */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #888888;
    /* Light grey text */
    text-transform: uppercase;
    margin-top: 60px;
    background: #050505;
    /* Black background */
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Writing Page Styles (Paradigm-style) */
.writing-section {
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 80px;
    /* Space between sections */
    scroll-margin-top: 180px;
    /* Offset for sidebar nav */
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 8px;
    /* Tighter to content */
    display: block;
}

.writing-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-color);
}

.writing-item {
    display: grid;
    /* Grid for alignment */
    grid-template-columns: 150px 1fr;
    padding: 24px 0;
    border-bottom: 1px solid var(--line-color);
    transition: background-color 0.2s;
    text-decoration: none;
    color: var(--text-color);
    align-items: baseline;
}

.writing-item:hover {
    background-color: var(--card-hover-bg);
    padding-left: 20px;
    /* Slight shift on hover */
    padding-right: 20px;
}

.writing-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--secondary-text);
}

.writing-title {
    font-family: var(--font-mono);
    /* Switched to Mono */
    font-size: 1.25rem;
    /* Slightly smaller for mono balance */
    font-weight: 700;
    /* Bold for technical feel */
    letter-spacing: -0.5px;
}

.footer-col a {
    color: #888888;
    transition: color 0.2s;
    display: inline-block;
    width: fit-content;
    text-decoration: none;
}

.footer-col a:hover {
    color: #FFFFFF;
}

/* Writing Filter Tabs */
.writing-filter {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.filter-btn:hover {
    border-color: #000;
    color: #000;
}

.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Hidden section (for filtering) */
.writing-section.hidden {
    display: none !important;
}

/* Coming Soon Specialized Styling */
.coming-soon-container {
    margin-top: 40px;
    padding: 60px 40px;
    border: 1px solid var(--line-color);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.coming-soon-title {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.coming-soon-description {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    max-width: 500px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-lines {
        display: none;
    }

    .hero-content-landing {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-left {
        padding-right: 0;
    }

    .landing-tagline {
        font-size: 2.5rem;
    }

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

    .page-header {
        margin-left: 0;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    /* Row gap 40px, Column gap 20px */
    margin-left: 20%;
    margin-right: 20%;
    /* Matched to left margin */
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square images */
    background-color: #E0E0E0;
    /* Placeholder grey */
    margin-bottom: 8px;
    filter: grayscale(100%);
    /* B&W Aesthetic */
    transition: filter 0.3s;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member:hover .member-image {
    filter: grayscale(0%);
    /* Color on hover */
}

.team-member h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    /* Small, technical */
    font-weight: 700;
    margin: 0;
    color: #000;
}

.team-member p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-text);
    line-height: 1.4;
    margin: 0;
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Info takes 1 part, Form takes 2 parts */
    gap: 60px;
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 100px;
}

.info-group {
    margin-bottom: 40px;
}

.info-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 4px;
    display: inline-block;
}

.info-link {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    /* Reduced by 20% */
    color: #000;
    text-decoration: none;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}

.info-link:hover {
    opacity: 0.6;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--secondary-text);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    /* Added padding for box look */
    font-family: var(--font-mono);
    font-size: 1rem;
    color: #000;
    background: rgba(0, 0, 0, 0.03);
    /* Faint highlight */
    border: none;
    border-bottom: 1px solid var(--line-color);
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #000;
    background: rgba(0, 0, 0, 0.05);
    /* Slightly darker focus */
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    align-self: flex-start;
    padding: 16px 32px;
    background-color: #000;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
    margin-top: 16px;
}

.submit-btn:hover {
    background-color: #333;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {

    html,
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        /* Border removed */
    }

    .grid-lines {
        display: none;
    }

    main.subpage {
        padding-top: 80px;
    }

    /* Navigation - FORCE OVERRIDE */
    nav {
        height: 60px !important;
        padding: 0 12px 0 14px !important;
        /* Increased right padding for breathing room */
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .logo {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 0;
        padding-right: 0;
        border-right: none;
        width: auto;
    }

    .logo a {
        font-size: 17px !important;
        /* Large Logo */
        white-space: nowrap !important;
        display: block;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.5px;
        margin-right: 4px;
    }

    .nav-links {
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: flex-end !important;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: visible;
        gap: 12px;
        /* Wide gap */
        padding-right: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        margin: 0;
        font-size: 8.5px !important;
        letter-spacing: 0.1px;
        white-space: nowrap;
        padding: 4px 0;
        color: #555;
        font-weight: 600;
        text-transform: uppercase;
    }

    /* Main Logo and Hero Tagline */
    .hero-content-landing {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
        /* No padding top */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
        /* Allow image to overflow if needed */
        padding-bottom: 20px;
    }

    /* Animation Keyframes */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .landing-tagline {
        font-size: 1.35rem;
        /* Increased size (was 0.95rem) */
        line-height: 1.3;
        text-align: center;
        margin: 10px auto 30px auto;
        max-width: 95%;
        color: #000;
        -webkit-text-fill-color: #000;
        background: none;

        /* Apply Animation */
        animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        opacity: 0;
        animation-delay: 0.1s;
    }

    .main-logo {
        width: 100%;
        max-width: none;
        margin: -20px auto 0 auto;
        /* Negative margin to pull up */
        display: block;
        position: relative;
        left: 0;
    }

    /* Cards - Landing Summaries */
    .landing-summaries {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .landing-card {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: left;
        padding: 10px 14px;
        /* Hard compact padding */
        width: 92%;
        margin: 0 auto;
        box-sizing: border-box;
        min-height: 0;
    }

    .landing-card .card-label {
        font-size: 8px !important;
        /* Tiny label */
        opacity: 0.6;
        width: 100%;
        flex-direction: row;
        gap: 6px;
        margin-bottom: 0;
    }

    .landing-card p,
    .landing-card h3 {
        font-size: 16px !important;
        /* Increased to 16px */
        line-height: 1.35;
        margin: 0;
        font-weight: 500;
        letter-spacing: -0.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        display: block;
    }

    .landing-card .read-more {
        display: block !important;
        font-size: 8px !important;
        /* Tiny link */
        text-transform: uppercase;
        margin-top: 4px;
        opacity: 0.7;
        text-align: right;
        width: 100%;
    }


    /* Duplicate block removed */

    /* About Page & Subpage Mobile Compact */
    .subpage {
        margin-top: 0 !important;
        /* No top margin */
        padding: 0 5%;
    }

    .page-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding-top: 0 !important;
        /* Reduce space after nav */
    }

    .section-label {
        font-size: 8px !important;
        margin-bottom: 20px !important;
        /* MORE space between label and title */
        opacity: 0.5;
    }

    .page-title {
        font-size: 1.6rem !important;
        line-height: 1.1;
        margin-bottom: 30px !important;
        /* MORE space between title and paragraphs */
    }

    /* Media query continues... */

    /* Services Page Fixes */
    .sidebar-nav {
        display: none !important;
        /* Hide floating sidebar on mobile */
    }

    .services-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 20px;
        /* Reduced gap */
        padding-top: 0 !important;
        padding-bottom: 60px !important;
        /* Added space before footer */
        border-top: none !important;
        /* Remove line */
        margin-top: 0 !important;
        /* Remove extra margin */
    }



    .page-description p:last-child {
        margin-bottom: 10px !important;
        /* Reduce space after last paragraph */
    }



    .service-item {
        padding: 0;
        border: none;
    }

    .service-item h3 {
        font-size: 1rem !important;
        /* Smaller headers */
        margin-bottom: 2px !important;
        /* Almost touching list */
        font-weight: 600 !important;
        /* Slightly bolder to keep hierarchy */
    }

    .service-item ul {
        margin-top: 0 !important;
        /* Remove top gap */
        padding-left: 0 !important;
        /* Remove bullet indent */
        list-style-position: inside;
        /* Pull bullets closer */
        margin-bottom: 0 !important;
    }

    .page-description p {
        font-family: var(--font-mono) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #000 !important;
        font-weight: 400 !important;
        /* Force standard weight */
    }

    .service-item ul li {
        font-family: var(--font-mono) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #000 !important;
        margin-bottom: 6px;
        /* Slightly tighter list items */
        font-weight: 400 !important;
        /* Force standard weight */
    }

    .service-item {
        margin-bottom: 30px !important;
        /* Tighter section spacing */
        padding-bottom: 0 !important;
    }



    .connector-dot,
    .connector-line {
        display: none !important;
        /* Remove complex graphics for mobile */
    }

    /* Writing Page Mobile */
    .writing-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 40px !important;
    }

    .section-subtitle {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }

    .writing-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 12px 0 !important;
    }

    .writing-date {
        font-size: 9px !important;
        opacity: 0.6;
    }

    .writing-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    /* Coming Soon Mobile */
    .coming-soon-container {
        padding: 40px 20px !important;
        margin-top: 20px !important;
    }

    .coming-soon-title {
        font-size: 1rem !important;
    }

    .coming-soon-description {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    /* Contact Page Mobile */
    .contact-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 40px !important;
    }

    .contact-info {
        order: 1;
        /* Info comes first */
    }

    .contact-form-container {
        order: 2;
        /* Form comes after */
        width: 100% !important;
    }

    .info-group {
        margin-bottom: 20px !important;
    }

    .info-label {
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }

    .info-link {
        font-size: 11px !important;
    }

    .form-group label {
        font-size: 10px !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 12px !important;
        padding: 10px !important;
    }

    .contact-form {
        gap: 16px !important;
    }

    .submit-btn {
        font-size: 11px !important;
        padding: 12px 20px !important;
    }

    .page-description p {
        font-size: 0.64rem !important;
        /* 15% smaller (was 0.75rem) */
        line-height: 1.8 !important;
        margin-bottom: 24px !important;
        width: 100%;
        max-width: none;
    }

    /* Footer */
    footer {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px 10px;
        text-align: left;
        margin-top: 0;
        /* Tighten to content above */
        width: 100%;
        margin-left: 0;
        padding: 20px 5%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        background-color: #000;
        color: #fff !important;
    }

    .footer-col {
        width: auto !important;
        flex: 0 0 auto;
    }

    .footer-col:nth-child(2) {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }

    .footer-col:nth-child(3) {
        width: 100% !important;
        margin-top: 10px;
    }

    .footer-col h4 {
        margin: 0;
        font-size: 9px !important;
        text-transform: none !important;
        letter-spacing: 0;
        color: #fff !important;
    }

    .footer-col h4 sup {
        font-size: 0.7em;
        vertical-align: super;
    }

    .footer-col p {
        margin: 4px 0 0 0;
        font-size: 9px !important;
        opacity: 0.5;
        color: #fff !important;
    }

    .footer-col a {
        font-size: 9px !important;
        display: block;
        margin-bottom: 4px;
        text-decoration: none;
        color: #fff !important;
        opacity: 0.7;
        text-transform: uppercase;
    }
}

/* End of @media (max-width: 768px) */

/* Extra Small Mobile correction */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 columns for phones */
        gap: 20px 10px !important;
        /* Tighter spacing */
        margin-left: 5% !important;
        margin-right: 5% !important;
        padding-bottom: 60px !important;
        /* Space before footer */
    }

    .team-member h3 {
        font-size: 10px !important;
        /* Smaller name */
        margin-bottom: 2px !important;
    }

    .service-item h3 {
        font-size: 14px !important;
        /* Standardized mobile header */
        margin-bottom: 2px !important;
    }

    .team-member p {
        font-size: 9px !important;
        /* Compact description */
        line-height: 1.3 !important;
        opacity: 0.7;
    }

    .member-image {
        margin-bottom: 4px !important;
        /* Tighter gap to text */
    }

    .landing-tagline {
        font-size: 1.5rem;
        /* Even smaller for narrow phones */
    }
}

/* Text Highlights & Animations */
.highlight {
    font-weight: 600;
    color: #000;
    display: inline;
    /* Keep inline flow */
    animation: highlightReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    position: relative;
}

.highlight-subtle {
    font-weight: 500;
    color: #111;
    display: inline;
    animation: highlightReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    animation-delay: 0.1s;
    position: relative;
}

/* Stagger animations for effect */
.page-description p:nth-child(1) .highlight {
    animation-delay: 0.1s;
}

.page-description p:nth-child(2) .highlight {
    animation-delay: 0.2s;
}

.page-description p:nth-child(2) .highlight-subtle {
    animation-delay: 0.3s;
}

.page-description p:nth-child(3) .highlight {
    animation-delay: 0.4s;
}

.page-description p:nth-child(4) .highlight {
    animation-delay: 0.5s;
}

@keyframes highlightReveal {
    0% {
        opacity: 0;
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}