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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bronze-orange: #d97706;
    --bronze-orange-light: #f59e0b;
    --bronze-orange-dark: #b45309;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-purple-bronze: linear-gradient(135deg, #8b5cf6 0%, #d97706 100%);
    --gradient-bronze: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    
    /* Typography */
    --font-display: 'ethnocentric', 'Ethnocentric', sans-serif;
    --font-heading: 'termina', 'Termina', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'termina', 'Termina', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
    font-style: normal;
}

/* 
 * TYPOGRAPHY HIERARCHY
 * ====================
 * Display (Ethnocentric): Main titles, brand name, hero titles, section titles
 * Heading (Inter): Eyebrows, taglines, subtitles, card headers, smaller headings
 * Body (Termina): Body text, paragraphs, navigation, buttons
 */

/* Ethnocentric - Display font for main titles ONLY */
.hero-title,
.section-title,
.logo-text,
.stat-number,
.dichotomy-title,
.phi-symbol {
    font-family: var(--font-display);
}

/* Termina uppercase - Secondary headings, taglines, eyebrows */
h3, h4, h5, h6,
.section-tagline,
.hero-tagline,
.title-sub,
.section-subtitle,
.dichotomy-subtitle,
.synthesis-text h3,
.contact-info h3,
.portfolio-content h3,
.service-card h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Prevent horizontal overflow on narrow viewports */
html {
    overflow-x: hidden;
}

/* Navigation – glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple-bronze);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

/* Fallback when prefers-reduced-motion or FPS < 50 */
.three-fallback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(165deg,
        #0f172a 0%,
        #1e1b4b 25%,
        #312e81 50%,
        #1c1917 75%,
        #0f172a 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.three-fallback.visible {
    opacity: 1;
    visibility: visible;
}

body.no-three-background {
    background: linear-gradient(165deg,
        #0f172a 0%,
        #1e1b4b 20%,
        #312e81 45%,
        #1c1917 70%,
        #0f172a 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* High contrast over canvas (WCAG AA/AAA) */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 24px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 100%;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

.title-main {
    /* Scale with viewport so "Kangarang" stays inside on narrow screens */
    font-size: clamp(1.75rem, 9vw, 7rem);
}

.title-sub {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-top: 0.75rem;
    opacity: 0;
    letter-spacing: 0.3em;
}

.hero-taglines {
    position: relative;
    height: 5rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-tagline {
    position: absolute;
    width: 100%;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 0 16px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.8s ease;
    font-weight: 500;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.25em;
}

.hero-tagline.active {
    opacity: 1;
    transform: translateY(0);
    animation: taglineGlow 3s ease-in-out infinite;
}

@keyframes taglineGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    margin-top: 0.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4), 0 0 20px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--bronze-orange);
}

.btn-secondary:hover {
    background: var(--gradient-bronze);
    border-color: var(--bronze-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(1px);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bronze-orange);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2), 0 0 30px rgba(217, 119, 6, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(1px);
    position: relative;
    z-index: 1;
}

.section-tagline {
    text-align: center;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 500;
    margin: -2rem auto 2rem;
    background: var(--gradient-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    max-width: 800px;
    letter-spacing: 0.25em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
    text-align: center;
    color: white;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.portfolio-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.portfolio-link {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Philosophy Section - Square & Compass */
.philosophy {
    padding: 8rem 0 4rem;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(1px);
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Dichotomy Sections */
.dichotomy-section {
    padding: 6rem 0;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(1px);
    position: relative;
    z-index: 1;
}

.dichotomy-section.alt-bg {
    background: rgba(15, 23, 42, 0.4);
}

.dichotomy-container {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 500px;
}

.dichotomy-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.dichotomy-side.compass-side {
    transform: translateX(50px);
}

.dichotomy-side.animate {
    opacity: 1;
    transform: translateX(0);
}

.square-side {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-right: none;
}

.compass-side {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-left: none;
}

.dichotomy-content {
    max-width: 400px;
    text-align: center;
}

.dichotomy-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.dichotomy-icon svg {
    width: 80px;
    height: 80px;
}

.square-side .dichotomy-icon svg,
.square-side .dichotomy-icon {
    color: var(--primary-color);
}

.compass-side .dichotomy-icon svg,
.compass-side .dichotomy-icon {
    color: var(--bronze-orange);
}

.dichotomy-icon .icon-emoji {
    font-size: 4rem;
    line-height: 1;
}

/* Single emoji (Engineering) – scale up to match visual weight of two emojis on Artistry side */
.dichotomy-icon .icon-emoji:only-child {
    font-size: 5rem;
}

.square-side .icon-emoji {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compass-side .icon-emoji {
    background: var(--gradient-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dichotomy-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.square-side .dichotomy-title {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compass-side .dichotomy-title {
    background: var(--gradient-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dichotomy-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.square-side .dichotomy-subtitle {
    color: var(--primary-color);
}

.compass-side .dichotomy-subtitle {
    color: var(--bronze-orange);
}

.dichotomy-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.dichotomy-traits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dichotomy-traits li {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
}

.square-side .dichotomy-traits li {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

.compass-side .dichotomy-traits li {
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: var(--text-primary);
}

/* Divider */
.dichotomy-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    position: relative;
}

.divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, 
        rgba(99, 102, 241, 0.5) 0%, 
        rgba(217, 119, 6, 0.5) 100%);
}

.divider-symbol {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 400;
    padding: 1rem;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Synthesis Section - Golden Ratio (glassmorphism overlay) */
.synthesis-section {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.synthesis-header {
    text-align: center;
    margin-bottom: 4rem;
}

.synthesis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.golden-ratio-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.golden-spiral {
    width: 100%;
    max-width: 400px;
    height: auto;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.golden-spiral.animate {
    opacity: 1;
    transform: scale(1);
}

.phi-symbol {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 2rem;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

.synthesis-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.synthesis-description {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.synthesis-principles {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.principle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.principle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bronze-orange);
    transform: translateX(10px);
}

.principle-icon {
    font-size: 1.5rem;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.principle-text {
    color: var(--text-primary);
    font-weight: 500;
}

.synthesis-symbol {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.synthesis-svg {
    width: 200px;
    height: 200px;
    opacity: 0;
    transform: rotate(-180deg);
    transition: all 1s ease;
}

.synthesis-svg.animate {
    opacity: 1;
    transform: rotate(0deg);
}

.synthesis-cta {
    margin-top: 2rem;
    text-align: center;
}

/* About Section */
.about {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(1px);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-purple-bronze);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(1px);
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(1px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .dichotomy-container {
        flex-direction: column;
        min-height: auto;
    }

    .dichotomy-side {
        padding: 3rem 2rem;
    }

    .dichotomy-divider {
        flex-direction: row;
        width: 100%;
        height: 60px;
        padding: 0 2rem;
    }

    .divider-line {
        height: 2px;
        width: auto;
        flex: 1;
    }

    .synthesis-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .golden-spiral {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        min-height: 48px;
    }

    .menu-toggle {
        display: flex;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-taglines {
        height: 4rem;
        margin-bottom: 2rem;
    }

    .section-title {
        margin-bottom: 2.5rem;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-tagline {
        margin: -1.5rem auto 1.5rem;
    }

    .section-subtitle {
        margin-bottom: 2.5rem;
        font-size: 1rem;
    }

    .services {
        padding: 4rem 0;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        min-height: 48px;
        padding: 0.875rem 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .portfolio {
        padding: 4rem 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .portfolio-image {
        height: 250px;
    }

    .portfolio-content {
        padding: 1.5rem;
    }

    .portfolio-content h3 {
        font-size: 1.3rem;
    }

    .portfolio-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .portfolio-link {
        width: 100%;
        max-width: 200px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Philosophy & Dichotomy mobile styles */
    .philosophy {
        padding: 4rem 0 2rem;
    }

    .dichotomy-section {
        padding: 3rem 0;
    }

    .dichotomy-side {
        padding: 2.5rem 1.5rem;
    }

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

    .dichotomy-description {
        font-size: 1rem;
    }

    .dichotomy-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .dichotomy-icon svg {
        width: 60px;
        height: 60px;
    }

    .dichotomy-icon .icon-emoji {
        font-size: 3rem;
    }

    .dichotomy-icon .icon-emoji:only-child {
        font-size: 3.75rem;
    }

    .synthesis-section {
        padding: 4rem 0;
    }

    .synthesis-header {
        margin-bottom: 2.5rem;
    }

    .phi-symbol {
        font-size: 1.5rem;
    }

    .synthesis-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .synthesis-description {
        text-align: center;
        font-size: 1rem;
    }

    .synthesis-principles {
        gap: 0.75rem;
    }

    .principle {
        padding: 1rem 1.25rem;
    }

    .principle-text {
        font-size: 0.95rem;
    }

    .synthesis-svg {
        width: 150px;
        height: 150px;
    }

    .about {
        padding: 4rem 0;
    }

    .about-description {
        font-size: 1rem;
    }

    .contact {
        padding: 4rem 0;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .contact-form button {
        min-height: 48px;
    }

    .footer {
        padding: 1.5rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .scroll-indicator {
        bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero-content {
        padding: 1rem 0.75rem;
    }

    .title-main {
        font-size: clamp(2rem, 9vw, 4rem);
    }

    .title-sub {
        font-size: clamp(0.75rem, 3vw, 1rem);
        letter-spacing: 0.2em;
    }

    .hero-tagline {
        letter-spacing: 0.15em;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .services-grid {
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .dichotomy-side {
        padding: 2rem 1rem;
    }

    .dichotomy-title {
        font-size: 1.75rem;
    }

    .dichotomy-traits li {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-content h3 {
        font-size: 1.15rem;
    }
}
