* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --orange: darkorange;
    --orange-light: orange;
    --black: black;
    --dark: black;
    --dark2: black;
    --gray: gray;
    --border: dimgray;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--black);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

::selection {
    background: var(--orange);
    color: black;
}

a {
    color: inherit;
}

.video-screen {
    position: fixed;
    inset: 0;
    z-index: 100001;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: videoScreenExit .6s ease 19s forwards;
}

.opening-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border: 0;
    background: black;
}

.video-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
    padding: 9px 14px;
    color: white;
    background: rgba(0, 0, 0, .65);
    border-radius: 20px;
    font-size: 12px;
    text-align: center;
    pointer-events: none;
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, saddlebrown 0%, black 45%, black 100%);
    animation: introSequence 6s ease 16.5s forwards;
}

@keyframes videoScreenExit {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes introSequence {
    0%, 7% {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    8%, 88% {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    100% {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

.intro-grid {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    inset: -100%;

    background:
        linear-gradient(
            rgba(255, 122, 0, .045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 122, 0, .045) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    transform:
        perspective(600px)
        rotateX(60deg);

    animation:
        gridMove 4s linear infinite;
}

.intro-glow {
    position: absolute;
    z-index: 1;
    pointer-events: none;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: var(--orange);

    opacity: .08;

    filter: blur(130px);

    animation:
        introGlow 2.5s ease-in-out infinite alternate;
}

.intro-content {
    position: relative;
    z-index: 2;

    text-align: center;

    animation:
        introCamera 5.2s ease forwards;
}

.intro-small {
    color: gray;

    font-size: 10px;

    letter-spacing: 9px;

    opacity: 0;

    animation:
        fadeDown .8s .15s forwards;
}

.intro-number {
    margin-top: 20px;

    font-size: clamp(150px, 27vw, 330px);

    line-height: .65;

    font-weight: 900;

    letter-spacing: -20px;

    color: transparent;

    -webkit-text-stroke: 2px white;

    text-shadow:
        0 0 30px rgba(255, 122, 0, .15);

    opacity: 0;

    transform: scale(1.4);

    filter: blur(15px);

    animation:
        numberReveal
        1.2s
        .35s
        cubic-bezier(.15, .8, .2, 1)
        forwards;
}

.intro-content h1 {
    margin-top: 35px;

    font-size: clamp(40px, 8vw, 100px);

    line-height: .85;

    font-weight: 900;

    letter-spacing: 8px;

    opacity: 0;

    transform: translateY(35px);

    filter: blur(10px);

    animation:
        titleReveal
        1s
        1.45s
        cubic-bezier(.15, .8, .2, 1)
        forwards;
}

.intro-line {
    width: 0;
    height: 2px;

    margin: 27px auto 22px;

    background: var(--orange);

    box-shadow:
        0 0 10px var(--orange),
        0 0 30px var(--orange),
        0 0 70px rgba(255, 122, 0, .4);

    animation:
        lineReveal .9s 2.25s ease forwards;
}

.intro-content h2 {
    font-size: clamp(25px, 5vw, 60px);

    letter-spacing: 7px;

    opacity: 0;

    transform: translateY(20px);

    animation:
        fadeUp .8s 2.45s forwards;
}

.intro-content h2 span {
    color: var(--orange);

    text-shadow:
        0 0 15px var(--orange),
        0 0 35px rgba(255, 122, 0, .4);
}

.intro-bottom {
    margin-top: 16px;

    color: gray;

    font-size: 9px;

    letter-spacing: 6px;

    opacity: 0;

    animation:
        fadeUp .9s 2.9s forwards;
}

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 75px;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background:
        rgba(4, 4, 4, .8);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.logo {
    text-decoration: none;

    font-size: 27px;

    font-weight: 900;

    letter-spacing: 2px;
}

.logo span {
    color: var(--orange);
}

nav {
    display: flex;

    gap: 30px;
}

nav a {
    position: relative;

    text-decoration: none;

    color: gray;

    font-size: 10px;

    letter-spacing: 2px;

    transition: .3s;
}

nav a:hover {
    color: white;
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--orange);

    transition: .3s;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding:
        150px 8%
        100px;

    overflow: hidden;

    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 3;

    max-width: 850px;
}

.hero-label {
    color: var(--orange);

    font-size: 10px;

    letter-spacing: 5px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(65px, 10vw, 145px);

    line-height: .78;

    font-weight: 900;

    letter-spacing: -7px;
}

.hero h1 span {
    color: var(--orange);

    text-shadow:
        0 0 40px rgba(255,122,0,.2);
}

.hero-title {
    margin-top: 30px;

    font-size: clamp(20px, 3vw, 35px);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -1px;
}

.hero-description {
    max-width: 620px;

    margin-top: 25px;

    color: gray;

    font-size: 14px;

    line-height: 1.8;
}

.hero-button {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    margin-top: 35px;

    padding: 17px 25px;

    border: 1px solid dimgray;

    color: white;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 2px;

    transition: .35s;
}

.hero-button span {
    color: var(--orange);

    font-size: 18px;

    transition: .35s;
}

.hero-button:hover {
    background: var(--orange);

    color: black;

    border-color: var(--orange);

    transform: translateY(-5px);

    box-shadow:
        0 15px 40px
        rgba(255,122,0,.2);
}

.hero-button:hover span {
    color: black;

    transform:
        translate(5px,-5px);
}

.page-bg-video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    pointer-events: none;
}

.page-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0,0,0,.45);
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
}

.portfolio-section {
    position: relative;

    padding:
        130px 6%;

    background: transparent;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 60px;
}

.section-label {
    color: var(--orange);

    font-size: 10px;

    letter-spacing: 4px;
}

.section-heading h2 {
    margin-top: 15px;

    font-size:
        clamp(45px, 6vw, 85px);

    line-height: .85;

    font-weight: 900;

    letter-spacing: -3px;
}

.section-heading h2 span {
    color: var(--orange);
}

.heading-description {
    max-width: 260px;

    color: dimgray;

    font-size: 11px;

    line-height: 1.7;
}

.members-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;
}

.member-card {
    position: relative;

    height: 570px;

    overflow: hidden;

    border: 1px solid var(--border);

    background: black;

    text-decoration: none;

    transition:
        transform .5s cubic-bezier(.2,.8,.2,1),
        border-color .3s,
        box-shadow .5s;
}

.member-card:hover {
    transform: translateY(-12px);

    border-color:
        rgba(255,122,0,.8);

    box-shadow:
        0 25px 70px rgba(0,0,0,.7),
        0 0 35px rgba(255,122,0,.07);
}

.card-image {
    position: absolute;
    inset: 0;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(100%)
        contrast(1.05);

    transform: scale(1.01);

    transition:
        transform .8s cubic-bezier(.2,.8,.2,1),
        filter .6s;
}

.member-card:hover img {
    transform: scale(1.12);

    filter:
        grayscale(0%)
        contrast(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.05) 20%,
            rgba(0,0,0,.25) 45%,
            rgba(0,0,0,.96) 100%
        );
}

.card-number {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 5;

    color: var(--orange);

    font-size: 10px;

    letter-spacing: 3px;
}

.card-content {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 25px;

    z-index: 5;
}

.card-content p {
    color: var(--orange);

    font-size: 8px;

    letter-spacing: 3px;
}

.card-content h3 {
    margin: 10px 0;

    font-size: 27px;

    line-height: .85;

    font-weight: 900;

    letter-spacing: -1px;
}

.card-content span {
    display: block;

    color: darkgray;

    font-size: 8px;

    letter-spacing: 1.5px;
}

.card-content b {
    display: inline-block;

    margin-top: 20px;

    color: white;

    font-size: 9px;

    letter-spacing: 2px;

    transition: .3s;
}

.member-card:hover .card-content b {
    color: var(--orange);

    transform:
        translateX(7px);
}

.profile {
    min-height: 100vh;

    padding-top: 75px;

    background: rgba(0,0,0,.55);

    border-top:
        1px solid black;
}

.profile-top {
    display: flex;

    align-items: center;

    gap: 40px;

    padding:
        80px 10%;

    background:
        linear-gradient(
            90deg,
            rgba(255,122,0,.08),
            transparent
        );

    border-bottom:
        1px solid dimgray;
}

.profile-top img {
    width: 190px;
    height: 190px;

    object-fit: cover;

    border:
        1px solid dimgray;

    transition: .4s;
}

.profile-label {
    color: var(--orange);

    font-size: 10px;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.profile-top h2 {
    font-size:
        clamp(40px, 6vw, 75px);

    line-height: .85;

    letter-spacing: -4px;

    font-weight: 900;
}

.profile-top h2 span {
    color: var(--orange);
}

.profile-top > div > p:last-child {
    margin-top: 18px;

    color: gray;

    font-size: 11px;

    letter-spacing: 3px;
}

.profile-body {
    padding:
        70px 10%;
}

.profile-columns {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 50px;
}

.profile-body h3 {
    margin-bottom: 20px;

    color: var(--orange);

    font-size: 10px;

    letter-spacing: 3px;
}

.profile-body p {
    color: gray;

    font-size: 13px;

    line-height: 1.9;
}

.skills {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.skills span {
    padding:
        9px 13px;

    border:
        1px solid dimgray;

    color: darkgray;

    font-size: 9px;

    letter-spacing: 1px;

    transition: .3s;
}

.skills span:hover {
    color: var(--orange);

    border-color: var(--orange);
}

.info-box {
    margin-top: 45px;

    padding-top: 35px;

    border-top:
        1px solid dimgray;
}

.info-box h4 {
    margin-bottom: 10px;

    color: white;

    font-size: 20px;
}

.career {
    margin-top: 50px;

    padding: 35px;

    background:
        linear-gradient(
            90deg,
            rgba(255,122,0,.1),
            transparent
        );

    border-left:
        3px solid var(--orange);
}

.career h4 {
    margin-bottom: 10px;

    font-size: 22px;
}

.contact-box {
    margin-top: 50px;

    padding-top: 35px;

    border-top:
        1px solid dimgray;
}

.back-button {
    display: inline-block;

    margin-top: 45px;

    padding: 15px 22px;

    border:
        1px solid dimgray;

    text-decoration: none;

    color: darkgray;

    font-size: 9px;

    letter-spacing: 2px;

    transition: .3s;
}

.back-button:hover {
    color: black;

    background: var(--orange);

    border-color: var(--orange);
}

.about-section,
.contact-section {
    min-height: 70vh;

    padding:
        140px 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: transparent;
}

.about-section h2,
.contact-section h2 {
    margin-top: 25px;

    font-size:
        clamp(50px, 8vw, 115px);

    line-height: .82;

    font-weight: 900;

    letter-spacing: -5px;
}

.about-section h2 span,
.contact-section h2 span {
    color: var(--orange);
}

.about-section > p:last-child,
.contact-section > p:last-child {
    max-width: 650px;

    margin-top: 35px;

    color: gray;

    font-size: 13px;

    line-height: 1.9;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes numberReveal {
    from {
        opacity: 0;
        transform: scale(1.4);
        filter: blur(15px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes lineReveal {
    from {
        width: 0;
    }

    to {
        width: 220px;
    }
}

@keyframes gridMove {
    from {
        transform:
            perspective(600px)
            rotateX(60deg)
            translateY(0);
    }

    to {
        transform:
            perspective(600px)
            rotateX(60deg)
            translateY(50px);
    }
}

@keyframes introExit {
    from {
        opacity: 1;
        visibility: visible;
    }

    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes introGlow {
    from {
        transform: scale(.8);
        opacity: .04;
    }

    to {
        transform: scale(1.2);
        opacity: .1;
    }
}

@keyframes introCamera {
    0% {
        transform: scale(.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {

    .members-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .member-card {
        height: 520px;
    }
}

@media (max-width: 700px) {

    header {
        height: 65px;

        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .hero {
        padding:
            130px 7%
            90px;
    }

    .hero h1 {
        font-size: 62px;

        letter-spacing: -4px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-description {
        font-size: 12px;
    }

    .portfolio-section {
        padding:
            90px 5%
            100px;
    }

    .section-heading {
        display: block;
    }

    .heading-description {
        margin-top: 20px;
    }

    .members-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .member-card {
        height: 460px;
    }

    .profile-top {
        flex-direction: column;

        align-items: flex-start;

        padding:
            55px 7%;
    }

    .profile-top img {
        width: 140px;
        height: 140px;
    }

    .profile-body {
        padding:
            50px 7%;
    }

    .profile-columns {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-section,
    .contact-section {
        padding:
            100px 7%;
    }

    .about-section h2,
    .contact-section h2 {
        font-size: 52px;

        letter-spacing: -3px;
    }
}


/* SMALL PHONE */

@media (max-width: 430px) {

    .intro-number {
        font-size: 170px;
    }

    .intro-content h1 {
        font-size: 40px;

        letter-spacing: 4px;
    }

    .intro-content h2 {
        font-size: 23px;

        letter-spacing: 4px;
    }

    .intro-bottom {
        font-size: 7px;

        letter-spacing: 3px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        height: 520px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .profile-top h2 {
        font-size: 42px;
    }
}




@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
