
@import url('https://fonts.cdnfonts.com/css/noto-serif-kr');
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

html,
body {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

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

/* ── TOKENS ──────────────────────────────── */

/* ── BASE ────────────────────────────────── */
body,
html {
    min-height: 100%;
    color: var(--text);
    font-family: var(--font-b);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100vw;
    background-color: var(--bg);
    background-image:
        linear-gradient(168deg, #110804 0%, var(--bg) 42%, #050302 100%),
        radial-gradient(ellipse 90% 58% at 50% -6%, var(--glow-amber), transparent 64%),
        radial-gradient(ellipse 42% 32% at 94% 92%, rgba(212, 145, 30, 0.08), transparent 58%),
        radial-gradient(ellipse 52% 44% at 2% 58%, rgba(160, 48, 12, 0.1), transparent 56%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background: radial-gradient(ellipse 70% 45% at 50% 105%, rgba(232, 82, 26, 0.07), transparent 70%);
}

h1,
h2,
h3,
h4,
strong {
    font-family: var(--font-d);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.86));
}

h2 {
    background: none;
}

p {
    color: var(--muted);
     font-family: 'Noto Serif KR', sans-serif;
    font-weight: 100 !important;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

section {
    padding: 0 2px;
    width: 100%;
    min-height: 80svh;
    height: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    text-align: center;
    position: relative;
}

/* ════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════ */
#nav,
.mobile-nav-shadow,
.menu-toggle {
    opacity: 0;
    animation: welcomeNav .3s ease-in forwards 2.5s;
}


@keyframes scaleLogos {
    0% {
        opacity: 0;
        transform: scale(.5);
    }

    80% {
        opacity: 1;
        transform: scale(1.06);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--nav-h);
    height: 11svh;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--px);
    backdrop-filter: blur(12px) ;
    -webkit-backdrop-filter: blur(12px) ;
    box-shadow:
        0 4px 22px rgba(0, 0, 0, 0.655),
        inset 0 1px 0 rgba(12, 39, 38, 0.152);
    transition: transform .3s ease;
}

#nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.95;
}


#navTitle {
    font-family: var(--font-d);
    font-size: clamp(2rem, 4vw, 2.3rem);
    letter-spacing: .12em;
    color: #faf7f3;
    line-height: 1;
}

#navTitle span {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: clamp(1.2rem, 3vw, 2.5rem);
    list-style: none;
}

nav ul a {
    font-family: var(--font-s);
    font-size: .65rem;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(253, 248, 243, 0.8);
    transition: color .2s;
}

nav ul a:hover {
    color: var(--accent);
}

/* ── HAMBURGER ───────────────────────────── */
.menu-toggle {
    position: fixed;
    top: 12px;
    right: 18px;
    z-index: 99999;
    width: 36px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;

    padding: 3px 0;
}

.bar {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 1px;
    transition: transform .3s, opacity .3s;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#navMobile {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}

#navMobile.open {
    scroll-behavior: none;
    opacity: 1;
    overflow: hidden;
    visibility: visible;
    z-index: 9999;
}

#navMobileTitle {
    font-family: var(--font-d);
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: .08em;
    margin-bottom: 2.5rem;
    color: white;
}

#navMobile ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-top: 2rem;
}

#navMobile ul li a {
    font-family: var(--font-s);
    font-size: .9rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: white;
    transition: color .2s;
}

#navMobile ul li a:hover {
    color: var(--accent);
}

@media (min-width: 769px) {

    section {
        margin-bottom: 24svh;
    }

    #navMobile,
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .pricing-card:nth-child(2) {
        background: linear-gradient(to top, var(--accent), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) !important;

    }

    #nav {
        display: none !important;
    }

    section {
        margin-bottom: 18svh;
    }


    #team-grid {
        border: none !important;
        width: 100% !important;
        height: auto;
        max-height: 72svh;
        margin-top: 8svh !important;
        display: flex;
        flex-direction: column;

        text-align: center;
    }


    #team-grid::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        background-image: url(ui_assets/hero2.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }


}

/* ════════════════════════════════════════════
   LABELS
   ════════════════════════════════════════════ */
.section-label {
    display: block;
    font-family: var(--font-s);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════
   MARQUEE HEADINGS — full-width ticker
   ════════════════════════════════════════════ */
.marquee-heading {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 6svh;
    border-top: 1px solid rgba(232, 82, 26, 0.18);
    border-bottom: 1px solid rgba(232, 82, 26, 0.18);
    padding: .4rem 0;
    /* clip reveal on scroll */
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(.16, 1, .3, 1) .6s;
}



#team-p,
#team-p-m {
    color: var(--muted);
    font-size: clamp(1.1rem, 4vw, 3rem);
    font-weight: lighter;

}

.marquee-heading.visible-marquee {
    clip-path: inset(0 0% 0 0);
}

.marquee-inner {
    display: inline-flex;
    font-family: var(--font-d);
    font-size: clamp(2.1rem, 5.2vw, 5rem);
    letter-spacing: .05em;
    line-height: 1.15;
    color: var(--orange);
    will-change: transform;
    animation: marquee 32s linear infinite;
}

.marquee-heading.rev .marquee-inner {
    animation-direction: reverse;
    animation-duration: 22s;
}

.marquee-heading.accent-marquee .marquee-inner {
    color: var(--accent);
    animation-duration: 22s;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33.333%);
    }
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
@keyframes welcome {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes welcomeNav {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

#section-hero {
    animation: welcome 3s ease-in forwards 1s;
    margin-bottom: 14svh;
    min-height: 100svh;
    opacity: 0;
    padding-bottom: clamp(3rem, 8vh, 6rem);
    justify-content: flex-end;
    overflow: hidden;
}

/* ── Background image: zoom-in entrance ── */
#hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(ui_assets/hero.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(.8) saturate(.9);
    animation: heroBgZoom 2.2s cubic-bezier(.16, 1, .3, 1) forwards;
    will-change: transform, opacity;
}



@media (max-width: 768px) {
    #hero-image {
        height: 100%;
        background-position: center;
    }
}

/* ── ::before — dark vignette gradient, fades in ── */
#hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(8, 4, 2, 0.92) 0%,
            rgba(232, 82, 26, 0.04) 18%,
            transparent 46%,
            rgba(9, 3, 1, 0.94) 100%);
    z-index: 1;
    opacity: 0;
    animation: heroVignetteFade 1.4s ease forwards .5s;
}

/* ── ::after — warm glare sweep left→right, repeats ── 
#hero-image::after {
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(105deg,
            transparent 25%,
            rgba(232, 82, 26, .08) 50%,
            transparent 75%);
    z-index: 2;
    animation: heroGlare 9s ease-in-out infinite 2.5s;
}
    */

@keyframes heroBgZoom {
    from {
        transform: scale(1.18);
        opacity: .25;
    }

    to {
        transform: scale(1);
        opacity: .7;
    }
}

@keyframes heroVignetteFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroGlare {
    0% {
        transform: translateX(-80%);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    80% {
        opacity: .6;
    }

    100% {
        transform: translateX(80%);
        opacity: 0;
    }
}

/* ── PARTICLES ───────────────────────────── */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-28px) scale(1.4);
    }
}

/* ── HERO CONTENT ────────────────────────── */
.hero-content {
    position: absolute;
    bottom: 27%;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--px);
}

.hero-eyebrow {
    font-family: var(--font-s);
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.4rem;
    opacity: 0;
    animation: slideUp .9s forwards 2.4s;
}

.btn-ghost:hover,
.btn.btn-ghost:hover {
    background: black;
    transform: translateY(-2px);
    transition: .12s ease-out;
    cursor: pointer;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 9999;
    animation: bye 1s ease-out forwards 1s;
    background: black;
    display: block;
}

@keyframes bye {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        display: none;
    }
}

.hero-title {
    font-family: var(--font-d);
    font-size: clamp(3.5rem, 13vw, 12rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: .04em;
    color: white;
    margin-bottom: .6rem;
    filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .5));
}

.hero-title .line {
    display: block;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 1.2s cubic-bezier(.16, 1, .3, 1) forwards 2.2s;
}

.accent-letter {
    color: var(--accent);
}

.hero-sub {
    font-family: var(--font-s);
    font-size: clamp(.8rem, 1.8vw, 1.2rem);
    letter-spacing: .2em;
    color: rgba(228, 222, 222, 1) !important;
    font-weight: 200 !important;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUp 1.2s forwards 2.4;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeUp .9s .75s forwards;
}

/* ── HERO BOTTOM TICKER ──────────────────── */
.hero-bottom-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(232, 82, 26, 0.25);
    padding: .35rem 0;
    z-index: 10;
    background: rgba(9, 3, 1, 0.4);
    backdrop-filter: blur(4px);
}

.ticker-inner {
    display: inline-flex;
    font-family: var(--font-s);
    font-size: clamp(.55rem, 1.2vw, .8rem);
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    animation: marquee 28s linear infinite;
}

/* ── HERO SCROLL INDICATOR ───────────────── */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    right: var(--px);
    display: flex;
    align-items: center;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 5em;
    overflow: hidden;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -4em;
    left: 0;
    width: 100%;
    height: 4em;
    background: var(--accent);
    animation: scrollPulse 1.8s infinite ease-in-out;
}

@keyframes scrollPulse {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(5em);
        opacity: 0;
    }
}

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-b);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: .3em 1.2em;
    width: auto;
    border-radius: 24px;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .2s;
    white-space: nowrap;
    border: 1px solid var(--accent);
    box-shadow: 0 3px 8px rgba(103, 46, 8, 0.5);
}

.btn-primary {
    background: rgba(0, 0, 0, 0.294);
    border: 1px solid rgba(251, 53, 3, .6);
    color: var(--accent);
    font-size: 1.1em;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════
   SCROLL REVEAL CLASSES
   ════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1) .7s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .7s;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1) .7s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .7s;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-below {
    opacity: 0;
    transform: translateY(-36px);
    transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1);
}

.reveal-below.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-sync.reveal-left,
.reveal-sync.reveal-right,
.reveal-sync.reveal,
.reveal-sync.reveal-below,
.reveal-sync.text,
.reveal-sync.text2,
.reveal-sync.item-left,
.reveal-sync.item-right {
    transition-duration: 0.45s;
    transition-delay: 0s;
}

.text {
    opacity: 0;
    transform: translateX(25vw);
    transition: opacity 1s ease-in-out .3s, transform 1s ease-in-out .3s;
}

.text.visibleTx {
    opacity: 1;
    transform: translateX(0);
}

.text2 {
    opacity: 0;
    transform: translateY(-8svh);
    transition: opacity 1s ease-in-out .3s, transform 1s ease-in-out .3s;
}

.text2.visibleTx2 {
    opacity: 1;
    transform: translateY(0);
}

.item-left {
    opacity: 0;
    transform: translateX(-16vw);
    transition: opacity .8s ease-in-out .2s, transform .8s ease-in-out .2s;
}

.item-left.visible-left {
    opacity: 1;
    transform: translateX(0);
}

.item-right {
    opacity: 0;
    transform: translateX(16vw);
    transition: opacity .8s ease-in-out .2s, transform .8s ease-in-out .2s;
}

.item-right.visible-right {
    opacity: 1;
    transform: translateX(0);
}


#team-grid {
    opacity: 0;
    transform: scale(.9);
    transition: all 1s ease-in .1s;
}

#team-grid.fade {
    opacity: 1;
    transform: scale(1);
}

/* ════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════ */
#about {
    text-align: center;
    align-items: center;
}

.section-body {
    /*font-family: var(--font-b); */
    font-size: clamp(1rem, 2vw, 1.22rem);
    max-width: 800px;
    align-self: center;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.image-wrap {
    position: relative;
    z-index: 99;
    margin-top: 10svh;
    height: 80svh;
    align-self: center;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: radial-gradient(
        circle at center,
        rgba(111, 29, 3, 0.75) 0%,
        rgba(18, 10, 6, 0.95) 38%,
        var(--bg) 100%
    );
    transform: scale(.96);
    opacity: 0;
    transition: transform 1s ease-in-out .1s, opacity 1s ease-in-out .1s;
}

.image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .7;

    background-image: url(ui_assets/miksi-me.jpg);
    background-position: center;
    background-size: cover;
    box-shadow:
        inset 0 0 48px rgba(0, 0, 0, 0.55),
        inset 0 -24px 64px rgba(232, 82, 26, 0.06);
}




.image-wrap.visibleBc {
    transform: scale(1);
    z-index: 0;
    opacity: .9;
}

.about-stat {
    padding: 1.2rem;
    position: relative;
    z-index: 1;
}

.about-stat-num {
    font-family: var(--font-d);
    font-size: 3.8rem;
    color: var(--accent);
    line-height: 1;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.85),
        0 0 32px rgba(232, 82, 26, 0.18);
}

.about-stat-num+.pct {
    font-family: var(--font-d);
    font-size: 2rem;
    color: var(--accent);
}

.about-stat-label {
    font-family: var(--font-s);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: white;
    font-weight: 800;
    margin-top: .4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}

/* ════════════════════════════════════════════
   PROJECTS
   ════════════════════════════════════════════ */
#project {
    min-height: auto;
}



.reel {
    position: absolute;
    top: 0;
    line-height: 2.6;
    z-index: 9999;
    display: flex;
    background: transparent;
    height: 100%;
    flex-direction: column;
    left: 0;
    width: 100%;
    align-items: center;
    align-content: center;
    text-align: center;
    pointer-events: all;
    cursor: pointer;
    flex-direction: column;
}


.svg {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.svg:hover,
.svg:active {
    transform: scale(1.1) translate(-50%, -50%);
    transition: all .2s ease-in-out;
}


.carousel-track:active {
    cursor: grabbing;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel {
    margin-top: 4svh;
    padding: 0 2vw;
    display: flex;
    justify-content: center;
    /* centers the track itself */
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    width: 100%;
    max-width: 1400px;
}

@media (max-width: 768px) {
    .carousel-track {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

#vuosi {
    margin-top: 6svh;
    font-size: clamp(2.4rem, 10vw, 8rem);
    color: var(--accent);

}

.card {
    position: relative;
    /* ← this was missing; needed for ::before, .card-body, .card-num */
    width: 100%;
    border-radius: 0;
    max-width: none;
    aspect-ratio: 9/14;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    /* clips the ::before gradient cleanly */
}


.card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}
/*
.c1::before {
    background: radial-gradient(ellipse at 10% 20%, rgba(255, 80, 0, .18), transparent 65%);
}

.c2::before {
    background: radial-gradient(ellipse at 20% 30%, rgba(255, 80, 0, .18), transparent 65%);
}
    */

.card-num {
    position: absolute;
    top: 1.2rem;
    left: 1.4rem;
    font-family: var(--font-d);
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(229, 123, 74, .2);
    user-select: none;
    z-index: 2;
}

.card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem 1.4rem;
    z-index: 3;
    transform: translateY(20px);
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}



.card:hover .card-body {
    transform: translateY(0);
}

.card-tag {
    display: inline-block;
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 16px;
    padding: 3px 9px;
    margin-bottom: .7rem;
    width: fit-content;
}

.card-title {
    font-family: var(--font-d);
    font-size: 2rem;
    letter-spacing: .06em;
    line-height: 1;
    color: var(--text);
    margin-bottom: .5rem;
}

.card-desc {
    font-size: .78rem;
    font-weight: 200;
    color: whitesmoke;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s .08s ease, transform .35s .08s ease;
}

.card:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}

.card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--accent);
    transition: right .5s cubic-bezier(.16, 1, .3, 1);
}

.card:hover .card-line {
    right: 0;
}


/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
#contact {
    margin-bottom: 2svh;
}

.contact-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
    align-items: start;
    padding: 0 var(--px);
}

.contact-blurb {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 2.5rem;
    text-align: left;
}

.contact-blurb em {
    color: var(--text);
    font-style: normal;
}

.contact-form {
    background: transparent;
    padding: 3rem;
    border-radius: 0;
    backdrop-filter: saturate(1.3);
    -webkit-backdrop-filter: saturate(1.3);
    transition: box-shadow .25s, background .25s;
}

#contactForm {
    border: none;
    transition: all .5s ease-in .1s;
}

#contactForm.border {
    border: 1px solid rgba(255, 34, 0, 0.761);
}


.contact-form:hover {
    background: linear-gradient(126deg, transparent, rgba(232, 82, 26, 0.05), transparent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-s);
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: linear-gradient(180deg, rgba(24, 17, 11, 0.92), rgba(9, 6, 4, 0.88));
    border: 1px solid var(--border);
    color: #ece4dc;
    font-family: var(--font-b);
    font-size: 16px;
    padding: .9rem 1rem;
    box-shadow:
        0 2px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 210, 170, 0.05);
    border-radius: 0;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
    -webkit-appearance: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(232, 82, 26, 0.65);
    box-shadow:
        0 2px 18px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(232, 82, 26, 0.25),
        0 0 20px rgba(232, 82, 26, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.form-group select option {
    background: var(--bg2);
    color: var(--text);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}



#reelVideo:hover,
#reelVideo2:hover,
#reelVideo3:hover {
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(137deg, transparent, var(--accent), var(--accent), transparent);
    color: rgb(217, 216, 216);
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    font-family: var(--font-b);
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transform: translateX(-100%);
    transition: transform .6s;
}

.btn-submit:hover::before {
    transform: translateX(100%);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 89, 0, .4);
}

.form-status {
    font-size: .8rem;
    color: var(--muted);
}

.form-status.ok {
    color: #4ade80;
}

.form-status.err {
    color: #f87171;
}

@media (max-width: 900px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    background: transparent;
    flex-direction: column;
}

.footer-brand {
    font-family: var(--font-d);
    font-size: 1.4rem;
    letter-spacing: .05em;
}

.footer-brand span {
    color: var(--accent);
}

.footer-copy {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .08em;
}

.footer-legal {
    width: 100%;
    max-width: 760px;
    margin-top: .5rem;
    font-family: var(--font-b);
    font-size: 1em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 1);
    text-align: left;
    align-self: flex-start;
}

.footer-legal summary {
    cursor: pointer;
    list-style: none;
    letter-spacing: .09em;
    font-weight: 100;
    line-height: 1.8;
    text-transform: uppercase;
    font-family: var(--font-s);
    font-size: .54rem;
    color: var(--muted);
}

.footer-legal summary::-webkit-details-marker {
    display: none;
}

.footer-legal summary::after {
    content: " +";
    color: var(--accent);
}

.footer-legal[open] summary::after {
    content: " −";
}

.footer-legal-body {
    margin-top: .85rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.footer-legal-body p {
    margin: 0;
}

.footer-legal-body a {
    color: var(--accent);
    text-decoration: none;
}

.footer-legal-body a:hover {
    text-decoration: underline;
}

.contact-details {
    margin: .2em 0 2em;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-detail-group {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-detail-group-title {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.75rem;
}

.contact-detail-item {
    cursor: pointer;
    display: flex;

    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: var(--muted);
}

.contact-detail-item .icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgb(226, 77, 32);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    flex-shrink: 0;
    font-size: .9rem;
    transition: border-color .3s, color .3s;
}

.contact-detail-item:hover .icon {
    border-color: var(--accent);
    color: var(--accent);
}

#some-wrapper {
    display: flex;
    background: transparent;
    flex-direction: row;
    width: 100%;
    z-index: 999;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 12svh;
    margin-bottom: 6svh;
}

#tt,
#ig,
#sc {
    position: absolute;
    fill: var(--accent);
    color: var(--accent);
    width: 2.5em;
    height: 2.5em;
    bottom: 1em;
    opacity: 0;
    transition: opacity .9s ease-out, transform .9s cubic-bezier(.175, .885, .32, 1.275);
}

#tt {
    left: 10%;
    transform: translateY(40px);
}

#ig {
    right: 10%;
    transform: translateY(40px);
}

#sc {
    left: 50%;
    transform: translate(-50%, 40px);
}

#tt:hover,
#ig:hover,
#sc:hover {
    scale: 1.2;
}

#some-wrapper.in-view #tt {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .15s;
}

#some-wrapper.in-view #sc {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: .3s;
}

#some-wrapper.in-view #ig {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .45s;
}

@media (min-width: 769px) {
    footer {
        gap: 1.6rem;
        text-align: left;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1.5rem;
        text-align: center;
        gap: 1rem;
    }
}

/* ════════════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(70px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(1.16);
    }

    to {
        transform: scale(1);
    }
}

@keyframes generalBounce {
    0% {
        transform: scale(.6) translateX(-3em);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}

@keyframes generalYbounce {

    0%,
    30% {
        transform: scale(.6) translateY(3em);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}
























/*   PRICING   */


/* ══════════════════════════════════════════
       PRICING
    ══════════════════════════════════════════ */
#section-pricing {
    min-height: auto;
    padding-bottom: 5svh;
}

.pricing-grid {
    margin-top: 5svh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.pricing-card {
    background:
        linear-gradient(127deg, rgba(232, 82, 26, 0.32), transparent 44%),
        linear-gradient(180deg, var(--bg-elevated), var(--bg2));
    padding: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
   
    transition: background .3s, box-shadow .3s;
    border-radius: 0;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.pricing-card:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(232, 82, 26, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(18, 13, 8, 0.95), var(--bg));
}



.pricing-card:last-child {
    background:
        linear-gradient(217deg, rgba(232, 82, 26, 0.32), transparent 44%),
        linear-gradient(180deg, var(--bg-elevated), var(--bg2));
}

.pricing-card:last-child:hover {
    cursor: pointer;
    background:
        linear-gradient(127deg, rgba(232, 82, 26, 0.45), transparent 72%),
        linear-gradient(180deg, var(--bg-elevated), var(--bg2));
}

.pricing-card:first-child:hover {
    cursor: pointer;
    background:
        linear-gradient(217deg, rgba(232, 82, 26, 0.45), transparent 72%),
        linear-gradient(180deg, var(--bg-elevated), var(--bg2));
}

.pricing-card.featured:hover {
    background:
        linear-gradient(to top, rgba(232, 82, 26, 0.38), transparent 42%),
        linear-gradient(180deg, rgba(18, 13, 8, 0.95), var(--bg));
}

.pricing-tier {
    font-family: var(--font-d);
    font-size: clamp(.8rem, 1.5vw, 1rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.pricing-price {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: .2rem;
    color: whitesmoke;
}

.pricing-price sup {
    font-size: .45em;
    vertical-align: super;
    color: var(--accent);
}

.pricing-period {
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    font-size: .9rem;
    font-weight: 300;
    padding: .6rem 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgb(240, 240, 240);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.pricing-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 3em;
    font-size: clamp(0.8rem, 0.75rem + 0.4vw, 0.95rem);
    color: rgba(255, 255, 255, .65);
    line-height: 1.9;
    text-align: left;
    margin-left: 2vw;
}

.pricing-note strong {
    color: var(--accent);
}

.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-top: 4rem;
}

/* Pricing responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 95% !important;
        margin-left: 2%;
    }


    .pricing-card:nth-child(2) {
        background: linear-gradient(217deg, var(--accent), rgba(0, 0, 0, 0) 40%);
    }
}












/* ══════════════════════════════════════════
       TEAM
    ══════════════════════════════════════════ */
#section-team {
    min-height: auto;
    padding-bottom: 3em;
}

.team-grid--founders {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(.8rem, 2.5vw, 2rem);
    margin-top: 2.5rem;
    align-items: center;
    /* ← this is what vertically centers the desc */
    justify-items: center;
    width: 100%;
    padding: 0 var(--px);
}

/* ── Rest: 3 equal columns ── */
.team-grid--rest {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(.8rem, 2.5vw, 2rem);
    margin-top: clamp(1.5rem, 4svh, 3rem);
    justify-items: center;
    align-items: start;
    width: 100%;
    padding: 0 var(--px);
}

@media (max-width: 1100px) {
    .team-grid--rest {
        grid-template-columns: repeat(2, 1fr);
    }
}


.team-card {
    position: relative;
    cursor: pointer;
    padding-bottom: 10px;
    max-width: 410px;
    width: 96%;
    border-radius: 0;
}

.team-card-img {
    border-radius: 0;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.728);
    aspect-ratio: 3/4;
    overflow: hidden;
    background: transparent;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: filter .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}

.team-card:hover .team-card-img img {
    filter: contrast(1.05);
    transform: scale(1.04);
}

.team-card-info {
    padding: .9rem 0 0;
    font-family: var(--font-s);
}

.team-card-name {
    font-weight: 800;
}

.team-card-role {
    font-weight: 100;
    color: rgb(214, 214, 214);
}

/* desc resets — no more margin fighting the grid */
#team-grid-desc {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    color: white;
    margin: 0;
    /* grid handles spacing now */
    padding: 1rem;

}

#team-grid-desc-mobile {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    color: white;
    margin: 0;
    /* grid handles spacing now */
    padding: 1rem;

}

/* ── Mobile: stack everything to 1 col ── */
@media (max-width: 768px) {

    .team-grid--founders,
    .team-grid--rest {
        grid-template-columns: 1fr;
    }
}

/* Team feature card */
#team-grid {
    width: 92%;
    max-width: 1200px;
    height: auto;
    margin: 4svh auto 0;
    min-height: clamp(210px, 40svh, 485px);
    box-shadow: 0 3px 12px black;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

}

#team-grid::before {
    content: '';
    position: absolute;
    inset: 0;


    background-image: url(ui_assets/hero2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;

}

@media screen and (max-width: 768px) {
    #team-grid {
        transform: scale(.9);
    }

}

#team-grid::after {
    border-radius: 0;

    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 60%);
}

.team-card-description {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    color: whitesmoke;
}

#team-title {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--accent);
}

#team-title-m {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--accent);
}

#team-p,
#team-p-m {
    color: rgba(208, 204, 204, 1);
    font-size: clamp(.95rem, 2vw, 1.3rem);
        font-weight: lighter;
    margin-top: .8rem;
}

@media (min-width:541px) {
    .mobile-nav-shadow {
        display: none;
        visibility: hidden;
    }
}

@media (max-width:540px) {
    .pricing-grid {
        gap: 2em;
    }

    .mobile-nav-shadow {
        display: flex;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        align-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        padding-left: 8px;
        width: 100%;
        height: 58px;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        z-index: 9999;
        background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.06));


    }

    #team-grid-desc {

        margin-top: 6svh;
        margin-bottom: 6svh;
    }

    #team-grid-desc-mobile {

        margin-top: 10svh;
        margin-bottom: 10svh;
    }

    .mobile-nav-shadow span {
        font-size: 1.2em;
        letter-spacing: .08em;
        margin-top: 8px;
        font-weight: bold;
        font-family: var(--font-d);
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 96%;
        margin-inline: auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(3.5rem, 18vw, 14rem);
    }

    .cv-thumb {
        width: clamp(60px, 14vw, 90px);
    }
}










.client-logos {
    margin-top: 10svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 0 var(--px);
}

.client-logos-secondary {
    margin-top: 1.5rem;
}
.client-logos-label {
    font-family: var(--font-s);
    font-size: .85rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}

#pc1,
#pc2,
#pc3 {
    opacity: 0;
}

#pc1.animate2,
#pc2.animate2,
#pc3.animate2 {
    animation: scalePrice 1.2s ease-in-out forwards .1s;

}

@keyframes scalePrice {
    from {
        opacity: 0;
        filter: grayscale(100%);
    }

    to {
        opacity: 1;
        filter: grayscale(0);
    }
}


#w1.animate {
    animation: scaleLogos 1s ease-in-out forwards;
}

#w2.animate {
    animation: scaleLogos 1s ease-in-out forwards .2s;
}

#w3.animate {
    animation: scaleLogos 1s ease-in-out forwards .4s;
}

#w4.animate {
    animation: scaleLogos 1s ease-in-out forwards .6s;
}

#w5.animate2 {
    animation: scaleLogos 1s ease-in-out forwards .8s;
}


#w6.animate2 {
    animation: scaleLogos 1s ease-in-out forwards 1s;
}

#w7.animate2 {
    animation: scaleLogos 1s ease-in-out forwards 1.2s;
}

#w8.animate2 {
    animation: scaleLogos 1s ease-in-out forwards 1.4s;
}

#w1,
#w2,
#w3,
#w4,
#w5,
#w6,
#w7,
#w8
{
    opacity: 0;
}

.client-logos-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(2.2rem, 8vw, 5rem);
    flex-wrap: wrap;
    width: 100%;
}

.client-logo-wrap {
    width: 30vw;
    max-width: 140px;
    height: 30vw;
    max-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .7;
    transition: opacity .3s ease;
}

.client-logo-wrap:hover {
    opacity: 1;
    scale: 1.1;
}

.client-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}