/* ==========================================================================
   RE:ON F&T — 소개 사이트
   브랜드: 블랙 단색 · 붓터치 R 심볼 · 기하학 산세리프 워드마크
   ========================================================================== */

:root {
    --ink: #0d0d0d;
    --ink-2: #2b2b2b;
    --paper: #f5f3ef;
    --paper-2: #ebe8e2;
    --white: #ffffff;
    --stone: #8a847a;
    --stone-2: #b9b3a9;
    --line: rgba(13,13,13,0.14);
    --line-strong: rgba(13,13,13,0.85);
    --line-inv: rgba(255,255,255,0.16);
    --danger: #c0392b;
    --ok: #2e7d4f;

    --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    --font-en: 'Montserrat', 'Pretendard', sans-serif;

    --wrap: 1200px;
    --gutter: clamp(20px, 4vw, 48px);
    --header-h: 76px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-kr);
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--font-en); letter-spacing: 0.18em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 28px;
    border: 1px solid var(--ink); border-radius: 0;
    background: var(--ink); color: var(--paper);
    font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
    cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-inv { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-inv:hover { background: transparent; color: var(--paper); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    transition: background .3s var(--ease), border-color .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid { background: rgba(245,243,239,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .symbol { height: 38px; width: auto; }
.brand .wordmark { height: 15px; width: auto; }
.gnb { display: flex; align-items: center; gap: 36px; }
.gnb a { font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.gnb a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ink); transition: right .3s var(--ease); }
.gnb a:hover::after, .gnb a.active::after { right: 0; }
.gnb .btn { height: 42px; padding: 0 20px; font-size: 14px; }
.gnb .btn::after { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Section common --- */
section { position: relative; }
.sec { padding: clamp(96px, 12vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.sec-title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 1.25; letter-spacing: -0.035em; }
.sec-desc { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 560px; }

/* --- Hero --- */
.hero { min-height: clamp(640px, 100vh, 1080px); min-height: clamp(640px, 100svh, 1080px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 64px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(42px, 6.6vw, 92px); font-weight: 800; line-height: 1.12; letter-spacing: -0.045em; margin-bottom: 32px; }
.hero-title .thin { font-weight: 300; }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 520px; margin-bottom: 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 220px 220px 24px 24px; overflow: hidden; opacity: 0; transform: translateY(24px); animation: markIn 1.4s .2s var(--ease) forwards; }
.hero-visual .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.78) contrast(1.05); }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0) 40%, rgba(13,13,13,.45) 100%); }
.hero-visual .mark { position: absolute; z-index: 1; width: 62%; height: auto; left: 18%; top: 16%; filter: drop-shadow(0 6px 24px rgba(0,0,0,.35)); }
.hero-visual .caption { position: absolute; z-index: 1; left: 24px; bottom: 20px; font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.8); text-transform: uppercase; }
@keyframes markIn { to { opacity: 1; transform: none; } }

/* --- Photo (흑백 → 컬러 포인트) --- */
.band-wrap { background: linear-gradient(180deg, var(--white) 50%, var(--paper) 50%); }
.photo-band { position: relative; width: calc(100% - var(--gutter) * 2); max-width: 1440px; margin: 0 auto; height: clamp(260px, 36vw, 540px); overflow: hidden; background: var(--ink); border-radius: 28px; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.85); transform: scale(1.06); transition: filter 1.8s var(--ease), transform 2.4s var(--ease); }
.photo-band.in img { filter: grayscale(.15) brightness(.9); transform: scale(1); }
.photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0) 55%, rgba(13,13,13,.4) 100%); pointer-events: none; }
.photo-band figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 28px; padding: 0 clamp(24px, 4vw, 48px); color: #fff; font-size: 12px; }
.photo-band figcaption .en { display: inline-flex; align-items: center; gap: 14px; }
.photo-band figcaption .en::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.svc-img { margin: 22px 0 0; max-width: 300px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); border-radius: 16px; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.02); transition: filter .6s var(--ease), transform .8s var(--ease); }
.svc:hover .svc-img img { filter: grayscale(0); transform: scale(1.06); }
@media (hover: none) { .svc-img img { filter: grayscale(.15); } }   /* 터치 기기는 마우스오버가 없으니 컬러로 */
.side-photo { margin: 0 0 28px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); z-index: 2; }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip .item { padding: 22px 0; display: flex; align-items: baseline; gap: 14px; font-size: 14px; color: var(--ink-2); }
.hero-strip .item + .item { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-strip .item b { font-family: var(--font-en); font-weight: 500; font-size: 11px; letter-spacing: .2em; color: var(--stone); }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 90px; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: var(--stone); writing-mode: vertical-rl; display: none; }

/* --- Why (pain) --- */
.why { background: var(--white); }
.pain-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.pain { padding: 40px 36px 44px 0; }
.pain + .pain { padding-left: 36px; border-left: 1px solid var(--line); }
.pain .num { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--stone); margin-bottom: 40px; }
.pain h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.pain p { color: var(--ink-2); font-size: 15.5px; }
.why-answer { margin-top: clamp(64px, 8vw, 104px); display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); }
.why-answer .rule { flex: 1; height: 1px; background: var(--line-strong); }
.why-answer p { font-size: clamp(22px, 2.8vw, 36px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.4; }
.why-answer p b { font-weight: 800; }

/* --- Service --- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc {
    display: grid; grid-template-columns: 120px 1fr 1.25fr 40px; gap: 32px; align-items: start;
    padding: 44px 0; border-bottom: 1px solid var(--line);
    transition: background .35s var(--ease), padding .35s var(--ease);
}
.svc .no { font-family: var(--font-en); font-size: 14px; letter-spacing: .16em; color: var(--stone); padding-top: 10px; }
.svc .name .en { display: block; font-size: 12px; color: var(--stone); margin-bottom: 8px; }
.svc .name h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; }
.svc .body p { color: var(--ink-2); margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: rgba(255,255,255,.5); }
.svc .plus { width: 40px; height: 40px; position: relative; margin-top: 4px; }
.svc .plus::before, .svc .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--ink); transform: translate(-50%,-50%); transition: transform .35s var(--ease); }
.svc .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.svc:hover { background: var(--white); padding-left: 24px; padding-right: 24px; }
.svc:hover .plus::after { transform: translate(-50%,-50%) rotate(0deg); }

/* --- Process --- */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step { position: relative; padding-right: 24px; }
.step .dot { width: 55px; height: 55px; border-radius: 50%; border: 1px solid var(--ink); background: var(--white); display: grid; place-items: center; font-family: var(--font-en); font-size: 13px; font-weight: 500; margin-bottom: 28px; position: relative; z-index: 1; transition: background .3s, color .3s; }
.step:hover .dot { background: var(--ink); color: var(--paper); }
.step .en { font-size: 11px; color: var(--stone); display: block; margin-bottom: 6px; }
.step h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.process-note { margin-top: 72px; padding: 28px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--paper); }
.process-note p { font-size: 17px; }
.process-note p b { font-weight: 700; }

/* --- App (dark) --- */
.app { background: var(--ink); color: var(--paper); overflow: hidden; }
.app .eyebrow { color: var(--stone-2); }
.app .sec-desc { color: rgba(245,243,239,.72); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.app-feats { list-style: none; border-top: 1px solid var(--line-inv); margin-top: 48px; }
.app-feats li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-inv); }
.app-feats .k { font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; color: var(--stone-2); padding-top: 4px; }
.app-feats h4 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.app-feats p { font-size: 14.5px; color: rgba(245,243,239,.65); }
.app-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-family: var(--font-en); font-size: 12px; letter-spacing: .24em; color: var(--stone-2); }
.app-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.phone { position: relative; width: min(100%, 340px); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 44px; background: #1b1b1b; padding: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.5); }
.phone .screen { width: 100%; height: 100%; border-radius: 34px; background: var(--paper); color: var(--ink); overflow: hidden; padding: 44px 20px 20px; font-size: 13px; display: flex; flex-direction: column; gap: 14px; }
.phone .notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #1b1b1b; }
.phone .p-head { display: flex; justify-content: space-between; align-items: center; }
.phone .p-head img { height: 14px; width: auto; }
.phone .p-head span { font-size: 11px; color: var(--stone); }
.phone .p-card { background: var(--white); border-radius: 16px; padding: 16px; }
.phone .p-card .lbl { font-size: 11px; color: var(--stone); }
.phone .p-card .ttl { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; margin: 2px 0 12px; }
.phone .bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.phone .bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 6px; transition: width 1.6s var(--ease); }
.app.in .phone .bar i { width: var(--w); }
.phone .bar-meta { display: flex; justify-content: space-between; font-size: 11px; margin-top: 6px; color: var(--stone); }
.phone .tl { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.phone .tl li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.phone .tl .s { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink); flex-shrink: 0; display: grid; place-items: center; font-size: 10px; }
.phone .tl .done .s { background: var(--ink); color: var(--paper); }
.phone .tl .now .s { border-width: 5px; }
.phone .tl .wait { color: var(--stone); }
.phone .tl .wait .s { border-color: var(--stone-2); }
.phone .tl em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--stone); }
.phone .p-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4,1fr); text-align: center; font-size: 10.5px; color: var(--stone); border-top: 1px solid var(--line); padding-top: 10px; }
.phone .p-tabs b { color: var(--ink); font-weight: 600; }

/* --- Survey & Contact (form sections) --- */
.form-sec { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-side { position: sticky; top: calc(var(--header-h) + 32px); }
.form-side .sec-title { margin-bottom: 20px; }
.form-side .meta { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.form-side .meta div { display: grid; grid-template-columns: 96px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.form-side .meta dt, .form-side .meta .k { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--stone); padding-top: 4px; }
.form-card { background: var(--white); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); }
.survey-sec { background: var(--white); }
.survey-sec .form-card { background: var(--paper); }

.q { padding: 28px 0; border-bottom: 1px solid var(--line); }
.q:first-of-type { padding-top: 0; }
.q-title { display: flex; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.q-title .qn { font-family: var(--font-en); font-weight: 500; font-size: 13px; color: var(--stone); padding-top: 3px; min-width: 22px; }
.q-title .req { color: var(--danger); font-weight: 400; }
.q-desc { font-size: 13.5px; color: var(--stone); margin: 0 0 0 34px; }
.q-body { margin: 16px 0 0 34px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); background: var(--white); font-size: 14.5px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; user-select: none; }
.opt span::before { content: ''; width: 14px; height: 14px; border: 1px solid var(--stone-2); border-radius: 50%; flex-shrink: 0; transition: all .2s; }
.opt input[type=checkbox] + span::before { border-radius: 2px; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt input:checked + span::before { border-color: var(--paper); background: var(--paper); box-shadow: inset 0 0 0 3px var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.etc-input { margin-top: 10px; display: none; }
.etc-input.show { display: block; }

.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: var(--danger); font-weight: 400; }
.input, .select, .textarea {
    width: 100%; height: 50px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 0; background: var(--white);
    font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.survey-sec .input, .survey-sec .select, .survey-sec .textarea { background: var(--white); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .q.has-error .opt span { border-color: var(--danger); }
.err-msg { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.has-error .err-msg { display: block; }

.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin: 24px 0 28px; cursor: pointer; }
.agree[hidden] { display: none; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.agree button { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--stone); cursor: pointer; font-size: 13px; margin-left: 4px; }
.form-actions { display: flex; justify-content: flex-end; }
.form-actions .btn { min-width: 200px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.done-box { text-align: center; padding: 48px 12px; }
.done-box .mark { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; margin: 0 auto 24px; font-size: 26px; }
.done-box h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.done-box p { color: var(--ink-2); }

/* --- News --- */
.news-list { border-top: 1px solid var(--line-strong); }
.news-item { display: grid; grid-template-columns: 120px 1fr 120px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.news-item:hover { padding-left: 14px; }
.news-item .cat { font-size: 13px; color: var(--stone); }
.news-item .t { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item .d { font-family: var(--font-en); font-size: 13px; color: var(--stone); text-align: right; letter-spacing: .06em; }
.more-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* --- Footer --- */
.site-footer { background: var(--ink); color: rgba(245,243,239,.66); padding: 80px 0 40px; font-size: 14px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-inv); }
.site-footer .f-logo { width: 220px; }
.site-footer .f-copy { margin-top: 18px; max-width: 360px; }
.site-footer .f-links { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer .f-links a { color: var(--paper); }
.site-footer .f-links a:hover, .site-footer .f-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .f-links button { background: none; border: 0; color: var(--paper); cursor: pointer; font-size: 14px; }
.site-footer .info { padding-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
.site-footer .info span + span::before { content: ''; display: inline-block; width: 1px; height: 10px; background: var(--line-inv); margin-right: 20px; vertical-align: middle; }
.site-footer .copy { margin-top: 18px; font-family: var(--font-en); font-size: 11px; letter-spacing: .18em; color: rgba(245,243,239,.4); }

/* --- Popup layer --- */
.popup-layer { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 20px; background: rgba(13,13,13,.45); flex-wrap: wrap; overflow-y: auto; }
.popup-layer[hidden] { display: none; }
.popup-box { background: var(--white); width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.25); animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.popup-box img { width: 100%; height: auto; }
.popup-box .pf { display: flex; justify-content: space-between; background: var(--ink); color: var(--paper); font-size: 13px; }
.popup-box .pf button { background: none; border: 0; color: inherit; padding: 13px 16px; cursor: pointer; }
.popup-box .pf button:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Modal (privacy) --- */
.modal { position: fixed; inset: 0; z-index: 600; background: rgba(13,13,13,.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal .box { background: var(--white); width: 100%; max-width: 560px; max-height: 80vh; display: flex; flex-direction: column; }
.modal .box header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); font-weight: 700; }
.modal .box header button { background: none; border: 0; font-size: 22px; cursor: pointer; line-height: 1; }
.modal .box .body { padding: 24px; overflow-y: auto; font-size: 14.5px; color: var(--ink-2); white-space: pre-line; }

/* --- Toast --- */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 14px 22px; font-size: 14px; z-index: 700; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- Sub pages (board / survey) --- */
.sub-hero { padding: calc(var(--header-h) + 72px) 0 56px; border-bottom: 1px solid var(--line); }
.sub-hero .sec-title { font-size: clamp(32px, 4vw, 48px); }
.board-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.board-tabs a { padding: 8px 18px; border: 1px solid var(--line); font-size: 14px; }
.board-tabs a.on, .board-tabs a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.board-search { display: flex; gap: 8px; margin: 40px 0 20px; justify-content: flex-end; }
.board-search .input { max-width: 280px; height: 44px; }
.board-search .btn { height: 44px; padding: 0 18px; }
.board-table .news-item .t .pin { font-size: 11px; padding: 2px 8px; border: 1px solid var(--ink); margin-right: 8px; vertical-align: 2px; font-weight: 600; }
.board-empty { padding: 80px 0; text-align: center; color: var(--stone); border-bottom: 1px solid var(--line); }
.paging { display: flex; justify-content: center; gap: 4px; margin-top: 40px; }
.paging a, .paging span { min-width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--font-en); font-size: 13px; border: 1px solid transparent; }
.paging a:hover { border-color: var(--line); }
.paging .on { background: var(--ink); color: var(--paper); }
.post-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line-strong); }
.post-head h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; }
.post-head .meta { margin-top: 14px; display: flex; gap: 20px; color: var(--stone); font-size: 13.5px; }
.post-body { padding: 48px 0; font-size: 16.5px; line-height: 1.85; white-space: pre-line; border-bottom: 1px solid var(--line); }
.post-body img { margin: 12px 0; }
.post-files { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.post-files a { text-decoration: underline; text-underline-offset: 3px; }
.post-nav { display: flex; justify-content: center; margin-top: 40px; }

/* --- Reveal --- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv, .hero-visual { opacity: 1; transform: none; transition: none; animation: none; }
    .photo-band img { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .svc { grid-template-columns: 72px 1fr 40px; }
    .svc .body { grid-column: 2 / 3; }
    .svc .plus { grid-column: 3; grid-row: 1; }
    .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
    .steps::before { display: none; }
}

@media (max-width: 900px) {
    :root { --header-h: 64px; }
    .menu-toggle { display: block; }
    .gnb {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); padding: 24px var(--gutter);
        transform: translateX(100%); transition: transform .4s var(--ease);
        overflow-y: auto;
    }
    .menu-open .gnb { transform: none; }
    .menu-open .site-header { background: var(--paper); border-bottom-color: var(--line); }
    .gnb a { font-size: 22px; font-weight: 600; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .gnb a::after { display: none; }
    .gnb .btn { margin-top: 24px; height: 56px; font-size: 16px; border-bottom: 1px solid var(--ink); }
    .brand .symbol { height: 32px; }
    .brand .wordmark { height: 13px; }

    .hero .wrap { grid-template-columns: 1fr; }
    .hero-visual { justify-self: stretch; width: 100%; aspect-ratio: 16 / 11; margin-top: 8px; border-radius: 120px 120px 20px 20px; }
    .photo-band { border-radius: 20px; }
    .hero-visual .photo { object-position: center 40%; }
    .hero-visual .mark { width: 34%; left: auto; right: 8%; top: 12%; }
    .hero-strip { position: relative; margin-top: 64px; }
    .hero { flex-direction: column; justify-content: center; align-items: stretch; padding-bottom: 0; }
    .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
    .hero-strip .item:nth-child(3) { padding-left: 0; border-left: 0; }
    .hero-strip .item:nth-child(n+3) { border-top: 1px solid var(--line); }

    .sec-head { grid-template-columns: 1fr; gap: 20px; }
    .pain-list { grid-template-columns: 1fr; }
    .pain, .pain + .pain { padding: 32px 0; border-left: 0; }
    .pain + .pain { border-top: 1px solid var(--line); }
    .pain .num { margin-bottom: 16px; }
    .why-answer { flex-direction: column; align-items: flex-start; }
    .why-answer .rule { width: 64px; flex: none; }

    .app-grid { grid-template-columns: 1fr; }
    .phone { width: min(100%, 300px); }
    .form-sec { grid-template-columns: 1fr; }
    .form-side { position: static; }
    .news-item { grid-template-columns: 1fr auto; gap: 4px 16px; }
    .news-item .cat { grid-column: 1 / -1; }
    .news-item .d { text-align: left; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .btn { height: 52px; padding: 0 22px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-strip .item { padding: 16px 0; font-size: 13px; flex-direction: column; gap: 2px; }
    .hero-strip .item + .item { padding-left: 16px; }
    .hero-strip .item:nth-child(3) { padding-left: 0; }
    .svc { grid-template-columns: 1fr 32px; gap: 16px; padding: 32px 0; }
    .svc .no { grid-column: 1 / -1; padding: 0; }
    .svc .name { grid-column: 1; }
    .svc .body { grid-column: 1 / -1; }
    .svc .plus { grid-column: 2; grid-row: 2; width: 32px; height: 32px; }
    .svc-img { max-width: none; }
    .svc:hover { padding-left: 0; padding-right: 0; background: none; }
    .steps { grid-template-columns: 1fr; row-gap: 0; }
    .step { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
    .step .dot { margin: 0; }
    .process-note { padding: 22px; }
    .process-note .btn { width: 100%; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .q-body, .q-desc { margin-left: 0; }
    .form-card { padding: 24px 18px; margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
    .form-actions .btn { width: 100%; }
    .board-search { justify-content: stretch; }
    .board-search .input { max-width: none; flex: 1; }
    .site-footer .info span + span::before { display: none; }
    .site-footer .info { flex-direction: column; }
}
