/*!
 * Theme Name: Allima EO
 * Theme URI: https://www.allimaeo.id
 * Description: Swiss Editorial Event Organizer Theme
 * Version: 1.0.0
 * License: GPL v2 or later
 * Text Domain: allima-eo
 * Domain Path: /languages
 */


    :root {
        --bg: #FDFBF7;
        --surface: #F4F2EC;
        --surface-2: #EAE7DE;
        --accent: #2D5A27;
        --accent-hover: #234A1F;
        --accent-soft: #E7EDE3;
        --accent-glow: rgba(45, 90, 39, 0.25);
        --text: #1A1A1A;
        --muted: #5C6357;
        --border: #E2DFD6;
        --display: 'Hedvig Letters Serif', serif;
        --display-kero: 'Hedvig Letters Serif', serif;
        --body: 'Inter', sans-serif;
        --body-kero: 'Inter', sans-serif;
        --header-height: 72px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
        font-family: var(--body-kero);
        background: var(--bg);
        color: var(--text);
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    /* ── NAVBAR ─────────────────────────────────────────── */
    .site-header {
        position: fixed;
        top: 1.25rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        height: 52px;
        padding: 0 0.75rem 0 1.5rem;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 50px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        width: auto;
        max-width: calc(100% - 2.5rem);
    }
    /* Sub-pages navbar: dark text & elegant frosted cream background immediately */
    body:not(.home) .site-header {
        background: rgba(253, 251, 247, 0.88);
        border: 1px solid rgba(226, 223, 214, 0.8);
        box-shadow: 0 8px 30px rgba(26, 26, 26, 0.08);
    }
    body:not(.home) .site-header .site-logo {
        color: var(--text);
        text-shadow: none;
    }
    body:not(.home) .site-header .site-nav a {
        color: var(--muted);
    }
    body:not(.home) .site-header .site-nav a:hover {
        color: var(--text);
        background: rgba(26, 26, 26, 0.05);
    }
    body:not(.home) .site-header .site-nav a.active {
        color: var(--accent);
        background: rgba(45, 90, 39, 0.08);
        font-weight: 600;
    }
    body:not(.home) .site-header .hamburger span {
        background: var(--text);
    }

    /* Scrolled state (for all pages) */
    .site-header.scrolled {
        background: rgba(253, 251, 247, 0.95);
        border-color: rgba(226, 223, 214, 0.85);
        box-shadow: 0 10px 32px rgba(26, 26, 26, 0.12);
    }
    .site-header.scrolled .site-logo { color: var(--text); text-shadow: none; }
    .site-header.scrolled .site-nav a { color: var(--muted); }
    .site-header.scrolled .site-nav a:hover { color: var(--text); background: rgba(26, 26, 26, 0.05); }
    .site-header.scrolled .site-nav a.active { color: var(--accent); background: rgba(45, 90, 39, 0.08); font-weight: 600; }
    .site-header.scrolled .hamburger span { background: var(--text); }
    .site-header.scrolled .header-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
    .site-header .container {
        width: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding: 0;
    }
    .site-logo {
        font-family: var(--display-kero);
        font-size: 1.1rem;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        letter-spacing: -0.02em;
        white-space: nowrap;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    .site-header.scrolled .site-logo { color: var(--text); text-shadow: none; }
    .site-logo span { color: var(--accent); }
    .site-nav { flex: 1; display: flex; justify-content: center; }
    .site-nav ul {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        list-style: none;
    }
    .site-nav a {
        position: relative;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.78);
        text-decoration: none;
        padding: 0.5rem 0.75rem;
        border-radius: 20px;
        transition: color 0.25s ease, background 0.25s ease;
    }
    .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
    .site-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
    .site-header.scrolled .site-nav a { color: var(--muted); }
    .site-header.scrolled .site-nav a:hover { color: var(--text); background: var(--surface); }
    .site-header.scrolled .site-nav a.active { color: var(--text); background: var(--surface); }
    .site-nav a::after { display: none; }
    

    .header-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.5rem 1rem;
        background: #fff;
        color: var(--text);
        border: 1px solid #fff;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 50px;
        white-space: nowrap;
        transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    }
    .header-cta:hover { transform: translateY(-1px); }
    .site-header.scrolled .header-cta {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
    }
    .site-header.scrolled .header-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.25rem;
    }
    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .site-header.scrolled .hamburger span { background: var(--text); }
    @media (max-width: 900px) {
            .site-header { 
                left: 1rem; 
                right: 1rem; 
                transform: none; 
                max-width: none; 
                border-radius: 40px; 
                padding: 0.75rem; 
            }
            .site-header .container { 
                display: flex; 
                justify-content: space-between; 
                align-items: center; 
                width: 100%; 
            }
            .site-nav { display: none; position: fixed; top: 5rem; left: 1rem; right: 1rem; background: rgba(26, 26, 26, 0.9); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 1.5rem 2rem; }
            .site-nav.active { display: block; }
            .site-nav ul { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
            .hamburger { display: flex; }
            .header-cta { display: none; }
        }

    /* ── HERO ── Kero-style full-bleed */
    .hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: calc(5rem + var(--header-height)) 2rem 5rem;
        scroll-margin-top: var(--header-height);
        background:
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            linear-gradient(180deg, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0.65) 40%, rgba(26, 26, 26, 0.85) 100%);
        background-size: cover;
        background-position: center;
        overflow: hidden;
    }
    .hero-bg {
        position: absolute;
        inset: 0;

        background-size: cover;
        background-position: center;
        opacity: 0.85;
        filter: blur(0px) saturate(90%);
        animation: heroBgZoom 20s ease-out forwards;
        z-index: 0;
        mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 75%);
        -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 75%);
    }
    @keyframes heroBgZoom {
        0% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 50% 35%, rgba(26, 26, 26, 0.35) 0%, rgba(26, 26, 26, 0.25) 40%, transparent 70%),
            linear-gradient(180deg, rgba(26, 26, 26, 0.30) 0%, rgba(26, 26, 26, 0.48) 35%, rgba(26, 26, 26, 0.78) 100%);
        z-index: 1;
    }
    .hero-container {
        position: relative;
        z-index: 3;
        max-width: 980px;
        margin: 0 auto;
        width: 100%;
        padding: 3rem 2.5rem;
        border-radius: 24px;
        background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.30) 100%);
        text-align: center;
        color: #fff;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    }
    .hero-kicker { animation: fadeUp 0.8s ease-out 0.1s both; }
    .hero-headline { animation: fadeUp 0.8s ease-out 0.25s both; }
    .hero-subheadline { animation: fadeUp 0.8s ease-out 0.4s both; }
    .hero-actions { animation: fadeUp 0.8s ease-out 0.55s both; }
    .hero-trust-inline { animation: fadeUp 0.8s ease-out 0.7s both; }
    .hero-logo-strip { animation: fadeUp 0.8s ease-out 0.85s both; }
    @keyframes fadeUp {
        0% { opacity: 0; transform: translateY(24px); }
        100% { opacity: 1; transform: translateY(0); }
    }
    .hero-kicker {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    .kicker-line { 
        width: 28px; 
        height: 1px; 
        background: var(--accent);
        opacity: 0.7;
    }
    .kicker-text {
        font-family: var(--body-kero);
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.88);
    }
    .section-kicker {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    .section-kicker span:nth-child(1),
    .section-kicker span:nth-child(3) {
        width: 28px;
        height: 2px;
        background: var(--accent);
        opacity: 0.6;
    }
    .section-kicker span:nth-child(2) {
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        color: var(--accent);
    }
    .hero-headline {
        font-family: var(--display-kero);
        font-size: clamp(2.75rem, 6.5vw, 5.5rem);
        font-weight: 400;
        line-height: 1.05;
        letter-spacing: -0.03em;
        margin-bottom: 1rem;
        color: #fff;
    }
    .hero-headline .italic { font-style: italic; color: #FDFBF7; display: block; }
    .hero-headline br { display: none; }
    .hero-subheadline {
        font-family: var(--body-kero);
        font-size: clamp(1rem, 2vw, 1.25rem);
        font-weight: 300;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.88);
        max-width: 720px;
        margin: 0 auto 2.5rem;
    }
    .hero-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-bottom: 4rem;
        flex-wrap: wrap;
    }
    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.95rem 1.8rem;
        background: #FDFBF7;
        color: var(--text);
        font-family: var(--body-kero);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        text-decoration: none;
        border-radius: 50px;
        transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
        background: #fff;
    }
    .btn-secondary {
        font-family: var(--body-kero);
        font-size: 0.85rem;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
        padding-bottom: 3px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        transition: border-color 0.25s ease;
    }
    .btn-secondary:hover { border-bottom-color: #fff; }
    .hero-trust-inline {
        display: inline-flex;
        align-items: center;
        gap: 2.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.75);
    }
    .trust-inline-item { display: flex; flex-direction: column; gap: 0.35rem; text-align: left; }
    .trust-inline-num {
        font-family: var(--display-kero);
        font-size: 1.65rem;
        font-weight: 400;
        color: #fff;
        line-height: 1;
    }
    .trust-inline-label {
        font-family: var(--body-kero);
        font-size: 0.7rem;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .trust-inline-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.2); }
    .hero-logo-strip {
        margin-top: 4rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        overflow: hidden;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
    }
    .logo-strip-track {
        display: flex;
        align-items: center;
        width: max-content;
        will-change: transform;
        backface-visibility: hidden;
        animation: logoStripScroll 40s linear infinite;
    }
    .hero-logo-strip:hover .logo-strip-track { animation-play-state: paused; }
    @keyframes logoStripScroll {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }
    .logo-strip-item {
        flex: 0 0 auto;
        height: 40px;
        padding: 0 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.85;
        transition: opacity 0.25s ease;
    }
    .logo-strip-item:hover { opacity: 1; }
    .logo-strip-item.logo-text {
        font-family: var(--body-kero);
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.9);
        white-space: nowrap;
    }
    .logo-strip-item.logo-img {
        flex-direction: row;
        gap: 0.75rem;
        border: 1px solid transparent;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        height: auto;
    }
    .logo-strip-item.logo-img img {
        height: 40px;
        max-width: 120px;
        width: auto;
        object-fit: contain;
        opacity: 0.9;
        flex-shrink: 0;
    }
    .logo-name {
        color: rgba(255, 255, 255, 0.95);
        font-size: 0.85rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        white-space: normal;
        word-break: break-word;
        max-width: 150px;
        line-height: 1.3;
    }
    @media (max-width: 768px) {
        .hero { padding: calc(4rem + var(--header-height)) 1.5rem 4rem; }
        .hero-headline { font-size: clamp(2.25rem, 9vw, 3.5rem); }
        .hero-trust-inline { flex-wrap: wrap; gap: 1.25rem; justify-content: center; }
        .trust-inline-divider { display: none; }
        .hero-actions { gap: 1rem; }
        .logo-strip-track { gap: 2.5rem; }
        .logo-strip-item { height: 32px; font-size: 0.8rem; }
    }

    /* ── ABOUT TEASER ───────────────────────────────── */
    .about-teaser {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--bg);
        padding: 7rem 2rem;
        border-bottom: 1px solid var(--border);
        scroll-margin-top: var(--header-height);
    }
    .about-container {
        max-width: 1120px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 4rem;
        align-items: center;
    }
    .about-copy {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .about-intro {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .about-label {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    .about-label::before {
        content: "";
        width: 24px;
        height: 1px;
        background: var(--accent);
        opacity: 0.5;
    }
    .about-title {
        font-family: var(--display-kero);
        font-size: clamp(2rem, 4vw, 2.75rem);
        font-weight: 500;
        line-height: 1.15;
        color: var(--text);
    }
    .about-title .italic { font-style: italic; font-weight: 400; color: var(--accent); }
    .about-image {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 4/3;
        box-shadow: 0 24px 60px rgba(26, 26, 26, 0.12);
        background: linear-gradient(135deg, #E2DFD6 0%, #d4d0c8 100%);
    }
    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .about-image::after {
        content: "Foto Tim Allima";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem;
        background: linear-gradient(transparent, rgba(26,26,26,0.6));
        color: rgba(255,255,255,0.85);
        font-family: var(--body-kero);
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        text-align: center;
        pointer-events: none;
    }
    .about-body { display: flex; flex-direction: column; gap: 1.75rem; }
    .about-text {
        font-size: 1.05rem;
        font-weight: 300;
        line-height: 1.9;
        color: var(--text);
    }
    .about-text em { color: var(--accent); font-style: italic; }
    .about-meta {
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--muted);
        padding-left: 1.25rem;
        border-left: 2px solid var(--accent);
    }
    .about-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        width: fit-content;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--accent);
        text-decoration: none;
        padding-bottom: 4px;
        border-bottom: 1px solid var(--accent);
        transition: gap 0.25s ease;
    }
    .about-link:hover { gap: 0.75rem; }
    @media (max-width: 900px) {
        .about-container { grid-template-columns: 1fr; gap: 2.5rem; }
        .about-image { max-width: 480px; margin: 0 auto; width: 100%; }
    }

    /* ── SERVICES ── Kero alternating split */
/* ═══ OUR CLIENTS ═══ */
    .our-clients {
        padding: 5rem 5vw;
        background: var(--surface);
        border-top: 1px solid var(--border);
    }
    .clients-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .clients-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.5rem 2rem;
        margin-top: 3rem;
    }
    .client-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .client-logo-wrap {
        width: 100%;
        padding: 1.25rem 1.5rem;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.25s ease, transform 0.25s ease;
        aspect-ratio: 3 / 2;
    }
    .client-logo-wrap:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
    }
    .client-logo-wrap img {
        max-width: 100%;
        max-height: 64px;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.6;
        transition: filter 0.25s ease, opacity 0.25s ease;
    }
    .client-logo-wrap:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }

/* ═══ SERVICES ═══ */
    .services {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--bg);
        padding: 7rem 2rem 4rem;
        scroll-margin-top: var(--header-height);
    }
    .services-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .section-header {
        text-align: center;
        max-width: 680px;
        margin: 0 auto 4rem;
    }
    .section-kicker {
        font-family: var(--body-kero);
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 1rem;
    }
    .section-title {
        font-family: var(--display-kero);
        font-size: clamp(2rem, 4vw, 2.75rem);
        font-weight: 400;
        line-height: 1.15;
        color: var(--text);
        margin-bottom: 1rem;
    }
    .section-sub {
        font-family: var(--body-kero);
        font-size: 1rem;
        font-weight: 300;
        line-height: 1.7;
        color: var(--muted);
    }
    .service-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        margin-bottom: 5rem;
    }
    .service-row:last-child { margin-bottom: 0; }
    .service-row.reverse .service-media { order: 2; }
    .service-row.reverse .service-copy { order: 1; }
    .service-media {
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 4 / 3;
    }
    .service-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .service-media:hover img { transform: scale(1.04); }
    .service-copy { padding: 0.5rem 0; }
    .service-tag {
        display: inline-block;
        font-family: var(--body-kero);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 1rem;
        padding: 0.35rem 0.7rem;
        background: var(--accent-soft);
        border-radius: 20px;
    }
    .service-title {
        font-family: var(--display-kero);
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        font-weight: 400;
        line-height: 1.15;
        color: var(--text);
        margin-bottom: 0.75rem;
    }
    .service-subtitle {
        font-family: var(--body-kero);
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--muted);
        margin-bottom: 1rem;
    }
    .service-desc {
        font-family: var(--body-kero);
        font-size: 0.95rem;
        font-weight: 300;
        line-height: 1.75;
        color: var(--text);
        margin-bottom: 1.75rem;
    }
    .service-link {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-family: var(--body-kero);
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--accent);
        text-decoration: none;
        transition: gap 0.25s ease;
    }
    .service-link:hover { gap: 0.7rem; }
    @media (max-width: 900px) {
        .service-row { grid-template-columns: 1fr; gap: 1.5rem; }
        .service-row.reverse .service-media { order: 0; }
        .service-row.reverse .service-copy { order: 1; }
        .service-media { aspect-ratio: 16 / 10; }
    }
    /* ── PORTFOLIO — Bento Grid Asymmetrical ──────────── */
    .portfolio {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--bg);
        padding: 7rem 2rem;
        scroll-margin-top: var(--header-height);
    }
    .portfolio-container { max-width: 1280px; margin: 0 auto; }
    
    /* Bento Grid Layout */
    .bento-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 320px);
        gap: 1.5rem;
        margin-top: 3.5rem;
    }
    .bento-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
    .bento-small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Bento Item */
    .bento-item {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
    }
    .bento-img-wrap {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: var(--surface);
    }
    .bento-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .bento-item:hover img { transform: scale(1.08); }
    
    /* Bento Overlay with Glass Blur */
    .bento-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 26, 0.85) 100%);
        backdrop-filter: blur(2px);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 2rem;
        opacity: 0;
        transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .bento-item:hover .bento-overlay { opacity: 1; }
    
    .bento-tag {
        display: inline-block;
        align-self: flex-start;
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.95);
        background: rgba(255, 255, 255, 0.15);
        padding: 0.35rem 0.75rem;
        border-radius: 24px;
        margin-bottom: 0.75rem;
        transform: translateY(12px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s, 
                    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
    }
    .bento-item:hover .bento-tag {
        transform: translateY(0);
        opacity: 1;
    }
    
    .bento-title {
        font-family: var(--display-kero);
        font-size: 1.5rem;
        font-weight: 500;
        color: #fff;
        line-height: 1.25;
        margin-bottom: 0.5rem;
        transform: translateY(16px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, 
                    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
    }
    .bento-item:hover .bento-title {
        transform: translateY(0);
        opacity: 1;
    }
    
    .bento-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.85);
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, 
                    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
    }
    .bento-item:hover .bento-meta {
        transform: translateY(0);
        opacity: 1;
    }
    .bento-meta svg {
        flex-shrink: 0;
        opacity: 0.8;
        margin-right: 0.3rem;
    }
    
    .portfolio-cta {
        margin-top: 3.5rem;
        text-align: center;
    }
    .portfolio-cta-link {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--text);
        text-decoration: none;
        padding-bottom: 4px;
        border-bottom: 1px solid var(--text);
        transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
    }
    .portfolio-cta-link:hover {
        color: var(--accent);
        border-color: var(--accent);
        gap: 0.9rem;
    }

    /* ── MANIFESTO ───────────────────────────────────── */
    .manifesto {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--surface);
        padding: 9rem 2rem;
        text-align: center;
        scroll-margin-top: var(--header-height);
    }
    .manifesto-container {
        max-width: 900px;
        margin: 0 auto;
    }
    .manifesto-quote {
        font-family: var(--display-kero);
        font-size: clamp(1.75rem, 3.5vw, 2.75rem);
        font-weight: 500;
        font-style: italic;
        line-height: 1.35;
        color: var(--text);
        margin-bottom: 2rem;
    }
    .manifesto-author {
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--accent);
    }

    /* ── LEAD CAPTURE ────────────────────────────────── */
    .lead-capture {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--bg);
        padding: 7rem 2rem;
        scroll-margin-top: var(--header-height);
    }
    .lead-capture-container {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }
    .lead-capture .section-title { margin-bottom: 1.5rem; }
    .lead-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        text-align: left;
        margin-top: 2.5rem;
    }
    .lead-form .form-group:nth-child(5),
    .lead-form .form-group:nth-child(6) { grid-column: 1 / -1; }
    .form-group label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 0.5rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.85rem 1rem;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--bg);
        font-family: var(--body-kero);
        font-size: 0.95rem;
        color: var(--text);
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-soft);
    }
    .form-group textarea { min-height: 120px; resize: vertical; }
    .btn-submit {
        grid-column: 1 / -1;
        justify-self: center;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: #fff;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-family: var(--body-kero);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background 0.25s ease, transform 0.25s ease;
    }
    .btn-submit:hover { background: var(--accent-hover); transform: translateY(-2px); }

    /* ── FOOTER ──────────────────────────────────────── */
    .site-footer {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--surface);
        border-top: 1px solid var(--border);
        padding: 3rem 2rem;
    }
    .site-footer-inner {
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .site-footer p {
        font-size: 0.85rem;
        color: var(--muted);
    }
    .footer-links { display: flex; gap: 1.25rem; }
    .footer-links a {
        font-size: 0.85rem;
        color: var(--muted);
        text-decoration: none;
        transition: color 0.25s ease;
    }
    .footer-links a:hover { color: var(--accent); }

    /* ── REVEAL ANIMATION ─────────────────────────────── */
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.is-visible { opacity: 1; transform: translateY(0); }
    .hero .reveal { opacity: 1 !important; transform: translateY(0) !important; }
    .hero-kicker       { transition-delay: 0.05s; }
    .hero-headline     { transition-delay: 0.15s; }
    .hero-subheadline  { transition-delay: 0.25s; }
    .hero-actions      { transition-delay: 0.35s; }
    .hero-trust-inline { transition-delay: 0.45s; }
    .hero-visual-frame { transition-delay: 0.20s; }
    .hero-floating-badge { transition-delay: 0.50s; }
    .hero-floating-cta   { transition-delay: 0.55s; }
    .service-card:nth-child(1) { transition-delay: 0.05s; }
    .service-card:nth-child(2) { transition-delay: 0.15s; }
    .service-card:nth-child(3) { transition-delay: 0.25s; }
    .portfolio-item:nth-child(1) { transition-delay: 0.05s; }
    .portfolio-item:nth-child(2) { transition-delay: 0.15s; }
    .portfolio-item:nth-child(3) { transition-delay: 0.25s; }
    .clients-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
    .clients-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
    .clients-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
    .clients-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
    .clients-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
    .clients-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
    .clients-grid .reveal:nth-child(7) { transition-delay: 0.47s; }
    .clients-grid .reveal:nth-child(8) { transition-delay: 0.54s; }

    @media (prefers-reduced-motion: reduce) {
        .reveal, .hero-img-main {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }
    }

    /* ── RESPONSIVE ──────────────────────────────────── */
    @media (max-width: 1024px) {
        .about-container { gap: 2.5rem; }
        .services-grid { gap: 1.25rem; }
    }
    @media (max-width: 900px) {
        .hero-container { grid-template-columns: 1fr; gap: 3rem; }
        .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
        .hero-floating-badge { top: 1.25rem; right: 1.25rem; }
        .hero-floating-cta { bottom: 1.25rem; right: 1.25rem; }
        .about-container { grid-template-columns: 1fr; }
        .services-grid { grid-template-columns: 1fr; }
        .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
        .bento-featured { grid-column: span 1; grid-row: span 1; }
        .bento-small { grid-column: span 1; grid-row: span 1; }
        .lead-form { grid-template-columns: 1fr; }
        .article-featured { grid-template-columns: 1fr; }
        .article-featured .article-thumb { min-height: 260px; aspect-ratio: 16 / 10; }
        .article-featured .article-body { padding: 2rem; }
        .article-featured .article-title { font-size: 1.5rem; }
        .articles-grid-secondary { grid-template-columns: 1fr; }
        .article-standard .article-thumb { aspect-ratio: 16 / 10; }
    }
    @media (max-width: 640px) {
        :root { --header-height: 64px; }
        .hero { padding: calc(4rem + var(--header-height)) 1.25rem 4rem; }
        .about-teaser, .services, .portfolio, .manifesto, .lead-capture { padding-left: 1.25rem; padding-right: 1.25rem; }
        .hero-trust-inline { flex-direction: column; align-items: flex-start; gap: 1rem; }
        .trust-inline-divider { display: none; }
        .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
        .client-item { font-size: 0.95rem; }
        .service-card { padding: 1.75rem; }
        .site-footer-inner { flex-direction: column; text-align: center; }
    }

    /* ── FOOTER (mirror footer.php) ───────────────────── */
    .site-footer {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--surface);
        border-top: 1px solid var(--border);
        padding: 4rem 2rem 2rem;
        scroll-margin-top: var(--header-height);
    }
    .footer-container {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--surface);
        padding: 4rem 2rem 2rem;
        border-top: 1px solid var(--border);
        max-width: 1280px;
        margin: 0 auto;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 2.5rem;
        padding-bottom: 3rem;
        border-bottom: 1px solid var(--border);
    }
    .footer-col h4,
    .footer-col h5 {
        font-family: var(--display-kero);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 1.25rem;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }
    .footer-tagline {
        font-size: 0.9rem;
        font-weight: 300;
        color: var(--muted);
        margin-bottom: 1.25rem;
    }
    .footer-instagram {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        color: var(--muted);
        text-decoration: none;
        transition: color 0.25s ease;
    }
    .footer-instagram:hover { color: var(--accent); }
    .footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-col ul a {
        font-size: 0.9rem;
        font-weight: 300;
        color: var(--muted);
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }
    .footer-col ul a:hover { color: var(--accent); transform: translateX(3px); }
    .footer-contact {
        font-size: 0.9rem;
        font-weight: 300;
        color: var(--muted);
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    .footer-cta {
        display: inline-flex;
        margin-top: 0.75rem;
        padding: 0.65rem 1.1rem;
        background: var(--accent);
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.25s ease, transform 0.25s ease;
    }
    .footer-cta:hover { background: var(--accent-hover); transform: translateY(-2px); }
    .footer-bottom {
        padding-top: 2rem;
        text-align: center;
    }
    .footer-bottom p {
        font-size: 0.8rem;
        color: var(--muted);
    }
    @media (max-width: 900px) {
        .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
        .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 640px) {
        .site-footer { padding: 3rem 1.25rem 1.5rem; }
        .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
        .footer-bottom { padding-top: 1.5rem; }
    }


    /* ── ARTICLES — Editorial Horizontal Cards ────────── */
    .articles {
        background: 
            linear-gradient(90deg, var(--accent-glow) 0%, var(--accent-glow) 18%, transparent 42%),
            linear-gradient(90deg, transparent 58%, var(--accent-glow) 82%, var(--accent-glow) 100%),
            var(--bg);
        padding: 7rem 2rem;
        border-bottom: 1px solid var(--border);
        scroll-margin-top: var(--header-height);
    }
    .articles-container { max-width: 1280px; margin: 0 auto; }

    /* Featured Article (full-width horizontal) */
    .article-featured {
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        gap: 0;
        margin-top: 3.5rem;
        margin-bottom: 1.5rem;
    }
    .article-featured .article-thumb {
        aspect-ratio: auto;
        height: 100%;
        min-height: 380px;
    }
    .article-featured .article-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }
    .article-featured .article-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    .article-featured .article-excerpt {
        font-size: 1rem;
        max-width: 42ch;
    }

    /* Secondary grid */
    .articles-grid-secondary {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .article-standard {
        display: flex;
        flex-direction: column;
    }
    .article-standard .article-thumb {
        aspect-ratio: 1 / 1;
    }

    /* Shared card — Double-bezel */
    .article-card {
        position: relative;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04),
                    0 8px 24px -12px rgba(26, 26, 26, 0.10);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 2px 4px rgba(26, 26, 26, 0.05),
                    0 24px 48px -16px rgba(26, 26, 26, 0.16);
    }
    .article-thumb {
        overflow: hidden;
        background: var(--bg);
    }
    .article-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .article-card:hover .article-thumb img { transform: scale(1.05); }
    .article-body { padding: 2rem; }
    .article-standard .article-body {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .article-date {
        display: inline-block;
        align-self: flex-start;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--accent);
        background: rgba(45, 90, 39, 0.08);
        padding: 0.3rem 0.7rem;
        border-radius: 24px;
        margin-bottom: 1rem;
    }
    .article-title {
        font-family: var(--display-kero);
        font-size: 1.3rem;
        font-weight: 500;
        line-height: 1.25;
        color: var(--text);
        margin-bottom: 0.75rem;
    }
    .article-excerpt {
        font-size: 0.92rem;
        font-weight: 300;
        line-height: 1.65;
        color: var(--muted);
        margin-bottom: 1.5rem;
    }
    .article-standard .article-link { margin-top: auto; }
    .article-link {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--accent);
        text-decoration: none;
        transition: gap 0.25s ease;
    }
    .article-link:hover { gap: 0.7rem; }
    @media (max-width: 900px) {
        .article-featured { grid-template-columns: 1fr; }
        .article-featured .article-thumb { min-height: 260px; aspect-ratio: 16 / 10; }
        .article-featured .article-body { padding: 2rem; }
        .article-featured .article-title { font-size: 1.5rem; }
        .articles-grid-secondary { grid-template-columns: 1fr; }
        .article-standard .article-thumb { aspect-ratio: 16 / 10; }
    }

