/* ============================================================
   한서아그리코 공개 사이트 테마
   siteBase.css (헤더 뼈대 · 게시판 · 약관 · 폼) 위에 얹는다.

   톤 : 샌드 베이지 바탕 + 잉크색 글자 + 로고 레드 포인트.
        영문 큰 제목은 Tenor Sans, 국문은 Pretendard, 인용은 Noto Serif KR.
   새로 만든 화면 조각은 hs- 접두사를 쓴다.
   ============================================================ */

:root {
    --hs-red: #AB3334;
    --hs-red-dark: #8A2627;
    --hs-sand: #E9E2D6;
    --hs-ivory: #F5F1EA;
    --hs-paper: #FBF9F5;
    --hs-ink: #1D1A16;
    --hs-umber: #5E4B3C;
    --hs-gold: #B08D57;
    --hs-line: rgba(29, 26, 22, .12);
    --hs-muted: rgba(29, 26, 22, .58);

    --hs-display: "Tenor Sans", "Pretendard Variable", Pretendard, serif;
    --hs-serif: "Noto Serif KR", serif;
    --hs-ease: cubic-bezier(.22, 1, .36, 1);

    --nt-header-h: 64px;
}

@media (min-width: 1024px) {
    :root {
        --nt-header-h: 84px;
    }
}

body.hs-body {
    background-color: var(--hs-paper);
    color: var(--hs-ink);
    word-break: keep-all;
}

/* 게시판 · 약관 화면 바탕도 같은 종이색으로 */
body.nt-shell {
    background-color: var(--hs-paper);
}

::selection {
    background: var(--hs-red);
    color: #fff;
}

/* ============================================================
   헤더 (plaza 처럼 얇고 조용하게)
   ============================================================ */

.hs-header.nt-header--over.nt-header--scrolled {
    background-color: rgba(29, 26, 22, .55);
}

.hs-header.nt-header--solid {
    background-color: rgba(251, 249, 245, .9);
    box-shadow: 0 1px 0 var(--hs-line);
}

.hs-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: currentColor;
}

.hs-brand__mark {
    width: 34px;
    height: 34px;
}

.hs-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hs-brand__en {
    font-family: var(--hs-display);
    font-size: 15px;
    letter-spacing: .22em;
}

.hs-brand__ko {
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .08em;
    opacity: .7;
}

@media (min-width: 1024px) {
    .hs-brand__mark {
        width: 38px;
        height: 38px;
    }

    .hs-brand__en {
        font-size: 17px;
    }
}

.hs-header .nt-nav-link {
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    opacity: .88;
}

.hs-header .nt-nav-item::after {
    left: 20px;
    right: 20px;
    bottom: 22px;
    height: 1px;
}

.hs-header .nt-nav-item.is-current::after {
    transform: scaleX(1);
}

/* 드롭다운 : 둥근 카드 대신 각진 종이 한 장 */
.hs-header .nt-dropdown {
    left: 50%;
    min-width: 200px;
    padding-top: 0;
    transform: translate(-50%, -6px);
}

.hs-header .nt-nav-item:hover > .nt-dropdown,
.hs-header .nt-nav-item:focus-within > .nt-dropdown {
    transform: translate(-50%, 0);
}

.hs-header .nt-dropdown__inner {
    border-radius: 0;
    padding: 14px 8px;
    background: var(--hs-paper);
    box-shadow: 0 24px 48px rgba(29, 26, 22, .14);
}

.hs-header .nt-dropdown__head,
.hs-header .nt-dropdown__sub {
    border-radius: 0;
    font-weight: 500;
    text-align: center;
}

.hs-header a.nt-dropdown__head:hover,
.hs-header .nt-dropdown__sub:hover {
    background: transparent;
    color: var(--hs-red);
}

.hs-util {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 4px;
    font-family: var(--hs-display);
    font-size: 12px;
    letter-spacing: .18em;
    color: currentColor;
    opacity: .75;
    transition: opacity .2s ease;
}

.hs-util:hover {
    opacity: 1;
}

/* 언어 고르기 (헤더). 지금 언어만 작게 보이고, 올리거나 누르면 아래로 목록이 펼쳐진다. */
.hs-lang {
    position: relative;
    align-items: center;
    padding-right: 10px;
    margin-right: 2px;
    border-right: 1px solid currentColor;
    border-right-color: color-mix(in srgb, currentColor 25%, transparent);
}

.hs-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 5px;
    font-size: 12px;
    letter-spacing: .06em;
    color: currentColor;
    opacity: .75;
    background: none;
    border: 0;
    cursor: pointer;
    transition: opacity .2s ease;
}

.hs-lang:hover .hs-lang__toggle,
.hs-lang:focus-within .hs-lang__toggle {
    opacity: 1;
}

.hs-lang__caret {
    transition: transform .2s ease;
}

.hs-lang:hover .hs-lang__caret,
.hs-lang:focus-within .hs-lang__caret {
    transform: rotate(180deg);
}

.hs-lang__menu {
    position: absolute;
    top: 100%;
    right: 4px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    min-width: 132px;
    padding: 8px 0;
    background: var(--hs-paper, #fff);
    color: var(--hs-ink, #1D1A16);
    box-shadow: 0 24px 48px rgba(29, 26, 22, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* 단추와 목록 사이 틈에서 마우스가 빠져도 닫히지 않게 */
.hs-lang__menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 10px;
}

.hs-lang:hover .hs-lang__menu,
.hs-lang:focus-within .hs-lang__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hs-lang__menu .hs-lang__link {
    display: block;
    padding: 9px 20px;
    font-size: 13px;
    white-space: nowrap;
    color: inherit;
    opacity: .7;
    transition: opacity .2s ease, color .2s ease;
}

.hs-lang__menu .hs-lang__link:hover {
    opacity: 1;
    color: var(--hs-red, #B3282D);
}

.hs-lang__menu .hs-lang__link.is-on {
    opacity: 1;
    font-weight: 700;
}

/* 모바일 전체 메뉴 : 한 줄을 누르면 그 아래로 목록이 펼쳐진다 */
.hs-lang-m {
    border: 1px solid rgba(29, 26, 22, .2);
    color: var(--hs-ink, #1D1A16);
}

.hs-lang-m__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.hs-lang-m__toggle::-webkit-details-marker {
    display: none;
}

.hs-lang-m__now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    opacity: .7;
}

.hs-lang-m[open] .hs-lang__caret {
    transform: rotate(180deg);
}

.hs-lang-m__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(29, 26, 22, .12);
}

.hs-lang-m__list .hs-lang__link {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: inherit;
}

.hs-lang-m__list .hs-lang__link + .hs-lang__link {
    border-top: 1px solid rgba(29, 26, 22, .08);
}

.hs-lang-m__list .hs-lang__link.is-on {
    font-weight: 700;
    background-color: var(--hs-ink, #1D1A16);
    color: #fff;
}

.nt-mobile__panel {
    background: var(--hs-paper);
}

.nt-mobile__link {
    font-weight: 600;
}

.nt-mobile__sublink {
    border-radius: 0;
    background-color: rgba(29, 26, 22, .035);
}

/* ============================================================
   공통 글꼴 조각
   ============================================================ */

.hs-kicker {
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--hs-red);
}

.hs-display {
    font-family: var(--hs-display);
    font-size: clamp(40px, 7vw, 104px);
    line-height: 1.04;
    letter-spacing: -.01em;
    color: var(--hs-ink);
}

.hs-display--md {
    font-size: clamp(36px, 5vw, 72px);
}

.hs-heading {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--hs-ink);
}

.hs-bignum {
    font-family: var(--hs-display);
    font-size: clamp(96px, 16vw, 220px);
    line-height: .8;
    color: var(--hs-red);
}

/* 밑줄이 따라오는 글자 링크 */
.hs-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hs-ink);
}

.hs-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform-origin: left;
    transition: transform .4s var(--hs-ease);
}

.hs-link::before {
    content: "→";
    order: 2;
    transition: transform .3s var(--hs-ease);
}

.hs-link:hover::before,
a:hover .hs-link::before {
    transform: translateX(4px);
}

.hs-link:hover::after,
a:hover .hs-link::after {
    transform: scaleX(.4);
}

.hs-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(171, 51, 52, .35);
    font-size: 12px;
    font-weight: 600;
    color: var(--hs-red);
    white-space: nowrap;
}

/* 사진 틀 : 안쪽 사진이 data-hs-parallax 로 살짝 움직일 여유를 둔다 */
.hs-frame {
    position: relative;
    overflow: hidden;
    background: var(--hs-sand);
    aspect-ratio: 4 / 3;
}

.hs-frame--wide {
    aspect-ratio: 16 / 9;
}

.hs-frame img {
    position: absolute;
    inset: -6% 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    transform: scale(1.08);
    will-change: transform;
}

/* ============================================================
   메인 비주얼
   ============================================================ */

.hs-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
    background: var(--hs-ink);
    color: #fff;
}

.hs-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s ease;
}

.hs-hero__slide[data-active="true"] {
    opacity: 1;
}

.hs-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    transition: transform calc(var(--hs-slide-ms, 6500ms) + 2000ms) linear;
}

/* 지금 장면만 천천히 다가온다 */
.hs-hero__slide[data-active="true"] img {
    transform: scale(1.02);
}

.hs-hero__slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(29, 26, 22, .55) 0%, rgba(29, 26, 22, .1) 30%, rgba(29, 26, 22, .2) 60%, rgba(29, 26, 22, .7) 100%),
        radial-gradient(ellipse at 50% 55%, rgba(29, 26, 22, .35), transparent 70%);
}

.hs-hero__copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--nt-header-h);
}

.hs-hero__kicker {
    font-family: var(--hs-display);
    font-size: 12px;
    letter-spacing: .32em;
    opacity: .85;
    animation: hsRise 1.2s var(--hs-ease) .2s both;
}

.hs-hero__title {
    margin-top: 24px;
    font-family: var(--hs-display);
    font-weight: 400;
    font-size: clamp(48px, 9vw, 132px);
    line-height: 1;
    letter-spacing: -.01em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
    animation: hsRise 1.4s var(--hs-ease) .35s both;
}

.hs-hero__title span {
    font-style: italic;
    color: #E7DAD3;
}

.hs-hero__sub {
    margin-top: 28px;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .02em;
    opacity: .92;
    animation: hsRise 1.4s var(--hs-ease) .55s both;
}

@keyframes hsRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hs-hero__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.hs-hero__count {
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .12em;
}

.hs-hero__count b {
    font-weight: 400;
    font-size: 15px;
}

.hs-hero__count span {
    opacity: .6;
}

.hs-hero__bars {
    display: flex;
    gap: 8px;
}

.hs-hero__bar {
    position: relative;
    width: 44px;
    height: 20px;
    cursor: pointer;
}

.hs-hero__bar::before,
.hs-hero__bar i {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, .35);
}

.hs-hero__bar i {
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}

.hs-hero__bar[data-active="true"] i {
    transform: scaleX(1);
}

.hs-hero__bar.is-running i {
    animation: hsBar var(--hs-slide-ms, 6500ms) linear both;
}

@keyframes hsBar {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.hs-hero__scroll {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--hs-display);
    font-size: 11px;
    letter-spacing: .3em;
    color: #fff;
    opacity: .8;
}

.hs-hero__scroll i {
    position: relative;
    display: block;
    width: 1px;
    height: 44px;
    overflow: hidden;
    background: rgba(255, 255, 255, .25);
}

.hs-hero__scroll i::after {
    content: "";
    position: absolute;
    left: 0;
    top: -50%;
    width: 1px;
    height: 50%;
    background: #fff;
    animation: hsDrop 2s var(--hs-ease) infinite;
}

@keyframes hsDrop {
    from {
        top: -50%;
    }
    to {
        top: 100%;
    }
}

/* ============================================================
   메인 : 브랜드 이야기
   ============================================================ */

.hs-story {
    background: var(--hs-sand);
    padding: 120px 0 120px;
}

@media (min-width: 1024px) {
    .hs-story {
        padding: 180px 0 160px;
    }
}

.hs-story__text {
    font-size: 15.5px;
    line-height: 2;
    color: var(--hs-umber);
}

.hs-story__text p + p {
    margin-top: 18px;
}

.hs-story__text .hs-link {
    margin-top: 32px;
}

.hs-story__media {
    margin-top: 80px;
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .hs-story__media {
        grid-template-columns: 1.4fr 1fr;
        align-items: end;
        margin-top: 120px;
    }

    .hs-story__media .hs-frame:last-child {
        margin-bottom: -80px;
    }
}

/* ============================================================
   메인 : 사업영역 네 폭 (plaza 레스토랑 패널)
   ============================================================ */

.hs-panels {
    display: flex;
    flex-direction: column;
    background: var(--hs-ink);
}

.hs-panel {
    position: relative;
    display: block;
    height: 72vh;
    min-height: 420px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.hs-panel + .hs-panel {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.hs-panel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.04);
    transition: transform 1.4s var(--hs-ease), filter .6s ease;
    filter: saturate(.85);
}

.hs-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(29, 26, 22, .25) 0%, rgba(29, 26, 22, .15) 40%, rgba(29, 26, 22, .82) 100%);
    transition: background-color .6s ease;
}

.hs-panel__no {
    position: absolute;
    top: calc(var(--nt-header-h) + 8px);
    left: 28px;
    font-family: var(--hs-display);
    font-size: 14px;
    letter-spacing: .2em;
    opacity: .8;
}

.hs-panel__body {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
}

.hs-panel__en {
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .75;
}

.hs-panel__title {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.hs-panel__desc {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .8);
    max-width: 34ch;
}

.hs-panel__more {
    margin-top: 22px;
    font-family: var(--hs-display);
    font-size: 11px;
    letter-spacing: .28em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hs-panel__more::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: width .4s var(--hs-ease);
}

.hs-panel:hover .hs-panel__img {
    transform: scale(1.1);
    filter: saturate(1);
}

.hs-panel:hover .hs-panel__more::after {
    width: 48px;
}

/* 넓은 화면 : 네 폭을 나란히 세우고, 올린 폭이 넓어지며 설명이 드러난다 */
@media (min-width: 1024px) {
    .hs-panels {
        flex-direction: row;
        height: 100vh;
        min-height: 680px;
    }

    .hs-panel {
        flex: 1 1 0;
        height: auto;
        min-height: 0;
        transition: flex-grow .9s var(--hs-ease);
    }

    .hs-panel + .hs-panel {
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, .14);
    }

    .hs-panels:hover .hs-panel {
        flex-grow: .8;
    }

    .hs-panels .hs-panel:hover {
        flex-grow: 1.7;
    }

    .hs-panel__no {
        left: 36px;
        top: calc(var(--nt-header-h) + 24px);
    }

    .hs-panel__body {
        left: 36px;
        right: 36px;
        bottom: 56px;
        align-items: center;
        text-align: center;
        transition: left .9s var(--hs-ease), right .9s var(--hs-ease);
    }

    .hs-panel__title {
        font-size: 24px;
    }

    .hs-panel__desc,
    .hs-panel__more {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .5s ease, transform .6s var(--hs-ease);
    }

    .hs-panel__desc {
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
    }

    .hs-panel:hover .hs-panel__desc,
    .hs-panel:focus-visible .hs-panel__desc {
        max-height: 120px;
        margin-top: 16px;
    }

    .hs-panel:hover .hs-panel__desc,
    .hs-panel:hover .hs-panel__more,
    .hs-panel:focus-visible .hs-panel__desc,
    .hs-panel:focus-visible .hs-panel__more {
        opacity: 1;
        transform: translateY(0);
        transition-delay: .15s;
    }
}

/* ============================================================
   메인 : 사업실적
   ============================================================ */

.hs-record {
    background: var(--hs-paper);
    padding: 120px 0;
}

@media (min-width: 1024px) {
    .hs-record {
        padding: 180px 0;
    }
}

.hs-stats {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--hs-line);
}

.hs-stats > div {
    padding-top: 22px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 10px;
}

.hs-stats > div + div {
    padding-left: 18px;
    border-left: 1px solid var(--hs-line);
}

.hs-stats dt {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--hs-muted);
}

.hs-stats__num {
    font-family: var(--hs-display);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1;
    color: var(--hs-ink);
}

.hs-record__list li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
    border-bottom: 1px solid var(--hs-line);
}

.hs-record__list .hs-tag {
    justify-self: start;
}

.hs-record__list b {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--hs-ink);
}

.hs-record__list em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 13px;
    color: var(--hs-muted);
}

@media (min-width: 640px) {
    .hs-record__list li {
        grid-template-columns: 140px 1fr;
        align-items: start;
    }
}

/* ============================================================
   메인 : 공지사항 · 상담문의
   ============================================================ */

.hs-notice {
    background: var(--hs-ivory);
    padding: 120px 0;
}

@media (min-width: 1024px) {
    .hs-notice {
        padding: 160px 0;
    }
}

.hs-news {
    margin-top: 36px;
    border-top: 1px solid var(--hs-ink);
}

.hs-news__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 20px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--hs-line);
    transition: background-color .3s ease, padding .4s var(--hs-ease);
}

.hs-news__date {
    grid-column: 1 / -1;
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--hs-muted);
}

.hs-news__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hs-news__tag {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--hs-red);
}

.hs-news__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
}

.hs-news__arrow {
    color: var(--hs-muted);
    transition: transform .3s var(--hs-ease), color .3s ease;
}

.hs-news__row:hover {
    background: rgba(255, 255, 255, .6);
    padding-left: 16px;
    padding-right: 16px;
}

.hs-news__row:hover .hs-news__title {
    color: var(--hs-red);
}

.hs-news__row:hover .hs-news__arrow {
    transform: translateX(4px);
    color: var(--hs-red);
}

.hs-news__empty {
    padding: 48px 4px;
    font-size: 14px;
    color: var(--hs-muted);
    border-bottom: 1px solid var(--hs-line);
}

@media (min-width: 768px) {
    .hs-news__row {
        grid-template-columns: 120px 1fr auto;
    }

    .hs-news__date {
        grid-column: auto;
    }
}

.hs-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    padding: 40px;
    overflow: hidden;
    background: var(--hs-ink);
    color: #fff;
}

.hs-contact::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02);
}

.hs-contact__kicker {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--hs-display);
    font-size: 12px;
    letter-spacing: .28em;
    color: var(--hs-gold);
}

.hs-contact__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.02em;
}

.hs-contact__tel {
    margin-top: 24px;
    font-family: var(--hs-display);
    font-size: clamp(34px, 3.4vw, 46px);
    line-height: 1;
    letter-spacing: .02em;
    transition: color .3s ease;
}

.hs-contact__tel:hover {
    color: #E7B5B0;
}

.hs-contact__meta {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.hs-contact__mail {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, .3);
}

/* ============================================================
   메인 : 바로가기
   ============================================================ */

.hs-quick {
    background: var(--hs-ivory);
    padding: 0 0 120px;
}

@media (min-width: 1024px) {
    .hs-quick {
        padding-bottom: 160px;
    }
}

.hs-quick__item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 36px;
    background: var(--hs-ivory);
    overflow: hidden;
    isolation: isolate;
    transition: color .45s ease;
}

.hs-quick__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--hs-red);
    transform: translateY(101%);
    transition: transform .6s var(--hs-ease);
}

.hs-quick__item:hover {
    color: #fff;
}

.hs-quick__item:hover::before {
    transform: translateY(0);
}

.hs-quick__en {
    font-family: var(--hs-display);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    opacity: .6;
}

.hs-quick__title {
    margin-top: auto;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.hs-quick__desc {
    margin-top: 8px;
    font-size: 14px;
    opacity: .7;
}

.hs-quick__arrow {
    position: absolute;
    top: 32px;
    right: 36px;
    font-size: 20px;
    transition: transform .4s var(--hs-ease);
}

.hs-quick__item:hover .hs-quick__arrow {
    transform: translate(4px, -4px);
}

/* ============================================================
   하위 화면 공통 : 사진 띠 · 이동 탭 · 본문
   ============================================================ */

.hs-subhero {
    position: relative;
    height: 62vh;
    min-height: 420px;
    max-height: 640px;
    overflow: hidden;
    background: var(--hs-ink);
    color: #fff;
}

.hs-subhero__media {
    position: absolute;
    inset: 0;
}

.hs-subhero__media img {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    transform: scale(1.08);
}

.hs-subhero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 26, 22, .6) 0%, rgba(29, 26, 22, .25) 45%, rgba(29, 26, 22, .7) 100%);
}

.hs-subhero__body {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 56px;
}

.hs-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--hs-display);
    font-size: 12px;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .7);
}

.hs-crumb a:hover {
    color: #fff;
}

.hs-subhero__en {
    margin-top: 28px;
    font-family: var(--hs-display);
    font-size: clamp(44px, 7vw, 96px);
    line-height: 1;
    animation: hsRise 1.2s var(--hs-ease) .1s both;
}

.hs-subhero__title {
    margin-top: 16px;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 500;
    letter-spacing: -.01em;
    opacity: .9;
    animation: hsRise 1.2s var(--hs-ease) .25s both;
}

.hs-lnb {
    position: sticky;
    top: var(--nt-header-h);
    z-index: 40;
    background: rgba(251, 249, 245, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hs-line);
}

.hs-lnb__list {
    position: relative; /* site.js initTabStrip 이 탭 위치(offsetLeft)를 이 띠 기준으로 잰다 */
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hs-lnb__list::-webkit-scrollbar {
    display: none;
}

.hs-lnb__link {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--hs-muted);
    white-space: nowrap;
    transition: color .2s ease;
}

.hs-lnb__link:hover {
    color: var(--hs-ink);
}

.hs-lnb__link.is-on {
    color: var(--hs-ink);
    font-weight: 700;
}

.hs-lnb__link.is-on::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    background: var(--hs-red);
}

.hs-page {
    padding: 96px 0 140px;
}

/*
  hs-page 는 nt-grow(세로 flex)라 그 안의 mx-auto 컨테이너가 늘어나기를 포기하고 내용 폭으로 줄어든다.
  사업실적처럼 글이 짧은 화면에서 표가 가운데 좁게 뭉쳤다. 너비는 여기서 채우고 가운데 정렬은 max-width 가 맡는다.
*/
.hs-page > * {
    width: 100%;
}

@media (min-width: 1024px) {
    .hs-page {
        padding: 140px 0 180px;
    }
}

.hs-prose {
    font-size: 16.5px;
    line-height: 2;
    color: var(--hs-umber);
}

.hs-prose p + p {
    margin-top: 22px;
}

.hs-sign {
    margin-top: 40px !important;
    color: var(--hs-ink);
    font-size: 15px;
}

.hs-sign b {
    margin-left: 10px;
    font-family: var(--hs-serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .1em;
}

.hs-quote {
    font-family: var(--hs-serif);
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.6;
    color: var(--hs-ink);
}

.hs-quote em {
    font-style: normal;
    color: var(--hs-red);
}

.hs-keyword {
    position: relative;
    padding: 48px 40px;
    background: var(--hs-paper);
}

.hs-keyword__no {
    position: absolute;
    top: 44px;
    right: 40px;
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .2em;
    color: var(--hs-muted);
}

.hs-keyword__en {
    font-family: var(--hs-display);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
}

.hs-keyword__ko {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hs-red);
}

.hs-keyword__desc {
    margin-top: 28px;
    max-width: 40ch;
    font-size: 15px;
    line-height: 1.85;
    color: var(--hs-umber);
}

.hs-portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 226 / 256;
    background: var(--hs-sand);
}

.hs-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.25);
}

.hs-list-title {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hs-ink);
    font-size: 15px;
    font-weight: 700;
}

.hs-list li {
    position: relative;
    padding: 14px 0 14px 16px;
    border-bottom: 1px solid var(--hs-line);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--hs-umber);
}

.hs-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    width: 5px;
    height: 1px;
    background: var(--hs-red);
}

.hs-list li b {
    margin-right: 8px;
    font-weight: 600;
    color: var(--hs-ink);
}

.hs-list--lg li {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
}

.hs-list--lg li::before {
    top: 35px;
}

/* --- 연혁 --- */

.hs-timeline {
    position: relative;
    margin-top: 96px;
}

.hs-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: var(--hs-line);
}

.hs-timeline__year {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 0 0 64px 32px;
}

.hs-timeline__year::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 18px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--hs-paper);
    border: 1px solid var(--hs-red);
}

.hs-timeline__label {
    font-family: var(--hs-display);
    font-size: clamp(44px, 6vw, 80px);
    line-height: 1;
    color: var(--hs-ink);
}

.hs-timeline__year ul li {
    padding: 14px 0;
    border-bottom: 1px solid var(--hs-line);
    font-size: 16px;
    color: var(--hs-umber);
}

.hs-timeline__year ul li b {
    display: inline-block;
    width: 56px;
    font-weight: 600;
    color: var(--hs-red);
}

@media (min-width: 1024px) {
    .hs-timeline::before {
        left: calc(38% - 1px);
    }

    .hs-timeline__year {
        grid-template-columns: 38% 1fr;
        gap: 0;
        padding: 0 0 80px;
    }

    .hs-timeline__year::before {
        left: calc(38% - 5px);
        top: 30px;
    }

    .hs-timeline__label {
        padding-right: 64px;
        text-align: right;
    }

    .hs-timeline__year ul {
        padding-left: 64px;
        padding-top: 12px;
    }
}

.hs-vision {
    display: grid;
    gap: 40px;
    margin-top: 40px;
    padding-top: 80px;
    border-top: 1px solid var(--hs-line);
}

@media (min-width: 1024px) {
    .hs-vision {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }
}

/* --- 조직도 --- */

.hs-org__top {
    display: grid;
    gap: 24px;
    justify-items: center;
}

.hs-org__ceo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--hs-red);
    color: #fff;
}

.hs-org__ceo span {
    font-family: var(--hs-display);
    font-size: 12px;
    letter-spacing: .3em;
    opacity: .75;
}

.hs-org__ceo b {
    margin-top: 6px;
    font-size: 20px;
    font-weight: 600;
}

.hs-org__advisor {
    width: 100%;
    max-width: 520px;
    padding: 24px 28px;
    border: 1px solid var(--hs-line);
    background: var(--hs-ivory);
    font-size: 14px;
    line-height: 1.8;
    color: var(--hs-umber);
}

.hs-org__advisor-title {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--hs-ink);
}

.hs-org__teams {
    position: relative;
    margin-top: 56px;
    display: grid;
    gap: 16px;
}

.hs-org__teams li {
    position: relative;
    padding: 32px 28px;
    background: var(--hs-paper);
    border: 1px solid var(--hs-line);
    border-top: 2px solid var(--hs-ink);
    transition: border-color .3s ease, transform .4s var(--hs-ease);
}

.hs-org__teams li:hover {
    border-top-color: var(--hs-red);
    transform: translateY(-4px);
}

.hs-org__team {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.hs-org__role {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--hs-umber);
}

.hs-org__note {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--hs-muted);
}

@media (min-width: 768px) {
    .hs-org__top {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .hs-org__ceo {
        grid-column: 2;
    }

    .hs-org__advisor {
        grid-column: 3;
        justify-self: start;
        position: relative;
    }

    .hs-org__advisor::before {
        content: "";
        position: absolute;
        right: 100%;
        top: 50%;
        width: 24px;
        height: 1px;
        background: var(--hs-ink);
    }

    .hs-org__teams {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 48px;
    }

    /* 대표이사에서 팀으로 내려오는 선 */
    .hs-org__teams::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -56px;
        width: 1px;
        height: 80px;
        background: var(--hs-ink);
    }

    .hs-org__teams::after {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        top: 24px;
        height: 1px;
        background: var(--hs-ink);
    }
}

@media (min-width: 1280px) {
    .hs-org__teams {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* --- 찾아오시는 길 --- */

.hs-branch {
    display: grid;
    gap: 32px;
}

@media (min-width: 1024px) {
    .hs-branch {
        grid-template-columns: 1fr 1.6fr;
        gap: 80px;
        align-items: start;
    }
}

.hs-branch__en {
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--hs-red);
}

.hs-branch__name {
    margin-top: 12px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -.03em;
}

.hs-branch__dl {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 64px 1fr;
    border-top: 1px solid var(--hs-ink);
}

.hs-branch__dl dt,
.hs-branch__dl dd {
    padding: 16px 0;
    border-bottom: 1px solid var(--hs-line);
    font-size: 15px;
    line-height: 1.7;
}

.hs-branch__dl dt {
    font-weight: 600;
}

.hs-branch__dl dd {
    color: var(--hs-umber);
}

.hs-branch__map {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--hs-sand);
    overflow: hidden;
}

.hs-branch__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.6) contrast(1.05);
    transition: filter .5s ease;
}

.hs-branch__map:hover iframe {
    filter: none;
}

/* --- 사업영역 --- */

.hs-biz-rows {
    margin-top: 96px;
    display: grid;
    gap: 96px;
}

.hs-biz-row {
    display: grid;
    gap: 32px;
}

.hs-biz-row .hs-frame img {
    transition: filter .6s ease;
    filter: saturate(.85);
}

.hs-biz-row:hover .hs-frame img {
    filter: saturate(1.05);
}

.hs-biz-row__no {
    font-family: var(--hs-display);
    font-size: 14px;
    letter-spacing: .2em;
    color: var(--hs-red);
}

.hs-biz-row__en {
    margin-top: 18px;
    font-family: var(--hs-display);
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.05;
}

.hs-biz-row__title {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.hs-biz-row__desc {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--hs-umber);
}

.hs-biz-row__programs {
    margin: 24px 0 32px;
    border-top: 1px solid var(--hs-line);
}

.hs-biz-row__programs li {
    padding: 12px 0;
    border-bottom: 1px solid var(--hs-line);
    font-size: 14px;
    color: var(--hs-muted);
}

@media (min-width: 1024px) {
    .hs-biz-row {
        grid-template-columns: 1.2fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .hs-biz-row--flip .hs-frame {
        order: 2;
    }
}

.hs-programs {
    margin-top: 96px;
    display: grid;
    gap: 72px;
}

.hs-program__head {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hs-ink);
}

.hs-program__no {
    font-family: var(--hs-display);
    font-size: 15px;
    letter-spacing: .14em;
    color: var(--hs-red);
}

.hs-program__title {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.02em;
}

/* 단계 셋 → 성과. 좁으면 세로로, 넓으면 가로로 흐른다. */
.hs-flow {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.hs-flow__step,
.hs-flow__result {
    position: relative;
    padding: 24px 24px 28px;
    min-height: 136px;
    background: var(--hs-ivory);
}

.hs-flow__result {
    background: var(--hs-red);
    color: #fff;
}

.hs-flow__label {
    font-family: var(--hs-display);
    font-size: 11px;
    letter-spacing: .24em;
    opacity: .6;
}

.hs-flow__step p,
.hs-flow__result p {
    margin-top: 16px;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.6;
}

.hs-flow__result p {
    font-weight: 600;
}

@media (min-width: 1024px) {
    .hs-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr)) 1.15fr;
        gap: 0;
    }

    .hs-flow__step + .hs-flow__step,
    .hs-flow__step + .hs-flow__result {
        margin-left: 1px;
    }

    .hs-flow__step::after {
        content: "";
        position: absolute;
        right: -7px;
        top: 50%;
        z-index: 1;
        width: 12px;
        height: 12px;
        border-top: 1px solid var(--hs-ink);
        border-right: 1px solid var(--hs-ink);
        background: var(--hs-ivory);
        transform: translateY(-50%) rotate(45deg);
    }
}

.hs-sibling {
    margin-top: 120px;
    display: grid;
    border-top: 1px solid var(--hs-ink);
}

.hs-sibling__item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    padding: 26px 4px;
    border-bottom: 1px solid var(--hs-line);
    font-size: 17px;
    font-weight: 500;
    transition: color .3s ease, padding .4s var(--hs-ease);
}

.hs-sibling__no {
    font-family: var(--hs-display);
    font-size: 13px;
    letter-spacing: .14em;
    color: var(--hs-muted);
}

.hs-sibling__item:hover {
    color: var(--hs-red);
    padding-left: 16px;
}

/* --- 사업실적 --- */

.hs-years {
    position: sticky;
    top: var(--nt-header-h);
    z-index: 30;
    margin-top: 64px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--hs-paper);
    border-bottom: 1px solid var(--hs-line);
}

.hs-years::-webkit-scrollbar {
    display: none;
}

.hs-years__item {
    position: relative;
    padding: 18px 16px;
    font-family: var(--hs-display);
    font-size: 17px;
    letter-spacing: .04em;
    color: var(--hs-muted);
    transition: color .2s ease;
}

.hs-years__item:hover {
    color: var(--hs-ink);
}

.hs-years__item.is-on {
    color: var(--hs-ink);
}

.hs-years__item.is-on::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -1px;
    height: 2px;
    background: var(--hs-red);
}

.hs-ptable {
    margin-top: 40px;
}

.hs-ptable__head {
    display: none;
}

.hs-ptable__row {
    display: grid;
    gap: 10px;
    padding: 22px 0;
    border-bottom: 1px solid var(--hs-line);
}

.hs-ptable__row .hs-tag {
    justify-self: start;
}

.hs-ptable__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.hs-ptable__client {
    font-size: 13.5px;
    color: var(--hs-muted);
}

@media (min-width: 900px) {
    .hs-ptable__head,
    .hs-ptable__row {
        grid-template-columns: 160px 1fr 260px;
        gap: 24px;
        align-items: center;
    }

    .hs-ptable__head {
        display: grid;
        padding: 0 0 14px;
        border-bottom: 1px solid var(--hs-ink);
        font-size: 13px;
        font-weight: 600;
        color: var(--hs-muted);
    }

    .hs-ptable__row {
        padding: 20px 0;
        transition: background-color .25s ease;
    }

    .hs-ptable__row:hover {
        background: var(--hs-ivory);
    }
}

/* ============================================================
   푸터
   ============================================================ */

.hs-footer {
    background: var(--hs-ink);
    color: #fff;
}

.hs-brand--footer .hs-brand__en {
    color: #fff;
}

.hs-footer__head {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.hs-footer__link {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    transition: color .2s ease;
}

.hs-footer__link:hover {
    color: #fff;
}

.hs-footer__branch {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* ============================================================
   게시판 · 약관 화면을 테마에 맞추기 (siteBase 의 nt- 조각)
   ============================================================ */

.nt-board-hero {
    background: var(--hs-sand);
}

.nt-btn-primary,
.nt-btn-ghost,
.nt-btn-danger {
    border-radius: 0;
}

.nt-btn-primary {
    background-color: var(--hs-ink);
}

.nt-btn-primary:hover {
    background-color: var(--hs-red);
}

.nt-board-tab,
.nt-chip,
.nt-page,
.nt-input,
.nt-textarea,
.nt-card,
.nt-alert {
    border-radius: 0 !important;
}

/* ============================================================
   모션 최소화
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .hs-hero__slide,
    .hs-hero__slide img,
    .hs-panel,
    .hs-panel__img {
        transition: none !important;
    }

    .hs-hero__kicker,
    .hs-hero__title,
    .hs-hero__sub,
    .hs-subhero__en,
    .hs-subhero__title,
    .hs-hero__scroll i::after {
        animation: none !important;
    }
}
