@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;300;400;600;800;900&display=swap');
@import url('https://use.typekit.net/std2irh.css');

@import url("https://p.typekit.net/p.css?s=1&k=std2irh&ht=tk&f=2021.32196.32197.32200.37543.59866&a=71001862&app=typekit&e=css");
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: "anivers-sc";
    src: url("https://use.typekit.net/af/479b34/00000000000000007735d9ff/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/479b34/00000000000000007735d9ff/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/479b34/00000000000000007735d9ff/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: "quiroh";
    src: url("https://use.typekit.net/af/9f5843/00000000000000007735b00c/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3") format("woff2"), url("https://use.typekit.net/af/9f5843/00000000000000007735b00c/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3") format("woff"), url("https://use.typekit.net/af/9f5843/00000000000000007735b00c/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
}

@font-face {
    font-family: "ff-good-web-pro";
    src: url("https://use.typekit.net/af/e4683e/000000000000000077359cf7/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3") format("woff2"), url("https://use.typekit.net/af/e4683e/000000000000000077359cf7/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3") format("woff"), url("https://use.typekit.net/af/e4683e/000000000000000077359cf7/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
}

@font-face {
    font-family: "quiroh";
    src: url("https://use.typekit.net/af/2d3714/00000000000000007735b01b/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/2d3714/00000000000000007735b01b/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/2d3714/00000000000000007735b01b/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: "quiroh";
    src: url("https://use.typekit.net/af/c0a1d7/00000000000000007735b017/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/c0a1d7/00000000000000007735b017/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"), url("https://use.typekit.net/af/c0a1d7/00000000000000007735b017/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
}

@font-face {
    font-family: "work-sans";
    src: url("https://use.typekit.net/af/152437/00000000000000007735c13d/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/152437/00000000000000007735c13d/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/152437/00000000000000007735c13d/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: "avenir-next-world";
    src: url("https://use.typekit.net/af/b256e2/0000000000000000774ffbf0/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n9&v=3") format("woff2"), url("https://use.typekit.net/af/b256e2/0000000000000000774ffbf0/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n9&v=3") format("woff"), url("https://use.typekit.net/af/b256e2/0000000000000000774ffbf0/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n9&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 900;
    font-stretch: normal;
}

.tk-anivers-sc {
    font-family: "anivers-sc", sans-serif;
}

.tk-quiroh {
    font-family: "quiroh", sans-serif;
}

.tk-work-sans {
    font-family: "work-sans", sans-serif;
}

.tk-avenir-next-world {
    font-family: "avenir-next-world", sans-serif;
}

:root {
    --ff-sans: "work-sans", 'Work Sans', sans-serif;
    --ff-heading: "avenir-next-world", sans-serif;
    --ff-display: "Barlow", sans-serif;
    --ff-quiroh: 'quiroh', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f6f6f6;
    color: #1C1C1C;
    font-family: var(--ff-sans);
    font-weight: 400;
    line-height: 1.6;
}

.topbar {
    background: #1C1C1C;
}

.topbar .flag {
    width: 32px;
    height: 32px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 50%;
    margin-left: 1rem;
}

.paper {
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pattern {
    position: absolute;
    top: 40px;
    left: 30px;
    width: 300px;
    height: 300px;
    background-image: linear-gradient(45deg,
            rgba(0, 0, 0, 0.05) 25%, transparent 25%,
            transparent 50%, rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    z-index: 1;
}

.portrait {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.portrait img {
    width: 100%;
    height: auto;
}

.dossier-label .pre {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.dossier-label .underline {
    width: 40%;
    height: 6px;
    background: #111;
    margin-top: 0.25rem;
}

.hero-name {
    font-family: var(--ff-quiroh);
    font-weight: 500;
    font-size: 3rem;
    margin: 0;
}

.hero-tagline {
    font-family: var(--ff-quiroh);
    font-weight: 300;
    /* Quiroh Light */
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.sec-title {
    font-family: var(--ff-display) !important;
    font-weight: 700;
    /* Avenir Next Black */
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.sec-content {
    font-family: var(--ff-sans);
    font-weight: 400;
    font-size: 1rem;
}

.sec-content p {
    margin-bottom: 1.2em;
}

.sec-content hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 1.5em 0;
}

.page2 {
    background: #fff;
    text-align: center;
}

.to-top {
    width: 60px;
    height: 60px;
    border: 2px solid #111;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .pattern {
        display: none;
    }

    .portrait {
        width: 200px;
        height: 200px;
    }

    .dossier-label .underline {
        width: 150px;
    }

    .hero-name {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .portrait {
        width: 150px;
        height: 150px;
    }

    .hero-name {
        font-size: 1.75rem;
    }

    .dossier-label .underline {
        width: 120px;
    }

    .sec-content {
        font-size: 0.875rem;
    }
}

.topbar-static {
    position: relative;
    z-index: 1;
}

.topbar-floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #1C1C1C;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.topbar-floating.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.portrait-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    border-radius: 50%;
    overflow: hidden;
    transition: opacity 0.8s ease;
}

body.portrait-active .portrait-overlay {
    opacity: 1;
}

body.page-ready .portrait-overlay {
    display: none;
}

body:not(.page-ready) .topbar,
body:not(.page-ready) .hero-left,
body:not(.page-ready) .hero-right,
body:not(.page-ready) .section,
body:not(.page-ready) footer {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

body.page-ready .topbar,
body.page-ready .hero-left,
body.page-ready .hero-right,
body.page-ready .section,
body.page-ready footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

body.page-ready .topbar {
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.portrait-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
    opacity: 0;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

body.portrait-active .portrait-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.portrait-transition .portrait-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
}

body.page-ready .portrait-overlay {
    display: none;
    pointer-events: none;
}