:root {
    /* layered shades of white */
    --w1: #ffffff;
    --w2: #fafbfd;
    --w3: #f4f6fa;
    --w4: #eef1f7;
    --w5: #e7ebf3;
    --ink: #0c1422;
    --ink-soft: #48566b;
    --blue: #1a4cff;
    --blue-deep: #0a2a9e;
    --red: #e2231a;
    --line: rgba(12, 20, 34, .08);
    --glass: rgba(255, 255, 255, .55);
    --glass-strong: rgba(255, 255, 255, .80);
    --shadow: 0 20px 60px -20px rgba(10, 30, 80, .28);
    --radius: 22px;
    user-select: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Archivo', sans-serif;
    color: var(--ink);
    background: var(--w3);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.01em
}

a {
    text-decoration: none;
    color: inherit
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px
}

/* ambient background — soft dots + diagonal sheen, no square grid */
.field {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 620px at 10% -8%, rgba(26, 76, 255, .10), transparent 60%),
        radial-gradient(760px 520px at 95% 4%, rgba(226, 35, 26, .07), transparent 60%),
        linear-gradient(180deg, var(--w4), var(--w3) 38%);
}

.dots {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .42;
    background-image: linear-gradient(rgba(12, 20, 34, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 20, 34, .11) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 16%, #000, transparent 78%);
}

.sheen {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .6;
    background: repeating-linear-gradient(120deg, transparent 0 90px, rgba(255, 255, 255, .35) 90px 91px);
}

/* nav — 3 separated pill groups */
nav {
    position: sticky;
    top: 18px;
    z-index: 50;
    margin: 18px auto 0;
    max-width: 1240px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

.pill {
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: var(--shadow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 11px 18px
}

.pill.brand {
    gap: 11px;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.12rem
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
    padding: 4px
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--ink)
}

.mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    position: relative;
    box-shadow: 0 6px 16px rgba(26, 76, 255, .4);
    flex: none
}

.mark::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 9px;
    height: 9px;
    background: var(--red);
    transform: rotate(45deg)
}

.pill.menu {
    gap: 26px;
    font-size: .9rem;
    font-weight: 500
}

.pill.menu a {
    color: var(--ink-soft);
    transition: color .2s
}

.pill.menu a:hover {
    color: var(--blue)
}

.pill.act {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    backdrop-filter: none
}

.nav-cta {
    background: var(--ink);
    color: #fff;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 600;
    font-size: .86rem;
    transition: transform .2s, background .2s;
    display: inline-block;
    box-shadow: var(--shadow)
}

.nav-cta:hover {
    background: var(--blue);
    transform: translateY(-1px)
}

/* hero */
header {
    padding: 84px 0 64px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(26, 76, 255, .07);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(26, 76, 255, .16)
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(226, 35, 26, .16)
}

header h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin: 26px 0 22px;
    max-width: 14ch
}

header h1 em {
    font-style: normal;
    color: var(--blue)
}

.lede {
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 54ch;
    margin-bottom: 38px
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center
}

.btn {
    padding: 15px 30px;
    border-radius: 13px;
    font-weight: 600;
    font-size: .98rem;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    display: inline-block
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 30px -8px rgba(26, 76, 255, .55)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -8px rgba(26, 76, 255, .6)
}

.btn-ghost {
    background: var(--glass-strong);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    color: var(--ink)
}

.btn-ghost:hover {
    transform: translateY(-2px)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center
}

.hero-visual {
    position: relative;
    height: 540px
}

.media {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 6px solid var(--w1)
}

.media img,
.media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.m1 {
    inset: 0 24% 32% 0
}

/* video, main */
.m2 {
    width: 52%;
    height: 44%;
    right: 0;
    top: 6%
}

.m3 {
    width: 44%;
    height: 38%;
    left: 16%;
    bottom: 0;
    border-color: var(--w2)
}

.vbadge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(12, 20, 34, .6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 6px 12px;
    border-radius: 20px
}

.vbadge .live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.6s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.float-card {
    position: absolute;
    z-index: 5;
    background: var(--glass-strong);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow)
}

.fc-stat {
    bottom: 18%;
    right: -8px
}

.fc-stat b {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    display: block;
    color: var(--blue)
}

.fc-stat span {
    font-size: .72rem;
    color: var(--ink-soft);
    font-weight: 600
}

/* trust marquee */
.trust {
    margin-top: 60px;
    overflow: hidden;
    padding: 22px 0;
    background: var(--w2);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    position: relative
}

.trust::before,
.trust::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2
}

.trust::before {
    left: 0;
    background: linear-gradient(90deg, var(--w2), transparent)
}

.trust::after {
    right: 0;
    background: linear-gradient(270deg, var(--w2), transparent)
}

.trust-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: scrollx 26s linear infinite
}

.trust-track span {
    font-weight: 700;
    color: var(--ink-soft);
    font-size: 1.02rem;
    opacity: .7;
    white-space: nowrap
}

@keyframes scrollx {
    to {
        transform: translateX(-50%)
    }
}

/* section header */
.sec {
    padding: 92px 0
}

.sec-head {
    max-width: 62ch;
    margin-bottom: 50px
}

.sec-head .eyebrow {
    margin-bottom: 20px
}

.sec-head h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 16px
}

.sec-head p {
    color: var(--ink-soft);
    font-size: 1.1rem
}

/* services islands — fewer icons, layered whites */
.islands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.island {
    background: var(--w1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden
}

.island:nth-child(2) {
    background: var(--w2)
}

.island:nth-child(3) {
    background: var(--w3)
}

.island:nth-child(4) {
    background: var(--w3)
}

.island:nth-child(5) {
    background: var(--w2)
}

.island::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent)
}

.island.red::before {
    background: linear-gradient(90deg, var(--red), transparent)
}

.island:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px -20px rgba(10, 30, 80, .4)
}

.num {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
    border: 1.5px solid rgba(26, 76, 255, .3);
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    margin-bottom: 20px
}

.island.red .num {
    color: var(--red);
    border-color: rgba(226, 35, 26, .3)
}

.island h3 {
    font-size: 1.3rem;
    margin-bottom: 12px
}

.island p {
    color: var(--ink-soft);
    font-size: .97rem
}

/* SHARP COLOR CARD sections */
.color-card {
    border-radius: 28px;
    padding: 64px 54px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.cc-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    color: #fff
}

.cc-red {
    background: linear-gradient(135deg, #f0362d, var(--red));
    color: #fff
}

.cc-ink {
    background: linear-gradient(135deg, var(--ink), #0a1830);
    color: #fff
}

.color-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
    top: -160px;
    right: -110px
}

.cc-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.color-card .eyebrow {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
    color: #fff
}

.color-card .eyebrow .dot {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .2)
}

.color-card h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    margin: 18px 0 16px
}

.color-card p {
    font-size: 1.08rem;
    opacity: .92
}

.cc-photo {
    border-radius: var(--radius);
    overflow: hidden;
    height: 360px;
    border: 5px solid rgba(255, 255, 255, .25)
}

.cc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.checklist {
    list-style: none;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.checklist li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    font-size: 1.02rem
}

.check {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .22);
    display: grid;
    place-items: center;
    color: #fff;
    margin-top: 3px
}

.check svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.6
}

/* stats band */
.band-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center
}

.band-grid b {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    display: block;
    background: linear-gradient(90deg, #fff, #9fc0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.band-grid span {
    font-size: .88rem;
    color: #a9b6cc;
    font-weight: 500
}

/* ABOUT — values carousel (self-scroll) */
.carousel {
    overflow: hidden;
    position: relative;
    margin-top: 8px
}

.carousel::before,
.carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none
}

.carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--w3), transparent)
}

.carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--w3), transparent)
}

.car-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: scrollx 38s linear infinite
}

.carousel:hover .car-track {
    animation-play-state: paused
}

.val-card {
    width: 320px;
    background: var(--w1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow)
}

.val-card:nth-child(even) {
    background: var(--w2)
}

.val-card .vk {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px
}

.val-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px
}

.val-card p {
    color: var(--ink-soft);
    font-size: .94rem
}

/* about split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center
}

.split-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 6px solid var(--w1);
    height: 460px
}

.split-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* timeline carousel */
.tl-carousel {
    overflow: hidden;
    position: relative
}

.tl-carousel::before,
.tl-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none
}

.tl-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--w3), transparent)
}

.tl-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--w3), transparent)
}

.tl-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollx 30s linear infinite reverse
}

.tl-carousel:hover .tl-track {
    animation-play-state: paused
}

.tl-card {
    width: 260px;
    background: var(--w2);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: var(--shadow)
}

.tl-card .yr {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1
}

.tl-card p {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: .92rem
}

/* projects */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.proj {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 340px;
    box-shadow: var(--shadow);
    border: 5px solid var(--w1)
}

.proj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.proj:hover img {
    transform: scale(1.06)
}

.proj-info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: var(--glass-strong);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 14px;
    padding: 16px 18px
}

.proj-info .tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue)
}

.proj-info h3 {
    font-size: 1.15rem;
    margin-top: 4px
}

.proj-info span {
    font-size: .85rem;
    color: var(--ink-soft)
}

/* cta */
.cta-box {
    background: var(--w1);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 72px 48px;
    text-align: center;
    box-shadow: var(--shadow)
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px
}

.cta-box p {
    color: var(--ink-soft);
    font-size: 1.12rem;
    max-width: 50ch;
    margin: 0 auto 34px
}

/* footer */
footer {
    background: var(--ink);
    color: #c3ccdd;
    margin-top: 96px;
    padding: 64px 0 30px
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px
}

.foot-brand {
    color: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

footer p {
    font-size: .92rem;
    max-width: 38ch
}

.foot-col h4 {
    color: #fff;
    font-family: 'Archivo';
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 18px
}

.foot-col a {
    display: block;
    font-size: .92rem;
    margin-bottom: 11px;
    color: #9aa6bd;
    transition: color .2s
}

.foot-col a:hover {
    color: #fff
}

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .84rem;
    color: #7a87a0
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(max-width:980px) {

    .hero-grid,
    .split,
    .cc-grid,
    .foot-grid {
        grid-template-columns: 1fr
    }

    .islands,
    .proj-grid,
    .band-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-visual {
        height: 420px;
        margin-top: 20px
    }

    .pill.menu,
    .pill.act {
        display: none
    }

    .pill.brand {
        flex: 1
    }

    .burger {
        display: flex
    }

    .color-card,
    .cta-box {
        padding: 48px 30px
    }
}

@media(max-width:600px) {

    .islands,
    .proj-grid,
    .band-grid {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }

    .wrap {
        padding: 0 18px
    }
}