:root {
    --navy: #14213d;
    --ink: #101828;
    --muted: #5b6575;
    --line: #e5e9f0;
    --soft: #f5f7fb;
    --white: #ffffff;
    --accent: #fca311;
    --teal: #1f8a70;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

body.site-opening-active {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-opening {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #14213d;
    background: #F7F6F2;
}

.opening-statement,
.opening-transformation,
.opening-curtain {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.opening-statement p {
    max-width: min(82vw, 980px);
    margin: 0;
    color: #14203C;
    font-size: clamp(2rem, 6.4vw, 6.2rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 2px;
    text-align: center;
    filter: blur(12px);
    opacity: 0;
    transform: scale(.98);
}

.opening-transformation {
    opacity: 0;
}

.opening-core-line {
    position: absolute;
    width: 2px;
    height: 0;
    border-radius: 999px;
    background: #14213D;
    box-shadow: 0 0 24px rgba(20, 33, 61, .20);
}

.opening-chaos-line {
    position: absolute;
    width: clamp(62px, 10vw, 130px);
    height: 1px;
    border-radius: 999px;
    background: rgba(20, 33, 61, .56);
    opacity: 0;
    transform-origin: center;
}

.opening-chaos-line-1 {
    transform: translate(-22vw, -10vh) rotate(38deg);
}

.opening-chaos-line-2 {
    transform: translate(20vw, -12vh) rotate(-36deg);
}

.opening-chaos-line-3 {
    transform: translate(-16vw, 2vh) rotate(-24deg);
}

.opening-chaos-line-4 {
    transform: translate(16vw, 4vh) rotate(24deg);
}

.opening-chaos-line-5 {
    transform: translate(-10vw, 15vh) rotate(46deg);
}

.opening-chaos-line-6 {
    transform: translate(11vw, 14vh) rotate(-44deg);
}

.opening-curtain {
    width: 0;
    height: 100%;
    justify-self: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 30%, rgba(125, 170, 235, .22), transparent 27%),
        radial-gradient(circle at 28% 72%, rgba(252, 163, 17, .16), transparent 30%),
        linear-gradient(115deg, rgba(255, 255, 255, .84), transparent 34%, rgba(255, 255, 255, .72) 58%, transparent 76%),
        linear-gradient(135deg, #fbfaf6 0%, #f7f6f2 38%, #eef3fb 72%, #fffaf0 100%);
    opacity: 0;
    box-shadow:
        0 0 48px rgba(125, 170, 235, .22),
        inset 0 0 90px rgba(255, 255, 255, .68);
}

.opening-curtain::before,
.opening-curtain::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.opening-curtain::before {
    background:
        linear-gradient(90deg, rgba(20, 33, 61, .08), transparent 18%, transparent 82%, rgba(252, 163, 17, .09)),
        repeating-linear-gradient(90deg, rgba(20, 33, 61, .028) 0 1px, transparent 1px 14px);
    opacity: .28;
    mix-blend-mode: screen;
}

.opening-curtain::after {
    background:
        radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(238, 229, 209, .30) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .70), transparent 42%, rgba(252, 163, 17, .08));
    opacity: .78;
}

.opening-glow {
    position: absolute;
    top: 18%;
    right: 16%;
    z-index: 1;
    width: clamp(220px, 30vw, 480px);
    height: clamp(220px, 30vw, 480px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 186, 255, .28), rgba(252, 163, 17, .10) 42%, transparent 72%);
    filter: blur(20px);
    opacity: 0;
    transform: scale(.72);
}

.opening-sweep {
    position: absolute;
    top: -16%;
    left: -35%;
    z-index: 2;
    width: 28vw;
    height: 132%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .76), rgba(125, 170, 235, .16), transparent);
    filter: blur(10px);
    opacity: 0;
    transform: skewX(-18deg);
}

.welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    place-items: center;
    padding: 24px;
}

.welcome-modal.is-visible {
    display: grid;
}

.welcome-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 34, .68);
    backdrop-filter: blur(8px);
}

.welcome-card {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 61, .10);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), #ffffff),
        var(--white);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .30);
}

.welcome-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    width: 78px;
    height: 5px;
    border-radius: 999px;
    background: var(--accent);
}

.welcome-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.welcome-close:hover {
    border-color: rgba(252, 163, 17, .65);
    color: var(--accent);
}

.welcome-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 12px 30px rgba(20, 33, 61, .22);
}

.welcome-kicker {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.welcome-card h1 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    line-height: 1.08;
}

.welcome-card p:not(.welcome-kicker) {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 1rem;
}

.welcome-card strong {
    display: block;
    color: var(--ink);
    font-size: 1.02rem;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.welcome-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #6b7280;
    font-size: .84rem;
    font-weight: 700;
}

.welcome-ad-modal {
    padding: clamp(14px, 2vw, 24px);
}

.welcome-ad-modal .welcome-modal-backdrop {
    background:
        radial-gradient(circle at 20% 12%, rgba(252, 163, 17, .18), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(29, 49, 87, .28), transparent 34%),
        rgba(5, 12, 24, .78);
    backdrop-filter: blur(12px);
}

.welcome-ad-card {
    width: min(1180px, 100%);
    height: min(860px, calc(100dvh - 48px));
    min-height: 560px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 30px;
    background: #f7f6f2;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
}

.welcome-ad-card::before {
    display: none;
}

.welcome-ad-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(14px, 1.8vw, 20px) clamp(20px, 3vw, 34px);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(20, 32, 60, .98), rgba(29, 49, 87, .96)),
        var(--navy);
}

.welcome-ad-header span {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.welcome-ad-header h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.28rem, 2.5vw, 2.15rem);
    line-height: 1.08;
}

.welcome-ad-close {
    position: static;
    flex: 0 0 auto;
    border-color: rgba(255, 255, 255, .26);
    color: var(--white);
    background: rgba(255, 255, 255, .10);
}

.welcome-ad-close:hover {
    border-color: rgba(252, 163, 17, .8);
    color: var(--white);
    background: rgba(252, 163, 17, .22);
}

.welcome-ad-stage {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .95), rgba(247, 246, 242, .86)),
        #f7f6f2;
}

.welcome-ad-stage::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(20, 33, 61, .08);
    border-radius: 24px;
    pointer-events: none;
}

.welcome-ad-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: clamp(18px, 3vw, 38px);
    opacity: 0;
    pointer-events: none;
    transform: scale(.985);
    transition: opacity .45s ease, transform .55s ease;
}

.welcome-ad-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.welcome-ad-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(20, 33, 61, .20);
}

.welcome-ad-slide .welcome-ad-empty {
    min-height: min(360px, 80%);
    width: min(620px, 92%);
    border: 1px dashed rgba(20, 33, 61, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .76);
}

.welcome-ad-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(20, 33, 61, .12);
    border-radius: 999px;
    color: var(--navy);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 32px rgba(20, 33, 61, .16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.welcome-ad-arrow:hover {
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 18px 40px rgba(20, 33, 61, .28);
}

.welcome-ad-arrow-prev {
    left: clamp(18px, 2.2vw, 34px);
}

.welcome-ad-arrow-next {
    right: clamp(18px, 2.2vw, 34px);
}

.welcome-ad-arrow-prev:hover {
    transform: translate(-3px, -50%);
}

.welcome-ad-arrow-next:hover {
    transform: translate(3px, -50%);
}

.welcome-ad-empty {
    min-height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 34px;
    text-align: center;
    color: var(--muted);
}

.welcome-ad-empty i {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    color: var(--accent);
    background: rgba(252, 163, 17, .13);
    font-size: 1.65rem;
}

.welcome-ad-empty h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.welcome-ad-empty p {
    margin: 0;
}

.welcome-ad-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px 0;
    background: var(--white);
}

.welcome-ad-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 33, 61, .24);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.welcome-ad-dots button.is-active {
    width: 28px;
    background: var(--accent);
}

.welcome-ad-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px clamp(20px, 3vw, 34px) 24px;
    border-top: 1px solid rgba(20, 33, 61, .08);
    background: var(--white);
}

.welcome-ad-demo,
.welcome-ad-subscribe {
    min-width: min(100%, 260px);
    justify-content: center;
}

.welcome-ad-demo {
    border-color: rgba(20, 33, 61, .18);
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(20, 33, 61, .08);
}

.welcome-ad-demo:hover {
    border-color: var(--navy);
    color: var(--white);
    background: var(--navy);
    transform: translateY(-2px);
}

.welcome-ad-subscribe {
    border-color: var(--accent);
    color: var(--navy);
    background: var(--accent);
    box-shadow: 0 16px 34px rgba(252, 163, 17, .28);
}

.welcome-ad-subscribe:hover {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.video-landing {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
    background: var(--navy);
}

.video-landing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 14, 28, .34), rgba(7, 14, 28, 0) 34%),
        linear-gradient(90deg, rgba(7, 14, 28, .28), rgba(7, 14, 28, 0) 52%);
}

.hero-nav {
    position: fixed;
    top: clamp(16px, 3vw, 32px);
    left: clamp(16px, 3vw, 36px);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    max-width: calc(100% - 32px);
    transition: top .28s ease, left .28s ease, width .28s ease, max-width .28s ease, padding .28s ease, background .28s ease, box-shadow .28s ease;
}

.hero-nav.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    max-width: none;
    padding: 12px 6vw;
    justify-content: flex-start;
    gap: 22px;
    background: #14203C;
    box-shadow: 0 12px 34px rgba(6, 14, 28, .22);
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--white);
    background: transparent;
    box-shadow: none;
}

.hero-brand img {
    width: 44px;
    height: 44px;
    border-radius: 0;
    object-fit: cover;
    background: transparent;
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .34));
}

.hero-brand span {
    color: #14203C;
    font-size: .98rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 14px rgba(255, 255, 255, .45);
    transition: color .25s ease, text-shadow .25s ease;
}

.hero-nav.is-scrolled .hero-brand span {
    color: var(--white);
    text-shadow: none;
}

.hero-menu {
    display: inline-flex;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
    min-height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.hero-menu a {
    color: rgba(255, 255, 255, .94);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .30);
    transition: color .2s ease, text-shadow .2s ease;
}

.hero-nav.is-scrolled .hero-menu a {
    color: rgba(255, 255, 255, .92);
    text-shadow: none;
}

.hero-menu a:hover {
    color: var(--accent);
}

.hero-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 4px;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
    opacity: 0;
    transform: translateX(12px);
    transition: color .2s ease, opacity .24s ease, transform .24s ease;
}

.hero-menu-toggle:hover {
    color: var(--accent);
}

.hero-nav.is-scrolled .hero-menu-toggle {
    display: inline-flex;
    opacity: 1;
    transform: translateX(0);
}

.hero-nav.is-scrolled.is-menu-open .hero-menu-toggle {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.hero-nav.is-scrolled:not(.is-menu-open) .hero-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
}

.hero-nav.is-scrolled.is-menu-open .hero-menu {
    position: static;
    min-height: 0;
    padding: 0;
    gap: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-nav.is-scrolled.is-menu-open .hero-menu a {
    color: rgba(255, 255, 255, .92);
    text-shadow: none;
}

.profile-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: 0;
    pointer-events: none;
    will-change: transform;
}

.empty-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
}

.project-cta-section {
    min-height: 86vh;
    padding: 96px 6vw;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(36px, 6vw, 72px);
    align-items: center;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.project-cta-copy {
    max-width: 760px;
}

.project-cta-copy h1 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(2.45rem, 5.6vw, 5rem);
    line-height: 1.02;
}

.project-cta-copy > p:not(.eyebrow):not(.project-cta-note) {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.project-cta-note {
    margin: 22px 0 0;
    color: #667085;
    font-size: .98rem;
    font-weight: 700;
}

.project-request-card {
    position: relative;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 61, .10);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(20, 33, 61, .12);
    will-change: transform;
}

.case-card,
.service-card,
.project-card,
.process-item,
.skill-cloud span,
.contact-profile-panel {
    will-change: transform, opacity;
}

.request-card-accent {
    width: 68px;
    height: 6px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--accent);
}

.project-request-card h2 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.08;
}

.project-request-card ul {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.project-request-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 900;
}

.project-request-card li i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    color: var(--navy);
    border-radius: 50%;
    background: rgba(252, 163, 17, .22);
    font-size: .78rem;
}

.project-request-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.completed-case-section {
    padding: 96px 6vw;
    background: #14203C;
}

.completed-case-heading {
    width: min(900px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.completed-case-heading h1 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 1.02;
}

.completed-case-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.completed-case-controls {
    width: min(1180px, 100%);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.case-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-filter-btn {
    min-height: 38px;
    padding: 9px 14px;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-weight: 900;
    cursor: pointer;
}

.case-filter-btn.active,
.case-filter-btn:hover {
    color: var(--navy);
    border-color: var(--accent);
    background: var(--accent);
}

.case-search {
    min-width: min(320px, 100%);
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
}

.case-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    font: inherit;
}

.case-search input::placeholder {
    color: rgba(255, 255, 255, .58);
}

.case-study-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.case-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(252, 163, 17, .55);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .30);
}

.case-card-hidden {
    display: none;
}

.case-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8edf5;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.case-card-placeholder {
    height: 100%;
    display: grid;
    gap: 12px;
    padding: 26px;
    background: linear-gradient(135deg, #14213d, #315078);
}

.case-card-placeholder span {
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
}

.case-card-body {
    padding: 22px;
}

.case-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.case-card-meta span,
.case-card-meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
}

.case-card-meta span {
    color: #ffffff;
    background: var(--navy);
}

.case-card-meta strong {
    color: var(--navy);
    background: rgba(252, 163, 17, .24);
}

.case-card h2 {
    margin-bottom: 16px;
    color: #0f172a;
    font-size: 1.32rem;
    line-height: 1.18;
}

.case-flow {
    display: grid;
    gap: 14px;
}

.case-flow small {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-weight: 900;
    text-transform: uppercase;
}

.case-flow p {
    margin: 0;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.5;
}

.case-study-btn {
    min-height: 40px;
    margin-top: 20px;
    padding: 9px 14px;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    background: var(--navy);
    font-weight: 900;
    cursor: pointer;
}

.case-study-btn:hover {
    color: var(--navy);
    background: var(--accent);
}

.case-empty-state {
    grid-column: 1 / -1;
    padding: 34px;
    color: rgba(255, 255, 255, .74);
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    font-weight: 900;
}

.case-load-row {
    margin-top: 34px;
    text-align: center;
}

.case-study-template {
    display: none;
}

.case-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.case-modal.is-open {
    display: block;
}

.case-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
}

.case-modal-panel {
    position: relative;
    width: min(980px, calc(100% - 28px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: clamp(24px, 4vw, 38px);
    overflow-y: auto;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .30);
}

.case-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.case-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 26px;
}

.case-modal-header h2 {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.04;
}

.case-modal-header > span {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: var(--navy);
    border-radius: 999px;
    background: rgba(252, 163, 17, .22);
    font-weight: 900;
}

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

.case-modal-grid section,
.case-preview-gallery {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f8fafc;
}

.case-modal-grid h3,
.case-preview-gallery h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1rem;
}

.case-modal-grid p {
    margin: 0;
    color: #64748b;
}

.case-feature-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.case-feature-list li {
    display: flex;
    gap: 9px;
    color: #0f172a;
    font-weight: 800;
}

.case-feature-list i {
    color: var(--accent);
}

.case-preview-gallery {
    margin-top: 20px;
}

.case-preview-gallery > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.case-preview-gallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.case-preview-empty {
    grid-column: 1 / -1;
    padding: 24px;
    color: #64748b;
    text-align: center;
    border-radius: 12px;
    background: #ffffff;
    font-weight: 800;
}

.request-project-page {
    background: #f4f6fb;
}

.request-shell {
    min-height: 100vh;
    padding: 28px 6vw 72px;
}

.request-topbar {
    width: min(1180px, 100%);
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.request-brand,
.request-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 900;
}

.request-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    padding: 5px;
    box-shadow: 0 8px 20px rgba(20, 33, 61, .10);
}

.request-back-link {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(20, 33, 61, .14);
    border-radius: 8px;
    background: var(--white);
}

.request-panel {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(20, 33, 61, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 80px rgba(20, 33, 61, .10);
}

.request-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.request-heading h1 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: 1.02;
}

.request-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.request-alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.request-alert p {
    margin: 0;
}

.request-alert-success {
    color: #125c3a;
    border: 1px solid rgba(18, 92, 58, .18);
    background: #eaf8f0;
}

.request-alert-error {
    color: #9b1c1c;
    border: 1px solid rgba(155, 28, 28, .18);
    background: #fff0f0;
}

.request-form-row {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.request-form-copy h2 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.12rem;
}

.request-form-copy p,
.request-submit-row p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.5;
}

.request-form-fields {
    display: grid;
    gap: 18px;
}

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

.request-form label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: var(--navy);
    font-weight: 900;
}

.request-form label span b,
.request-submit-row b {
    color: var(--accent);
}

.request-form input,
.request-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: var(--ink);
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #ffffff;
    font: inherit;
    outline: 0;
}

.request-form textarea {
    resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(252, 163, 17, .14);
}

.request-form input[type="file"] {
    padding: 10px;
    background: #f9fbfd;
}

.request-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.request-submit-btn {
    min-width: 180px;
    border: 0;
    cursor: pointer;
}

.intro-section {
    min-height: 92vh;
    padding: 100px 6vw;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: end;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(20, 33, 61, .98), rgba(20, 33, 61, .88)),
        var(--navy);
}

.intro-copy {
    max-width: 820px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: .78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 860px;
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 6vw, 5.9rem);
    line-height: .98;
    letter-spacing: 0;
}

.intro-copy p {
    max-width: 660px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 800;
    line-height: 1.2;
}

.btn-primary {
    color: var(--navy);
    background: var(--accent);
    border-color: var(--accent);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, .72);
}

.btn-outline-dark {
    color: var(--navy);
    border-color: rgba(20, 33, 61, .22);
    background: var(--white);
}

.btn:hover {
    transform: translateY(-1px);
}

.intro-stack {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(8px);
}

.intro-stack span {
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .10);
    font-weight: 800;
}

.section {
    width: min(1180px, 88vw);
    margin: 0 auto;
    padding: 92px 0;
}

.section-muted {
    width: 100%;
    padding-left: 6vw;
    padding-right: 6vw;
    background: var(--soft);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
    margin-bottom: 0;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.project-card,
.process-item,
.help-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.service-card {
    padding: 24px;
}

.service-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--white);
    border-radius: 8px;
    background: var(--navy);
}

.service-card h3,
.project-card h3,
.process-item h3 {
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.25;
}

.service-card p,
.project-content p,
.process-item p,
.about-text,
.help-box li {
    color: var(--muted);
}

.project-list {
    display: grid;
    gap: 22px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    overflow: hidden;
    min-height: 310px;
}

.project-card-link {
    color: inherit;
    text-decoration: none;
}

.project-card-link:hover,
.project-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.project-visual {
    height: 310px;
    min-height: 0;
    background: #dfe7f2;
}

.project-visual img {
    width: 100%;
    height: 310px;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.project-content {
    padding: 28px;
}

.mock-window {
    height: 100%;
    min-height: 0;
    padding: 22px;
    background: linear-gradient(135deg, #14213d, #2f4f73);
}

.mock-bar {
    display: flex;
    gap: 7px;
    margin-bottom: 28px;
}

.mock-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .68);
}

.mock-dashboard {
    display: grid;
    gap: 16px;
    color: var(--white);
}

.mock-dashboard strong {
    font-size: 1.25rem;
}

.mock-dashboard div {
    height: 44px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .14);
}

.skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-cloud span {
    padding: 10px 14px;
    color: var(--navy);
    border: 1px solid rgba(20, 33, 61, .18);
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
}

.section-process {
    border-top: 1px solid var(--line);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.process-item {
    padding: 20px;
}

.process-item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    color: var(--white);
    border-radius: 50%;
    background: var(--teal);
}

.about-section {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 52px;
    border-top: 1px solid var(--line);
}

.about-text {
    font-size: 1.08rem;
}

.contact-section {
    width: 100%;
    padding-left: 6vw;
    padding-right: 6vw;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
    background: var(--navy);
}

.contact-section h2 {
    color: var(--white);
}

.contact-content {
    max-width: 680px;
}

.contact-content .help-box {
    max-width: 560px;
    margin-top: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

.contact-profile-panel {
    display: grid;
    gap: 18px;
}

.contact-photo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.contact-photo-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(252, 163, 17, .55);
    border-radius: 16px;
}

.contact-photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.help-box {
    padding: 26px;
}

.help-box h3 {
    color: var(--navy);
}

.help-box ul {
    margin: 0;
    padding-left: 20px;
}

.help-box li + li {
    margin-top: 8px;
}

@media (max-width: 980px) {
    .completed-case-controls,
    .project-cta-section,
    .intro-section,
    .project-card,
    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .project-visual,
    .project-visual img {
        height: 240px;
    }

    .intro-stack {
        max-width: 520px;
    }

    .service-grid,
    .case-study-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .completed-case-controls {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .welcome-modal {
        padding: 16px;
    }

    .welcome-card {
        padding: 28px 22px 24px;
        border-radius: 22px;
    }

    .welcome-actions {
        display: grid;
    }

    .welcome-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .welcome-ad-modal {
        padding: 0;
    }

    .welcome-ad-card {
        width: 100%;
        height: 100dvh;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
    }

    .welcome-ad-header {
        padding: 13px 16px;
    }

    .welcome-ad-header h1 {
        font-size: 1.18rem;
    }

    .welcome-ad-stage::before {
        inset: 10px;
        border-radius: 18px;
    }

    .welcome-ad-slide {
        padding: 18px 14px;
    }

    .welcome-ad-slide img {
        border-radius: 16px;
    }

    .welcome-ad-arrow {
        width: 40px;
        height: 40px;
        font-size: .9rem;
    }

    .welcome-ad-arrow-prev {
        left: 10px;
    }

    .welcome-ad-arrow-next {
        right: 10px;
    }

    .welcome-ad-dots {
        padding-top: 12px;
    }

    .welcome-ad-footer {
        padding: 14px 16px 18px;
    }

    .welcome-ad-demo,
    .welcome-ad-subscribe {
        width: 100%;
    }

    .hero-nav {
        right: 16px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .hero-nav.is-scrolled {
        right: 0;
        align-items: center;
        flex-direction: row;
        gap: 14px;
        padding: 10px 16px 12px;
    }

    .hero-brand {
        min-height: 44px;
        padding: 0;
    }

    .hero-brand img {
        width: 38px;
        height: 38px;
    }

    .hero-brand span {
        font-size: .9rem;
    }

    .hero-menu {
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        gap: 16px;
        overflow-x: auto;
        padding: 0;
        scrollbar-width: none;
    }

    .hero-menu::-webkit-scrollbar {
        display: none;
    }

    .hero-menu a {
        flex: 0 0 auto;
        font-size: .82rem;
    }

    .hero-nav.is-scrolled:not(.is-menu-open) .hero-menu {
        width: auto;
    }

    .hero-nav.is-scrolled.is-menu-open .hero-menu {
        position: static;
        width: auto;
        max-width: none;
        padding: 0;
        gap: 14px;
        overflow-x: auto;
    }

    .video-landing {
        height: 100svh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--navy);
    }

    .profile-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .intro-section {
        padding: 72px 16px;
        gap: 28px;
    }

    .project-cta-section {
        min-height: auto;
        padding: 72px 16px;
        gap: 32px;
    }

    .project-request-card {
        padding: 24px;
    }

    .completed-case-section {
        padding: 72px 16px;
    }

    .case-study-grid,
    .case-modal-grid,
    .case-preview-gallery > div {
        grid-template-columns: 1fr;
    }

    .case-modal-header {
        flex-direction: column;
    }

    .request-shell {
        padding: 18px 14px 48px;
    }

    .request-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .request-back-link {
        justify-content: center;
    }

    .request-panel {
        padding: 24px 18px;
    }

    .request-form-row,
    .request-grid-fields {
        grid-template-columns: 1fr;
    }

    .request-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .btn {
        width: 100%;
    }

    .section {
        width: min(100% - 32px, 1180px);
        padding: 68px 0;
    }

    .section-muted,
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .service-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .project-content {
        padding: 22px;
    }
}
