:root {
    --bg: #ffffff;
    --accent: #5BB761;
    --ink: #111111;
    --line: rgba(17, 17, 17, 0.12);
    --header-height: 88px;
    --page-gutter: clamp(18px, 2vw, 28px);
    --section-width: 80%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.hicoding-site-page {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.hicoding-site-page.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.Footer_content__P5UPO {
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: var(--section-width);
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 3vw, 36px);
    background: rgba(8, 8, 10, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.admin-bar .header {
    top: 32px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-image {
    display: block;
    width: auto;
    height: clamp(30px, 2.6vw, 40px);
    max-width: min(190px, 30vw);
    object-fit: contain;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #111;
    font-size: 21px;
    font-weight: 800;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.brand-text strong {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-text span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #fff;
}

.navigation__action {
    margin: 0;
}

.navigation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #111;
    font-weight: 800;
    letter-spacing: 0.04em;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.navigation__button:hover {
    color: #111;
    filter: brightness(1.03);
}

.navigation__button:focus,
.navigation__button:focus-visible,
.navigation__button:active,
.navigation__button[aria-current="page"] {
    outline: none;
    box-shadow: none;
}

.navigation__portfolio .navigation__button {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.navigation__portfolio .navigation__button:hover {
    color: #fff;
    filter: none;
    opacity: 0.88;
}

.navigation__portfolio .navigation__button[aria-current="page"] {
    box-shadow: none;
}

.navigation__inquiry .navigation__button {
    background: #5BB761;
}

.header-home-link {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.86);
    transform: translate(-50%, -50%);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-home-link:hover {
    color: #fff;
    border-color: rgba(0, 232, 104, 0.44);
    background: rgba(0, 232, 104, 0.08);
}

.header-home-link__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.header-home-link__icon svg {
    width: 100%;
    height: 100%;
}

.cHeader__menu {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    padding: 0;
    cursor: pointer;
}

.cHeader__menu_line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

body.menu-open .cHeader__menu_line01 {
    transform: translateY(6px) rotate(45deg);
}

body.menu-open .cHeader__menu_line02 {
    opacity: 0;
}

body.menu-open .cHeader__menu_line03 {
    transform: translateY(-6px) rotate(-45deg);
}

.hicoding-portfolio-main {
    min-height: 60vh;
    padding-top: calc(var(--header-height) + 24px);
    background: #fff;
}

.Footer_wrap__zt_A2 {
    background: #0d0d0f;
    color: #fff;
    padding: 72px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.Footer_title-wrap__N0DLF {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.Footer_title-wrap--compact {
    padding-bottom: 0;
    border-bottom: 0;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
}

.footer-brand-image {
    display: block;
    width: auto;
    height: clamp(68px, 8vw, 96px);
    max-width: min(480px, 72vw);
    object-fit: contain;
}

.Footer_title___8VjF {
    font-size: clamp(34px, 3.6vw, 50px);
    letter-spacing: -0.05em;
}

.CopyRight_copyright__dUDUY {
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
}

.Footer_info-row__HO62x {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 0;
}

.Footer_info-column__kh8KM {
    margin: 0;
}

.Footer_column-title__uDwPy {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.Footer_column-content__v9jN7 {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 1080px) {
    .Footer_info-row__HO62x {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .Footer_content__P5UPO {
        max-width: none;
    }

    .navigation {
        position: fixed;
        top: var(--header-height);
        left: 16px;
        right: 16px;
        padding: 18px;
        border-radius: 24px;
        background: rgba(10, 10, 12, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    body.menu-open .navigation {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .navigation a {
        font-size: 16px;
    }

    .cHeader__menu {
        display: inline-flex;
    }

    .Footer_info-row__HO62x {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 16px 18px;
    }

    .header-home-link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 19px;
    }

    .brand-logo-image {
        height: 32px;
        max-width: min(160px, 42vw);
    }

    .footer-brand-image {
        height: 56px;
        max-width: min(320px, 72vw);
    }

    .Footer_wrap__zt_A2 {
        padding: 56px 0 64px;
    }

    .Footer_title-wrap__N0DLF {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}
