/* Page Styles Only */

/* Hero */
.hero {
    padding: 80px;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 52px;
}

/* 기존 HTML 클래스 유지용(별칭) */
.hero_image {
    width: 165px;
    height: 210px;
}

.hero__title {
    margin: 0 0 16px 0;
    font-size: 60px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    margin-top: 0;
    color: var(--muted);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.hero__cta {
    margin-top: 18px;
}

/* 기존 HTML 클래스 유지용(별칭) */
.btn--arrow-right-icon {
    width: 24px;
    height: 24px;
}

/* Sections */
.section {
    padding: 40px 0;
}

.section__title {
    text-align: center;
    font-size: 32px;
    letter-spacing: -0.02em;
    margin: 0;
}

.section__title--sm {
    text-align: left;
    margin-bottom: 20px;
}

/* About */
.about__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: rgba(134, 160, 188, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.about-card__lead {
    font-weight: 300;
    font-size: 16px;
    color: var(--muted);
    text-align: center;
}

.about-card__body {
    color: var(--muted);
    font-weight: 300;
    padding: 30px;
}

.about-card__body p+p {
    margin-top: 10px;
}

/* Work */
.work__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

.work-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.work-card__logo {
    width: 68px;
    height: 68px;
    overflow: hidden;
}

.work-card__company {
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.work-card__period {
    font-size: 16px;
    color: var(--muted);
    font-weight: 300;
}

.work-card__summary {
    color: var(--muted);
    margin-top: 16px;
}

.work-card__block+.work-card__block {
    margin-top: 16px;
}

.work-card__title {
    margin: 16px 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

/* Education */
.edu-wrap {
    padding: 0 75px;
    display: flex;
    justify-content: center;
    gap: 200px;
}

.edu {
    width: 335px;
}

.edu__item+.edu__item {
    margin-top: 14px;
}

.edu__title {
    font-weight: 500;
    font-size: 16px;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.project-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.project-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.project-card__body {
    padding: 16px 16px 19px;
}

.project-card__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
}

.project-card__desc {
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
    min-height: 48px;
}

/* Buttons (페이지 컴포넌트용) */
.btn--more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 24px;
    padding: 12px 16px;

    background: #ffffff;
    border: 1px solid #cdcdcd;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);

    box-shadow: none;
}

.btn--more:hover {
    background: rgba(0, 0, 0, 0.03);
}

.btn--more .arrow {
    font-size: 18px;
    line-height: 1;
}

.projects-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn--allprojects {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 20px;
    padding: 18px;
    height: 56px;

    background: #ffffff;
    border: 1px solid #cdcdcd;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);

    box-shadow: none;
}

.btn--allprojects:hover {
    background: rgba(0, 0, 0, 0.03);
}

.btn--allprojects .arrow {
    font-size: 18px;
    line-height: 1;
}

/* Contact */
.btn--email-icon {
    width: 24px;
    height: 24px;
}

.btn--contact-icon {
    width: 24px;
    height: 24px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}

.contact__info {
    margin-top: 20px;
}

.contact__line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.contact__link {
    font-weight: 600;
    color: var(--primary);
}

.contact__form {
    margin-top: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 16px 16px 32px 16px;
}

.contact__form-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.field {
    display: block;
    margin-top: 20px;
}

.field__label {
    display: block;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.field__input {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: #fbfbfc;
    outline: none;
    font-weight: 500;
}

.field__input:focus {
    border-color: rgba(125, 151, 178, 0.55);
    box-shadow: 0 0 0 4px rgba(125, 151, 178, 0.12);
}

.field__textarea {
    resize: vertical;
}

.btn--send {
    width: 100%;
    margin-top: 20px;
    padding: 16px 12px;
    border-radius: 4px;
    background: var(--primary);
    color: #ffffff;
    outline: none;
    font-size: 16px;
    font-weight: 500;
}

/* Desktop */
@media (min-width: 1280px) {
    .hero {
        padding-top: 72px;
    }
}