/* 레이어레이어 — 흑백 + 포인트 오렌지(#FF6B1A) 한 군데 */
:root {
  --accent: #FF6B1A;
  --black: #000000;
  --ink: #111111;
  --g1: #1d1d1f;
  --g2: #424245;
  --g3: #6e6e73;
  --g4: #86868b;
  --g5: #a1a1a6;
  --line: #c7c7cc;
  --soft: #f5f5f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Noto Sans KR', system-ui, sans-serif; word-break: keep-all; }
a { color: var(--ink); }
a:hover { color: var(--g3); }
input, select, textarea, button { font-family: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap.narrow { max-width: 1100px; }
.sec { padding: 120px 24px; }
.sec.gray { background: var(--soft); }
.sec.black { background: var(--black); color: #fff; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--g3); letter-spacing: .08em; }
.black .eyebrow { color: var(--g5); }
.sec h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.2; font-weight: 900; letter-spacing: -.03em; }
.sec-title { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sec-desc { font-size: 18px; line-height: 1.7; color: var(--g5); }
.sec-desc.dark { color: var(--g2); }

/* 헤더 */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 10; }
.nav { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 14px; }
.nav-links a { color: #e8e8ed; text-decoration: none; padding: 12px 0; }
.nav-links a.strong { color: #fff; font-weight: 700; }
.nav-links a:hover { color: #fff; }

/* 첫 화면 */
.hero { background: var(--black); color: #fff; padding: 72px 24px 80px; }
.hero-head { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.papering { width: clamp(180px, 28vw, 340px); height: auto; margin: 8px 0 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 76px); line-height: 1.12; font-weight: 900; letter-spacing: -.03em; }
.hero-sub { font-size: clamp(17px, 2vw, 22px); color: var(--g5); line-height: 1.6; }

/* 고릴라 애니메이션 */
.gw { position: relative; width: clamp(180px, 24vw, 260px); aspect-ratio: 324/300; }
.gw img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gw .paper { position: absolute; left: 63.5%; top: 3%; width: 31.5%; height: 86%; transform-origin: top; transform: scaleY(0); background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 9px, rgba(255,255,255,.12) 9px 18px); animation: paper 3.6s ease-in-out infinite; }
.gw .brush { transform-origin: 50.9% 41.7%; animation: stroke .7s ease-in-out infinite; }
.gw .body { transform-origin: 40% 100%; animation: bob .7s ease-in-out infinite; }
@keyframes paper { 0% { transform: scaleY(0); opacity: 1 } 65% { transform: scaleY(1); opacity: 1 } 85% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }
@keyframes stroke { 0%, 100% { transform: rotate(-5deg) } 50% { transform: rotate(4deg) } }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(.8%) } }
@media (prefers-reduced-motion: reduce) { .gw .paper, .gw .brush, .gw .body { animation: none } .gw .paper { transform: scaleY(1) } }

/* 슬라이드 */
.slides { max-width: 1200px; margin: 56px auto 0; }
.slide { height: clamp(320px, 52vw, 640px); border-radius: 24px; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 16px; }
.slide.ph { background: var(--g1); border: 1px dashed #48484a; }
.ph .t1 { font-size: 18px; color: var(--g5); }
.ph .t2 { font-size: 14px; color: var(--g4); }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.dots button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dots span { display: block; width: 8px; height: 8px; border-radius: 4px; background: var(--g3); transition: width .25s; }
.dots button[aria-current="true"] span { width: 28px; background: #fff; }

/* 소개 */
.about { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
/* 로고 플레이: LAYER가 한 겹씩 쌓이는 글씨 */
/* 로고 이미지는 흰색이라 brightness(0)으로 검게 */
.layers { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.layers > img, .layers .cut { width: min(100%, 340px); }
.layers img { display: block; width: 100%; height: auto; filter: brightness(0); }
.layers .cut { aspect-ratio: 236 / 26; overflow: hidden; margin-bottom: 6px; }  /* 로고 윗줄(반쯤 잘린 LAYER)만 보이게 */
.layers .c1 { opacity: .15; }
.layers .c2 { opacity: .4; }

.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lead { font-size: 18px; line-height: 1.8; color: var(--g2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 12px; }
.stats div { border-top: 2px solid var(--ink); padding-top: 14px; }
.stats b { display: block; font-size: 28px; font-weight: 900; }
.stats span { display: block; font-size: 15px; color: var(--g3); margin-top: 4px; }

/* 팀 소개 */
.team-quote { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin-top: 8px; }
.team-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 20px; }
.team-photo[hidden] { display: none; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member { background: var(--g1); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.m-photo { aspect-ratio: 1 / 1; background: #2c2c2e; display: flex; align-items: center; justify-content: center; }
.m-photo svg { width: 45%; height: 45%; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-info { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.m-role { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid #48484a; color: var(--g5); }
.member.is-boss .m-role { background: #fff; border-color: #fff; color: #000; }
.m-info h3 { font-size: 20px; font-weight: 900; margin-top: 8px; }
.m-years { font-size: 15px; color: #fff; }
.m-desc { font-size: 14px; line-height: 1.6; color: var(--g5); }

/* 시공 과정 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step-link { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; }
.step-note { font-size: 14px !important; color: var(--g3) !important; margin-top: -6px !important; }
.step { background: #fff; border-radius: 24px; padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; }
.step-num { font-size: clamp(64px, 6vw, 88px); font-weight: 900; font-style: italic; line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 8px; transition: color .25s; }
.step:hover .step-num { color: var(--ink); }
.step-en { font-size: 13px; font-weight: 700; color: var(--g3); letter-spacing: .12em; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.7; color: var(--g2); }

/* 시공 사례 */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .works { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.work { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--soft); }
.work img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work:hover img { transform: scale(1.04); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.work.ph { background: var(--soft); border: 1px dashed var(--line); gap: 8px; }
.work.ph .t1 { font-size: 15px; color: var(--g3); }

/* 시공 사례: 주제별 여러 장 */
.w-frame { position: relative; }
.w-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; max-width: 100%; }
.w-strip::-webkit-scrollbar { display: none; }
.w-shot { flex: 0 0 100%; scroll-snap-align: start; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.work .w-shot img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.w-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #111; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.w-prev { left: 10px; } .w-next { right: 10px; }
.w-count { position: absolute; right: 10px; bottom: 10px; font-size: 13px; font-weight: 700; padding: 3px 9px; background: rgba(0,0,0,.6); color: #fff; font-variant-numeric: tabular-nums; }
.w-n { font-weight: 400; color: var(--g3); margin-left: 6px; }
.w-note { display: block; font-weight: 400; color: var(--g3); font-size: 14px; }
.w-strip:focus-visible, .w-nav:focus-visible, .w-shot:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
@media (hover: none) { .w-nav { display: none; } }   /* 휴대폰은 손가락으로 넘김 */

.lightbox { width: min(96vw, 1400px); max-width: none; height: min(92vh, 1000px); max-height: none; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox.lb-fallback { position: fixed; inset: 0; margin: auto; z-index: 100; box-shadow: 0 0 0 100vmax rgba(0,0,0,.82); }
.lightbox img { width: 100%; height: calc(100% - 52px); object-fit: contain; display: block; }
.lb-cap { margin: 0; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.lb-nav, .lb-close { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; font-size: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-nav { top: calc(50% - 50px); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { top: 12px; right: 12px; font-size: 22px; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.28); }
.lb-nav:focus-visible, .lb-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* 견적 문의 */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.mode { text-align: center; padding: 32px 24px; border-radius: 20px; border: 2px solid #48484a; background: var(--g1); color: #fff; cursor: pointer; }
.mode[aria-pressed="true"] { border-color: #fff; background: #fff; color: #000; }
.mode span { display: block; }
.mode .m1 { font-size: 30px; font-weight: 900; }
.mode .m2 { font-size: 18px; font-weight: 700; margin-top: 6px; }
.mode .m3 { font-size: 14px; margin-top: 8px; opacity: .75; }

.est { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; align-items: flex-start; }
.est[hidden] { display: none; }
.est-form { flex: 999 1 460px; min-width: 0; background: #fff; color: var(--ink); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 26px; }
.est-form h3 { font-size: 22px; font-weight: 900; }
#estGroups { display: flex; flex-direction: column; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > label:not(.check), .field .label { font-size: 15px; font-weight: 700; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row input { flex: 1 1 140px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; }
.row input#manualArea { flex-basis: 200px; }
.hint { font-size: 14px; line-height: 1.6; color: var(--g3); }
.err { font-size: 14px; font-weight: 700; color: #d70015; }
.err[hidden] { display: none; }
.row input[aria-invalid="true"] { border-color: #d70015; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.check { display: flex; align-items: center; gap: 10px; font-size: 16px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.d-desc { margin: -6px 0 6px 30px; }
.d-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 8px 30px; }
.d-sub > span { font-size: 14px; color: var(--g3); }

.est-sum { flex: 1 1 320px; min-width: 0; background: var(--g1); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.sum-title { font-size: 13px; font-weight: 700; color: var(--g5); letter-spacing: .06em; }
#sumList { list-style: none; margin: 0; padding: 0; font-size: 15px; }
#sumList li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #333336; }
#sumList .k { color: var(--g5); flex: none; }
#sumList .v { text-align: right; color: #fff; }
.sum-note { font-size: 14px; line-height: 1.6; color: var(--g5); }
.btn-white { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; background: #fff; color: #000; font-size: 16px; font-weight: 900; text-decoration: none; }
.btn-white:hover { color: #000; background: #e8e8ed; }

/* 문의 게시판 */
.contact { display: flex; flex-direction: column; gap: 40px; }
.contact-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.contact-text { display: flex; flex-direction: column; gap: 14px; }
.insta { font-size: 16px; font-weight: 700; padding: 10px 0; }
.card { background: #fff; border-radius: 24px; }
.board-wrap { padding: 12px 28px; overflow-x: auto; }
.board { min-width: 560px; }
.board-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) 90px 110px 100px; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e5e5ea; font-size: 15px; align-items: center; }
.board-head { padding: 14px 0; border-bottom: 2px solid var(--ink); font-size: 14px; font-weight: 700; }
.board-row .no, .board-row .date { color: var(--g3); }
.board-row .who { color: var(--g2); }
.board-row .ttl { display: flex; align-items: center; gap: 8px; min-width: 0; }
.board-row .tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--soft); color: var(--g2); white-space: nowrap; }
.board-row .ttl svg { flex: none; }
.board-row .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .st { font-size: 13px; font-weight: 700; color: var(--g3); }
.board-row .st.done { color: var(--ink); }

.form-card { padding: 40px 32px; }
.form-card > h3 { margin-bottom: 24px; font-size: 22px; font-weight: 900; }
.sent { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.sent[hidden] { display: none; }
.sent h3 { font-size: 26px; font-weight: 900; }
.sent p { font-size: 16px; color: var(--g3); }
.btn-line { margin-top: 12px; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: 15px; cursor: pointer; }
.attached { background: var(--soft); border-radius: 16px; padding: 20px 22px; margin-bottom: 24px; }
.attached[hidden] { display: none; }
.attached-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 15px; }
.attached-head a { font-size: 14px; padding: 4px 0; }
.attached-row { display: flex; gap: 12px; font-size: 14px; padding: 4px 0; }
.attached-row .k { color: var(--g3); width: 84px; flex: none; }
.not-attached { display: block; background: var(--soft); border-radius: 16px; padding: 18px 22px; margin-bottom: 24px; font-size: 15px; text-decoration: none; }
.not-attached[hidden] { display: none; }
.inq { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.inq label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.inq .full { grid-column: 1 / -1; }
.inq input, .inq textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; font-weight: 400; }
.inq textarea { padding: 12px 14px; resize: vertical; line-height: 1.6; }
.attach { display: flex; flex-direction: column; gap: 8px; }
.inq .attach-label { display: block; font-size: 14px; font-weight: 700; }
.attach-label span { font-weight: 400; color: var(--g3); }
.inq .attach-input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; }
.attach-drop { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border: 1px dashed var(--line); border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; text-align: center; }
.attach-drop small { font-size: 13px; font-weight: 400; color: var(--g3); }
.attach-drop:hover, .attach-input:focus-visible + .attach-drop { border-color: var(--ink); }
.attach-input:focus-visible + .attach-drop { outline: 3px solid var(--ink); outline-offset: 2px; }
.attach.drag .attach-drop { border-style: solid; border-color: var(--ink); background: var(--soft); }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.file-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid #e5e5ea; }
.file-list .f-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .f-size { color: var(--g3); font-variant-numeric: tabular-nums; }
.file-list button { border: 1px solid var(--line); background: #fff; min-height: 32px; padding: 0 10px; cursor: pointer; font-size: 13px; }
.inq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 15px; font-weight: 700; color: var(--g2); }
.form-msg.err { color: #d70015; }
.form-msg[hidden] { display: none; }
.privacy { margin: 0; font-size: 13px; color: var(--g3); }
.consent { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--soft); }
.inq .consent-check { flex-direction: row; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; cursor: pointer; }
.inq .consent-check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; accent-color: #111; flex: none; }
.attached-actions { display: inline-flex; align-items: center; gap: 14px; }
.link-btn { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; color: inherit; }
.consent-sum { margin: -2px 0 6px 30px; font-size: 13px; line-height: 1.65; color: var(--g2); }
.consent-sum a { font-weight: 700; white-space: nowrap; }
.board-empty { padding: 28px 0; text-align: center; font-size: 15px; color: var(--g3); }
.btn-accent:disabled { opacity: .6; cursor: wait; }
.btn-accent { min-height: 56px; border: 0; border-radius: 999px; background: var(--accent); color: #000; font-size: 18px; font-weight: 900; cursor: pointer; }
.btn-accent:hover { filter: brightness(1.05); }

/* 푸터 */
.footer { background: var(--black); color: var(--g5); padding: 64px 24px 48px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer-text { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 34px; width: auto; align-self: flex-start; }
.footer-text p { font-size: 14px; line-height: 1.8; }
.footer-text a { color: #e8e8ed; }
.footer .copy { font-size: 13px; color: var(--g4); }
/* 커피 마시는 고릴라 애니메이션 */
.coffee { position: relative; width: 200px; aspect-ratio: 317 / 215; }
.coffee img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.coffee .c-body {   /* 김을 뺀 나머지(고릴라·컵) — 천천히 한 모금 */
  clip-path: polygon(0 0, 18% 0, 18% 56%, 40% 56%, 40% 23%, 72% 23%, 72% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: 70% 100%; animation: sip 4s ease-in-out infinite;
}
.coffee .c-steam {  /* 김만 — 위로 피어오르며 흔들림 */
  clip-path: polygon(18% 0, 72% 0, 72% 23%, 40% 23%, 40% 56%, 18% 56%);
  animation: steam 2.4s ease-in-out infinite;
}
@keyframes sip { 0%, 55%, 100% { transform: rotate(0) translateY(0) } 70%, 85% { transform: rotate(-2.5deg) translateY(-1.5%) } }
@keyframes steam { 0% { transform: translateY(2%) skewX(0); opacity: .35 } 50% { transform: translateY(-3%) skewX(-4deg); opacity: 1 } 100% { transform: translateY(2%) skewX(0); opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .coffee img { animation: none } }

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.slides.reveal { transform: translateY(48px) scale(.94); }
.slides.reveal.in { transform: none; }

/* 첫 화면 글씨: 처음 열릴 때 한 줄씩 올라옴 */
.hero-head > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-head > :nth-child(2) { animation-delay: .15s; }
.hero-head > :nth-child(3) { animation-delay: .3s; }
.hero-head > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* 슬라이드 사진: 천천히 확대 (영상처럼) */
.slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide img { animation: kenburns 8s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-head > *, .slide img { animation: none; } html { scroll-behavior: auto; } }

/* 휴대폰 */
@media (max-width: 600px) {
  .sec { padding: 80px 16px; }
  .hero { padding: 48px 16px 56px; }
  .nav { padding: 10px 16px; }
  .nav-links { gap: 0 18px; }
  .est-sum { position: static; }
  .est-form, .est-sum { padding: 24px 20px; }
  .form-card { padding: 28px 20px; }
  .board-wrap { padding: 8px 16px; }
}
