/* ==========================================================================
   HIGHEND — 메인 페이지 (데스크탑 1300 컨테이너 기준, px)
   섹션 순서: hero → brand → gallery → portfolio → why → services → turnover
             → support → partners → ceo → event → process → contact
   ========================================================================== */

.site-main > section {
    scroll-margin-top: var(--site-header-height);
}

/* —— 공통 텍스트 유틸 —— */
.tx-primary { color: var(--c-primary) !important; }
.tx-sub1    { color: var(--c-sub1); }
.tx-sub2    { color: var(--c-sub2); }
.tx-cream   { color: var(--c-sub4); }

/* —— 공통 섹션 타이틀 —— */
.sec-tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-align: center;
}

.sec-tit--left {
    align-items: flex-start;
    text-align: left;
}

.sec-tit--right {
    align-items: flex-end;
    text-align: right;
}

.sec-label {
    margin: 0;
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--c-sub2);
}

.sec-title {
    margin: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-primary);
}

.sec-desc {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-primary);
}

.sec-tit--light .sec-label {
    color: var(--c-sub3);
}

.sec-tit--light .sec-title,
.sec-tit--light .sec-desc {
    color: var(--c-n1);
}

/* —— 공통 포인트 카드 (why / support) —— */
.point-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 120px;
    padding: 16px 20px;
    border-radius: 20px;
    background-color: var(--c-n1);
    text-align: center;
}

.point-card--cream {
    background-color: var(--c-bg1);
}

.point-card-label {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-sub1);
}

.point-card-title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-primary);
}

/* —— 어두운 배경 섹션 공통 —— */
.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    background-color: var(--c-bg1);
}

.hero {
    overflow: hidden;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 980px;
    aspect-ratio: 1920 / 980;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transition: transform 1600ms var(--ease-out);
}

html.page-ready .hero-image {
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .hero-image {
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   1. BRAND
   ========================================================================== */
.brand {
    padding: 120px 0;
    background-color: var(--c-n1);
}

.brand .sec-tit {
    margin-bottom: 80px;
}

.brand-row {
    position: relative;
    display: grid;
    grid-template-columns: 700px minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.brand-row--reverse {
    grid-template-columns: minmax(0, 1fr) 700px;
}

.brand-row + .brand-row {
    margin-top: 40px;
}

.brand-img {
    display: block;
    width: 100%;
    height: 480px;
    border-radius: 30px;
    object-fit: cover;
}

.brand-text {
    position: relative;
    max-width: 530px;
}

.brand-num {
    position: absolute;
    z-index: 0;
    top: -140px;
    right: 0;
    font-family: var(--font-en);
    font-size: 200px;
    font-weight: 700;
    line-height: 1.4;
    color: rgba(255, 240, 204, 0.3);
    pointer-events: none;
    user-select: none;
}

.brand-num--2 {
    top: auto;
    right: auto;
    bottom: -150px;
    left: 265px;
}

.brand-label,
.brand-heading,
.brand-desc {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--c-primary);
}

.brand-label {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-sub2);
}

.brand-heading {
    margin-top: 10px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.4;
}

.brand-desc {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}

.brand-desc + .brand-desc {
    margin-top: 10px;
}

/* ==========================================================================
   2. GALLERY
   ========================================================================== */
.gallery {
    padding: 120px 0 112px;
    background-color: var(--c-bg1);
    overflow: hidden;
}

.gallery .sec-tit {
    margin-bottom: 60px;
}

.gallery-stage {
    position: relative;
}

.gallery-swiper {
    width: 100%;
    overflow: hidden;
}

/* Swiper 의 .swiper-backface-hidden .swiper-slide 규칙(특이도 0,2,0)을 이기도록 부모를 붙인다. */
.gallery-swiper .gallery-slide {
    position: relative;
    width: 1300px;
    transition: transform 0.65s ease;
    transform: scale(0.8) translateZ(0);
}

.gallery-swiper .gallery-slide.swiper-slide-active {
    transform: scale(1) translateZ(0);
}

.gallery-slide-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1300 / 731;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.gallery-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.65s ease;
    pointer-events: none;
}

.gallery-slide.swiper-slide-active::after {
    opacity: 0;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-top: -32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--c-n1);
    color: #949494;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
    color: var(--c-primary);
    transform: scale(1.05);
}

.gallery-nav svg {
    width: 64px;
    height: 64px;
}

.gallery-nav--prev {
    left: calc(50% - 650px - 164px);
}

.gallery-nav--next {
    right: calc(50% - 650px - 164px);
}

.gallery-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 83px;
    margin-top: 40px;
    text-align: center;
}

.gallery-caption-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-primary);
}

.gallery-caption-desc {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--c-primary);
}

.gallery-caption-desc:empty {
    display: none;
}

/* ==========================================================================
   3. PORTFOLIO (무한 마퀴)
   ========================================================================== */
.portfolio {
    position: relative;
    padding: 120px 0 150px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.portfolio > * {
    position: relative;
    z-index: 1;
}

.portfolio .sec-tit {
    margin-bottom: 60px;
}

.pf-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.pf-row {
    display: flex;
    width: max-content;
    animation: pf-scroll-left 70s linear infinite;
}

.pf-row--rev {
    animation-name: pf-scroll-right;
    animation-duration: 80s;
}

.pf-track:hover .pf-row {
    animation-play-state: paused;
}

.pf-set {
    display: flex;
    flex-shrink: 0;
}

.pf-item {
    flex: none;
    width: 400px;
    height: 300px;
}

.pf-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pf-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes pf-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .pf-track {
        overflow-x: auto;
    }

    .pf-row {
        animation: none;
    }
}

.pf-copy {
    margin: 60px 0 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: var(--c-sub3);
}

/* ==========================================================================
   4. WHY HIGHEND
   ========================================================================== */
.why {
    position: relative;
    padding: 120px 0 158px;
    background-color: var(--c-primary);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(79, 49, 30, 0.98);
}

.why > * {
    position: relative;
    z-index: 1;
}

.why .sec-tit {
    margin-bottom: 58px;
}

.why-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.why-big-text {
    /* 1920 기준 150px. 노트북 폭에서 양옆이 잘리지 않도록 화면 폭에 맞춰 줄인다 */
    font-size: min(150px, calc((100vw - 480px) / 8.7));
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    color: rgba(255, 240, 204, 0.3);
    user-select: none;
}

.why-big-img {
    display: block;
    width: 310px;
    height: 335px;
    flex-shrink: 0;
    object-fit: contain;
}

.why-desc {
    margin: 57px 0 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    color: var(--c-n1);
}

.why-desc b {
    font-weight: 700;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 52px;
}

/* ==========================================================================
   5. SERVICES (직영 시공 범위)
   ========================================================================== */
.services {
    position: relative;
    padding: 120px 0;
    background-color: var(--c-n1);
    overflow: hidden;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .sec-tit {
    margin-bottom: 60px;
}

.services-pattern {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 303px;
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 100%;
    opacity: 0.12;
    pointer-events: none;
}

.svc-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.svc-row + .svc-row {
    margin-top: 40px;
}

.svc-item {
    width: 310px;
    text-align: center;
}

.svc-img {
    display: block;
    width: 100%;
    height: 213px;
    border-radius: 15px;
    object-fit: cover;
}

.svc-name {
    margin: 20px 0 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-primary);
}

.svc-desc {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-primary);
}

/* ==========================================================================
   6. REAL TURNOVER
   ========================================================================== */
.turnover {
    padding: 131px 0 150px;
    background-image: linear-gradient(180deg, var(--c-bg1) 0%, var(--c-sub3) 100%);
}

.turnover-head {
    display: inline-flex;
    align-items: center;
    gap: 30px;
}

.turnover-laurel {
    display: block;
    width: 67px;
    height: 130px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: bottom;
}

.turnover-laurel--r {
    transform: scaleX(-1);
}

.to-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 86px;
}

.to-card {
    position: relative;
}

.to-crown {
    position: absolute;
    top: -30px;
    left: 25px;
    z-index: 2;
    width: 64.52px;
    height: 29.86px;
}

.to-card-inner {
    overflow: hidden;
    border-radius: 15px;
    background-color: var(--c-n1);
    box-shadow: 0 4px 16px rgba(79, 49, 30, 0.06);
}

.to-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 30px;
    background-image: linear-gradient(90deg, #6e3613 0%, var(--c-primary) 100%);
}

.to-card-name {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-sub4);
}

.to-card-pcs {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--c-n1);
}

.to-card-img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.to-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    text-align: center;
}

.to-stat + .to-stat {
    border-top: 1px solid var(--c-n3);
}

.to-stat-label {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--c-primary);
}

.to-stat-value {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-primary);
}

/* ==========================================================================
   7. SUPPORT (오픈 이후)
   ========================================================================== */
.support {
    padding: 60px 0 150px;
    background-color: var(--c-n1);
}

.support-line {
    display: block;
    width: 2px;
    height: 100px;
    margin: 0 auto;
    background-image: linear-gradient(180deg, var(--c-sub1) 0%, rgba(209, 94, 49, 0) 100%);
}

.support-title {
    margin: 20px 0 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: var(--c-primary);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.support-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    min-height: 400px;
    padding: 50px;
    border-radius: 20px;
    background-color: var(--c-primary);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.support-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(79, 49, 30, 0.9);
}

.support-banner > * {
    position: relative;
    z-index: 1;
}

.support-banner-text {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-n1);
}

.support-banner-text b {
    font-weight: 700;
}

.support-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-cards .point-card {
    flex: 1;
}

/* ==========================================================================
   8. PARTNERS
   ========================================================================== */
.partners {
    position: relative;
    padding: 120px 0 150px;
    background-color: #222;
    background-size: cover;
    background-position: center;
}

.partners::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.partners > * {
    position: relative;
    z-index: 1;
}

.partners .sec-tit {
    margin-bottom: 60px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 12%;
    border-radius: 30px;
    background-color: var(--c-n1);
    overflow: hidden;
}

.partner-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-card--kraft img {
    width: 100%;
}

.partner-card--nvidia img {
    width: 72%;
}

.partner-card--gaguzone img {
    width: 78%;
}

.partner-card--leontech {
    padding: 0;
}

.partner-card--leontech img {
    object-fit: cover;
}

/* ==========================================================================
   9. CEO STORY
   ========================================================================== */
.ceo {
    padding: 120px 0 140px;
    background-color: var(--c-n1);
    overflow: hidden;
}

.ceo-inner {
    display: grid;
    grid-template-columns: 585px 715px;
    align-items: start;
}

.ceo-text {
    padding-top: 160px;
    padding-right: 40px;
}

.ceo-history {
    position: relative;
    margin-top: 80px;
    padding-left: 28px;
}

.ceo-history::before {
    content: '';
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 3.5px;
    width: 1px;
    background-color: var(--c-n2);
}

.ceo-history li {
    position: relative;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--c-primary);
}

.ceo-history li::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -28px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--c-primary);
}

.ceo-visual {
    position: relative;
    height: 960px;
    border-radius: 999px 999px 0 0;
    background-image: linear-gradient(180deg, var(--c-bg1) 0%, var(--c-sub3) 100%);
    overflow: hidden;
}

.ceo-quote-mark {
    position: absolute;
    left: 50%;
    font-family: var(--font-quote);
    font-size: 96px;
    font-weight: 500;
    line-height: 1;
    color: var(--c-sub2);
    transform: translateX(-50%);
    user-select: none;
}

.ceo-quote-mark--open {
    top: 88px;
}

.ceo-quote-mark--close {
    top: 267px;
}

.ceo-quote {
    position: absolute;
    top: 157px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 24px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: var(--c-primary);
}

.ceo-photo {
    /* 가운데 정렬은 margin 으로 한다. transform 은 리빌 애니메이션(data-aos)이 덮어쓴다. */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 514px;
    height: 661px;
    margin: 0 auto;
    object-fit: cover;
    object-position: top center;
}

/* ==========================================================================
   10. EVENT
   ========================================================================== */
.event {
    position: relative;
    padding: 131px 0 150px;
    background-color: var(--c-bg1);
    overflow: hidden;
}

.event-side {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(620px, 32.3vw);
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event .container {
    position: relative;
    z-index: 1;
}

.event-inner {
    width: 860px;
    margin-left: auto;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 70px;
}

.event-card {
    position: relative;
    min-height: 180px;
    padding: 40px;
    border-radius: 20px;
    background-color: var(--c-n1);
    overflow: hidden;
}

.event-card-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-sub1);
}

.event-card-sub {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-primary);
}

.event-card-num {
    position: absolute;
    right: 30px;
    bottom: -34px;
    font-family: var(--font-en);
    font-size: 100px;
    font-weight: 700;
    line-height: 1.4;
    color: rgba(209, 94, 49, 0.05);
    pointer-events: none;
    user-select: none;
}

.event-cta {
    margin-top: 80px;
    text-align: right;
}

/* ==========================================================================
   11. PROCESS
   ========================================================================== */
.process {
    padding: 120px 0 150px;
    background-color: var(--c-n1);
}

.process .sec-tit {
    margin-bottom: 70px;
}

.process-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 44px;
    list-style: none;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 100px;
    right: 100px;
    height: 1px;
    background-image: linear-gradient(90deg, var(--c-sub3) 0%, var(--c-sub1) 50%, var(--c-sub3) 100%);
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-image: linear-gradient(180deg, var(--c-sub1) 0%, #935239 100%);
    font-family: var(--font-en);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-n1);
    box-shadow: 0 6px 16px rgba(209, 94, 49, 0.2);
}

.process-text {
    margin-top: 20px;
}

.process-name {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-primary);
}

.process-desc {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-primary);
}

/* ==========================================================================
   12. CONTACT
   ========================================================================== */
.contact {
    position: relative;
    padding: 120px 0 200px;
    background-color: var(--c-primary);
    background-size: cover;
    background-position: center;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(90deg, rgba(79, 49, 30, 0.95) 0%, rgba(79, 49, 30, 0.95) 100%);
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact-card {
    max-width: 860px;
    margin: 70px auto 0;
    padding: 50px;
    border-radius: 30px;
    background-color: var(--c-n1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.contact-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-input,
.contact-select,
.contact-textarea {
    display: block;
    width: 100%;
    height: 70px;
    padding: 0 24px;
    border: 1px solid var(--c-n3);
    border-radius: 10px;
    background-color: var(--c-n1);
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--c-primary);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: var(--c-n5);
    opacity: 1;
}

.contact-select {
    padding-right: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10l1.41-1.41L12 13.17l4.59-4.58L18 10l-6 6z' fill='%23949494'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 24px 24px;
    cursor: pointer;
}

.contact-select:invalid,
.contact-select.is-placeholder {
    color: var(--c-n5);
}

.contact-select option {
    color: var(--c-primary);
}

.contact-textarea {
    height: 160px;
    padding: 24px;
    resize: vertical;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--c-sub1);
    box-shadow: 0 0 0 3px rgba(209, 94, 49, 0.15);
}

.contact-field.has-error .contact-input,
.contact-field.has-error .contact-select,
.contact-field.has-error .contact-textarea {
    border-color: #e0553a;
}

.contact-field-error {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #c0392b;
}

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 0;
}

.contact-agree {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-n4);
    cursor: pointer;
}

.contact-agree input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--c-sub1);
    cursor: pointer;
}

.contact-agree a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-agree a:hover {
    color: var(--c-sub1);
}

.contact-submit {
    flex-shrink: 0;
}

.contact-alert {
    margin-bottom: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.contact-alert-success {
    background-color: var(--c-bg1);
    color: var(--c-primary);
}

.contact-alert-error {
    background-color: #fdf1ee;
    color: #b3361c;
}

/* 허니팟 — 화면 밖으로 밀어 둔다 (display:none 은 봇이 건너뛴다) */
.contact-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 문의 접수 중 오버레이 (contact.js) */
html.inquiry-loading-lock,
html.inquiry-loading-lock body {
    overflow: hidden;
}

.inquiry-loading {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: rgba(79, 49, 30, 0.55);
}

.inquiry-loading[hidden] {
    display: none;
}

.inquiry-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--c-n1);
    border-radius: 50%;
    animation: inquiry-spin 0.7s linear infinite;
}

.inquiry-loading-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-n1);
}

@keyframes inquiry-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   태블릿 (≤1339) — 1300 컨테이너가 안 들어가는 구간
   ========================================================================== */
@media all and (max-width: 1339px) {
    .sec-title,
    .support-title {
        font-size: 44px;
    }

    .brand-row,
    .brand-row--reverse {
        grid-template-columns: minmax(0, 54%) minmax(0, 1fr);
        gap: 48px;
    }

    .brand-row--reverse {
        grid-template-columns: minmax(0, 1fr) minmax(0, 54%);
    }

    .brand-img {
        height: auto;
        aspect-ratio: 700 / 480;
    }

    .brand-heading {
        font-size: 32px;
    }

    .brand-desc {
        margin-top: 28px;
        font-size: 18px;
    }

    .brand-num {
        font-size: 150px;
        top: -100px;
    }

    .brand-num--2 {
        bottom: -110px;
        left: 40%;
    }

    .gallery-swiper .gallery-slide {
        width: 72vw;
    }

    .gallery-nav--prev {
        left: max(16px, calc(14vw - 100px));
    }

    .gallery-nav--next {
        right: max(16px, calc(14vw - 100px));
    }

    .why-big {
        gap: 24px;
    }

    .why-big-text {
        font-size: 7.5vw;
    }

    .why-big-img {
        width: 18vw;
        height: auto;
        aspect-ratio: 310 / 335;
    }

    .why-desc,
    .pf-copy,
    .support-banner-text {
        font-size: 24px;
    }

    .point-card-title,
    .svc-name,
    .to-card-name,
    .to-stat-value,
    .gallery-caption-title,
    .event-card-title,
    .process-name,
    .ceo-quote {
        font-size: 26px;
    }

    .svc-item {
        width: calc((100% - 60px) / 4);
    }

    .svc-img {
        height: auto;
        aspect-ratio: 310 / 213;
    }

    .to-card-img {
        height: auto;
        aspect-ratio: 420 / 300;
    }

    .ceo-inner {
        grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    }

    .ceo-text {
        padding-top: 80px;
    }

    .ceo-visual {
        height: auto;
        aspect-ratio: 715 / 960;
    }

    .ceo-photo {
        width: 72%;
        height: auto;
        aspect-ratio: 514 / 661;
    }

    .ceo-quote-mark {
        font-size: 72px;
    }

    .ceo-quote-mark--open {
        top: 9%;
    }

    .ceo-quote {
        top: 16%;
    }

    .ceo-quote-mark--close {
        top: 27%;
    }

    .event-side {
        width: 28vw;
    }

    .event-inner {
        width: 68%;
    }

    .event-card {
        padding: 28px;
    }

    .process-num {
        width: 96px;
        height: 96px;
        font-size: 32px;
    }

    .process-steps::before {
        top: 48px;
        left: 80px;
        right: 80px;
    }
}

/* ==========================================================================
   작은 태블릿 (≤1023)
   ========================================================================== */
@media all and (max-width: 1023px) {
    .brand,
    .gallery,
    .portfolio,
    .why,
    .services,
    .turnover,
    .partners,
    .ceo,
    .event,
    .process,
    .contact {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .brand .sec-tit,
    .gallery .sec-tit,
    .portfolio .sec-tit,
    .why .sec-tit,
    .services .sec-tit,
    .partners .sec-tit,
    .process .sec-tit {
        margin-bottom: 48px;
    }

    .sec-title,
    .support-title {
        font-size: 36px;
    }

    .brand-row,
    .brand-row--reverse {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .brand-row--reverse .brand-img {
        order: -1;
    }

    .brand-text {
        max-width: none;
    }

    .brand-num {
        top: -60px;
        font-size: 120px;
    }

    .brand-num--2 {
        top: -60px;
        bottom: auto;
        left: auto;
        right: 0;
    }

    .why-cards,
    .to-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .point-card {
        min-height: 100px;
    }

    .to-card-head {
        padding: 10px 16px;
    }

    .to-card-pcs {
        font-size: 16px;
    }

    .support-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-banner {
        min-height: 280px;
        padding: 36px;
    }

    .partner-grid {
        gap: 12px;
    }

    .partner-card {
        border-radius: 20px;
    }

    .ceo-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .ceo-text {
        padding: 0;
    }

    .ceo-history {
        margin-top: 40px;
    }

    .ceo-visual {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .event {
        padding-top: 0;
    }

    .event-side {
        position: static;
        display: block;
        width: 100%;
        height: 260px;
        margin-bottom: 48px;
    }

    .event-inner {
        width: 100%;
    }

    .event-grid {
        margin-top: 40px;
    }

    .event-cta {
        margin-top: 40px;
    }

    .process-steps {
        padding: 0;
    }

    .process-steps::before {
        left: 48px;
        right: 48px;
    }

    .process-num {
        width: 80px;
        height: 80px;
        font-size: 26px;
    }

    .process-steps::before {
        top: 40px;
    }

    .process-name {
        font-size: 20px;
    }

    .process-desc {
        font-size: 15px;
    }

    .contact-card {
        margin-top: 48px;
        padding: 32px;
    }

    .contact-input,
    .contact-select,
    .contact-textarea {
        height: 60px;
        font-size: 17px;
    }

    .contact-textarea {
        height: 140px;
    }

    .btn-pill.contact-submit,
    .event-cta .btn-pill {
        height: 60px;
        padding: 0 28px;
        font-size: 20px;
    }
}

/* ==========================================================================
   모바일 (≤767)
   ========================================================================== */
@media all and (max-width: 767px) {
    .hero-image {
        aspect-ratio: 375 / 490;
        max-height: none;
    }

    .brand,
    .gallery,
    .portfolio,
    .why,
    .services,
    .turnover,
    .partners,
    .ceo,
    .event,
    .process,
    .contact {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .support {
        padding: 40px 0 60px;
    }

    .brand .sec-tit,
    .gallery .sec-tit,
    .portfolio .sec-tit,
    .why .sec-tit,
    .services .sec-tit,
    .partners .sec-tit,
    .process .sec-tit {
        margin-bottom: 32px;
    }

    .sec-tit {
        gap: 6px;
    }

    .sec-label {
        font-size: 16px;
    }

    .sec-title,
    .support-title {
        font-size: 28px;
    }

    .sec-desc {
        font-size: 15px;
    }

    /* brand */
    .brand-row {
        gap: 24px;
    }

    .brand-row + .brand-row {
        margin-top: 48px;
    }

    .brand-img {
        border-radius: 16px;
    }

    .brand-label {
        font-size: 15px;
    }

    .brand-heading {
        margin-top: 6px;
        font-size: 24px;
    }

    .brand-desc {
        margin-top: 16px;
        font-size: 15px;
    }

    .brand-desc br {
        display: none;
    }

    .brand-num,
    .brand-num--2 {
        top: -40px;
        font-size: 80px;
    }

    /* gallery */
    .gallery-swiper .gallery-slide {
        width: calc(100vw - 32px);
        transform: scale(0.92) translateZ(0);
    }

    .gallery-slide-img,
    .gallery-slide::after {
        border-radius: 16px;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
        margin-top: -22px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .gallery-nav svg {
        width: 44px;
        height: 44px;
    }

    .gallery-nav--prev {
        left: 8px;
    }

    .gallery-nav--next {
        right: 8px;
    }

    .gallery-caption {
        gap: 6px;
        min-height: 0;
        margin-top: 24px;
    }

    .gallery-caption-title {
        font-size: 22px;
    }

    .gallery-caption-desc {
        font-size: 15px;
    }

    /* portfolio */
    .pf-track {
        gap: 12px;
    }

    .pf-item {
        width: 240px;
        height: 180px;
    }

    .pf-row {
        animation-duration: 45s;
    }

    .pf-row--rev {
        animation-duration: 52s;
    }

    .pf-copy {
        margin-top: 32px;
        font-size: 18px;
    }

    /* why */
    .why-big {
        gap: 8px;
    }

    .why-big-text {
        font-size: 7vw;
    }

    .why-big-img {
        width: 20vw;
    }

    .why-desc {
        margin-top: 28px;
        font-size: 16px;
    }

    .why-desc br {
        display: none;
    }

    .why-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 32px;
    }

    .point-card {
        min-height: 88px;
        border-radius: 14px;
    }

    .point-card-label {
        font-size: 14px;
    }

    .point-card-title {
        font-size: 22px;
    }

    /* services — 3+4 두 줄을 하나의 2열 그리드로 합친다 */
    .svc-rows {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .svc-row {
        display: contents;
    }

    .svc-item {
        width: auto;
    }

    .svc-img {
        border-radius: 10px;
    }

    .svc-name {
        margin-top: 12px;
        font-size: 20px;
    }

    .svc-desc {
        font-size: 14px;
    }

    .services-pattern {
        height: 160px;
    }

    /* turnover */
    .turnover-head {
        gap: 12px;
    }

    .turnover-laurel {
        width: 40px;
        height: 78px;
    }

    .to-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
        margin-top: 56px;
    }

    .to-crown {
        top: -26px;
        left: 20px;
        width: 56px;
        height: 26px;
    }

    .to-card-name {
        font-size: 24px;
    }

    .to-card-pcs {
        font-size: 16px;
    }

    .to-stat-label {
        font-size: 16px;
    }

    .to-stat-value {
        font-size: 24px;
    }

    /* support */
    .support-line {
        height: 60px;
    }

    .support-title {
        margin-top: 16px;
    }

    .support-grid {
        gap: 12px;
        margin-top: 32px;
    }

    .support-banner {
        min-height: 0;
        padding: 28px 24px;
        border-radius: 14px;
    }

    .support-banner-text {
        font-size: 18px;
    }

    .support-cards {
        gap: 12px;
    }

    /* partners */
    .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* ceo */
    .ceo-inner {
        gap: 40px;
    }

    .ceo-history li {
        padding: 12px 0;
        font-size: 15px;
    }

    .ceo-history li::before {
        top: 20px;
    }

    .ceo-history::before {
        top: 24px;
        bottom: 24px;
    }

    .ceo-quote-mark {
        font-size: 48px;
    }

    .ceo-quote {
        padding: 0 16px;
        font-size: 18px;
    }

    .ceo-photo {
        width: 78%;
    }

    /* event */
    .event-side {
        height: 200px;
        margin-bottom: 32px;
    }

    .event-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 32px;
    }

    .event-card {
        min-height: 0;
        padding: 22px 24px;
        border-radius: 14px;
    }

    .event-card-title {
        font-size: 22px;
    }

    .event-card-sub {
        font-size: 15px;
    }

    .event-card-num {
        right: 16px;
        bottom: -22px;
        font-size: 64px;
    }

    .event-cta {
        margin-top: 24px;
    }

    .event-cta .btn-pill {
        width: 100%;
        height: 56px;
        font-size: 18px;
    }

    /* process — 세로 타임라인 (MO 시안) */
    .process-steps {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .process-steps::before {
        top: 35px;
        bottom: 35px;
        left: 35px;
        right: auto;
        width: 1px;
        height: auto;
        background-image: linear-gradient(180deg, var(--c-sub1) 0%, var(--c-sub3) 100%);
    }

    .process-step {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .process-num {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        font-size: 24px;
    }

    .process-text {
        margin-top: 0;
    }

    .process-name {
        font-size: 24px;
    }

    .process-desc {
        font-size: 16px;
    }

    /* contact */
    .contact {
        padding-bottom: 80px;
    }

    .contact-card {
        margin-top: 32px;
        padding: 24px 16px;
        border-radius: 20px;
    }

    .contact-form,
    .contact-row {
        gap: 12px;
    }

    .contact-row--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-input,
    .contact-select,
    .contact-textarea {
        height: 56px;
        padding: 0 16px;
        font-size: 16px;
        border-radius: 8px;
    }

    .contact-select {
        padding-right: 44px;
        background-position: right 14px center;
        background-size: 20px 20px;
    }

    .contact-textarea {
        height: 140px;
        padding: 16px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 4px;
    }

    .contact-agree {
        font-size: 13px;
    }

    .btn-pill.contact-submit {
        width: 100%;
        height: 56px;
        font-size: 18px;
    }
}

/* ==========================================================================
   호버 마이크로 인터랙션 (포인터 장치에서만)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
    .point-card,
    .event-card,
    .partner-card,
    .to-card-inner {
        transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
    }

    .point-card:hover,
    .event-card:hover,
    .partner-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(79, 49, 30, 0.12);
    }

    .to-card:hover .to-card-inner {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(79, 49, 30, 0.16);
    }

    .brand-img,
    .svc-img {
        transition: transform 500ms var(--ease-out);
    }

    .brand-row:hover .brand-img,
    .svc-item:hover .svc-img {
        transform: scale(1.03);
    }

    .process-num {
        transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
    }

    .process-step:hover .process-num {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(209, 94, 49, 0.3);
    }

    .ceo-history li {
        transition: transform 220ms var(--ease-out), color 220ms var(--ease-out);
    }

    .ceo-history li:hover {
        transform: translateX(4px);
        color: var(--c-sub2);
    }

    .btn-pill {
        transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
    }

    .btn-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(209, 94, 49, 0.28);
    }

    .btn-pill--dark:hover {
        box-shadow: 0 10px 22px rgba(79, 49, 30, 0.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    .point-card:hover,
    .event-card:hover,
    .partner-card:hover,
    .to-card:hover .to-card-inner,
    .brand-row:hover .brand-img,
    .svc-item:hover .svc-img,
    .process-step:hover .process-num,
    .ceo-history li:hover,
    .btn-pill:hover {
        transform: none;
    }
}
