/* ═══════════════════════════════════════════════════════════
   REVIFY LABS — ElevenLabs-inspired Light Theme
   ═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────
   RESET
────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ──────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────── */
:root {
    --bg:       #ffffff;
    --bg-soft:  #f7f7f7;
    --bg-card:  #f3f3f3;
    --fg:       #0d0d0d;
    --muted:    #6b6b6b;
    --border:   #e5e5e5;

    --purple:   #0891b2;
    --teal:     #0369a1;
    --gold:     #b45309;

    --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.76, 0, 0.24, 1);

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ──────────────────────────────────────
   BASE
────────────────────────────────────── */
html { font-size: 16px; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }


/* ──────────────────────────────────────
   PRELOADER
────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

#preloader-logo {
    width: min(200px, 42vw);
    height: auto;
    display: block;
    animation: preloaderBreath 1.4s ease-in-out infinite alternate;
}

@keyframes preloaderBreath {
    from { opacity: 0.6; transform: scale(0.97); }
    to   { opacity: 1;   transform: scale(1); }
}

#preloader-tagline {
    position: absolute;
    top: calc(50% + 130px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font);
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #0d0d0d;
    white-space: nowrap;
    opacity: 1;
}

/* ──────────────────────────────────────
   CUSTOM CURSOR
────────────────────────────────────── */
*, *::before, *::after {
    cursor: none !important;
}

#cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1.5px rgba(0,0,0,0.55);
}

.cursor-ring { display: none; }

/* ──────────────────────────────────────
   SCROLL PROGRESS BAR
────────────────────────────────────── */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fg);
    z-index: 9997;
    transform: scaleX(0);
    transform-origin: left;
}

/* ──────────────────────────────────────
   FLOATING DOCK
────────────────────────────────────── */
#dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 14px 64px 14px 52px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    opacity: 0;
}

#dock.dock--visible {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    opacity: 1;
}

.dock-logo img {
    height: 52px;
    width: auto;
    display: block;
}

.dock-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* ──────────────────────────────────────
   NAVIGATION
────────────────────────────────────── */
#nav {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 500;
    padding: 20px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}

#nav.nav--scrolled {
    border-bottom-color: var(--border);
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--muted);
    transition: color 0.25s ease;
}

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

.nav-cta {
    color: #ffffff !important;
    background: var(--fg);
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.25s ease, opacity 0.25s ease !important;
}

.nav-cta:hover {
    opacity: 0.82;
}

/* ──────────────────────────────────────
   SITE
────────────────────────────────────── */
#site { opacity: 0; }

/* ──────────────────────────────────────
   HERO
────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f0f0f2;
}

/* Very subtle ambient light blobs */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.orb-purple {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: driftA 20s ease-in-out infinite alternate;
}

.orb-blue {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(3, 105, 161, 0.06) 0%, transparent 70%);
    top: 10%;
    right: -8%;
    animation: driftB 24s ease-in-out infinite alternate;
}

.orb-amber {
    width: 36vw;
    height: 36vw;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.05) 0%, transparent 70%);
    bottom: -10%;
    left: 38%;
    animation: driftC 28s ease-in-out infinite alternate;
}

@keyframes driftA {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(4%, 6%) scale(1.1); }
}
@keyframes driftB {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-5%, 4%) scale(0.92); }
}
@keyframes driftC {
    from { transform: translate(0, 0); }
    to   { transform: translate(-4%, -6%); }
}

/* Hero two-column layout */
.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 52px 9vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: end;
}

/* Hero content — bottom-left, minimal */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Eyebrow */
.hero-eyebrow {
    margin-bottom: 22px;
    overflow: hidden;
}

.eyebrow-inner {
    display: inline-flex;
    align-items: center;
}

.eyebrow-line { display: none; }

/* Hero square photo */
.hero-photo {
    width: 100%;
    max-width: min(900px, 78vh);
    aspect-ratio: 1 / 1;
    align-self: end;
    justify-self: center;
    overflow: hidden;
    background: transparent;
}

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

.eyebrow-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

/* Headline */
.hero-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 0.9;
    gap: 0;
}

.hl-row {
    display: block;
    overflow: hidden;
    padding-bottom: 0.07em;
}

.hl-inner {
    display: block;
    font-size: clamp(44px, 6.5vw, 104px);
    font-weight: 800;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: var(--fg);
    will-change: transform;
}

.hl-row.accent .hl-inner {
    color: #5a5a5a;
}

/* Sub */
.hero-sub-wrap { overflow: hidden; }

.hero-sub {
    margin-top: 28px;
    max-width: 30ch;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--muted);
    line-height: 1.7;
    font-weight: 400;
}

/* Scroll cue */
.hero-scroll {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-label {
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.3);
    font-weight: 500;
}

.scroll-track {
    width: 1px;
    height: 48px;
    background: var(--border);
    overflow: hidden;
    position: relative;
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4), transparent);
    animation: scrollPulse 2.3s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(280%); }
}

/* Hero meta */
.hero-meta {
    position: absolute;
    bottom: 32px;
    left: 52px;
    right: 52px;
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.25);
}

/* ──────────────────────────────────────
   PROJECTS — HORIZONTAL SCROLL
────────────────────────────────────── */
#projects { overflow: hidden; position: relative; }

.projects-track {
    display: flex;
    height: 100vh;
    will-change: transform;
}

.proj-panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 min(9vw, 130px);
    gap: 40px;
    overflow: hidden;
    background: var(--bg);
    border-right: 1px solid var(--border);
}

/* Subtle tinted accent — much softer on white */
.panel-accent {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 72% 50%,
            rgba(var(--r), var(--g), var(--b), 0.06) 0%,
            transparent 55%);
}

/* BG number */
.panel-bg-num {
    position: absolute;
    bottom: -6vh;
    right: -1vw;
    font-size: min(33vw, 440px);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    will-change: transform;
}

/* Project info */
.proj-info {
    position: relative;
    z-index: 2;
}

.proj-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.proj-num {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.proj-tag {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--bg-soft);
    font-weight: 500;
}

.proj-name {
    font-size: clamp(60px, 8.5vw, 112px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.88;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--fg);
}

[data-slug="dpala"]    .proj-name,
[data-slug="webzaden"] .proj-name,
[data-slug="webheute"] .proj-name { color: var(--fg); }

.proj-desc {
    font-size: min(1rem, 1.75vw);
    color: var(--muted);
    line-height: 1.75;
    max-width: 370px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* CTA button — black ElevenLabs style */
.proj-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    background: var(--fg);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid var(--fg);
    will-change: transform;
    transition: opacity 0.25s ease;
    position: relative;
    overflow: hidden;
}

.proj-btn::before { display: none; }

.proj-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Override per-project borders (not needed in light theme) */
[data-slug="dpala"] .proj-btn,
[data-slug="webzaden"] .proj-btn,
[data-slug="webheute"] .proj-btn {
    border: 1px solid var(--fg);
}

[data-slug="dpala"] .proj-btn::before,
[data-slug="webzaden"] .proj-btn::before,
[data-slug="webheute"] .proj-btn::before { display: none; }

/* ──────────────────────────────────────
   PROJECT VISUALS
────────────────────────────────────── */
.proj-logo-img {
    max-width: 480px;
    max-height: 480px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.proj-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    will-change: transform;
}

/* ── DPALabs — Purple Orb ── */
.vis-orb {
    position: relative;
    width: min(360px, 42vw);
    height: min(360px, 42vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-sphere {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at 32% 26%,
        #f0e7ff 0%,
        #a5f3fc 8%,
        #22d3ee 18%,
        #06b6d4 42%,
        #0e7490 70%,
        #042838 100%
    );
    box-shadow:
        0 0 50px  rgba(8, 145, 178, 0.35),
        0 0 100px rgba(8, 145, 178, 0.14),
        inset -30px -30px 70px rgba(4, 40, 56, 0.5),
        inset 18px  18px 40px rgba(255,255,255,0.07);
    animation: sphereFloat 9s ease-in-out infinite;
}

.orb-halo {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: haloSpin var(--dur) linear infinite var(--dir, normal);
}

.h1 { inset: -18%; border-color: rgba(8, 145, 178, 0.20); --dur: 14s; }
.h2 { inset: -38%; border-color: rgba(8, 145, 178, 0.10); --dur: 23s; --dir: reverse; }
.h3 { inset: -58%; border-color: rgba(8, 145, 178, 0.05); --dur: 36s; }

@keyframes sphereFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    35%       { transform: translateY(-16px) scale(1.015); }
    70%       { transform: translateY(8px) scale(0.985); }
}

@keyframes haloSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Webzaden — Teal Diamond ── */
.vis-diamond {
    position: relative;
    width: min(320px, 38vw);
    height: min(320px, 38vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-shape {
    width: 62%;
    height: 62%;
    background: linear-gradient(
        145deg,
        #b2f5ea 0%,
        #67e8f9 15%,
        #22d3ee 35%,
        #06b6d4 58%,
        #0e7490 80%,
        #042838 100%
    );
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow:
        0 0 40px rgba(3, 105, 161, 0.35),
        0 0 80px rgba(3, 105, 161, 0.12);
    position: relative;
    z-index: 2;
    animation: diamondFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(6,182,212,0.3));
}

.diamond-glow {
    position: absolute;
    width: 75%;
    height: 75%;
    background: radial-gradient(circle, rgba(3,105,161,0.15) 0%, transparent 70%);
    filter: blur(24px);
    animation: diamondFloat 8s ease-in-out infinite;
}

.diamond-outer {
    position: absolute;
    width: 82%;
    height: 82%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(6, 182, 212, 0.06);
    animation: diamondFloat 8s ease-in-out infinite;
}

@keyframes diamondFloat {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50%       { transform: rotate(7deg) translateY(-14px); }
}

/* ── Webheute — Gold Hexagon ── */
.vis-hexagon {
    position: relative;
    width: min(340px, 40vw);
    height: min(340px, 40vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-shape {
    width: 65%;
    height: 65%;
    background: linear-gradient(
        145deg,
        #fefce8 0%,
        #fde68a 15%,
        #fbbf24 35%,
        #f59e0b 58%,
        #d97706 78%,
        #6b2d00 100%
    );
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    z-index: 2;
    animation: hexFloat 10s ease-in-out infinite;
    filter:
        drop-shadow(0 0 22px rgba(180,83,9,0.35))
        drop-shadow(0 0 60px rgba(180,83,9,0.12));
}

.hex-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(180,83,9,0.14) 0%, transparent 65%);
    filter: blur(28px);
    animation: hexFloat 10s ease-in-out infinite;
}

.hex-outer {
    position: absolute;
    width: 84%;
    height: 84%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(245,158,11,0.05);
    animation: hexFloat 10s ease-in-out infinite;
}

@keyframes hexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%       { transform: translateY(-12px) rotate(4deg); }
    66%       { transform: translateY(6px) rotate(-3deg); }
}

/* Progress dots */
.proj-dots {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 400;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.proj-dots.visible { opacity: 1; }

.proj-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    transition: background 0.4s ease, transform 0.4s ease;
    display: block;
}

.proj-dot.active {
    background: var(--fg);
    transform: scale(1.4);
}

/* ──────────────────────────────────────
   CAREER
────────────────────────────────────── */
#career {
    background: var(--bg);
    padding: 140px 52px;
}

.career-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 64px;
}

.career-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.career-title {
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.92;
}

.career-translate {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    cursor: none;
}

.lang-opt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 7px 14px;
    border-radius: 100px;
    color: var(--muted);
    transition: background 0.3s ease, color 0.3s ease;
}

.lang-opt.active {
    background: var(--fg);
    color: var(--bg);
}

.lang-pop { position: relative; }
.lang-pop-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease;
}
.lang-pop-btn:hover { color: var(--fg); }
.lang-pop-btn svg { width: 16px; height: 16px; display: block; }
.lang-pop-cur { line-height: 1; }
.lang-pop-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    min-width: 148px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(13, 13, 13, 0.08);
}
.lang-pop-menu .lang-opt {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--fg);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lang-pop-menu .lang-opt:hover,
.lang-pop-menu .lang-opt.active { background: var(--bg-soft); color: var(--fg); }

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.job-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg-soft);
    transition: transform 0.4s var(--ease-expo), border-color 0.4s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: #cfcfcf;
}

.job-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.job-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    padding-top: 6px;
}

.job-head-text { display: flex; flex-direction: column; gap: 4px; }

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.job-level {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
}

.job-desc {
    font-size: 0.95rem;
    line-height: 1.62;
    color: var(--muted);
    margin-top: -6px;
}

.job-specs {
    display: flex;
    flex-direction: column;
}

.spec {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid var(--border);
}

.spec-key {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 2px;
}

.spec-val {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--fg);
}

.job-apply {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 100px;
    background: var(--fg);
    color: var(--bg);
    transition: opacity 0.3s ease;
}

.job-apply:hover { opacity: 0.82; }

.job-apply svg { width: 15px; height: 15px; }

.career-more {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.career-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 100px;
    border: 1px solid var(--fg);
    background: var(--bg);
    color: var(--fg);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.career-more-btn:hover { background: var(--fg); color: var(--bg); }

.career-more-btn svg { width: 16px; height: 16px; }

/* ──────────────────────────────────────
   FOOTER — Dark for contrast (ElevenLabs)
────────────────────────────────────── */
#contact {
    position: relative;
    background: #0d0d0d;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #222;
}

.footer-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 52px 64px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #2a2a2a;
    align-items: start;
}

.footer-brand { }

.footer-logo {
    height: 26px;
    width: auto;
    display: block;
    margin-bottom: 20px;
    opacity: 0.9;
    /* Invert to white — logo-b.png is black, footer is dark */
    filter: invert(1);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    font-weight: 400;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col { }

.col-heading {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    margin-bottom: 20px;
}

.footer-link,
.footer-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-link:hover { color: #ffffff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.05em;
}

.footer-domain {
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ──────────────────────────────────────
   RESPONSIVE
────────────────────────────────────── */
@media (max-width: 960px) {
    #nav { padding: 18px 24px; }
    .nav-links { display: none; }

    .hero-meta { left: 24px; right: 24px; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 120px 24px 0;
        align-items: start;
        min-height: 100vh;
    }
    .hero-content { padding-bottom: 0; order: 2; }
    .hero-photo   { order: 1; max-width: 440px; }

    .proj-panel {
        grid-template-columns: 1fr;
        padding: 100px 32px 60px;
        align-content: center;
        gap: 0;
    }

    .proj-visual { display: none; }
    .proj-name   { font-size: clamp(54px, 13vw, 90px); }

    .footer-top  { grid-template-columns: 1fr; gap: 48px; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-inner { padding: 80px 24px 48px; }

    #career { padding: 90px 24px; }
    .jobs-grid { grid-template-columns: 1fr; }
    .career-head { margin-bottom: 44px; }
    .spec { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
    .footer-cols { grid-template-columns: 1fr; }
    .hero-sub br { display: none; }
}
