/* ==========================================================================
   Kasper Tech: 3D portfolio
   Flat, light theme. Three colours: whitesmoke, black and brand green.
   ========================================================================== */

:root {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --text: #111111;
    --muted: #555555;
    --line: #dddddd;
    --green: #00c853;
    --green-text: #007a33;
    --ink: #111111;
    --danger: #c62828;

    --font-display: 'Archivo', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --radius: 2px;
    --max: 1240px;
    --gutter: clamp(16px, 4vw, 48px);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }

.mono { font-family: var(--font-mono); }
.accent { color: var(--green-text); }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.wrap {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
}

.skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    transform: translateY(-200%);
    transition: transform 0.2s;
}
.skip:focus { transform: none; }

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

/* 3D layer + progress ------------------------------------------------------ */

.scene {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}
.scene.is-ready { opacity: 1; }
.no-webgl .scene { display: none; }

main, .footer { position: relative; z-index: 1; }

.progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: 3px;
    pointer-events: none;
}
.progress span {
    display: block;
    height: 100%;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
}

/* Navigation --------------------------------------------------------------- */

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px var(--gutter);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, padding 0.3s, border-color 0.3s;
}
.nav.is-scrolled {
    padding-block: 12px;
    background: rgba(245, 245, 245, 0.94);
    border-color: var(--line);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo__mark { width: 40px; height: 40px; border-radius: var(--radius); }
.logo__text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.logo__text b { color: var(--green-text); font-weight: 900; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav__links a {
    padding: 8px 12px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active {
    color: var(--text);
    border-color: var(--green);
}
.nav__links .nav__call { display: none; }

.nav__badge {
    padding: 7px 14px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav__toggle { display: none; }

@media (max-width: 1140px) {
    .nav__badge { display: none; }
}

@media (max-width: 800px) {
    .nav__toggle {
        position: relative;
        z-index: 2;
        display: grid;
        place-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border: 1.5px solid var(--ink);
        border-radius: var(--radius);
        background: var(--surface);
        cursor: pointer;
    }
    .nav__toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--text);
        transition: transform 0.3s var(--ease);
    }
    .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

    .nav.menu-open { background: transparent; border-color: transparent; }

    .nav__links {
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        margin: 0;
        background: var(--bg);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    .nav__links.is-open { opacity: 1; visibility: visible; }
    .nav__links a {
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--text);
    }
    .nav__links .nav__call {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        padding: 12px 22px;
        border: 0;
        background: var(--green);
        color: var(--ink);
        font-family: var(--font-body);
        font-size: 1.05rem;
        font-weight: 600;
        text-transform: none;
    }
    .logo { position: relative; z-index: 2; }
}

/* Buttons ------------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--primary { background: var(--green); color: var(--ink); }
.btn--ghost { background: var(--surface); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

/* Hero --------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 110px 0 80px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 6px 12px;
    border: 1.5px solid var(--ink);
    background: var(--surface);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.status__dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    animation: blink 1.4s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

.hero__motto {
    margin: 0 0 18px;
    color: var(--green-text);
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 5.6vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
    margin-bottom: -0.06em;
}
.line > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 1s var(--ease) forwards;
    animation-delay: calc(var(--d) * 0.12s + 0.4s);
}
.line--accent { color: var(--green-text); }
@keyframes rise { to { transform: none; } }

.hero__lead {
    max-width: 34rem;
    margin: 26px 0 22px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}
.pills li {
    padding: 6px 14px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { display: flex; justify-content: center; }

/* The photo is drawn by WebGL on top of this box; the <img> is the fallback. */
.stage {
    position: relative;
    width: min(100%, 400px);
    margin-left: 12%;
}
.stage__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 2px solid var(--ink);
    background: var(--surface);
    box-shadow: 14px 14px 0 var(--green);
}
.stage__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
}
.photo-3d .stage__photo { visibility: hidden; }

/* The voxel "K" sits over the photo's lower-left corner. */
.stage__k {
    position: absolute;
    left: -34%;
    bottom: 4%;
    width: 64%;
    aspect-ratio: 12 / 9;
    pointer-events: none;
}
.stage__k img { display: none; width: 70%; border: 2px solid var(--ink); }
.no-webgl .stage__k img { display: block; }

.tag {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}
.tag--green { top: 10%; right: -14%; background: var(--green); color: var(--ink); }
.tag--dark { top: 34%; right: -20%; background: var(--ink); color: #fff; animation-delay: -3s; }
.tag--dark .icon { color: var(--green); }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stage__hint {
    position: absolute;
    right: 0;
    bottom: -34px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.stage__hint::before { content: "[ "; }
.stage__hint::after { content: " ]"; }
.no-webgl .stage__hint { display: none; }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateX(-50%);
}
.hero__scroll span {
    width: 2px;
    height: 40px;
    background: var(--ink);
    transform-origin: top;
    animation: drip 2s var(--ease) infinite;
}
@keyframes drip {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 900px) {
    .hero { padding-top: 96px; }
    .hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { order: -1; }
    .stage { width: min(62vw, 300px); margin-left: 18%; }
    .tag { font-size: 0.62rem; padding: 6px 9px; }
    .tag--green { right: -6%; }
    .tag--dark { top: auto; bottom: 8%; right: -6%; }
    .hero__scroll { display: none; }
}

/* Marquee band (moved by JS, speed follows scrolling) ---------------------- */

/* Clips the tilted band so it can't widen the page on phones. */
.band-wrap {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 40px 0;
    margin: -40px 0;
}

.band {
    position: relative;
    z-index: 2;
    width: 110%;
    margin: 0 0 0 -5%;
    padding: 16px 0;
    overflow: hidden;
    background: var(--green);
    color: var(--ink);
    border-block: 2px solid var(--ink);
    transform: rotate(-2deg);
}
.band__track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.band__track span {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.band__track span::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--ink);
}

/* Sections ----------------------------------------------------------------- */

.section { padding: clamp(80px, 11vw, 150px) 0; }

.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--slot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

/* Empty boxes the voxel cubes rebuild themselves into. */
.slot { width: clamp(150px, 20vw, 280px); aspect-ratio: 4 / 3; pointer-events: none; }
.slot--sm { width: clamp(110px, 12vw, 170px); }
.slot--about { width: min(100%, 300px); margin-top: 40px; }
.slot--contact { width: min(100%, 240px); margin: 40px auto 0; }

.kicker {
    margin: 0 0 14px;
    color: var(--green-text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 5.4vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}
.section__title--sm { font-size: clamp(2rem, 4vw, 3.2rem); }

/* Word-by-word title reveal. */
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.is-split .w > span {
    display: inline-block;
    transform: translateY(105%) rotate(4deg);
    transform-origin: left bottom;
    transition: transform 0.9s var(--ease);
    transition-delay: calc(var(--i) * 60ms);
}
.is-split.is-in .w > span { transform: none; }

@media (max-width: 700px) {
    .section__head--slot { grid-template-columns: 1fr; }
    .section__head--slot .slot { order: -1; width: 150px; }
}

/* Services ----------------------------------------------------------------- */

.featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(24px, 3vw, 36px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.feature:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.feature--solid { background: var(--green); color: var(--ink); }
.feature--outline { background: var(--surface); }
.feature__head { display: flex; align-items: center; gap: 16px; }
.feature__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--radius);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature--solid .feature__icon { background: var(--ink); color: var(--green); }
.feature--outline .feature__icon { background: var(--green); color: var(--ink); }
.feature h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}
.feature p { margin: 0; font-size: 1.05rem; }
.feature--outline p { color: var(--muted); }
.feature__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.feature__tags li {
    padding: 4px 10px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
}
.feature .feature__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.feature--outline .feature__note { color: var(--green-text); }

.divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: clamp(48px, 6vw, 72px) 0 24px;
    color: var(--green-text);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.service {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.2s, color 0.25s;
}
/* A green fill wipes up from the bottom on hover. */
.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--green);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s var(--ease);
}
.service > * { position: relative; }
.service:hover { border-color: var(--ink); }
.service:hover::before { transform: scaleY(1); }
.service:hover p { color: var(--ink); }
.service:hover .service__icon { background: var(--ink); color: var(--green); }
.service__num {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #bbbbbb;
    font-size: 0.7rem;
}
.service:hover .service__num { color: var(--ink); }
.service__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--green);
    color: var(--ink);
    transition: background 0.25s, color 0.25s;
}
.service h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; padding-right: 18px; }
.service p { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; transition: color 0.25s; }

@media (max-width: 760px) {
    .featured { grid-template-columns: 1fr; }
}

/* Work in 3D --------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter {
    padding: 8px 16px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.84rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.filter:hover { background: var(--bg); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(16px, 2vw, 24px);
}
.card.is-hidden { display: none; }

.card__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    perspective: 900px;
}
.card__inner {
    display: block;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.5s var(--ease);
}
.card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s;
}
.card__open:hover .card__media,
.card__open:focus-visible .card__media { border-color: var(--ink); }
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s, transform 0.8s var(--ease);
}
.card__media img.is-loaded { opacity: 1; transform: scale(1); }
.card__open:hover .card__media img.is-loaded { transform: scale(1.06); }
.card__media:not(.is-ready)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg);
    animation: pulse 1.4s ease-in-out infinite;
}
.no-webgl .card__media::after { display: none; }
@keyframes pulse { 50% { opacity: 0.4; } }

.card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.card__badge .icon { color: var(--green); }
.card__cta {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    background: var(--green);
    color: var(--ink);
    transform: scale(0);
    transition: transform 0.3s var(--ease);
}
.card__open:hover .card__cta,
.card__open:focus-visible .card__cta { transform: scale(1); }

.card__meta { display: block; padding: 14px 2px 0; }
.card__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.card__sub { display: block; margin-top: 4px; color: var(--muted); font-size: 0.78rem; }

@media (hover: none) {
    .card__cta { transform: scale(1); }
}

/* Projects I've done (pinned horizontal scroll) ---------------------------- */

.projects { position: relative; padding: clamp(60px, 8vw, 100px) 0; }
.projects__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    gap: 24px 40px;
    margin-bottom: 36px;
}
.projects__meter { display: grid; gap: 10px; justify-items: end; font-size: 0.85rem; font-weight: 600; }
.projects__bar { display: block; width: 160px; height: 4px; background: var(--line); }
.projects__bar i {
    display: block;
    height: 100%;
    background: var(--green);
    transform: scaleX(0.02);
    transform-origin: left;
}

.projects__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    padding: 6px 0 24px;
}
.projects__viewport::-webkit-scrollbar { display: none; }
.projects__track {
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    width: max-content;
    margin: 0;
    padding: 0 var(--gutter);
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
    list-style: none;
}

/* Desktop: the section is made tall and this part sticks while the cards slide. */
.projects.is-pinned { padding: 0; }
.projects.is-pinned .projects__pin {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}
.projects.is-pinned .projects__viewport { overflow: visible; scroll-snap-type: none; }
.projects.is-pinned .projects__track { will-change: transform; }

.pcard {
    flex: 0 0 auto;
    width: clamp(280px, 34vw, 460px);
    scroll-snap-align: start;
    transform: skewX(var(--lean, 0deg));
    transition: transform 0.4s var(--ease);
}
.pcard__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid var(--ink);
    background: var(--surface);
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.pcard__open:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--green); }
.pcard__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 2px solid var(--ink);
    background: var(--bg);
}
.pcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.pcard__open:hover .pcard__media img { transform: scale(1.06); }
.pcard__placeholder { display: grid; place-items: center; height: 100%; color: var(--green-text); }
.pcard__placeholder .icon { width: 56px; height: 56px; }
.pcard__view {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease);
}
.pcard__open:hover .pcard__view,
.pcard__open:focus-visible .pcard__view { transform: none; }
.pcard__body { position: relative; display: grid; gap: 6px; padding: 20px 22px 24px; }
.pcard__num {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #bbbbbb;
    font-size: 1.6rem;
    font-weight: 600;
}
.pcard__cat { color: var(--green-text); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.pcard__title {
    padding-right: 48px;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}
.pcard__summary { color: var(--muted); font-size: 0.95rem; }

.pcard--end { display: flex; }
.pcard__endbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 36px;
    border: 2px dashed var(--ink);
}
.pcard__endtitle {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 899px) {
    .projects__head { grid-template-columns: 1fr; }
    .projects__head .slot { display: none; }
    .projects__meter { justify-items: start; }
    .projects__bar { width: 120px; }
    .pcard { width: min(82vw, 380px); }
}

/* About -------------------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.audiences { display: grid; gap: 12px; }
.audience {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.audience__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--green);
}
.audience__icon .icon { width: 24px; height: 24px; }
.audience h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
}
.audience ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.95rem;
}
.audience li { display: inline-flex; align-items: center; gap: 6px; }
.audience li .icon { color: var(--green-text); width: 1em; height: 1em; }

/* Words light up one by one as you scroll through. */
.statement {
    max-width: 22em;
    margin: clamp(80px, 10vw, 140px) 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
}
.statement.is-split .sw > span { color: #cfcfcf; transition: color 0.3s; }
.statement.is-split .sw.is-lit > span { color: var(--ink); }
.statement.is-split .hl .sw.is-lit > span { color: var(--green-text); }

.process { margin-top: clamp(72px, 9vw, 120px); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.step {
    padding: 28px 24px 24px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--green);
    background: var(--surface);
}
.step__num {
    display: block;
    margin-bottom: 14px;
    color: var(--green-text);
    font-size: 0.85rem;
    font-weight: 600;
}
.step h3 { font-size: 1.25rem; font-weight: 600; }
.step p { margin: 8px 0 0; color: var(--muted); }

@media (max-width: 900px) {
    .about { grid-template-columns: 1fr; }
    .slot--about { width: 200px; }
    .steps { grid-template-columns: 1fr; }
}

/* Contact ------------------------------------------------------------------ */

.book {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--green);
    color: var(--ink);
}
.book__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}
.book p {
    margin: 8px 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.book__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.6vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}
.book__phone .icon { width: 0.8em; height: 0.8em; }
.book__phone:hover { text-decoration: underline; text-underline-offset: 6px; }

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    margin-top: clamp(56px, 7vw, 96px);
}
.contact__info > p:not(.kicker) { margin: 20px 0 28px; color: var(--muted); max-width: 30rem; }
.contact__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact__links a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
    transition: border-color 0.2s;
}
.contact__links a:hover { border-color: var(--ink); }
.contact__links .icon { width: 22px; height: 22px; color: var(--green-text); }
.contact__links small {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form {
    padding: clamp(22px, 3vw, 36px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #bbbbbb;
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.8rem; }
.field__error:empty { display: none; }

.form__status { margin: 14px 0 0; font-size: 0.92rem; min-height: 1.4em; }
.form__status.is-success { color: var(--green-text); font-weight: 600; }
.form__status.is-error { color: var(--danger); }

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; }
    .slot--contact { width: 180px; }
}
@media (max-width: 520px) {
    .form__row { grid-template-columns: 1fr; }
    .book__phone { white-space: normal; }
}

/* Footer ------------------------------------------------------------------- */

.footer { background: #000; color: #fff; }
.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 64px 0 40px;
}
.footer__brand img { width: 160px; height: 160px; margin-left: -14px; }
.footer__motto { margin: 8px 0 0; color: var(--green); font-size: 0.85rem; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col a { color: #cccccc; text-decoration: none; word-break: break-word; }
.footer__col a:hover { color: var(--green); }
.footer__label { margin: 0 0 4px; color: #777777; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0 100px;
    border-top: 1px solid #222222;
    color: #888888;
    font-size: 0.85rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 6px; color: #cccccc; text-decoration: none; }
.footer__bottom a:hover { color: var(--green); }

@media (max-width: 820px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

/* Floating WhatsApp button ------------------------------------------------- */

.fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--green);
    color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.fab .icon { width: 26px; height: 26px; }
.fab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* Chat bot ----------------------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.bot__launcher {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--green);
    color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.bot__launcher:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.bot__launcher .icon { width: 26px; height: 26px; }
.bot__icon-close,
.bot.is-open .bot__icon-open { display: none; }
.bot.is-open .bot__icon-close { display: grid; }

.bot__teaser {
    position: relative;
    margin: 0;
    padding: 10px 14px;
    border: 2px solid var(--ink);
    background: var(--surface);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    animation: pop 0.4s var(--ease);
}

.bot__panel {
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 32px));
    height: min(580px, calc(100vh - 120px));
    border: 2px solid var(--ink);
    background: var(--surface);
    box-shadow: 8px 8px 0 var(--ink);
    animation: pop 0.3s var(--ease);
}
.bot__panel[hidden] { display: none; }

.bot__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--ink);
    color: #fff;
}
.bot__head img { width: 36px; height: 36px; border: 1px solid #333; }
.bot__who { display: grid; flex: 1; line-height: 1.25; }
.bot__who strong { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }
.bot__who span { display: flex; align-items: center; gap: 6px; color: #aaa; font-size: 0.7rem; }
.bot__dot { width: 7px; height: 7px; background: var(--green); }
.bot__reset,
.bot__close {
    display: grid;
    place-items: center;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #444;
    background: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    cursor: pointer;
}
.bot__close { width: 32px; padding: 0; }
.bot__reset:hover,
.bot__close:hover { border-color: var(--green); color: var(--green); }

.bot__log {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    overflow-y: auto;
    background: var(--bg);
    overscroll-behavior: contain;
}
.bot__msg { display: grid; gap: 6px; max-width: 86%; animation: msg-in 0.3s var(--ease); }
.bot__msg.is-static { animation: none; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.bot__msg p {
    margin: 0;
    padding: 10px 13px;
    border: 1.5px solid var(--ink);
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: pre-line;
    word-break: break-word;
}
.bot__msg--bot { align-self: flex-start; }
.bot__msg--bot p { background: var(--surface); }
.bot__msg--you { align-self: flex-end; }
.bot__msg--you p { background: var(--green); }
.bot__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.bot__actions a {
    padding: 5px 10px;
    border: 1.5px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}
.bot__actions a:hover { background: var(--green); color: var(--ink); }

/* Typing indicator: three pixel blocks, like the logo. */
.bot__typing p { display: flex; gap: 5px; padding: 14px; }
.bot__typing span { width: 8px; height: 8px; background: var(--green); animation: typing 1s infinite; }
.bot__typing span:nth-child(2) { animation-delay: 0.15s; }
.bot__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { opacity: 0.2; transform: translateY(-3px); } }

.bot__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; background: var(--bg); }
.bot__chips:not(:empty) { padding-bottom: 12px; }
.bot__chips button {
    padding: 6px 10px;
    border: 1.5px solid var(--ink);
    background: var(--surface);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
}
.bot__chips button:hover { background: var(--green); }

.bot__form { display: flex; border-top: 2px solid var(--ink); }
.bot__form input {
    flex: 1;
    min-width: 0;
    padding: 14px;
    border: 0;
    background: var(--surface);
    font-size: 0.95rem;
}
.bot__form input:focus { outline: none; background: #fbfbfb; }
.bot__form button {
    display: grid;
    place-items: center;
    width: 52px;
    border: 0;
    border-left: 2px solid var(--ink);
    background: var(--green);
    cursor: pointer;
}
.bot__form button:hover { background: #00b84c; }
.bot__note { margin: 0; padding: 8px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }

@media (max-width: 520px) {
    .bot { right: 12px; bottom: 12px; }
    /* Full screen on phones, above the site navigation. */
    .bot.is-open { inset: 0; z-index: 70; gap: 0; }
    .bot.is-open .bot__panel { width: 100%; height: 100%; border: 0; box-shadow: none; }
    .bot.is-open .bot__launcher { display: none; }
}

/* Dialogs: 3D viewer and project details ----------------------------------- */

.viewer,
.pdialog {
    width: min(1180px, 100% - 32px);
    height: min(760px, 100% - 32px);
    max-width: none;
    max-height: none;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    overflow: hidden;
}
.viewer[open],
.pdialog[open] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    animation: pop 0.35s var(--ease);
}
.viewer::backdrop,
.pdialog::backdrop { background: rgba(17, 17, 17, 0.6); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }

.viewer__stage { position: relative; min-height: 0; background: var(--bg); }
.viewer__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
    touch-action: none;
}
.viewer__canvas:active { cursor: grabbing; }
.viewer__image,
.viewer__fallback { display: none; }
.viewer__stage.is-image .viewer__image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.viewer__stage.is-fallback .viewer__fallback {
    display: grid;
    position: absolute;
    inset: 0;
    place-items: center;
    margin: 0;
    color: var(--muted);
}
.viewer__stage.is-image .viewer__canvas,
.viewer__stage.is-image .viewer__tools,
.viewer__stage.is-image .viewer__hint,
.viewer__stage.is-fallback .viewer__canvas,
.viewer__stage.is-fallback .viewer__tools,
.viewer__stage.is-fallback .viewer__hint { display: none; }

.viewer__hint {
    position: absolute;
    top: 18px;
    left: 18px;
    margin: 0;
    color: var(--muted);
    font-size: 0.74rem;
    pointer-events: none;
}
.viewer__loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.viewer__loading span {
    width: 36px;
    height: 36px;
    border: 3px solid var(--line);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.viewer__stage.is-loading .viewer__loading { opacity: 1; }

.viewer__tools {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    padding: 7px 12px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

.viewer__info,
.pdialog__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding: 44px 30px 26px;
    border-left: 2px solid var(--ink);
    overflow-y: auto;
}
.viewer__info .kicker,
.pdialog__info .kicker { margin: 0; }
.viewer__title,
.pdialog__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}
.viewer__desc { margin: 0; color: var(--muted); }
.viewer__label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.viewer__includes,
.pdialog__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.viewer__includes li,
.pdialog__tags li {
    padding: 4px 10px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 500;
}
.viewer__stats { margin: 0; color: var(--muted); font-size: 0.74rem; }
.viewer__stats span { color: var(--text); font-weight: 600; }

.viewer__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.viewer__nav button,
.viewer__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.viewer__nav button:hover,
.viewer__close:hover { background: var(--ink); color: #fff; }
.viewer__nav [data-action="prev"] .icon { transform: rotate(180deg); }
.viewer__count,
.pdialog__count { color: var(--muted); font-size: 0.8rem; }
.viewer__close { position: absolute; top: 12px; right: 12px; z-index: 3; }

.pdialog__media {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    background: var(--bg);
}
.pdialog__image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.pdialog__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--line); }
.pdialog__thumbs:empty { display: none; }
.pdialog__thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.pdialog__thumbs button[aria-current="true"] { border-color: var(--green); }
.pdialog__thumbs img { width: 84px; height: 63px; object-fit: cover; }
.pdialog__client { margin: -8px 0 0; color: var(--muted); font-size: 0.85rem; }
.pdialog__desc p { margin: 0 0 12px; color: var(--muted); }
.pdialog__actions { display: grid; gap: 10px; }
.pdialog__link[hidden] { display: none; }

.modal-open { overflow: hidden; }

@media (max-width: 860px) {
    .viewer,
    .pdialog { width: 100%; height: 100%; border: 0; }
    .viewer[open],
    .pdialog[open] {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 48%) minmax(0, 1fr);
    }
    .viewer__info,
    .pdialog__info { padding: 22px 20px 20px; border-left: 0; border-top: 2px solid var(--ink); }
    .viewer__title,
    .pdialog__title { font-size: 1.6rem; }
}

/* Scroll reveal ------------------------------------------------------------ */

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}
