

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&family=Space+Mono:wght@400;700&display=swap');

:root {
    
    --bg:         #0A0A0A;
    --surface:    #111111;
    --surface-2:  #1A1A1A;
    --border:     rgba(255, 255, 255, 0.08);
    --border-lit: rgba(180, 255, 100, 0.3);

    --accent:     #B4FF64;
    --accent-dim: rgba(180, 255, 100, 0.15);
    --cyan:       #5CE0D8;
    --purple:     #A78BFA;
    --white:      #F0F0F0;
    --muted:      #7A7A7A;
    --dark:       #0A0A0A;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-mono:    'Space Mono', monospace;

    --ease-out:    cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --grid-color: rgba(255, 255, 255, 0.04);
    --grid-size:  40px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    
    background-image: radial-gradient(circle, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
}

@media (pointer: fine) {
    *, a, button, input, textarea, select { cursor: none !important; }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    border: 1px solid rgba(92, 224, 216, 0.06);
    box-shadow:
        inset 0 0 80px rgba(92, 224, 216, 0.02),
        inset 0 0 200px rgba(167, 139, 250, 0.01);
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white), var(--muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

.cursor {
    position: fixed;
    width: 12px; height: 12px;
    margin-left: -6px; margin-top: -6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: normal;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                margin 0.3s var(--ease-out), background-color 0.2s ease,
                opacity 0.3s, border-radius 0.3s var(--ease-out);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 0;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.cursor.hovered {
    width: 70px; height: 70px;
    margin-left: -35px; margin-top: -35px;
    background: var(--accent);
    font-size: 0.55rem;
    color: var(--dark);
    border-radius: 50%;
}
.cursor-follower {
    position: fixed;
    width: 40px; height: 40px;
    margin-left: -20px; margin-top: -20px;
    border: 1px solid rgba(180, 255, 100, 0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out),
                margin 0.45s var(--ease-out), opacity 0.3s;
}
.cursor-follower.hidden {
    width: 0; height: 0;
    margin-left: 0; margin-top: 0;
    opacity: 0;
}

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    mix-blend-mode: difference;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.nav-logo img {
    width: 28px; height: 28px;
    object-fit: contain;
    filter: brightness(10);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: #fff;
    transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    cursor: none;
}
.nav-theme-toggle:hover {
    border-color: var(--accent);
    background: rgba(180, 255, 100, 0.08);
}

.tool-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--purple);
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    letter-spacing: 0.06em;
    pointer-events: none;
    white-space: nowrap;
}
.tool-label.green {
    color: var(--accent);
    background: rgba(180, 255, 100, 0.06);
    border-color: rgba(180, 255, 100, 0.15);
}
.tool-label.cyan {
    color: var(--cyan);
    background: rgba(92, 224, 216, 0.06);
    border-color: rgba(92, 224, 216, 0.15);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: var(--dark);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    border: none;
    transition: background 0.3s ease, transform 0.2s var(--ease-out),
                box-shadow 0.3s ease;
}
.btn-primary:hover {
    background: #c8ff8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(180, 255, 100, 0.15);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.3s ease, color 0.3s ease,
                transform 0.2s var(--ease-out);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 6% 4rem;
    overflow: hidden;
}

.hero-eyebrow {
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(5rem, 13vw, 13rem);
    line-height: 0.92;
    color: var(--white);
    margin-bottom: 0.15em;
    position: relative;
}
.hero h1 .outline {
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
    color: transparent;
}
.hero h1 .accent {
    color: var(--accent);
}

.hero-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 1;
}
.hero-labels .tool-label {
    position: absolute;
    animation: floatLabel 6s ease-in-out infinite;
}
.hero-labels .tool-label:nth-child(1) {
    top: 22%; left: 8%;
    animation-delay: 0s;
}
.hero-labels .tool-label:nth-child(2) {
    top: 35%; right: 6%;
    animation-delay: -2s;
}
.hero-labels .tool-label:nth-child(3) {
    bottom: 25%; left: 12%;
    animation-delay: -4s;
}
@keyframes floatLabel {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50%      { transform: translateY(-8px); opacity: 1; }
}

.hero-sub {
    max-width: 520px;
    margin: 2.5rem auto 3rem;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-meta {
    position: absolute;
    bottom: 2.5rem;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hero-meta span {
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-meta .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: tagPulse 2s ease-in-out infinite;
}

.work-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.work-header {
    padding: 3rem 6% 2.5rem;
    border-bottom: 1px solid var(--border);
}
.work-header .tag { margin-bottom: 0.8rem; }
.work-header h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    color: var(--white);
}

.drive-project-section { margin-bottom: 4rem; }

.section-label {
    padding: 2rem 6% 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid var(--border);
}
.section-label h2 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    color: var(--white);
}
.section-count {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-left: auto;
    letter-spacing: 0.08em;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1px;
    background: var(--border);
    margin: 1px 6%;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    height: 380px;
    background: var(--surface);
    cursor: pointer;
}
.portfolio-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.4) brightness(0.6);
    transition: filter 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
.portfolio-card:hover img {
    filter: grayscale(0) brightness(0.85);
    transform: scale(1.05);
}

.card-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 56px; height: 56px;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1rem;
    padding-left: 3px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.25);
}
.portfolio-card:hover .card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out);
}
.portfolio-card:hover .card-content { transform: translateY(0); }
.card-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-display);
}
.card-content span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-modal {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.video-modal.active { opacity: 1; pointer-events: auto; }

.close-modal {
    position: absolute; top: 2rem; right: 3rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.close-modal:hover {
    background: rgba(255, 80, 80, 0.15);
    border-color: #FF5050;
    color: #FF5050;
}

.modal-content {
    width: 90%; max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.modal-content iframe { width: 100%; height: 100%; border: none; }

.services-page {
    min-height: 100vh;
    padding: 120px 6% 6rem;
}

.page-header { margin-bottom: 4rem; }
.page-header .tag { margin-bottom: 0.8rem; }
.page-header h1 {
    font-size: clamp(3.5rem, 9vw, 9rem);
    line-height: 0.9;
}

.services-accordion {
    border-top: 1px solid var(--border);
    max-width: 900px;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    background: none;
    border: none;
    cursor: none;
    text-align: left;
    transition: color 0.3s ease;
}
.accordion-trigger:hover .accordion-title { color: var(--accent); }

.accordion-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    min-width: 2.5rem;
    opacity: 0.6;
}

.accordion-icon-wrap {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}
.accordion-trigger:hover .accordion-icon-wrap,
.accordion-item.open .accordion-icon-wrap {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.accordion-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: var(--white);
    flex: 1;
    line-height: 1;
    transition: color 0.3s ease;
}

.accordion-arrow {
    font-size: 0.75rem;
    color: var(--muted);
    transition: transform 0.4s var(--ease-out), color 0.3s ease;
    flex-shrink: 0;
}
.accordion-item.open .accordion-arrow {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-in-out);
}
.accordion-item.open .accordion-body {
    max-height: 400px;
}
.accordion-inner {
    padding: 0 0 2.5rem 5rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 100px;
}

.contact-info {
    padding: 5rem 5% 4rem 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: 'CONTACT';
    position: absolute;
    bottom: -2rem; left: -0.5rem;
    font-family: var(--font-display);
    font-size: 10rem;
    color: rgba(255,255,255,0.015);
    pointer-events: none;
    line-height: 1;
}
.contact-info .tag { margin-bottom: 0.8rem; }
.contact-info h1 {
    font-size: clamp(3rem, 6vw, 7rem);
    line-height: 0.95;
    margin-bottom: 2rem;
}
.contact-info p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 400px;
    margin-bottom: 3rem;
}

.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.contact-link i {
    color: var(--accent);
    width: 16px;
    font-size: 0.85rem;
}
.contact-link:hover { color: var(--white); }

.contact-form-panel {
    padding: 5rem 6% 4rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form-panel h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-group select option { background: var(--surface-2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 255, 100, 0.06);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.15);
}

.w-full { width: 100%; justify-content: center; margin-top: 0.5rem; }

.tag-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.8rem 1.2rem;
    min-height: 54px;
    align-items: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: text;
}
.tag-input-container:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 255, 100, 0.06);
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(180, 255, 100, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    max-width: 100%;
}
.tag-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tag-badge button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}
.tag-badge button:hover {
    opacity: 1;
}

.tag-input-display {
    flex: 1;
    min-width: 150px;
    background: transparent;
    border: none !important;
    padding: 0 !important;
    margin: 0;
    box-shadow: none !important;
}
.tag-input-display:focus {
    box-shadow: none !important;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    animation: fadeInUp 0.5s var(--ease-out) both;
}
.form-success .success-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
}
.form-success h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
}
.form-success p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}
.site-footer a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover { color: var(--accent); }

html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    right: 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.section-statement {
    padding: 10rem 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
}
.statement-inner {
    max-width: 800px;
    text-align: center;
}
.big-statement {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
    letter-spacing: -0.01em;
}
.big-statement em {
    font-style: normal;
    color: var(--accent);
    position: relative;
}
.statement-inner .tool-label {
    margin-bottom: 1.5rem;
}

.section-marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 1.8rem 0;
    position: relative;
}
.marquee-track {
    display: flex;
    width: max-content;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marqueeSlide 30s linear infinite;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee-dot {
    font-size: 0.5rem;
    color: var(--accent);
    opacity: 0.5;
}
@keyframes marqueeSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section-work-showcase {
    padding: 6rem 6% 4rem;
    position: relative;
}

.work-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}
.work-showcase-title .tool-label { margin-bottom: 1rem; }
.work-showcase-title h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}
.work-showcase-sub {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 400px;
}

.expand-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 0.8rem 1.5rem 0.8rem 2rem;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: none;
    transition: border-color 0.4s ease, background 0.4s ease,
                color 0.3s ease, box-shadow 0.4s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.expand-toggle:hover {
    border-color: var(--accent);
    background: rgba(180, 255, 100, 0.05);
    box-shadow: 0 0 30px rgba(180, 255, 100, 0.06);
}
.expand-toggle.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--dark);
}
.expand-toggle.active:hover {
    background: #c8ff8a;
}

.expand-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                background 0.3s ease;
}
.expand-toggle.active .expand-icon {
    transform: rotate(135deg);
    background: rgba(10, 10, 10, 0.15);
}

.work-teaser {
    border-top: 1px solid var(--border);
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.4s ease;
}
.work-teaser.hidden {
    max-height: 0;
    opacity: 0;
    border-top: none;
}

.teaser-strip {
    display: flex;
    flex-direction: column;
}
.teaser-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.3s ease;
}
.teaser-item:hover {
    padding-left: 0.5rem;
}
.teaser-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    opacity: 0.5;
    min-width: 2rem;
}
.teaser-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}
.teaser-item:hover .teaser-name {
    color: var(--accent);
}

.work-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.5s ease 0.1s;
}
.work-expanded.open {
    max-height: 5000px; 
    opacity: 1;
}

.section-services-preview {
    padding: 8rem 6%;
}
.services-preview-header {
    margin-bottom: 4rem;
}
.services-preview-header .tool-label {
    margin-bottom: 1rem;
}
.services-preview-header h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    background: var(--bg);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.service-card:hover {
    background: var(--surface);
}
.service-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
}
.service-icon-bg {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.03);
    transition: color 0.4s ease, transform 0.4s ease;
}
.service-card:hover .service-icon-bg {
    color: rgba(180, 255, 100, 0.08);
    transform: scale(1.1);
}

.section-cta {
    padding: 10rem 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    position: relative;
}
.cta-inner {
    max-width: 700px;
}
.cta-inner .tool-label {
    margin-bottom: 1.5rem;
}
.cta-inner h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.05;
}
.cta-inner .accent {
    color: var(--accent);
}
.cta-inner .btn-primary {
    margin-top: 0;
}

body.light-theme {
    --bg:         #F5F5F0;
    --surface:    #EBEBE5;
    --surface-2:  #DDDDD5;
    --border:     rgba(0,0,0,0.08);
    --border-lit: rgba(120, 180, 60, 0.3);
    --white:      #1A1A1A;
    --muted:      #6B7280;
    --accent:     #3D8700;
    --accent-dim: rgba(61, 135, 0, 0.1);
    --dark:       #F5F5F0;
    --grid-color: rgba(0, 0, 0, 0.04);
}
body.light-theme .site-nav {
    mix-blend-mode: normal;
}
body.light-theme .nav-logo,
body.light-theme .nav-links a {
    color: var(--white);
}
body.light-theme .nav-theme-toggle {
    color: var(--white);
    border-color: rgba(0,0,0,0.15);
}
body.light-theme .nav-logo img { filter: brightness(0); }
body.light-theme .contact-info::before { color: rgba(0,0,0,0.03); }

@media (max-width: 900px) {
    .hero h1 { font-size: clamp(4rem, 14vw, 9rem); }
    .contact-page { grid-template-columns: 1fr; }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 4rem 6% 3rem;
    }
    .contact-form-panel { padding: 3rem 6% 4rem; }
    .site-nav { padding: 1.2rem 2rem; }
    .nav-links { gap: 1.5rem; }
    .portfolio-grid { margin: 1px 2%; }
    .section-label, .work-header { padding-left: 3%; padding-right: 3%; }
    .hero-labels { display: none; }
    .services-grid-home { grid-template-columns: 1fr; }
    .section-statement { padding: 6rem 6%; min-height: auto; }
    .section-cta { padding: 6rem 6%; min-height: auto; }
    .scroll-indicator { display: none; }
    .work-showcase-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 650px) {
    .hero h1 { font-size: clamp(3.5rem, 16vw, 8rem); }
    .hero { padding: 5rem 5% 4rem; }
    .services-page { padding: 100px 5% 4rem; }
    .portfolio-grid { grid-template-columns: 1fr; margin: 1px 0; }
    .portfolio-card { height: 280px; }
    .modal-content { aspect-ratio: auto; height: 300px; }
    .work-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .site-nav { padding: 1rem 1.2rem; }
    .nav-links { gap: 1.2rem; }
    .site-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .service-card { min-height: 200px; padding: 2rem 1.5rem; }
    .section-services-preview { padding: 5rem 5%; }
    .big-statement { font-size: clamp(1.3rem, 5vw, 2rem); }
    .section-work-showcase { padding: 4rem 5% 3rem; }
    .expand-toggle { padding: 0.6rem 1.2rem 0.6rem 1.5rem; font-size: 0.6rem; }
}

