/* =========================================================
   SINGVLAR
   OFFICIAL WEBSITE — V2.2
   Safari / WebKit Optimized
   MMXXVI
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black: #050403;
    --black-deep: #020201;

    --gold: #a97a36;
    --gold-light: #cfa45f;
    --gold-bright: #e0ba77;
    --gold-dark: #684719;

    --ivory: #e9e3d8;
    --gray: #8d867c;

    --border: rgba(190, 143, 69, 0.20);

    --video-width: 900px;
    --spotify-width: 680px;

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    width: 100%;
    min-height: 100%;

    scroll-behavior: smooth;

    background: var(--black);

    -webkit-text-size-adjust: 100%;

}


body {

    width: 100%;
    min-height: 100vh;

    margin: 0;

    background: var(--black);

    color: var(--ivory);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-weight: 300;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;

}


img,
iframe,
svg {

    max-width: 100%;

}


/* =========================================================
   SELECTION
========================================================= */

::selection {

    color: var(--black);

    background: var(--gold-light);

}


/* =========================================================
   BACKGROUND
========================================================= */

.background {

    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: -5;

    width: 100%;
    height: 100vh;

    background-image:
        url("../img/background-cursus.png");

    background-size: cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    pointer-events: none;

}


@supports (height: 100dvh) {

    .background {

        height: 100dvh;

    }

}


/* =========================================================
   BACKGROUND OVERLAY
========================================================= */

.background-overlay {

    position: fixed;

    inset: 0;

    z-index: -4;

    width: 100%;
    height: 100vh;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 50% 34%,
            rgba(0, 0, 0, 0.01) 0%,
            rgba(0, 0, 0, 0.05) 28%,
            rgba(0, 0, 0, 0.24) 66%,
            rgba(0, 0, 0, 0.58) 100%
        ),

        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.58) 100%
        );

}


@supports (height: 100dvh) {

    .background-overlay {

        height: 100dvh;

    }

}


/* =========================================================
   GRAIN
========================================================= */

.background-grain {

    position: fixed;

    inset: 0;

    z-index: -3;

    width: 100%;
    height: 100vh;

    pointer-events: none;

    opacity: 0.02;

    background-image:

        repeating-radial-gradient(
            circle at 0 0,
            rgba(255, 255, 255, 0.8) 0,
            rgba(255, 255, 255, 0.8) 0.5px,
            transparent 0.7px,
            transparent 4px
        );

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;
    height: 86px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    padding:

        0
        clamp(24px, 5vw, 76px);

    background:
        transparent;

    border-bottom:
        1px solid
        transparent;

    transition:

        height 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;

}


/* =========================================================
   HEADER SCROLLED
========================================================= */

.site-header.header-scrolled {

    height: 66px;

    background:
        rgba(4, 3, 2, 0.94);

    border-bottom:
        1px solid
        rgba(190, 143, 69, 0.08);

    -webkit-backdrop-filter:
        blur(10px);

    backdrop-filter:
        blur(10px);

}


/* =========================================================
   SYMBOL
========================================================= */

.symbol {

    position: relative;

    display: block;

    flex: 0 0 auto;

    width: 42px;
    height: 46px;

    color:
        var(--gold-light);

    opacity: 0.9;

    text-decoration: none;

    transition:
        opacity 0.25s ease;

}


.symbol:hover {

    opacity: 1;

}


.symbol-circle {

    position: absolute;

    width: 31px;
    height: 31px;

    top: 7px;
    left: 5px;

    border:
        1px solid
        currentColor;

    border-radius: 50%;

}


.symbol-line {

    position: absolute;

    width: 1px;
    height: 46px;

    left: 20px;
    top: 0;

    background:
        currentColor;

}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation {

    display: flex;

    align-items: center;

    gap:
        clamp(22px, 3.2vw, 50px);

}


.navigation a {

    position: relative;

    display: inline-block;

    color:
        var(--gold-light);

    font-family:
        "Cinzel",
        serif;

    font-size: 8px;

    font-weight: 400;

    letter-spacing:
        0.36em;

    text-decoration: none;

    white-space: nowrap;

    opacity: 0.72;

    transition:

        color 0.25s ease,
        opacity 0.25s ease;

}


.navigation a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background:
        var(--gold-light);

    transition:
        width 0.3s ease;

}


.navigation a:hover {

    color:
        var(--gold-bright);

    opacity: 1;

}


.navigation a:hover::after {

    width: 100%;

}


/* =========================================================
   PAGE
========================================================= */

.page {

    position: relative;

    z-index: 1;

    width: 100%;

}


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

.hero {

    position: relative;

    width: 100%;

    min-height: 78vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:

        105px
        30px
        65px;

}


@supports (height: 100dvh) {

    .hero {

        min-height: 78dvh;

    }

}


/* =========================================================
   HERO SYMBOL
========================================================= */

.hero-symbol {

    position: relative;

    width: 27px;
    height: 27px;

    margin-bottom: 28px;

    border:
        1px solid
        rgba(207, 164, 95, 0.65);

    border-radius: 50%;

}


.hero-symbol span {

    position: absolute;

    width: 1px;
    height: 37px;

    left: 50%;
    top: -6px;

    background:
        rgba(207, 164, 95, 0.7);

    transform:
        translateX(-50%);

}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {

    font-family:
        "Cinzel",
        serif;

    font-size:
        clamp(
            43px,
            6vw,
            78px
        );

    font-weight: 400;

    line-height: 1;

    letter-spacing:
        0.34em;

    margin-left:
        0.34em;

    color:
        var(--gold-light);

    text-shadow:

        0 4px 40px
        rgba(0, 0, 0, 0.95),

        0 0 80px
        rgba(167, 118, 50, 0.08);

}


/* =========================================================
   HERO DIVIDER
========================================================= */

.hero-divider {

    width: 50px;
    height: 1px;

    margin:

        28px auto
        20px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--gold-light),
            transparent
        );

    opacity: 0.75;

}


/* =========================================================
   HERO SUBTITLE
========================================================= */

.hero > p {

    max-width: 700px;

    font-family:
        "Cinzel",
        serif;

    font-size: 9px;

    line-height: 2;

    letter-spacing:
        0.50em;

    margin-left:
        0.50em;

    color:
        var(--gold-light);

    opacity: 0.72;

}


/* =========================================================
   COMMON SECTION HEADING
========================================================= */

.section-heading {

    width: 100%;

    display: grid;

    grid-template-columns:

        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 25px;

    margin-bottom: 20px;

}


.section-heading h2 {

    font-family:
        "Cinzel",
        serif;

    font-size:
        clamp(
            22px,
            2.5vw,
            31px
        );

    font-weight: 400;

    line-height: 1.2;

    letter-spacing:
        0.27em;

    margin-left:
        0.27em;

    color:
        var(--gold-light);

    white-space: nowrap;

}


.eyebrow,
.section-type {

    font-family:
        "Cinzel",
        serif;

    font-size: 7px;

    line-height: 1.5;

    letter-spacing:
        0.36em;

    color:
        var(--gold-light);

    opacity: 0.48;

}


.section-type {

    text-align: right;

}


/* =========================================================
   VISUAL / ANGOR
========================================================= */

.visual-section {

    width:
        calc(100% - 40px);

    max-width:
        var(--video-width);

    margin:
        0 auto;

    padding:
        70px
        0
        40px;

    scroll-margin-top: 85px;

}


/* =========================================================
   VIDEO
========================================================= */

.video-shell {

    position: relative;

    width: 100%;

    margin:
        0 auto;

    padding: 1px;

    border:
        1px solid
        rgba(190, 143, 69, 0.20);

    background:
        rgba(0, 0, 0, 0.52);

    box-shadow:

        0 25px 80px
        rgba(0, 0, 0, 0.56);

}


/* =========================================================
   SAFARI-SAFE 16:9
========================================================= */

.video-frame {

    position: relative;

    width: 100%;
    height: 0;

    padding-bottom: 56.25%;

    overflow: hidden;

    background: #000;

}


.video-frame iframe {

    position: absolute;

    top: 0;
    left: 0;

    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    border: 0;

}


/* =========================================================
   MUSIC / SPOTIFY
========================================================= */

.music-section {

    width:
        calc(100% - 40px);

    max-width:
        var(--spotify-width);

    margin:
        0 auto;

    padding:

        110px
        0
        45px;

    scroll-margin-top: 85px;

}


.spotify-shell {

    width: 100%;

    padding: 7px;

    border:
        1px solid
        rgba(190, 143, 69, 0.16);

    background:
        rgba(3, 3, 2, 0.78);

    box-shadow:

        0 25px 70px
        rgba(0, 0, 0, 0.42);

    -webkit-backdrop-filter:
        blur(5px);

    backdrop-filter:
        blur(5px);

}


.spotify-player {

    display: block;

    width: 100%;
    height: 352px;

    max-width: none;

    border: 0;

    border-radius: 6px;

    background:
        #121212;

}


/* =========================================================
   MANIFESTO
========================================================= */

.manifesto {

    width: 100%;

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 23px;

    padding:

        65px
        30px;

    text-align: center;

}


.manifesto-line {

    width: 58px;
    height: 1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    opacity: 0.55;

}


.manifesto blockquote {

    max-width: 900px;

    font-family:
        "Cinzel",
        serif;

    font-size:
        clamp(
            8px,
            1vw,
            10px
        );

    font-style: normal;

    line-height: 2;

    letter-spacing:
        0.56em;

    margin-left:
        0.56em;

    color:
        var(--gold-light);

    opacity: 0.78;

}


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

.contact {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding:

        20px
        30px
        80px;

    scroll-margin-top: 80px;

}


.contact-label {

    margin-bottom: 25px;

    font-family:
        "Cinzel",
        serif;

    font-size: 6px;

    letter-spacing:
        0.42em;

    margin-left:
        0.42em;

    color:
        var(--gold-light);

    opacity: 0.43;

}


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

.social {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 42px;

}


.social-link {

    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        var(--gold-light);

    text-decoration: none;

    opacity: 0.74;

    transition:

        transform 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease;

}


.social-link:hover {

    color:
        var(--gold-bright);

    opacity: 1;

    transform:
        translateY(-3px);

}


.social-link svg {

    display: block;

    width: 23px;
    height: 23px;

    fill: none;

    stroke:
        currentColor;

    stroke-width: 1.45;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.social-link .social-fill {

    fill:
        currentColor;

    stroke: none;

}


/* =========================================================
   EMAIL
========================================================= */

.email {

    margin-top: 27px;

    color:
        var(--gold-light);

    font-family:
        "Cinzel",
        serif;

    font-size: 7px;

    letter-spacing:
        0.32em;

    margin-left:
        0.32em;

    text-decoration: none;

    opacity: 0.52;

    transition:

        opacity 0.25s ease,
        color 0.25s ease;

}


.email:hover {

    color:
        var(--gold-bright);

    opacity: 1;

}


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

.footer {

    width:
        calc(100% - 70px);

    max-width: 1450px;

    min-height: 125px;

    margin:
        0 auto;

    display: grid;

    grid-template-columns:

        1fr
        auto
        1fr;

    align-items: end;

    padding-bottom: 28px;

    border-top:
        1px solid
        rgba(190, 143, 69, 0.08);

    color:
        var(--gold-light);

    font-family:
        "Cinzel",
        serif;

    font-size: 6px;

    letter-spacing:
        0.28em;

    opacity: 0.48;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.footer-right {

    align-items: flex-end;

}


.footer-mark {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 9px;

}


.footer-mark-line {

    width: 1px;
    height: 34px;

    background:

        linear-gradient(
            transparent,
            var(--gold-light)
        );

}


/* =========================================================
   SHORT DESKTOP / NOTEBOOKS
   Important for MacBook screens
========================================================= */

@media
    (min-width: 681px)
    and (max-height: 850px) {

    .hero {

        min-height: 68vh;

        padding:

            90px
            30px
            45px;

    }


    .hero h1 {

        font-size:
            clamp(
                42px,
                5vw,
                66px
            );

    }


    .visual-section {

        /*
         * On shorter notebook displays,
         * limit width using viewport height.
         *
         * 16:9 means a 760px-wide video
         * is approximately 428px high.
         */

        max-width:
            min(
                860px,
                calc(100vh * 1.08)
            );

        padding-top:
            55px;

    }


    .section-heading {

        margin-bottom:
            15px;

    }

}


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

@media (max-width: 900px) {

    .hero {

        min-height: 72vh;

    }


    @supports (height: 100dvh) {

        .hero {

            min-height: 72dvh;

        }

    }


    .visual-section {

        width:
            calc(100% - 32px);

        padding-top:
            55px;

    }


    .music-section {

        width:
            calc(100% - 32px);

        padding-top:
            90px;

    }

}


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

@media (max-width: 680px) {


    /* BACKGROUND */

    .background {

        background-position:
            58% center;

    }


    /* HEADER */

    .site-header {

        height: 68px;

        padding:

            0
            18px;

    }


    .site-header.header-scrolled {

        height: 60px;

        background:
            rgba(4, 3, 2, 0.97);

        -webkit-backdrop-filter:
            none;

        backdrop-filter:
            none;

    }


    /* SYMBOL */

    .symbol {

        width: 34px;
        height: 39px;

    }


    .symbol-circle {

        width: 27px;
        height: 27px;

        left: 2px;
        top: 6px;

    }


    .symbol-line {

        height: 39px;

        left: 15px;

    }


    /* NAVIGATION */

    .navigation {

        gap: 17px;

    }


    .navigation a {

        font-size: 6px;

        letter-spacing:
            0.20em;

    }


    /* HERO */

    .hero {

        min-height: 72vh;

        padding:

            95px
            18px
            55px;

    }


    @supports (height: 100dvh) {

        .hero {

            min-height: 72dvh;

        }

    }


    .hero-symbol {

        width: 24px;
        height: 24px;

        margin-bottom:
            25px;

    }


    .hero-symbol span {

        height: 34px;

    }


    .hero h1 {

        font-size: 35px;

        letter-spacing:
            0.20em;

        margin-left:
            0.20em;

    }


    .hero-divider {

        margin:

            24px auto
            18px;

    }


    .hero > p {

        max-width: 320px;

        font-size: 7px;

        line-height: 2;

        letter-spacing:
            0.30em;

        margin-left:
            0.30em;

    }


    /* SECTION HEADING */

    .section-heading {

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 7px;

        text-align: center;

        margin-bottom:
            17px;

    }


    .section-heading h2 {

        order: 1;

        font-size: 24px;

        white-space: normal;

    }


    .eyebrow {

        order: 2;

    }


    .section-type {

        display: none;

    }


    /* VISUAL */

    .visual-section {

        width:
            calc(100% - 28px);

        padding:

            45px
            0
            30px;

        scroll-margin-top:
            70px;

    }


    .video-shell {

        box-shadow:

            0 18px 55px
            rgba(0, 0, 0, 0.52);

    }


    /* MUSIC */

    .music-section {

        width:
            calc(100% - 28px);

        padding:

            75px
            0
            30px;

        scroll-margin-top:
            70px;

    }


    .spotify-shell {

        padding: 6px;

        -webkit-backdrop-filter:
            none;

        backdrop-filter:
            none;

        background:
            rgba(3, 3, 2, 0.88);

    }


    .spotify-player {

        height: 352px;

    }


    /* MANIFESTO */

    .manifesto {

        min-height: 250px;

        padding:

            60px
            20px;

    }


    .manifesto blockquote {

        max-width: 330px;

        font-size: 7px;

        letter-spacing:
            0.34em;

        margin-left:
            0.34em;

    }


    /* CONTACT */

    .contact {

        padding-bottom:
            60px;

    }


    .social {

        gap: 34px;

    }


    /* FOOTER */

    .footer {

        width:
            calc(100% - 36px);

        min-height: auto;

        grid-template-columns:
            1fr;

        gap: 20px;

        align-items: center;

        text-align: center;

        padding:

            27px
            0;

    }


    .footer-column,
    .footer-right {

        align-items: center;

    }


    .footer-mark {

        order: -1;

    }

}


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

@media (max-width: 390px) {

    .navigation {

        gap: 11px;

    }


    .navigation a {

        font-size: 5.5px;

        letter-spacing:
            0.13em;

    }


    .hero h1 {

        font-size: 30px;

    }


    .hero > p {

        letter-spacing:
            0.24em;

        margin-left:
            0.24em;

    }

}


/* =========================================================
   SAFARI / WEBKIT
========================================================= */

@supports (-webkit-touch-callout: none) {

    .background {

        -webkit-transform: none;

        transform: none;

    }


    .video-shell {

        -webkit-transform:
            translateZ(0);

        transform:
            translateZ(0);

    }


    .video-frame iframe {

        -webkit-transform:
            translateZ(0);

        transform:
            translateZ(0);

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

    }

}