/* ===================================
   ABL Corporate Website
   Dark Minimalist Design
   =================================== */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #141414;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.1);
    --accent-glow: rgba(255, 255, 255, 0.05);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    --container-width: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follower {
        display: block;
    }
}

.cursor-follower.active {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background var(--transition-base), padding var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(80, 80, 80, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float-orb 15s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(60, 60, 60, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-orb 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(70, 70, 70, 0.3) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation: float-orb 18s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.particle-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 10s linear infinite;
}

@keyframes particle-float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: title-reveal 0.8s forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.35s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.title-line.highlight {
    background: linear-gradient(90deg, #ffffff 0%, #888888 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-reveal 0.8s forwards, shimmer 3s ease-in-out infinite;
    animation-delay: 0.35s, 1s;
}

@keyframes title-reveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 50%; }
    50% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: var(--accent-dim);
    border-color: var(--text-primary);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ===================================
   Sections Common
   =================================== */

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    position: relative;
    padding: 0 40px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--border-hover);
}

.section-label::before { left: 0; }
.section-label::after { right: 0; }

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ===================================
   About Section
   =================================== */

.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-lead {
    font-size: 20px;
    color: var(--text-primary) !important;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 10px;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================================
   Services Section
   =================================== */

.services {
    background: var(--bg-primary);
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition-slow);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 64px;
    font-weight: 700;
    color: var(--accent-dim);
    line-height: 1;
    transition: color var(--transition-base);
}

.service-card:hover .service-number {
    color: var(--border-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 12px;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--text-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
    transition: stroke var(--transition-base);
}

.service-card:hover .service-icon svg {
    stroke: var(--bg-primary);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.service-card:hover .service-features li::before {
    background: var(--text-primary);
}

.services-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tech-lines {
    position: absolute;
    inset: 0;
    opacity: 0.03;
}

.tech-lines svg {
    width: 100%;
    height: 100%;
}

.tech-line {
    stroke: var(--text-primary);
    stroke-width: 0.5;
}

/* ===================================
   Studio Section
   =================================== */

.studio {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-intro {
    max-width: 600px;
    margin: 24px auto 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.studio-showcase {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

/* Studio Video Container */
.studio-video-container {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-primary);
    overflow: hidden;
}

.studio-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: grayscale(1);
    transition: filter var(--transition-slow);
}

.studio-video-container.playing iframe {
    pointer-events: auto;
    filter: grayscale(0);
}

/* Custom Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.studio-video-container.playing .video-play-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.play-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    fill: none;
    margin-left: 4px;
    transition: all var(--transition-base);
}

.play-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-slow);
}

.video-play-btn:hover .play-icon {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: translate(-50%, -50%) scale(1.05);
}

.video-play-btn:hover .play-icon svg {
    stroke: var(--bg-primary);
}

.video-play-btn:hover .play-ring {
    width: 100px;
    height: 100px;
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .video-play-btn {
        width: 64px;
        height: 64px;
    }

    .play-icon {
        width: 64px;
        height: 64px;
    }

    .play-icon svg {
        width: 20px;
        height: 20px;
    }

    .play-ring {
        width: 64px;
        height: 64px;
    }

    .video-play-btn:hover .play-ring {
        width: 80px;
        height: 80px;
    }
}

.studio-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.studio-feature {
    padding: 32px;
    border-top: 1px solid var(--border);
}

.studio-feature:first-child {
    border-right: 1px solid var(--border);
}



.studio-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.studio-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.studio-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.studio-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.studio-specs li {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 12px;
    background: var(--accent-dim);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.studio-outcome {
    text-align: center;
    padding: 32px;
    border-top: 1px solid var(--border);
}

.outcome-text {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 17px;
}

.studio-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}

.studio-bg .grid-overlay {
    animation: none;
}

/* ===================================
   Team Section
   =================================== */

.team {
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.team-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--text-muted);
    opacity: 0.5;
}

.team-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}

.team-info {
    padding: 32px;
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.team-role {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0;
}

.bio-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-base);
}

.bio-toggle:hover {
    color: var(--text-primary);
}

.bio-toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.bio-toggle[aria-expanded="true"] .bio-toggle-icon {
    transform: rotate(180deg);
}

.bio-toggle[aria-expanded="true"] .bio-toggle-text::after {
    content: 'less';
}

.bio-toggle[aria-expanded="true"] .bio-toggle-text {
    font-size: 0;
}

.bio-toggle[aria-expanded="true"] .bio-toggle-text::after {
    font-size: 13px;
}

.team-bio-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-bio-wrapper.expanded {
    grid-template-rows: 1fr;
}

.team-bio-wrapper > .team-bio {
    overflow: hidden;
    margin: 0;
}

.team-bio-wrapper.expanded > .team-bio {
    padding-top: 16px;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team Photos */
.team-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-photo[src*="marc.jpg"] {
    object-position: center 40%;
}

/* Advisers Section */
.advisers-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1200px;
}

.advisers-grid .adviser-featured {
    grid-column: span 3;
}

.advisers-grid .team-card:not(.adviser-featured) {
    grid-column: span 2;
}

.advisers-grid .team-photo {
    filter: grayscale(100%);
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-label {
    text-align: left;
    padding-left: 0;
}

.contact-info .section-label::before {
    display: none;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    color: var(--text-secondary);
    margin: 24px 0 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    outline: none;
    transition: border-color var(--transition-fast);
    resize: none;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--text-primary);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width var(--transition-base);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ===================================
   Animations
   =================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advisers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advisers-grid .adviser-featured,
    .advisers-grid .team-card:not(.adviser-featured) {
        grid-column: span 1;
    }

    .about-grid {
        gap: 48px;
    }

    .contact-wrapper {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 24px;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 72px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 32px;
    }

    .service-number {
        font-size: 48px;
        top: 24px;
        right: 24px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .advisers-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .advisers-grid .adviser-featured,
    .advisers-grid .team-card:not(.adviser-featured) {
        grid-column: span 1;
    }

    .studio-features {
        grid-template-columns: 1fr;
    }

    .studio-feature {
        padding: 24px;
    }

    .studio-feature:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .studio-outcome {
        padding: 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-label,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .section-label::after {
        display: none;
    }

    .contact-desc {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-form {
        padding: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
    }

    .service-card {
        padding: 24px;
    }

    .team-info {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .grid-overlay {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
