/* ============================================================
   아크 랜딩페이지 — 화이트 기반
   색상은 3계열만 사용한다 — 브랜드 블루 #2563FF · 딥 네이비 #0D1B2A(뉴트럴) · 보조 그린 #1F9D55
   ============================================================ */

:root {
    --blue: #2563FF;
    --blue-dim: #1A4FE0;
    --blue-soft: #EDF3FF;
    --green: #1F9D55;
    --green-soft: #E9F6EF;

    --ink: #0D1B2A;          /* 본문 최암부 — 브랜드 딥 네이비 */
    --ink-2: #2A3749;
    --muted: #556275;
    --muted-2: #8893A5;
    --line: #E3E8F0;
    --surface: #F2F5FA;
    --white: #FFFFFF;

    --shadow-s: 0 1px 2px rgba(13, 27, 42, .05);
    --shadow-m: 0 4px 18px rgba(13, 27, 42, .07);
    --shadow-l: 0 18px 48px rgba(13, 27, 42, .12);

    --maxw: 1200px;
    --pad: clamp(18px, 5vw, 40px);
    --radius: 16px;

    --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
            'Malgun Gothic', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 헤더 ───────────────────────────────────────────────── */
.hd {
    position: fixed; inset: 0 0 auto 0; z-index: 60; height: 66px;
    display: flex; align-items: center;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid transparent;
}
.hd.solid {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.hd .wrap { display: flex; align-items: center; gap: 16px; }
.hd .logo { display: flex; align-items: center; flex: none; }
.hd .logo img { height: 28px; width: auto; }
.hd nav { margin-left: auto; display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.hd nav a:hover { color: var(--ink); }
.hd .cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd nav + .cta { margin-left: 22px; }
.hd .go {
    display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
    border-radius: 19px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700;
    white-space: nowrap; transition: background .18s ease, border-color .18s ease;
}
.hd .go:hover { background: var(--blue-dim); }
/* 영상 배경 위에서도 묻히지 않게 — 항상 흰 배경 + 또렷한 파란 윤곽 */
.hd .go.ghost {
    background: var(--white); color: var(--blue); border: 1.5px solid var(--blue);
    box-shadow: 0 2px 10px rgba(13, 27, 42, .08);
}
.hd .go.ghost:hover { background: var(--blue-soft); }
@media (max-width: 1040px) { .hd nav { display: none; } .hd nav + .cta { margin-left: auto; } }
@media (max-width: 520px) { .hd .go.ghost { display: none; } }

/* ── 히어로 ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--white); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--surface); }
.hero-bg video, .hero-bg canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* 영상 여러 편을 교차 페이드 — WebGL 연출이 뜨면 이 스택은 감춘다 */
.hero-bg .vstack { position: absolute; inset: 0; z-index: 0; }
.hero-bg .vstack video { opacity: 0; transition: opacity 1.4s ease; }
.hero-bg .vstack video.on { opacity: 1; }
.hero-bg.gl .vstack video { opacity: 0 !important; }
#heroGL { position: absolute; inset: 0; z-index: 1; }
#heroGL canvas { width: 100% !important; height: 100% !important; }
/* 텍스처 원본 — 화면에는 보이지 않고 셰이더로만 쓰인다 */
#heroPlane { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#heroPlane video { opacity: 0; }

/* 밝은 막을 덮어 글자가 또렷하게 읽히도록 한다 */
.hero-bg::after {
    content: ''; position: absolute; inset: 0; z-index: 2;
    /* 글자가 놓인 왼쪽만 확실히 덮고, 나머지는 영상이 그대로 보이게 둔다 */
    background:
        linear-gradient(96deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 26%, rgba(255,255,255,.45) 46%, rgba(255,255,255,.04) 62%, rgba(255,255,255,0) 100%),
        linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 74%, rgba(255,255,255,.34) 100%);
}
@media (max-width: 900px) {
    /* 모바일은 글자가 화면 전체를 가로질러 위아래만 덮고 가운데는 영상이 보이게 */
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.3) 62%, rgba(255,255,255,.88) 100%);
    }
}
.hero .wrap { position: relative; z-index: 3; padding-top: 104px; padding-bottom: 84px; }
.hero-grid {
    display: grid; grid-template-columns: 1.06fr .94fr;
    align-items: center; gap: clamp(24px, 4vw, 56px);
}
/* 이미지 자체 배경이 회색이라 카드로 감싸 의도한 화면처럼 보이게 한다 */
/* 실제 매장에 놓인 광고 사진 — 여러 장이 한 장씩 겹쳐 바뀐다 */
.hero-art {
    /* 자식이 전부 absolute라 폭을 명시하지 않으면 0으로 접힌다 */
    position: relative; width: min(430px, 100%); margin-inline: auto; aspect-ratio: 2 / 3;
    border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-l);
}
.hero-art img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.1s ease;
}
.hero-art img.on { opacity: 1; }
/* JS가 돌기 전에도 첫 장은 보인다 (연출 실패 시 빈 카드 방지) */
.hero-art img:first-of-type { opacity: 1; }
.hero-art img.on ~ img, .hero-art img:not(.on):has(~ img.on) { opacity: 0; }
.hero-art img.on { opacity: 1 !important; }
.shot-tag {
    position: absolute; left: 14px; bottom: 14px; z-index: 2;
    padding: 7px 13px; border-radius: 16px; font-size: 12.5px; font-weight: 700; color: var(--ink);
    background: rgba(255, 255, 255, .93); border: 1px solid var(--line);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { display: none; }
}

/* 히어로 킥커 — 배지 없이 담백한 한 줄 (섹션 eyebrow와 같은 결) */
.kicker {
    margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .2px; color: var(--blue);
}

h1.head {
    margin: 22px 0 0; font-weight: 800; letter-spacing: -1.6px; line-height: 1.14;
    font-size: clamp(32px, 7vw, 66px); color: var(--ink);
}
h1.head .accent { color: var(--blue); }
/* 두 번째 슬로건 줄 — 제목보다 한 단계 작게 */
.head2 {
    margin: 14px 0 0; font-weight: 800; letter-spacing: -.8px; line-height: 1.3;
    font-size: clamp(20px, 3.4vw, 32px); color: var(--ink);
}
.head2 .accent { color: var(--blue); }
/* 브랜드 가이드의 짧은 파란 선 */
.hero-rule { display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--blue); margin: 26px 0 0; }
.hero-rule + .sub { margin-top: 18px; }
.sub {
    margin: 20px 0 0; max-width: 32em; color: var(--muted);
    font-size: clamp(14.5px, 2.2vw, 18px); line-height: 1.72;
}

.dl { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 36px; }
.dl-btn {
    display: inline-flex; align-items: center; gap: 11px; height: 60px; padding: 0 20px 0 17px;
    border-radius: 15px; background: var(--ink); color: var(--white); border: 1px solid var(--ink);
    box-shadow: 0 6px 20px rgba(13, 27, 42, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.dl-btn .badge { width: 26px; height: 26px; flex: none; }
.dl-btn .t { display: flex; flex-direction: column; line-height: 1.22; text-align: left; }
.dl-btn .t small { font-size: 11.5px; color: rgba(255, 255, 255, .74); font-weight: 600; letter-spacing: .2px; }
.dl-btn .t b { font-size: 15.5px; font-weight: 800; letter-spacing: -.3px; }
.dl-btn.ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.dl-btn.ghost .t small { color: var(--muted-2); }
/* 링크가 아직 없을 때 — 아이콘 색은 그대로 두고 상태만 표시한다 */
.dl-btn[aria-disabled="true"] { cursor: default; }
.dl-btn[aria-disabled="true"]:hover { transform: none; box-shadow: 0 6px 20px rgba(13, 27, 42, .18); }
.dl-btn[aria-disabled="true"] .t small { color: rgba(255, 255, 255, .55); }

/* 구글·애플 공식 배지 — 두 배지의 원본 비율이 달라 실제 로고 크기가 같아 보이도록 맞춘다.
   구글 배지는 이미지에 여백이 들어 있어 살짝 키우고 그만큼 잘라낸다. */
.badge-link {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    height: 60px; width: 186px; border-radius: 11px; overflow: hidden; background: transparent;
    transition: transform .18s ease, box-shadow .18s ease;
}
.badge-link img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 구글 공식 배지는 상하좌우 여백이 커서 조금 확대해 애플 배지와 글자 크기를 맞춘다 */
.badge-link:first-of-type img { transform: scale(1.16); }
.badge-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.badge-link[aria-disabled="true"] { cursor: default; filter: grayscale(1); }
.badge-link[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.badge-link .soon {
    position: absolute; top: -8px; right: -6px; padding: 3px 9px; border-radius: 10px;
    background: var(--blue); color: var(--white); font-size: 10.5px; font-weight: 800; letter-spacing: .2px;
}
@media (max-width: 380px) { .badge-link { height: 56px; } }
.dl-note { margin-top: 15px; font-size: 12.5px; color: var(--muted-2); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--muted);
}
.scroll-cue i { width: 1.5px; height: 34px; background: linear-gradient(180deg, transparent, var(--muted)); }
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ── 히어로 안 찾기 바 ─────────────────────────────────── */
.finder {
    display: flex; align-items: stretch; gap: 0; margin-top: 30px; max-width: 560px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    /* 드롭다운 패널이 알약 밖으로 나와야 하므로 overflow를 자르지 않는다 */
    overflow: visible;
    /* 영상 배경 위에서도 묻히지 않게 또렷한 그림자 */
    box-shadow: 0 10px 34px rgba(13, 27, 42, .16), 0 1px 3px rgba(13, 27, 42, .08);
    position: relative; z-index: 10;
}
.f-field {
    position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px;
    padding: 11px 34px 11px 18px; flex: 1; min-width: 0; cursor: pointer; border-radius: 13px;
    transition: background .16s ease;
}
.f-field:hover, .f-field:focus-within { background: var(--surface); }
.f-field > span { font-size: 11.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .2px; }
/* 기본 select 화살표를 지우고 직접 그린 꺾쇠를 쓴다 */
.f-field::after {
    content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px;
    border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
    transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: border-color .16s ease;
}
.f-field:hover::after, .f-field:focus-within::after { border-color: var(--blue); }
.f-field select {
    appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; width: 100%;
    font-family: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink); cursor: pointer;
    text-overflow: ellipsis; letter-spacing: -.3px;
}
.f-field select:focus { outline: none; }
.f-field select option { font-weight: 600; color: var(--ink); background: var(--white); }

/* ── 직접 만든 선택기 (기본 select 대신) ─────────────── */
/* 스크립트가 씌워지면 원래 select 는 감춘다 */
.f-field.has-picker > span, .f-field.has-picker select { position: absolute; opacity: 0; pointer-events: none; height: 0; }
.f-field.has-picker::after { z-index: 2; }
.pk-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 1px;
    width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
    font-family: inherit;
}
.pk-btn .pk-label { font-size: 11.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .2px; }
.pk-btn .pk-value {
    font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pk { position: absolute; inset: auto auto 0 0; z-index: 40; }
.pk-panel {
    position: absolute; top: 12px; left: -18px; width: 288px; max-width: 84vw;
    border-radius: 16px; background: var(--white); border: 1px solid var(--line);
    box-shadow: var(--shadow-l); overflow: hidden;
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}
.pk.open .pk-panel { opacity: 1; transform: none; pointer-events: auto; }
.pk-head { display: flex; align-items: center; padding: 15px 16px 11px; }
.pk-head b { font-size: 13.5px; font-weight: 800; letter-spacing: -.2px; }
.pk-x { margin-left: auto; width: 26px; height: 26px; border: 0; border-radius: 8px; background: var(--surface);
        color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; }
.pk-x:hover { background: var(--line); color: var(--ink); }
.pk-find { padding: 0 12px 10px; }
.pk-find input {
    width: 100%; height: 38px; padding: 0 13px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--surface);
    font-family: inherit; font-size: 14px; color: var(--ink);
}
.pk-find input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.pk-list { max-height: 292px; overflow-y: auto; padding: 0 8px 10px; overscroll-behavior: contain; }
.pk-item {
    display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px;
    background: none; text-align: left; cursor: pointer;
    font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.pk-item:hover { background: var(--surface); }
.pk-item.on { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.pk-item[hidden] { display: none; }

/* 좁은 화면에서는 아래에서 올라오는 시트로 */
@media (max-width: 640px) {
    body.picker-open { overflow: hidden; }
    .pk.open::before {
        content: ''; position: fixed; inset: 0; z-index: 1; background: rgba(13, 27, 42, .38);
    }
    .pk-panel {
        position: fixed; inset: auto 0 0 0; z-index: 2; width: auto; max-width: none;
        border-radius: 20px 20px 0 0; border-bottom: 0;
        transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
    }
    .pk.open .pk-panel { transform: none; }
    .pk-panel::before {
        content: ''; display: block; width: 38px; height: 4px; border-radius: 2px;
        background: var(--line); margin: 10px auto 0;
    }
    .pk-list { max-height: 46vh; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
    .pk-item { padding: 14px 12px; font-size: 15.5px; }
}
.f-div { width: 1px; background: var(--line); margin: 12px 0; flex: none; }
.f-go {
    display: inline-flex; align-items: center; gap: 7px; border: 0; margin: 6px; padding: 0 18px;
    border-radius: 11px; background: var(--blue); color: var(--white);
    font-family: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 255, .38);
    transition: background .18s ease;
}
.f-go:hover { background: var(--blue-dim); }
.f-go svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
    .finder { flex-wrap: wrap; }
    .f-field { flex-basis: calc(50% - 1px); }
    .f-go { flex-basis: calc(100% - 12px); margin: 0 6px 6px; border-radius: 11px; height: 50px; justify-content: center; }
    .f-div { margin: 12px 0 0; height: 44px; }
}

/* ── 업종 바로가기 ─────────────────────────────────────── */
.sec.tight { padding: clamp(76px, 12vw, 132px) 0 clamp(56px, 8vw, 84px); }
h2.t2.sm { font-size: clamp(21px, 3vw, 27px); }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 26px; }
.cat {
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 15px;
    border-radius: 14px; background: var(--white); border: 1px solid var(--line);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cat:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-m); }
.cat .ic {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 12px; background: var(--surface); color: var(--ink-2);
    transition: background .18s ease, color .18s ease;
}
.cat .ic svg { width: 24px; height: 24px; }
.cat:hover .ic { background: var(--blue-soft); color: var(--blue); }
.cat b { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: -.2px; }
.cat.on { border-color: var(--blue); background: var(--blue-soft); }
.cat.on .ic { background: var(--white); color: var(--blue); }
.cat.on b { color: var(--blue); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 9px; } .cat { padding: 14px 6px 12px; } .cat b { font-size: 12px; } }

/* ── 모집중인 자리 ─────────────────────────────────────── */
.spaces-head { display: flex; align-items: baseline; gap: 12px; margin-top: 46px; }
.spaces-head h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.spaces-head em { font-style: normal; margin-left: 6px; color: var(--blue); }
.spaces-head .reset { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.spaces-head .reset:hover { color: var(--blue); }
/* 한 칸씩 저절로 흘러가는 가로 줄 */
.space-rail {
    margin-top: 18px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 다른 레일과 똑같이 — 양끝을 흐려서 잘린 카드가 튀어 보이지 않게 */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.space-rail::-webkit-scrollbar { display: none; }
.space-grid { display: flex; gap: 16px; }
.space-grid > .space { flex: none; width: 268px; scroll-snap-align: start; }
@media (max-width: 520px) { .space-grid > .space { width: min(268px, 76vw); } }
.space {
    border-radius: var(--radius); overflow: hidden; background: var(--white);
    border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .22s ease, box-shadow .22s ease;
}
.space:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.space .ph { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.space .in { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 3px; }
.space .who { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.space b { font-size: 15.5px; font-weight: 800; letter-spacing: -.3px; }
.space .pos { font-size: 12.5px; color: var(--muted); }
.space .price { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.space .price strong { font-size: 17px; font-weight: 800; color: var(--blue); letter-spacing: -.4px; }
.space .price span { color: var(--muted-2); }
.spaces-note { margin: 18px 0 0; font-size: 13px; color: var(--muted-2); }
.empty { margin: 20px 0 0; padding: 30px; text-align: center; border-radius: var(--radius);
         background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

/* ── 공통 섹션 ─────────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(76px, 12vw, 132px) 0; }
.sec.tint { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; }
h2.t2 { margin: 13px 0 0; font-size: clamp(25px, 4.4vw, 42px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.26; color: var(--ink); }
.lead { margin: 15px 0 0; color: var(--muted); font-size: clamp(14px, 2vw, 16.5px); max-width: 40em; }

/* 3단계 */
.steps { display: grid; gap: 16px; margin-top: 46px; grid-template-columns: repeat(3, 1fr); }
.step {
    position: relative; padding: 28px 26px 30px; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
    opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease;
}
.step.in { opacity: 1; transform: none; }
/* 단계마다 장면 이미지를 얹어 글만 있는 상자가 되지 않게 한다 */
.step .pic {
    margin: -28px -26px 18px; border-bottom: 1px solid var(--line);
    background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.step .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step .ico {
    width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft); color: var(--blue);
}
.step .ico svg { width: 24px; height: 24px; }
.step .n { display: block; margin-top: 16px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted-2); }
.step h3 { margin: 7px 0 8px; font-size: 18.5px; font-weight: 800; letter-spacing: -.4px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* 영상 쇼케이스 — 글은 왼쪽, 사진은 오른쪽에 알맞은 크기로 (화면을 꽉 채우면 부담스럽다) */
.reel-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.reel-frame {
    position: relative; margin: 0; aspect-ratio: 4 / 3; width: 100%; max-width: 640px; justify-self: end;
    border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
    background: var(--surface); box-shadow: var(--shadow-l);
}
.reel-frame video, .reel-frame img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.2s ease-in-out;
}
.reel-frame video.on, .reel-frame img.on { opacity: 1; }
.reel-cap {
    position: absolute; left: 18px; bottom: 18px; z-index: 2;
    display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 12px;
    border-radius: 20px; background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: 13px; font-weight: 700; color: var(--ink); border: 1px solid var(--line);
}
.reel-cap .ico { display: flex; color: var(--blue); }
.reel-cap svg { width: 19px; height: 19px; }
.reel-dots { position: absolute; right: 18px; bottom: 26px; z-index: 2; display: flex; gap: 7px; }
.reel-dots i {
    width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(13, 27, 42, .18); transition: background .3s ease, width .3s ease;
}
.reel-dots i.on { width: 20px; border-radius: 4px; background: var(--blue); border-color: var(--blue); }
@media (max-width: 900px) {
    .reel-grid { grid-template-columns: 1fr; gap: 28px; }
    .reel-frame { justify-self: stretch; max-width: none; }
}
@media (max-width: 640px) {
    .reel-frame { border-radius: 16px; }
    .reel-cap { left: 12px; bottom: 12px; height: 34px; font-size: 12px; padding: 0 13px 0 10px; }
    .reel-dots { right: 12px; bottom: 19px; }
}

/* 3D 무대 */
.stage { position: relative; min-height: 92svh; display: flex; align-items: center; background: var(--surface); border-block: 1px solid var(--line); overflow: hidden; }
.stage-canvas { position: absolute; inset: 0; z-index: 1; }
.stage-canvas canvas { width: 100% !important; height: 100% !important; }
.stage .wrap { position: relative; z-index: 3; }
.stage-fallback {
    position: absolute; inset: 0; z-index: 0;
    background: url('../images/landing/grid-network.jpg') center/cover no-repeat;
    opacity: .8; transition: opacity .6s ease;
}
.stage::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(96deg, rgba(246,248,251,.98) 0%, rgba(246,248,251,.95) 50%, rgba(246,248,251,.6) 62%, rgba(246,248,251,0) 78%);
}
@media (max-width: 900px) {
    .stage::after { background: linear-gradient(180deg, rgba(246,248,251,.9) 0%, rgba(246,248,251,.5) 46%, rgba(246,248,251,.92) 100%); }
}

/* 숫자 */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; max-width: 760px; }
.num { padding: 24px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.num b { display: block; font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.1; color: var(--ink); }
.num span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .nums { grid-template-columns: 1fr; } .num { padding: 18px 20px; } }

/* 기능 카드 */
/* Features — 한 줄 슬라이드 (PC·모바일 공통) */
.feat-rail {
    margin-top: 46px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.feat-rail::-webkit-scrollbar { display: none; }
.feat { display: flex; align-items: stretch; gap: 18px; }
.feat .card { flex: none; width: min(390px, 80vw); scroll-snap-align: start; display: flex; flex-direction: column; }
.feat .card .shot { aspect-ratio: 16 / 10; }
.feat .card .body { flex: 1; }
.card {
    display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.card.wide { grid-column: span 7; }
.card.half { grid-column: span 5; }
.card.third { grid-column: span 4; }
.card .shot {
    position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center;
    border-bottom: 1px solid var(--line);
}
/* 사진 위 왼쪽 아래에 얹히는 아이콘 배지 */
.card .chip {
    position: absolute; left: 18px; bottom: -22px; width: 44px; height: 44px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-m);
    color: var(--blue);
}
.card .chip.g { color: var(--green); }
.card .chip svg { width: 22px; height: 22px; }
.card .body { padding-top: 34px; }
.card .body { padding: 22px 24px 26px; }
.card h3 { margin: 11px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .tag {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
    padding: 4px 10px; border-radius: 11px; background: var(--blue-soft); color: var(--blue);
}
.card .tag.g { background: var(--green-soft); color: var(--green); }
@media (max-width: 980px) { .card.wide, .card.half, .card.third { grid-column: span 12; } }

/* 실제 게시 사진 — 매장 사진 그대로 */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.shot-card {
    margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white);
    border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .24s ease, box-shadow .24s ease;
}
.shot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.shot-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.shot-card figcaption {
    padding: 13px 16px 15px; font-size: 13px; font-weight: 700; color: var(--muted);
    border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; } }

/* 달란트 */
.talent { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.talent-vis { position: relative; aspect-ratio: 1/1; max-width: 460px; margin-inline: auto; width: 100%; }
.talent-vis canvas, .talent-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.talent-vis img { transition: opacity .4s ease; }
.talent-vis.gl img { opacity: 0; }
.talent ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.talent li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.talent li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--green); }
@media (max-width: 900px) { .talent { grid-template-columns: 1fr; } }

/* 아크가 다른 점 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; margin-top: 44px; }
.why-item .ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue);
}
.why-item .ico.g { background: var(--green-soft); color: var(--green); }
.why-item .ico svg { width: 24px; height: 24px; }
.why-item h3 { margin: 16px 0 7px; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.why-item p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; gap: 26px; } }

/* 후기 — 한 줄로 계속 흘러간다 (PC·모바일 공통) */
.rev-rail {
    margin-top: 42px; margin-inline: calc(var(--pad) * -1); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rev-track { display: flex; gap: 16px; width: max-content; animation: revslide 72s linear infinite; }
.rev-rail:hover .rev-track { animation-play-state: paused; }
@keyframes revslide { to { transform: translateX(-50%); } }
.rev {
    flex: none; width: 330px; padding: 24px 22px; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.rev .stars { display: flex; gap: 2px; color: var(--blue); }
.rev .stars svg { width: 14px; height: 14px; }
.rev p {
    margin: 13px 0 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.72;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.rev .by { font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 640px) { .rev { width: min(300px, 80vw); padding: 20px 18px; } .rev-track { animation-duration: 56s; } }
@media (prefers-reduced-motion: reduce) {
    .rev-rail { overflow-x: auto; }
    .rev-track { animation: none; }
}

/* 맨 위로 — 스크롤이 내려가면 조용히 나타난다 */
.to-top {
    position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 70;
    width: 48px; height: 48px; border: 1px solid rgba(13, 27, 42, .08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: rgba(255, 255, 255, .62); color: var(--ink-2);
    backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
    box-shadow: 0 6px 22px rgba(13, 27, 42, .12);
    opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
    transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease;
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .to-top { width: 44px; height: 44px; } }

/* FAQ */
.faq { margin-top: 38px; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 21px 44px 21px 0; position: relative;
    font-size: 16px; font-weight: 700; letter-spacing: -.3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
    content: ''; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
    transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px; color: var(--muted); font-size: 14.5px; white-space: pre-line; }

/* 마지막 CTA */
.final { position: relative; overflow: hidden; background: var(--white); }
.final-in {
    position: relative; z-index: 2; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-m);
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px;
    padding: clamp(30px, 5vw, 58px);
}
/* 휴대폰 프레임 — 안에 실제 앱 홈 화면이 들어간다 */
.final-in .device { display: flex; justify-content: center; }
.phone {
    position: relative; width: min(258px, 68vw); border-radius: 34px; padding: 9px;
    background: var(--ink); box-shadow: 0 26px 52px rgba(13, 27, 42, .28);
}
/* 화면이 여러 장이면 겹쳐 놓고 한 장씩 페이드로 바뀐다 (프레임은 그대로) */
.phone { aspect-ratio: 720 / 1500; }
.phone img {
    position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
    object-fit: cover; border-radius: 26px; display: block;
    opacity: 0; transition: opacity .9s ease;
}
.phone img.on, .phone img:first-of-type:not(:has(~ img.on)) { opacity: 1; }
/* 노치는 앱 화면의 헤더를 가리지 않을 만큼만 */
.phone .notch {
    position: absolute; top: 15px; left: 50%; transform: translateX(-50%); z-index: 2;
    width: 62px; height: 14px; border-radius: 8px; background: var(--ink);
}
.final video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .16; }
.final::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,.86) 42%, var(--white) 100%);
}
.final .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) { .final-in { grid-template-columns: 1fr; } .final-in .device { order: -1; } .phone { width: min(216px, 60vw); } }

/* 약관 문서 페이지 */
.doc { padding: 120px 0 80px; }
.doc-title { margin: 12px 0 0; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -1px; }
.doc-meta { margin: 10px 0 0; font-size: 13px; color: var(--muted-2); }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.doc-tabs a {
    padding: 8px 15px; border-radius: 19px; font-size: 13.5px; font-weight: 600;
    color: var(--muted); background: var(--surface); border: 1px solid var(--line);
}
.doc-tabs a:hover { color: var(--ink); }
.doc-tabs a.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.doc-body {
    white-space: pre-line; font-size: 15px; line-height: 1.95; color: var(--ink-2);
    max-width: 820px; padding: 30px 32px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line);
}
.doc-back { margin-top: 26px; font-size: 14px; }
.doc-back a { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) { .doc { padding: 100px 0 60px; } .doc-body { padding: 22px 20px; font-size: 14.5px; } }

/* 푸터 */
footer { border-top: 1px solid var(--line); padding: 46px 0 58px; background: var(--surface); }
footer .cols { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
footer .logo { display: flex; align-items: center; }
footer .logo img { height: 26px; width: auto; }
footer .motto { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
footer .motto b { color: var(--blue); font-weight: 800; }
footer .biz { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.9; max-width: 44em; }
footer .biz a { color: var(--blue); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 600; color: var(--muted); }
footer .links a:hover { color: var(--ink); }
footer .copy { margin-top: 26px; font-size: 12px; color: var(--muted-2); }

/* 접근성 — 모션 최소화 설정을 존중한다 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .strip-track { animation: none; }
    .step { opacity: 1; transform: none; transition: none; }
    .hero-bg .vstack video { transition: none; }
    .card:hover, .dl-btn:hover { transform: none; }
    .hero-art { animation: none; }
}

/* 아주 작은 화면 (320px) 보호 */
@media (max-width: 640px) {
    .dl { display: grid; grid-template-columns: 1fr 1fr; }
    .dl .badge-link { width: 100%; }
    /* 애플 배지가 빠져 구글 배지와 웹 보기 버튼을 한 줄에 나란히 둔다 */
    .dl .dl-btn { width: 100%; justify-content: center; padding: 0 12px; }
}
@media (max-width: 380px) { h1.head { letter-spacing: -1px; } }


/* 카카오 · 네이버 · 인스타 — 각 브랜드 공식 색을 그대로 쓴다 */
.sns { display: flex; gap: 10px; margin-top: 18px; }
.sns-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.sns-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.sns-btn svg { width: 22px; height: 22px; }
.sns-btn { background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.sns-btn:hover { color: var(--blue); border-color: var(--blue); }

/* 광고 시안 — 한 칸씩 계속 흘러간다 (PC·모바일 공통) */
.flyer-rail {
    margin-top: 44px; margin-inline: calc(var(--pad) * -1); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.flyer-track { display: flex; gap: 20px; width: max-content; animation: flyerslide 60s linear infinite; }
.flyer-rail:hover .flyer-track { animation-play-state: paused; }
@keyframes flyerslide { to { transform: translateX(-50%); } }
.flyer {
    flex: none; width: 250px; margin: 0; border-radius: 12px; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-m);
    transition: transform .25s ease, box-shadow .25s ease;
}
.flyer:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.flyer img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.flyer figcaption { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 3px; }
.flyer figcaption b { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: var(--blue); }
.flyer figcaption span { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
@media (max-width: 640px) { .flyer { width: 200px; } .flyer-track { animation-duration: 46s; } }
@media (prefers-reduced-motion: reduce) {
    .flyer-rail { overflow-x: auto; }
    .flyer-track { animation: none; }
}

/* 실제 게시 사진 — 한 칸씩 계속 흘러간다 (PC·모바일 공통) */
.shot-rail {
    margin-top: 44px; margin-inline: calc(var(--pad) * -1); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.shot-track { display: flex; gap: 18px; width: max-content; animation: shotslide 64s linear infinite; }
.shot-rail:hover .shot-track { animation-play-state: paused; }
@keyframes shotslide { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .shot-track { animation-duration: 48s; } }
@media (prefers-reduced-motion: reduce) {
    .shot-rail { overflow-x: auto; }
    .shot-track { animation: none; }
}

/* 달란트 코인은 정적 이미지 하나 (파티클 연출 제거) */
.talent-vis img { opacity: 1 !important; }

/* 레일 안에서는 카드 폭을 고정한다 */
.shot-track > .shot-card { flex: none; width: 232px; }
@media (max-width: 640px) { .shot-track > .shot-card { width: 190px; } }

/* 3단계 카드 — 마우스를 따라 살짝 기울어진다 (이미지 자체는 정적이라 진짜 회전은 아님) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .step { perspective: 900px; }
    .step .pic { transform-style: preserve-3d; transition: transform .18s ease-out; will-change: transform; }
    .step .pic img { transition: transform .18s ease-out; }
    .step:hover .pic img { transform: scale(1.04); }
}

/* FAQ 옆 문의 카드 */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-grid .faq { max-width: none; }
.faq-more { margin: 20px 0 0; font-size: 14px; }
.faq-more a { color: var(--blue); font-weight: 600; }
.faq-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; margin-top: 38px; }
.side-card {
    display: block; padding: 22px 22px 20px; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: var(--blue); }
.side-card .ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); margin-bottom: 12px;
}
.side-card .ico.g { background: var(--green-soft); color: var(--green); }
.side-card .ico svg { width: 21px; height: 21px; }
.side-card b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.side-card p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.side-card em { display: inline-block; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); }
.side-card.flat { background: var(--surface); box-shadow: none; }
@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .faq-side .side-card { flex: 1 1 240px; }
}

/* 달란트 코인 영상 — 세로 원본에서 코인 부분만 크게 보이게 */
.talent-vis video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; border-radius: 50%;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-m);
}

/* ── 섹션 등장 연출 — 스크롤에 맞춰 한 번 은은하게 떠오른다 ── */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
}

/* ── Voice — 뒤에 매장 영상을 은은하게 깔아 공간감을 준다 ── */
.voice { position: relative; overflow: hidden; }
.voice > video.bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: 0; opacity: .5;
}
/* 글이 놓이는 면은 밝게 눌러 가독성을 지킨다 */
.voice::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(246,248,251,.94) 0%, rgba(246,248,251,.72) 30%, rgba(246,248,251,.55) 60%, rgba(246,248,251,.9) 100%);
}
.voice .wrap { position: relative; z-index: 2; }
/* 영상 위라 후기 카드는 살짝 유리처럼 */
.voice .rev { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }


/* 가로 레일 — 쉬고 있을 때 첫 카드가 본문 왼쪽 선에 맞게 */
.feat-rail, .space-rail { scroll-padding-inline: var(--pad); }

/* 모바일 메뉴 */
.hd .menu-btn { display: none; }
@media (max-width: 1040px) {
    .hd .menu-btn {
        display: inline-flex; align-items: center; justify-content: center;
        width: 38px; height: 38px; margin-left: 4px; border-radius: 10px;
        border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
    }
    .hd .menu-btn svg { width: 20px; height: 20px; }
    .hd.open { background: var(--white); border-bottom-color: var(--line); }
    .hd.open nav {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 66px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
        padding: 6px var(--pad) 12px;
    }
    .hd.open nav a { padding: 13px 2px; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
    .hd.open nav a:last-child { border-bottom: 0; }
}

/* 문단 끝에 한 단어만 떨어지지 않게, 제목은 줄 길이를 고르게 */
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
