:root {
    --ink: #111111;
    --paper: #f7f3ec;
    --paper-deep: #ede4d7;
    --muted: #6f6a62;
    --line: rgba(17, 17, 17, 0.14);
    --green: #123d35;
    --lime: #c6ff4a;
    --coral: #ef6f4d;
    --blue: #1f5eff;
    --shadow: 0 24px 80px rgba(17, 17, 17, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    cursor: none;
}

a {
    color: inherit;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--lime), var(--coral), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    box-shadow: 0 0 24px rgba(198, 255, 74, 0.65);
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 22px rgba(198, 255, 74, 0.9);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(17, 17, 17, 0.45);
    border-radius: 50%;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cursor-ring.active {
    width: 64px;
    height: 64px;
    border-color: rgba(31, 94, 255, 0.65);
    background: rgba(31, 94, 255, 0.08);
}

.page-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 20%), rgba(198, 255, 74, 0.18), transparent 28%),
        linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 56px);
    background: rgba(247, 243, 236, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.18);
    transform: rotate(-4deg);
}

.logo-mark::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--blue);
    z-index: 2;
}

.logo-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: rotate(4deg) scale(1.1);
    display: block;
}

.logo-initials {
    position: relative;
    z-index: 1;
    color: white;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(4deg);
}

.brand strong {
    font-size: 15px;
}

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

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--ink);
}

.menu-button {
    display: none;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: 116px clamp(18px, 5vw, 72px) 54px;
}

.hero-copy h1,
.section-heading h2,
.contact h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 860px;
    font-size: clamp(50px, 7.5vw, 112px);
    line-height: 0.92;
    animation: heroRise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.intro {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
    animation: heroRise 1s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0;
    animation: heroRise 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    will-change: transform;
}

.button.primary {
    background: var(--ink);
    color: white;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.18);
}

.button.secondary {
    border: 1px solid var(--line);
    background: white;
}

.button:hover {
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    margin: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.44);
    animation: heroRise 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-stats div {
    padding: 18px;
    border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
    border-right: 0;
}

.hero-stats dt {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1;
}

.hero-stats dd {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.hero-visual {
    position: relative;
}

.portrait-card {
    position: relative;
    overflow: hidden;
    width: 460px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--green);
    box-shadow: var(--shadow);
    animation: portraitIn 1.1s 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform;
}

@keyframes portraitIn {
    from {
        opacity: 0;
        transform: translateY(44px) rotate(3deg) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    min-height: 580px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(198, 255, 74, 0.2), transparent 34%),
        radial-gradient(circle at 65% 25%, rgba(239, 111, 77, 0.44), transparent 25%),
        linear-gradient(135deg, #123d35, #1f5eff);
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.hero-visual {
    position: relative;
    align-self: start;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-placeholder::before {
    content: "NA";
    position: absolute;
    top: 34px;
    left: 34px;
    color: rgba(255, 255, 255, 0.2);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 118px;
    font-weight: 900;
}

.avatar-head {
    position: absolute;
    top: 24%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.2);
}

.avatar-body {
    position: absolute;
    bottom: 13%;
    width: 320px;
    height: 250px;
    border-radius: 48% 48% 0 0;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.2);
}

.portrait-badge {
    display: grid;
    gap: 4px;
    width: max-content;
    max-width: 80%;
    margin: 16px auto 0;
    padding: 12px 22px;
    border-radius: 999px;
    text-align: center;
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}

.portrait-badge strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 900;
}

.portrait-badge span,
.signature-panel span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--green);
}

.signature-panel {
    position: absolute;
    left: -34px;
    bottom: 54px;
    max-width: 285px;
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.signature-panel strong {
    display: block;
    margin-top: 6px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
}

.signature-panel p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.section {
    padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
    overflow: hidden;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 38px;
}

.section-heading h2,
.contact h2 {
    font-size: clamp(38px, 5.8vw, 82px);
    line-height: 0.98;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-grid p {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.5);
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.services {
    background: var(--green);
    color: white;
}

.services .eyebrow {
    color: var(--lime);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card {
    min-height: 310px;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.28s ease, background 0.28s ease;
}

.service-card:last-child {
    border-right: 0;
}

.service-card span {
    color: var(--lime);
    font-weight: 900;
}

.service-card h3 {
    margin: 92px 0 14px;
    font-size: 25px;
}

.service-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.09);
}

.marquee-section {
    overflow: hidden;
    padding: 22px 0;
    background: var(--lime);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.marquee-viewport {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 34px;
    animation: marqueeMove 28s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track span {
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 900;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-track .marquee-dot {
    color: var(--green);
    opacity: 0.6;
}

@keyframes marqueeMove {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.work-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    background: white;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    will-change: transform;
}

.work-card:hover {
    transform: translateY(-8px) rotate(0.4deg);
    box-shadow: var(--shadow);
}

.work-card.tall {
    grid-row: span 2;
}

.work-art {
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: white;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 900;
    position: relative;
    overflow: hidden;
    background: #0e1310;
}

.work-art img,
.work-art video {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.work-art video {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #000;
}

.work-card:hover .work-art img,
.work-card:hover .work-art video {
    transform: scale(1.02);
}

.work-art::after {
    content: "";
    position: absolute;
    inset: -80% -30%;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.36), transparent 58%);
    transform: translateX(-65%) rotate(8deg);
    transition: transform 0.8s ease;
}

.work-card:hover .work-art::after {
    transform: translateX(65%) rotate(8deg);
}

.work-card.tall .work-art {
    /* allow natural image/video height */
}

.brand-art {
    background: linear-gradient(135deg, var(--green), #24715f);
}

.campaign-art {
    background: linear-gradient(135deg, var(--coral), #ffb25f);
}

.social-art {
    background: linear-gradient(135deg, var(--blue), #36d6c9);
}

.work-card p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.work-card h3 {
    margin: 0;
    font-size: 25px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pricing-card {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 36px 28px;
    border: 1px solid var(--line);
    background: white;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    will-change: transform;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.pricing-card.featured .pricing-tier,
.pricing-card.featured .pricing-period {
    color: var(--lime);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-tier {
    margin: 0;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 900;
    line-height: 1;
}

.pricing-price .pricing-currency {
    font-size: 0.5em;
    font-weight: 800;
}

.pricing-period {
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
}

.pricing-card h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
}

.pricing-card > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.pricing-card.featured > p {
    color: rgba(255, 255, 255, 0.72);
}

.pricing-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.pricing-features li {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.pricing-features li:first-child {
    border-top: 0;
}

.pricing-card .button {
    margin-top: 4px;
    justify-self: stretch;
}

.experience {
    background: var(--paper-deep);
}

.timeline {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.timeline article {
    display: grid;
    grid-template-columns: 180px 0.65fr 1fr;
    gap: 22px;
    align-items: start;
    padding: 26px;
    background: var(--paper);
}

.timeline span {
    color: var(--green);
    font-weight: 900;
}

.timeline h3 {
    margin: 0;
    font-size: 24px;
}

.timeline p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact {
    padding: clamp(78px, 10vw, 132px) clamp(18px, 5vw, 72px);
    background: var(--ink);
    color: white;
}

.contact-panel {
    max-width: 1055px;
}

.contact .eyebrow {
    color: var(--lime);
}

.contact-panel > p:not(.eyebrow) {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 19px;
    line-height: 1.7;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.contact-links a {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-links a:hover {
    transform: translateY(-2px);
    border-color: var(--lime);
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-links span {
    color: var(--lime);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-links span.contact-icon {
    color: var(--ink);
    letter-spacing: 0;
}

.contact-links strong {
    font-size: clamp(22px, 3vw, 34px);
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px clamp(18px, 5vw, 72px);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.reveal {
    opacity: 0;
    transform: translateY(70px) scale(0.97);
    filter: blur(12px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.slide-left {
    transform: translateX(-80px) scale(0.98);
}

.slide-right {
    transform: translateX(80px) scale(0.98);
}

.zoom-pop {
    transform: translateY(40px) scale(0.9);
}

.parallax-slow,
.parallax-fast {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: marqueeMove 28s linear infinite !important;
    }
}

@media (max-width: 960px) {
    .hero,
    .section-heading,
    .about-grid,
    .work-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .timeline article {
        grid-template-columns: 1fr;
    }

    .signature-panel {
        left: 18px;
    }
}

@media (max-width: 720px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 79px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-button {
        display: inline-grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: white;
    }

    .menu-button span {
        width: 18px;
        height: 2px;
        background: var(--ink);
    }

    .hero {
        padding-top: 106px;
    }

    .hero-stats,
    .service-grid,
    .contact-links {
        grid-template-columns: 1fr;
    }

    .hero-stats div,
    .service-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .portrait-card,
    .profile-placeholder,
    .work-card.tall .work-art {
        min-height: 430px;
    }

    .signature-panel {
        position: static;
        max-width: none;
        margin-top: 12px;
    }

    .footer {
        flex-direction: column;
    }
    
}
