@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #0a0a0a;
    background: #fff;
}

/* =========================
   PROFILE HERO
========================= */

.profile-hero {
    min-height: 580px;
    padding: 55px 6%;
    background: #050505;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 75px;
}

.portrait-wrap {
    width: min(42vw, 500px);
    position: relative;
    display: grid;
    place-items: center;
}

.portrait-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-copy {
    width: min(45%, 600px);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 700;
    line-height: 1.02;
}

.hero-copy i {
    display: block;
    width: 270px;
    height: 2px;
    margin: 34px 0;
    background: #777;
}

.hero-copy h2 {
    margin: 0;
    font-size: clamp(18px, 1.8vw, 28px);
    line-height: 1.35;
}

/* =========================
   ABOUT PROFILE
========================= */

.about-profile {
    padding: 40px 7%;
    background: #f7f1ec;
}

.about-card {
    width: 100%;
    max-width: 1120px;
    margin: auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 38% 62%;
}

.about-title {
    padding: 46px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-title h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1;
}

.about-copy {
    padding: 34px;
    background: #050505;
    color: #fff;
    font-size: 16px;
    line-height: 1.65;
}

.about-copy p {
    margin: 0 0 20px;
    font-size: 18px;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

/* =========================
   SOCIAL ICONS
========================= */

.profile-socials {
    margin-top: 35px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.profile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.profile-socials a:hover {
    transform: translateY(-3px);
}

.profile-socials img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

/* =========================
   VIDEOS
========================= */

.profile-media {
    width: 100%;
    max-width: 1120px;
    margin: 55px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* YouTube and uploaded videos */

.profile-media iframe,
.profile-media video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #000;
}

.profile-media video {
    height: auto;
    object-fit: contain;
}

/* Optional media cards */

.media-card {
    height: 360px;
    position: relative;
    overflow: hidden;
    background: #050505;
    color: #fff;
    text-decoration: none;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.6);
}

.media-card.alternate img {
    transform: scale(1.08);
}

.media-card span {
    position: absolute;
    left: 28px;
    bottom: 25px;
    font-size: 20px;
    font-weight: 700;
}

/* =========================
   PROFILE FOOTER
========================= */

.profile-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        #090909 0%,
        #090909 80%,
        #04a9c0 100%
    );
    color: #fff;
    border-radius: 40px 40px 0 0;
}

.profile-contact {
    min-height: 500px;
    padding: 100px 5%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
}

.profile-contact > div > span {
    color: #ff4e2e;
    font-weight: 700;
    letter-spacing: 4px;
}

.profile-contact h2 {
    margin: 25px 0;
    color: #1f1f1f;
    font-size: 58px;
}

/* Footer circles */

.contact-circles {
    display: flex;
}

.contact-circles i {
    width: 140px;
    height: 140px;
    margin-right: -25px;
    border-radius: 50%;
    background: #191919;
}

/* =========================
   FOOTER FORM
========================= */

.profile-contact form {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.profile-contact input,
.profile-contact textarea {
    width: 100%;
    padding: 18px 24px;
    border: 0;
    outline: none;
    border-radius: 30px;
    background: #292929;
    color: #fff;
    font-family: inherit;
}

.profile-contact input::placeholder,
.profile-contact textarea::placeholder {
    color: #c8c8c8;
}

.profile-contact textarea {
    height: 160px;
    border-radius: 25px;
    resize: vertical;
}

.profile-contact button {
    align-self: flex-start;
    padding: 16px 28px;
    border: 1px solid #fff;
    border-radius: 30px;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.profile-contact button:hover {
    background: #fff;
    color: #090909;
}

.profile-contact button b {
    margin-left: 25px;
}

.contact-star {
    width: 300px;
    position: absolute;
    right: -3%;
    bottom: 0;
}

/* =========================
   CONTACT MARQUEE
========================= */

.big-contact {
    width: 100%;
    max-width: none;
    overflow: hidden;
    color: #fff;
    font-size: clamp(42px, 7vw, 104px);
    font-weight: 800;
    white-space: nowrap;
}

.big-contact span {
    color: transparent;
    -webkit-text-stroke: 1px #444;
}

.mtl-contact-marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    animation: mtl-contact-slide 16s linear infinite;
    will-change: transform;
}

.mtl-contact-marquee-item {
    padding-right: clamp(28px, 4vw, 64px);
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: clamp(14px, 2vw, 34px);
}

@keyframes mtl-contact-slide {
    from {
        transform: translateX(0);
    }

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

/* =========================
   FOOTER COLUMNS
========================= */

.footer-columns {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-columns h3 {
    margin-top: 0;
    font-size: 24px;
}

.footer-columns h4 {
    margin-top: 0;
    color: #777;
}

.footer-columns a {
    display: block;
    margin: 13px 0;
    color: #fff;
    text-decoration: none;
}

.footer-columns a:hover {
    color: #28c2df;
}

.certs {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.certs img {
    max-width: 100px;
    max-height: 60px;
}

.gdpr {
    max-width: 620px;
    font-size: 13px;
    line-height: 1.6;
}

.copyright {
    padding: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 13px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 800px) {
    .profile-hero {
        min-height: auto;
        padding: 50px 20px;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .portrait-wrap {
        width: min(88vw, 500px);
    }

    .hero-copy {
        width: 100%;
    }

    .hero-copy i {
        margin: 24px auto;
    }

    .about-card {
        grid-template-columns: 1fr;
    }

    .about-title {
        min-height: 240px;
    }

    .profile-media {
        grid-template-columns: 1fr;
    }

    .profile-contact {
        padding: 70px 25px;
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-star {
        opacity: 0.35;
    }

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

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
    .profile-hero {
        padding-top: 30px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-copy i {
        width: 180px;
    }

    .about-profile {
        padding: 25px 14px;
    }

    .about-title,
    .about-copy {
        padding: 28px 22px;
    }

    .about-title {
        min-height: 220px;
    }

    .profile-media {
        margin: 30px auto;
        padding: 0 14px;
        gap: 10px;
    }

    .profile-media iframe,
    .profile-media video {
        aspect-ratio: 16 / 9;
    }

    .media-card {
        height: 280px;
    }

    .profile-contact h2 {
        font-size: 43px;
    }

    .contact-circles i {
        width: 95px;
        height: 95px;
    }

    .footer-columns {
        padding: 55px 25px;
    }
}

/* Stop animation for accessibility */

@media (prefers-reduced-motion: reduce) {
    .mtl-contact-marquee-track {
        animation-play-state: paused;
    }
}