/* Mobile Styles - Only loaded on screens 768px and below */

html,
body.home-page {
    background-color: var(--nav-surface);
}

body.home-page #hero-liquid {
    background-color: var(--nav-surface);
}

.floating-leaf {
    top: 28vh;
    right: auto;
    left: 14vw;
    width: 152px;
}

/* Mobile Navigation */
.nav-side {
    width: 100%;
    height: auto;
    min-height: 60px;
    bottom: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    padding:
        max(0.85rem, var(--safe-top))
        max(2rem, var(--safe-right))
        0.85rem
        max(2rem, var(--safe-left));
    --nav-pad-y: 0.85rem;
    box-shadow: 0 -80px 0 0 var(--nav-surface);
}

.nav-brand {
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.nav-social {
    flex-direction: row;
    gap: 0.25rem;
}

.nav-social__link {
    min-width: 44px;
    min-height: 44px;
}

.logo-vert {
    writing-mode: horizontal-tb;
    font-size: calc(var(--type-min) * 1.44);
    line-height: 1;
}

/* Mobile Hero */
html:has(body.home-page),
body.home-page {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    height: 100dvh;
}

body.home-page #smooth-wrapper,
body.home-page #smooth-content {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    height: 100dvh;
    -webkit-overflow-scrolling: touch;
}

body.home-page .hero-sec {
    min-height: 100dvh;
}

.hero-sec {
    padding: 0 var(--pad);
}

body.home-page .hero-sticky {
    align-items: center;
    padding-top: calc(60px + var(--safe-top) + 4rem);
    padding-bottom: var(--safe-bottom);
    box-sizing: border-box;
}

body.home-page .hero-main {
    padding-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.home-page .hero-headlines {
    width: 100%;
    display: flex;
    justify-content: center;
}

.headline--hero {
    text-align: center;
}

body.home-page .headline__static {
    font-size: 0.8em;
}

body.home-page .headline--hero {
    display: inline-block;
    max-width: 100%;
}

body.home-page .headline__swap {
    display: grid;
    justify-items: center;
    --headline-word-indent: 0;
}

.headline__swap {
    --headline-word-indent: 0;
}

body.home-page .headline__sizer,
body.home-page .headline__word {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    grid-area: 1 / 1;
    padding-left: 0;
    text-align: center;
}

.headline {
    font-size: clamp(4.89rem, 14vw, 9rem);
}

.headline .indent {
    margin-left: 0;
}

body.home-page .hero-portfolio-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 10rem;
    left: 0;
    margin-left: 0;
    width: 100%;
    padding-inline: var(--pad);
    padding-bottom: max(1rem, var(--safe-bottom));
}

.hero-portfolio-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(calc(var(--type-min) * 1.44), 2.6vw, 1.5rem);
}

