/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette */
    --accent: rgb(212, 160, 23); /* Elegant gold derived from logo */
    --accent-light: rgba(212, 160, 23, 0.15);
    --accent-glow: rgba(212, 160, 23, 0.4);
    
    --bg-primary: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --bg-card: #ffffff;
    
    --text-main: #111111;
    --text-muted: #555555;
    --text-light: #f5f5f5;
    
    --border-color: #eaeaea;
    --border-dark: #222222;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-dark p { color: #a0a0a0; }

.text-center { text-align: center; }
.text-white { color: #fff; }
.mb-4 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.lead { font-size: 1.25rem; font-weight: 400; }

.accent-text { color: var(--accent); }
.subtitle {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--text-main);
    color: white;
    border: 1px solid var(--text-main);
}
.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

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

.btn-contact {
    background-color: var(--text-main);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}
.btn-contact::after { display: none !important; }
.btn-contact:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (Glowing Orbs)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background-color: #fafafa;
}

/* Particles canvas */
#hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Dot grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Glowing Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: drift 12s ease-in-out infinite alternate;
    z-index: 0;
    opacity: 0.9;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.22) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 30, 30, 0.07) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
    animation-delay: -4s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.14) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: -8s;
}

@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, 20px) scale(1.06); }
    66%  { transform: translate(-20px, 50px) scale(0.97); }
    100% { transform: translate(30px, -40px) scale(1.03); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-text {
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    line-height: 1.05;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #e8b84b 60%, #c8960a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.skills-ticker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.ticker-sep {
    color: var(--border-color);
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

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

/* Hero photo */
.hero-photo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fade-in-right {
    animation: fadeInRight 1s 0.3s ease-out both;
}

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

.hero-photo-card {
    position: relative;
    max-width: 420px;
    width: 100%;
}


.hero-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
}

.hero-photo-tag {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(212,160,23,0); }
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
    background: var(--bg-dark);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,160,23,0.4), transparent);
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

.stat-num {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-serif);
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ==========================================================================
   Manifesto Section
   ========================================================================== */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.foundation-list {
    list-style: none;
    margin-bottom: 2rem;
}

.foundation-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.foundation-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

.goal-box {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border-radius: 0 8px 8px 0;
}

.goal-box h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.goal-box p {
    margin: 0;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.8;
}

/* Manifesto Visual Card */
.manifesto-visual {
    position: relative;
}

.mv-card {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 2.5rem 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(212,160,23,0.3));
}

.mv-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.mv-big-num {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.03em;
}

.mv-plus {
    font-size: 0.5em;
    vertical-align: super;
}

.mv-caption {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
    line-height: 1.5;
    max-width: 200px;
}

.mv-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 1.75rem;
}

.mv-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mv-p {
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.4rem;
    align-items: center;
}

.mv-p-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    grid-row: 1;
}

.mv-p-track {
    background: rgba(255,255,255,0.07);
    border-radius: 100px;
    height: 4px;
    overflow: hidden;
    grid-row: 1;
}

.mv-p-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), rgba(212,160,23,0.4));
    border-radius: 100px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-visual.active .mv-p-fill {
    /* width is set inline, transition handles the animation */
}

.mv-p-label {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 500;
    grid-column: 2;
    grid-row: 2;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.about-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 160, 23, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.timeline {
    list-style: none;
    margin-top: 1.5rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
}

.timeline li {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--accent);
}

.timeline .date {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ==========================================================================
   Vision Section
   ========================================================================== */
.vision {
    background: var(--bg-dark);
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.vision-pillars::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.pillar {
    position: relative;
    padding-top: 2rem;
}

.pillar-number {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.pillar-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

/* ==========================================================================
   Work / Focus Areas
   ========================================================================== */
.work-areas {
    margin-top: 4rem;
}

.work-area-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.work-area-row.reverse {
    direction: rtl;
}

.work-area-row.reverse > * {
    direction: ltr;
}

.work-area-row:last-child {
    margin-bottom: 0;
}

.work-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin-top: 1.5rem;
}

.tags li {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tags li:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: white;
}

.work-area-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.visual-box {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    z-index: 1;
    background: white;
    border: 1px solid var(--border-color);
}

.work-area-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-light);
    border-radius: 50%;
    filter: blur(40px);
}

/* ==========================================================================
   Ideas / Articles Section
   ========================================================================== */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.idea-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.idea-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.idea-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.idea-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.idea-excerpt {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.idea-card:hover .read-more svg {
    transform: translateX(4px);
    color: var(--accent);
}

.read-more svg {
    transition: var(--transition-fast);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1); /* makes logical black logos white */
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #a0a0a0;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a, .social-link {
    color: #a0a0a0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover, .social-link:hover {
    color: white;
}

.social-link svg {
    color: var(--accent);
}

.mt-2 {
    margin-top: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #777;
}

.footer-legal a:hover {
    color: white;
}

/* ==========================================================================
   Enhanced Card Hover Effects
   ========================================================================== */
.about-card {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 0 0 1px rgba(212,160,23,0.15);
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(212,160,23,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-card:hover::after {
    opacity: 1;
}

.idea-card {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.idea-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(212,160,23,0.3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

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

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text { max-width: 100%; }
    .hero-eyebrow { justify-content: center; }
    .skills-ticker { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-photo-wrap { order: -1; }
    .hero-photo-card { max-width: 320px; margin: 0 auto; }

    .stats-inner { flex-wrap: wrap; gap: 2rem; }
    .stat-divider { display: none; }
    .stat-item { flex: 0 0 calc(50% - 1rem); }

    .hero-title { font-size: 3.5rem; }
    .work-area-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .work-area-row.reverse {
        direction: ltr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .vision-pillars::before { display: none; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: white;
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.3s;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-photo-card { max-width: 260px; }
    .stat-item { flex: 0 0 100%; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}
