:root {
    --white: #fff;
    --muted: rgba(255, 255, 255, .56);
    --ink: #050505;
    --violet: #8d19ff;
    --header-x: clamp(24px, 4.55vw, 88px);
    --header-y: clamp(22px, 5.35vh, 58px);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    background: var(--ink);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--white);
    background: var(--ink);
    font-family: Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

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

.hero {
    position: relative;
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background: #020202;
}

.hero__poster {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .18)),
        radial-gradient(circle at 50% 52%, rgba(255, 80, 0, .06), transparent 38%);
}

.hero__cover {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero__cover--logo {
    top: 38px;
    left: 64px;
    width: 280px;
    height: 76px;
    background: rgba(0, 0, 0, .9);
    filter: blur(12px);
}

.hero__cover--scroll {
    right: 62px;
    bottom: 20px;
    width: 170px;
    height: 170px;
    background: rgba(0, 0, 0, .84);
    filter: blur(14px);
}

.hero__cover--nav {
    top: 42px;
    right: 54px;
    width: 520px;
    height: 64px;
    background: rgba(0, 0, 0, .86);
    filter: blur(12px);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 10px 12px;
    border-radius: 4px;
    background: var(--white);
    color: #000;
    transform: translateY(-140%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: var(--header-y);
    left: var(--header-x);
    right: var(--header-x);
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    position: relative;
    display: inline-flex;
    width: clamp(180px, 11.6vw, 221px);
    outline-offset: 7px;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3.2vw, 42px);
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    height: 28px;
    border-radius: 2px;
    outline-offset: 7px;
    font-size: clamp(15px, .9vw, 18px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    transition: color .18s ease;
}

.nav__link span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
}

.nav__link.is-active {
    color: var(--violet);
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 42;
    width: 42px;
    height: 42px;
    border: 0;
    padding: 9px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease;
}

body.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__link::after,
.brand::after,
.scroll-cue::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: border-color .18s ease, background-color .18s ease;
}

.nav__link:focus-visible::after,
.brand:focus-visible::after,
.scroll-cue:focus-visible::after {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .06);
}

.hero__copy {
    position: absolute;
    left: clamp(32px, 5vw, 96px);
    top: 46.5%;
    width: min(70vw, 950px);
    transform: translateY(-50%);
}

.hero__title {
    margin: 0;
    font-size: clamp(42px, 3.75vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 4px 26px rgba(0, 0, 0, .42);
}

.hero__title-text {
    display: inline-block;
}

.hero__title-word {
    display: inline-block;
    margin-right: .28em;
    white-space: nowrap;
}

.hero__title-word:last-child {
    margin-right: 0;
}

.hero__title-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(.35em);
    animation: titleCharReveal .42s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(var(--char-index) * 28ms);
    will-change: opacity, transform;
}

.hero__cursor {
    display: inline-block;
    width: .09em;
    height: .92em;
    margin-left: .1em;
    translate: 0 .1em;
    background: currentColor;
    animation: cursorBlink 1.05s steps(2, start) infinite;
}

.scroll-cue-both {
    position: absolute;
    right: clamp(132px, 10vw, 210px);
    bottom: clamp(34px, 5vh, 56px);
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 58px;
    outline-offset: 7px;
}

.scroll-cue-both__arrow {
    width: 13px;
    height: 13px;
    border-right: 2px solid rgba(255, 255, 255, .92);
    border-bottom: 2px solid rgba(255, 255, 255, .92);
}

.scroll-cue-both__arrow--up {
    transform: rotate(225deg);
    animation: arrowRise 1.45s ease-in-out infinite;
}

.scroll-cue-both__arrow--down {
    transform: rotate(45deg);
    animation: arrowDrop 1.45s ease-in-out infinite;
}

.slide-count {
    position: absolute;
    top: 50%;
    right: clamp(46px, 5.4vw, 104px);
    z-index: 4;
    width: 74px;
    height: 58px;
    transform: translateY(-12%);
    font-size: clamp(23px, 1.55vw, 30px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.slide-count__button {
    position: absolute;
}

.slide-count__button {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.slide-count__button:focus-visible {
    outline: 1px solid rgba(255, 255, 255, .76);
    outline-offset: 7px;
}

.slide-count__button:first-child {
    top: 0;
    left: 0;
    color: var(--white);
}

.slide-count__divider {
    position: absolute;
    left: 19px;
    top: 29px;
    width: 34px;
    height: 1px;
    transform: rotate(-58deg);
    transform-origin: center;
    background: rgba(255, 255, 255, .34);
}

.slide-count__button:last-child {
    right: 0;
    bottom: 0;
    color: rgba(255, 255, 255, .38);
}

.scroll-cue {
    position: absolute;
    right: clamp(58px, 6vw, 112px);
    bottom: clamp(34px, 5vh, 56px);
    z-index: 4;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 9px;
    width: 58px;
    height: 90px;
    outline-offset: 7px;
}

.scroll-cue__label {
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.scroll-cue__mouse {
    position: relative;
    width: 36px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
}

.scroll-cue__wheel {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    transform: translateX(-50%);
    animation: wheelDrop 1.45s ease-in-out infinite;
}

.scroll-cue__arrow {
    width: 13px;
    height: 13px;
    border-right: 2px solid rgba(255, 255, 255, .92);
    border-bottom: 2px solid rgba(255, 255, 255, .92);
    transform: rotate(45deg);
    animation: arrowDrop 1.45s ease-in-out infinite;
}

.section-placeholder {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 96px 24px;
    background: #080808;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(24px, 3vw, 44px);
    font-weight: 700;
    text-align: center;
}

.page-section {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #000;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px clamp(32px, 6vw, 116px) 98px;
}

.about-section__inner {
    width: min(100%, 1220px);
    display: grid;
    gap: clamp(62px, 7.4vh, 82px);
}

.about-section__intro {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-section__intro h2 {
    margin: 0 0 22px;
    font-size: clamp(52px, 4.25vw, 82px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.about-section__lead {
    margin: 0 0 10px;
    font-size: clamp(24px, 1.65vw, 32px);
    line-height: 1.3;
    font-weight: 900;
}

.about-section__highlight {
    display: inline-block;
    margin: 0 0 12px;
    padding: 3px 14px 5px;
    background: var(--violet);
    color: var(--white);
    font-size: clamp(18px, 1.18vw, 23px);
    line-height: 1.2;
    font-weight: 900;
}

.about-section__body {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 1.05vw, 21px);
    line-height: 1.55;
    font-weight: 700;
}

.about-section__services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    justify-items: center;
}

.about-card {
    width: min(28vw, 405px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .94);
    border-radius: 50%;
    margin: 0 -1px;
}

.about-card h3 {
    margin: 0;
    font-size: clamp(24px, 1.6vw, 31px);
    line-height: 1.26;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
}

.mobile-slider {
    position: relative;
}

.mobile-slider__viewport {
    width: 100%;
}

.mobile-slider__button {
    display: none;
}

.section-count {
    position: absolute;
    top: 50%;
    right: clamp(46px, 5.4vw, 104px);
    width: 74px;
    height: 58px;
    transform: translateY(-12%);
    font-size: clamp(23px, 1.55vw, 30px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.section-count span {
    position: absolute;
}

.section-count span:first-child {
    top: 0;
    left: 0;
    color: var(--white);
}

.section-count span:last-child {
    right: 0;
    bottom: 0;
    color: rgba(255, 255, 255, .38);
}

.section-count__divider {
    left: 19px;
    top: 29px;
    width: 34px;
    height: 1px;
    transform: rotate(-58deg);
    transform-origin: center;
    background: rgba(255, 255, 255, .34);
}

.ask-float {
    position: fixed;
    right: clamp(58px, 6vw, 112px);
    bottom: clamp(42px, 4.7vh, 54px);
    z-index: 35;
    display: grid;
    justify-items: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

body.is-ask-active .ask-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.ask-float span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: url("../images/bg_qna.png") center / 43px 43px no-repeat;
    color: #fff;
    font-size: 22px;
    letter-spacing: -2px;
    line-height: 1;
    text-indent: -1px;
}

.ask-float strong {
    font: inherit;
}

.page-section > .scroll-cue {
    right: clamp(132px, 10vw, 210px);
}

.hero > .scroll-cue,
.ask-section > .scroll-cue {
    right: clamp(58px, 6vw, 112px);
}

.what-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 170px clamp(46px, 4.5vw, 86px) 96px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .32)),
        url("../images/s03.png") center / cover no-repeat #020202;
}

.what-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .1) 48%, rgba(0, 0, 0, .45)),
        linear-gradient(180deg, rgba(0, 0, 0, .26), transparent 30%, rgba(0, 0, 0, .34));
}

.what-section__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1760px);
    display: grid;
    gap: clamp(116px, 15vh, 155px);
}

.what-section__intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.what-section__intro h2 {
    margin: 0 0 30px;
    font-size: clamp(56px, 4.25vw, 82px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.what-section__intro p {
    margin: 0;
    font-size: clamp(18px, 1.12vw, 22px);
    line-height: 1.55;
    font-weight: 800;
}

.what-section__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: clamp(42px, 6.2vw, 118px);
}

.what-card h3 {
    margin: 0 0 18px;
    font-size: clamp(28px, 1.7vw, 34px);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
}

.what-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0 0 0 56px;
    list-style: none;
    font-size: clamp(17px, 1vw, 20px);
    line-height: 1.2;
    font-weight: 800;
}

.what-card li {
    position: relative;
}

.what-card li::before {
    content: "";
    position: absolute;
    top: .45em;
    left: -18px;
    width: 7px;
    height: 7px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    opacity: .9;
}

.ask-section {
    padding: 200px clamp(42px, 4.45vw, 85px) 52px;
    background: #000;
}

.ask-section__inner {
    width: min(100%, 1615px);
    margin: 0 auto;
}

.ask-section__inner > h2 {
    margin: 0 0 42px;
    text-align: center;
    font-size: clamp(56px, 4.25vw, 82px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.ask-section__columns {
    display: grid;
    grid-template-columns: minmax(430px, 865px) minmax(430px, 1fr);
    gap: clamp(50px, 4.6vw, 88px);
    align-items: start;
}

.ask-info h3 {
    margin: 0 0 22px;
    font-size: clamp(24px, 1.55vw, 30px);
    line-height: 1.2;
    font-weight: 900;
}

.ask-map {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(250px, 33vh, 356px);
    margin-bottom: 14px;
    background: rgba(255, 255, 255, .08);
}

.ask-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.contact-list {
    display: grid;
    gap: 24px;
    margin: 0;
}

.contact-list div {
    display: grid;
    gap: 7px;
}

.contact-list dt {
    margin: 0;
    font-size: clamp(36px, 2.15vw, 42px);
    line-height: 1;
    font-weight: 900;
}

.contact-list dd {
    margin: 0;
    font-size: clamp(18px, 1.05vw, 21px);
    line-height: 1.35;
    font-weight: 500;
}

.ask-form {
    display: grid;
    gap: 0;
    padding-top: 94px;
}

.form-message {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    font-weight: 900;
}

.form-message--error {
    color: #ffb6b6;
}

.ask-form label:not(.privacy-check) {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
    min-height: 73px;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
}

.ask-form label:not(.privacy-check) > span {
    font-size: clamp(21px, 1.25vw, 25px);
    line-height: 1;
    font-weight: 900;
}

.ask-form label:not(.privacy-check) > span em {
    display: inline-block;
    margin-left: 8px;
    color: #ff6f6f;
    font-size: 14px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    vertical-align: middle;
}

.ask-form input,
.ask-form textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: clamp(18px, 1.05vw, 21px);
    line-height: 1.4;
    outline: 0;
}

.ask-form input::placeholder,
.ask-form textarea::placeholder {
    color: rgba(255, 255, 255, .42);
}

.ask-form input:focus,
.ask-form textarea:focus {
    box-shadow: 0 1px 0 var(--white);
}

.ask-form__details {
    align-items: start !important;
    min-height: 210px !important;
    padding-top: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
}

.ask-form textarea {
    height: 192px;
    padding-top: 83px;
    resize: vertical;
}

.ask-form__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    padding-top: 23px;
}

.privacy-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
}

.privacy-check input {
    width: 20px;
    height: 20px;
    accent-color: #303030;
}

.privacy-open {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.privacy-layer[hidden] {
    display: none;
}

.privacy-layer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.privacy-layer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
}

.privacy-layer__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(720px, 86svh);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .24);
    padding: 34px;
    background: #070707;
    color: var(--white);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.privacy-layer__panel h3 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
}

.privacy-layer__body {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

.privacy-layer__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.privacy-layer__close::before,
.privacy-layer__close::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 15px;
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, .9);
}

.privacy-layer__close::before {
    transform: rotate(45deg);
}

.privacy-layer__close::after {
    transform: rotate(-45deg);
}

.privacy-layer__confirm {
    min-width: 96px;
    height: 38px;
    margin-top: 26px;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.ask-form button {
    min-width: 100px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-size: 17px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}

.scroll-cue--ask {
    bottom: clamp(32px, 4.7vh, 52px);
}

.scroll-cue--up .scroll-cue__arrow,
.scroll-cue--ask .scroll-cue__arrow {
    order: -1;
    transform: rotate(225deg);
    animation: arrowRise 1.45s ease-in-out infinite;
}

.portfolio-section {
    padding: 190px clamp(42px, 4.45vw, 85px) 72px;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .36)),
        url("../images/s04.png") center / cover no-repeat #000;
}

.portfolio-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 52% 36%, rgba(255, 255, 255, .06), transparent 25%),
        linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .58));
}

.portfolio-view {
    position: relative;
    z-index: 1;
    width: min(100%, 1750px);
    margin: 0 auto;
    overflow-x: hidden;
}

.portfolio-view[hidden] {
    display: none;
}

.portfolio-view > h2 {
    margin: 0 0 72px;
    text-align: center;
    font-size: clamp(56px, 4.25vw, 82px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.portfolio-slider {
    overflow: hidden;
    width: 100%;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
}

.portfolio-list {
    --portfolio-gap: clamp(64px, 3.5vw, 68px);
    --portfolio-visible: 3;
    display: flex;
    align-items: start;
    gap: var(--portfolio-gap);
    transform: translateX(0);
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
    max-width: 100%;
}

.portfolio-list.is-moving .portfolio-card__image {
    filter: brightness(.78);
}

.portfolio-card {
    flex: 0 0 calc((100% - (var(--portfolio-gap) * (var(--portfolio-visible) - 1))) / var(--portfolio-visible));
    display: grid;
    gap: 18px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    text-align: left;
    cursor: pointer;
    opacity: .52;
    transform: scale(.98);
    transition: opacity .28s ease, transform .28s ease;
}

.portfolio-card.is-visible {
    opacity: 1;
    transform: scale(1);
}

.portfolio-card__image {
    width: 100%;
    aspect-ratio: 488 / 524;
    display: block;
    background-image: url("../images/s04.png");
    background-repeat: no-repeat;
    background-size: 1920px 1080px;
    background-position: var(--card-bg-position, center);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .34);
    transition: filter .2s ease, transform .2s ease;
}

.portfolio-card:hover .portfolio-card__image,
.portfolio-card:focus-visible .portfolio-card__image {
    filter: brightness(1.12);
    transform: translateY(-4px);
}

.portfolio-card__category {
    width: fit-content;
    max-width: 100%;
    padding: 5px 18px 6px;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 999px;
    color: rgba(255, 255, 255, .62);
    font-size: clamp(15px, .95vw, 19px);
    line-height: 1;
    font-weight: 900;
}

.portfolio-card strong {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(18px, 1.05vw, 21px);
    line-height: 1.28;
    font-weight: 900;
}

.portfolio-arrow {
    position: absolute;
    top: 56%;
    width: 28px;
    height: 45px;
    border: 0;
    border-top: 3px solid rgba(255, 255, 255, .9);
    border-left: 3px solid rgba(255, 255, 255, .9);
    background: transparent;
    cursor: pointer;
    transition: opacity .18s ease, transform .18s ease;
}

.portfolio-arrow:hover {
    opacity: .72;
}

.portfolio-arrow--prev {
    left: 29.2%;
    transform: rotate(-45deg);
}

.portfolio-arrow--next {
    right: 36.3%;
    transform: rotate(135deg);
}

.portfolio-view--detail {
    max-width: 1750px;
}

.portfolio-view--detail.is-active {
    animation: portfolioFade .32s ease both;
}

.portfolio-view--detail > h2 {
    margin-bottom: 42px;
}

.portfolio-detail h3 {
    margin: 0 0 21px;
    font-size: clamp(24px, 1.55vw, 30px);
    line-height: 1.2;
    font-weight: 900;
}

.portfolio-detail {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease;
}

.portfolio-detail__media {
    position: relative;
    width: 100%;
    height: clamp(360px, 39.2vw, 424px);
    border: 0;
    padding: 0;
    background-image: url("../images/s05.png");
    background-repeat: no-repeat;
    background-size: 1920px 1080px;
    background-position: var(--detail-bg-position, -85px -386px);
    cursor: pointer;
    transition: opacity .22s ease, transform .22s ease;
}

.portfolio-detail.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.portfolio-detail__media span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.portfolio-detail__media span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 22px solid rgba(255, 255, 255, .92);
    transform: translate(-38%, -50%);
}

.portfolio-detail p {
    margin: 25px 0 0;
    font-size: clamp(18px, 1.05vw, 21px);
    line-height: 1.48;
    font-weight: 700;
}

.portfolio-detail__nav {
    position: absolute;
    left: 50%;
    bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 34px;
    transform: translateX(-50%);
}

.portfolio-detail__nav button,
.portfolio-back {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}

.portfolio-detail__nav button::before,
.portfolio-detail__nav button::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
    vertical-align: 1px;
}

.portfolio-detail__nav button:first-child::before {
    margin-right: 12px;
    transform: rotate(-45deg);
}

.portfolio-detail__nav button:first-child::after {
    display: none;
}

.portfolio-detail__nav button:last-child::before {
    display: none;
}

.portfolio-detail__nav button:last-child::after {
    margin-left: 12px;
    transform: rotate(135deg);
}

.portfolio-back {
    position: absolute;
    right: 0;
    bottom: 2px;
    opacity: .74;
}

@keyframes portfolioFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrowRise {
    0%, 100% {
        opacity: .42;
        transform: translateY(5px) rotate(225deg);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px) rotate(225deg);
    }
}

@keyframes titleCharReveal {
    0% {
        opacity: 0;
        transform: translateY(.35em);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cursorBlink {
    0%, 42% {
        opacity: 1;
    }

    43%, 100% {
        opacity: 0;
    }
}

@keyframes wheelDrop {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    28% {
        opacity: 1;
    }

    78%, 100% {
        opacity: 0;
        transform: translate(-50%, 18px);
    }
}

@keyframes arrowDrop {
    0%, 100% {
        opacity: .42;
        transform: translateY(-2px) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: translateY(5px) rotate(45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

            .hero__cursor,
            .hero__title-char,
            .scroll-cue__wheel,
            .scroll-cue__arrow {
                animation: none;
                opacity: 1;
                transform: none;
            }

    .scroll-cue--up .scroll-cue__arrow,
    .scroll-cue--ask .scroll-cue__arrow {
        animation: none;
    }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .site-header {
        align-items: flex-start;
    }

    .nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 260px;
    }

    .nav__link {
        min-width: 64px;
        height: 24px;
    }

    .nav__link:nth-child(2),
    .nav__link:nth-child(3) {
        min-width: 86px;
    }

    .slide-count {
        right: 28px;
    }

    .about-section {
        padding-left: 28px;
        padding-right: 28px;
    }

    .about-section__services {
        gap: 18px;
    }

    .about-card {
        width: 30vw;
    }

    .about-card h3 {
        font-size: clamp(18px, 2.7vw, 26px);
    }

    .section-count {
        right: 28px;
    }

    .ask-section {
        padding-left: 28px;
        padding-right: 28px;
    }

    .ask-section__columns {
        grid-template-columns: 1fr;
    }

    .ask-form {
        padding-top: 0;
    }

    .portfolio-section {
        padding-left: 28px;
        padding-right: 28px;
    }

    .portfolio-list {
        --portfolio-gap: 22px;
        --portfolio-visible: 2;
    }

    .portfolio-card__image {
        background-size: cover;
    }

    .portfolio-arrow--prev {
        left: 2px;
    }

    .portfolio-arrow--next {
        right: 2px;
    }

    .portfolio-detail__media {
        background-size: cover;
    }
}

@media (max-width: 640px) {
    .page-section {
        min-height: 100svh;
        overflow: visible;
    }

    .hero__poster img {
        object-position: 46% center;
    }

    .site-header {
        top: 24px;
        left: 22px;
        right: 22px;
    }

    .brand {
        width: 138px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 30px;
        max-width: none;
        padding: 96px 24px;
        background: rgba(0, 0, 0, .94);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity .22s ease, transform .22s ease;
    }

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

    .nav__link {
        height: auto;
        font-size: 28px;
    }

    .hero__copy {
        left: 24px;
        right: 24px;
        top: 50%;
        width: auto;
    }

    .hero__title {
        font-size: clamp(36px, 12vw, 58px);
    }

    .hero__title-word {
        display: block;
        margin-right: 0;
    }

    .slide-count {
        display: none;
    }

    .scroll-cue,
    .page-section > .scroll-cue,
    .scroll-cue-both {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: 26px;
        transform: translateX(-50%);
    }

    .hero > .scroll-cue,
    .ask-section > .scroll-cue {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .hero__cover--logo {
        top: 14px;
        left: 10px;
        width: 180px;
        height: 62px;
    }

    .hero__cover--scroll {
        right: 0;
        bottom: 0;
        width: 120px;
        height: 132px;
    }

    .hero__cover--nav {
        display: none;
    }

    .about-section {
        align-items: start;
        padding: 112px 24px 148px;
    }

    .about-section__inner {
        gap: 42px;
    }

    .about-section__intro h2 {
        margin-bottom: 18px;
        font-size: 46px;
    }

    .about-section__lead {
        font-size: 23px;
    }

    .about-section__highlight {
        max-width: 100%;
        font-size: 17px;
    }

    .about-section__services {
        display: flex;
        gap: 0;
        justify-items: initial;
        transform: translateX(0);
        transition: transform .45s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }

    .about-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .about-mobile-slider {
        width: min(100%, 360px) !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .mobile-slider__viewport {
        width: 85% !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .mobile-slider__button {
        position: absolute;
        top: 50%;
        z-index: 3;
        display: block;
        width: 22px;
        height: 22px;
        border: 0;
        border-top: 2px solid rgba(255, 255, 255, .92);
        border-left: 2px solid rgba(255, 255, 255, .92);
        background: transparent;
        cursor: pointer;
    }

    .mobile-slider__button--prev {
        left: -4px;
        transform: translateY(-50%) rotate(-45deg);
    }

    .mobile-slider__button--next {
        right: -4px;
        transform: translateY(-50%) rotate(135deg);
    }

    .about-mobile-slider .mobile-slider__button--prev {
        left: -4px;
    }

    .about-mobile-slider .mobile-slider__button--next {
        right: -4px;
    }

    .section-count {
        display: none;
    }

    .ask-float {
        right: 24px;
        bottom: 24px;
    }

    .ask-section__inner > h2 {
        font-size: 46px;
    }

    .ask-section {
        padding: 112px 24px 120px;
    }

    .ask-section__inner > h2 {
        margin-bottom: 36px;
    }

    .ask-info h3 {
        font-size: 22px;
    }

    .ask-map {
        height: 230px;
    }

    .contact-list dt {
        font-size: 34px;
    }

    .ask-form label:not(.privacy-check) {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 0;
    }

    .ask-form__details {
        min-height: 190px !important;
    }

    .ask-form textarea {
        height: 150px;
        padding-top: 32px;
    }

    .ask-form__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .privacy-layer {
        padding: 18px;
    }

    .privacy-layer__panel {
        padding: 28px 22px;
    }

    .privacy-layer__panel h3 {
        font-size: 24px;
    }

    .scroll-cue--ask {
        display: none;
    }

    .portfolio-section {
        padding: 112px 24px 148px;
    }

    .portfolio-view > h2 {
        margin-bottom: 42px;
        font-size: 46px;
    }

    .portfolio-list {
        --portfolio-gap: 0 !important;
        --portfolio-visible: 1 !important;
        gap: 0 !important;
        display: flex !important;
    }

    .portfolio-slider {
        width: 85% !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .portfolio-arrow {
        display: block;
        top: calc(50% + 76px);
        width: 22px;
        height: 22px;
        border-top-width: 2px;
        border-left-width: 2px;
    }

    .portfolio-arrow--prev {
        left: -4px;
    }

    .portfolio-arrow--next {
        right: -4px;
    }

    .portfolio-card__image {
        aspect-ratio: 488 / 360;
    }

    .portfolio-detail__media {
        height: 240px;
    }

    .portfolio-detail p br {
        display: none;
    }

    .portfolio-detail__nav {
        position: static;
        justify-content: center;
        margin-top: 38px;
        transform: none;
    }

    .portfolio-back {
        position: static;
        display: block;
        margin: 22px auto 0;
    }
}

@media (max-width: 1024px) {
    .about-mobile-slider {
        position: relative;
        width: min(100%, 360px) !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .mobile-slider__viewport {
        width: 85% !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .about-section__services {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100% !important;
        transform: translateX(0);
        transition: transform .45s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }

    .about-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .mobile-slider__button {
        position: absolute;
        top: 50%;
        z-index: 3;
        display: block;
        width: 22px;
        height: 22px;
        border: 0;
        border-top: 2px solid rgba(255, 255, 255, .92);
        border-left: 2px solid rgba(255, 255, 255, .92);
        background: transparent;
        cursor: pointer;
    }

    .mobile-slider__button--prev {
        left: -4px;
        transform: translateY(-50%) rotate(-45deg);
    }

    .mobile-slider__button--next {
        right: -4px;
        transform: translateY(-50%) rotate(135deg);
    }

    .portfolio-slider {
        width: 85% !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .portfolio-list {
        --portfolio-gap: 0 !important;
        --portfolio-visible: 1 !important;
        gap: 0 !important;
        display: flex !important;
    }

    .portfolio-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .portfolio-card__image,
    .portfolio-detail__media {
        background-position: center !important;
        background-size: cover;
    }

    .portfolio-card__category {
        white-space: normal;
        line-height: 1.25;
    }

    .portfolio-arrow {
        display: block;
        width: 22px;
        height: 22px;
        border-top-width: 2px;
        border-left-width: 2px;
    }

    .portfolio-arrow--prev {
        left: -4px;
    }

    .portfolio-arrow--next {
        right: -4px;
    }
}

@media (max-width: 1024px) {
    #what-we-do.what-section {
        display: block !important;
        min-height: 100svh;
        overflow: hidden;
        padding: 112px 24px 148px !important;
        background-position: center !important;
    }

    #what-we-do .what-section__inner {
        width: 100%;
        max-width: none;
        display: block !important;
    }

    #what-we-do .what-section__intro {
        width: 100%;
        max-width: 640px;
        margin: 0 auto 52px;
        text-align: center;
    }

    #what-we-do .what-section__intro h2 {
        margin: 0 0 22px;
        font-size: 46px;
        line-height: 1;
    }

    #what-we-do .what-section__intro p {
        margin: 0 auto;
        max-width: 34em;
        font-size: 16px;
        line-height: 1.55;
    }

    #what-we-do .what-section__intro p br {
        display: none;
    }

    #what-we-do .what-mobile-slider {
        position: relative;
        width: min(100%, 360px);
        margin: 0 auto;
        overflow: visible;
    }

    #what-we-do .mobile-slider__viewport {
        width: 85%;
        margin: 0 auto;
        overflow: hidden;
    }

    #what-we-do .what-section__grid {
        display: flex !important;
        grid-template-columns: none !important;
        align-items: stretch;
        gap: 0 !important;
        width: 100%;
        transform: translateX(0);
        transition: transform .45s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }

    #what-we-do .what-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 28px;
        text-align: center;
    }

    #what-we-do .what-card h3 {
        margin: 0 0 18px;
        font-size: 28px;
        line-height: 1.18;
    }

    #what-we-do .what-card ul {
        width: fit-content;
        margin: 0 auto;
        padding: 0 0 0 24px;
        text-align: left;
        font-size: 17px;
        line-height: 1.25;
    }

    #what-we-do .mobile-slider__button {
        position: absolute;
        top: 50%;
        z-index: 3;
        display: block;
        width: 22px;
        height: 22px;
        border: 0;
        border-top: 2px solid rgba(255, 255, 255, .92);
        border-left: 2px solid rgba(255, 255, 255, .92);
        background: transparent;
        cursor: pointer;
    }

    #what-we-do .mobile-slider__button--prev {
        left: -4px;
        transform: translateY(-50%) rotate(-45deg);
    }

    #what-we-do .mobile-slider__button--next {
        right: -4px;
        transform: translateY(-50%) rotate(135deg);
    }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    #portfolio .portfolio-view--list {
        overflow: visible;
        padding-inline: 34px;
    }

    #portfolio .portfolio-slider {
        width: 100% !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    #portfolio .portfolio-arrow {
        z-index: 6;
        top: calc(50% + 58px);
        width: 24px;
        height: 24px;
        border-top-width: 2px;
        border-left-width: 2px;
    }

    #portfolio .portfolio-arrow--prev {
        left: 6px !important;
    }

    #portfolio .portfolio-arrow--next {
        right: 6px !important;
    }
}
