/* ========================================
   Graphika — Hero
   ======================================== */

.hero {
    position: relative;

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

    margin: 0;

    --hero-content-width: min(
        100%,
        var(--content-max-width)
    );

    padding-inline: max(
        var(--page-padding),
        calc((100% - var(--content-max-width)) / 2)
    );

    display: grid;
    grid-template-columns: repeat(9, 1fr);
    column-gap: var(--grid-gutter);

    overflow: clip;
}

.hero > * {
    min-width: 0;
}

/* ----------------------------------------
   Face Composition
   ---------------------------------------- */

.hero-bg-face {
    position: absolute;

    height: min(1050px, 120svh);
    width: auto;

    left: calc(-.5 * var(--page-padding));
    bottom: -180px;

    opacity: 0.20;

    z-index: 1;
}

.hero-bg-face img {
    display: block;

    width: auto;
    height: 100%;
}


.hero-visual {
    position: absolute;

    height: min(720px, calc(100svh - 180px));
    width: auto;

    left: 50%;
    bottom: 92px;

    transform: translateX(-50%);

    z-index: 2;
}

.hero-visual img {
    display: block;

    width: auto;
    height: 100%;
}


/* ----------------------------------------
   Headline
   ---------------------------------------- */

.hero-headline {
    position: relative;

    grid-column: 1 / 6;
    align-self: center;

    z-index: 3;
}

.hero-headline h1 {
    margin: 0;

    font-size: clamp(56px, 5.7vw, 82px);
    line-height: 0.9;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.hero-headline h1 span {
    display: block;
}


/* ----------------------------------------
   Supporting Description
   ---------------------------------------- */

.hero-description {
    position: absolute;

    right: max(
        var(--page-padding),
        calc((100% - var(--content-max-width)) / 2)
    );

    bottom: 205px;

    width: 270px;

    z-index: 4;
}

.hero-description p {
    max-width: 270px;

    margin: 0;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.01em;

    color: var(--color-muted);
}

.hero-about-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 16px;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.01em;

    color: var(--color-text);

    transition: gap 180ms var(--ease-standard);
}

.hero-about-link:hover {
    gap: 10px;
}

.hero-about-link span:first-child {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----------------------------------------
   Bottom Work Index
   ---------------------------------------- */

.hero-capabilities {
    position: absolute;

    left: 24px;
    bottom: 28px;

    width: min(900px, calc(100% - 420px));

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: var(--grid-gutter);

    z-index: 5;
}

.capability {
    display: flex;
    flex-direction: column;
    gap: 6px;

    min-width: 0;

    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.capability-number {
    font-size: 10px;
    line-height: 1;
    font-weight: 400;

    letter-spacing: 0.02em;

    color: var(--color-muted);
}

.capability-title {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;

    white-space: nowrap;
}


/* ----------------------------------------
   Graphika Identity
   ---------------------------------------- */

.hero-identity {
    position: absolute;

    right: max(
        var(--page-padding),
        calc((100% - var(--content-max-width)) / 2)
    );

    bottom: 18px;

    width: calc(
        ((var(--content-max-width) - (8 * var(--grid-gutter))) / 9) * 3
        + (2 * var(--grid-gutter))
    );

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 5;
}

.hero-identity img {
    display: block;

    width: 240px;
    max-width: 100%;
    height: auto;
}


/* ----------------------------------------
   Scroll Indicator
   ---------------------------------------- */

.hero-scroll {
    position: absolute;

    right: 24px;
    bottom: 28px;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 12px;
    line-height: 1;

    color: var(--color-text);

    z-index: 5;
}