/* Trendeer 공통 스타일. 흰 바탕 + 검정·회색만. 모양 규칙: 버튼·칩은 알약(999px), 카드·타일은 24px */
:root {
  --bg: #FFFFFF;
  --surface: #F4F4F2;
  --line: #E4E4E1;
  --text: #111111;
  --muted: #6B6B66;
  --accent: #111111;
  --on-accent: #FFFFFF;
  --point: #111111;   /* 채움 색 (검정) */
  --ink: #FFFFFF;     /* 검정 채움 위 글자 */
  --ink-muted: #6B6B66;
  --hl: #DCDCD8;      /* 형광 밑줄 회색 */

  --font-en: "Space Grotesk", "Pretendard", system-ui, sans-serif;
  --radius: 999px;
  --r: 24px;
  --nav-h: 76px;
  --slow: cubic-bezier(0.22, 1, 0.36, 1);
  --in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body { overflow-x: clip; }
/* display를 지정한 요소도 hidden 속성이 있으면 숨긴다 (빈 상태 안내, 관리자 버튼 등) */
[hidden] { display: none !important; }
::selection { background: var(--point); color: var(--ink); }
.en { font-family: var(--font-en); letter-spacing: -0.01em; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }

/* ---------- 로고 (사슴 + 점 5개) ---------- */
.mark { position: relative; display: inline-block; aspect-ratio: 584 / 691; color: var(--text); }
.mark img { width: 100%; height: 100%; }
.mark i { position: absolute; aspect-ratio: 1; border-radius: 50%; background: currentColor; translate: -50% -50%; }
.mark i:nth-of-type(1) { left: 38.96%; top: 5.21%; width: 12.67%; }
.mark i:nth-of-type(2) { left: 69.26%; top: 15.12%; width: 5.82%; }
.mark i:nth-of-type(3) { left: 30.31%; top: 27.35%; width: 9.42%; }
.mark i:nth-of-type(4) { left: 69.69%; top: 31.48%; width: 8.73%; }
.mark i:nth-of-type(5) { left: 49.32%; top: 46.89%; width: 5.99%; }

/* ---------- 헤더 ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); }
/* 흐림 배경은 가상 요소에 둔다 (nav에 직접 주면 모바일 메뉴의 position: fixed가 헤더 안에 갇힌다) */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.logo .mark { height: 40px; }
.logo .wordmark { height: 17px; width: auto; }
.logo .mark i { transition: transform 420ms var(--pop); }
@media (hover: hover) and (pointer: fine) {
  .logo:hover .mark i { transform: translateY(-5px); }
  .logo:hover .mark i:nth-of-type(2) { transition-delay: 40ms; }
  .logo:hover .mark i:nth-of-type(3) { transition-delay: 80ms; }
  .logo:hover .mark i:nth-of-type(4) { transition-delay: 120ms; }
  .logo:hover .mark i:nth-of-type(5) { transition-delay: 160ms; }
}
.nav ul { display: flex; align-items: center; gap: 36px; list-style: none; padding: 0; }
.nav ul a:not(.btn) { position: relative; display: inline-block; padding: 12px 0; font-size: 16px; font-weight: 600; }
.nav ul a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--slow); }
.nav ul a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav ul a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}
.menu-btn { display: none; position: relative; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 300ms var(--slow); }
.menu-btn i:first-of-type { top: 19px; }
.menu-btn i:last-of-type { top: 27px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .menu-btn { display: block; margin-right: -8px; }
  .logo .mark { height: 34px; }
  .logo .wordmark { height: 15px; }
  .nav nav { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); padding: 24px var(--gutter) 40px; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 500ms var(--in-out), visibility 0s 500ms; }
  .nav nav.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 600ms var(--in-out); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); overflow: hidden; }
  .nav ul a:not(.btn), .nav ul .btn { display: block; padding: 20px 0; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; background: none; color: var(--text); min-height: 0; border-radius: 0; text-align: left; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--muted); }
  .nav ul li > a { transform: translateY(100%); transition: transform 500ms var(--slow); }
  .nav nav.open li > a { transform: none; transition-delay: calc(var(--n) * 60ms + 200ms); }
}

/* ---------- 버튼: 올라오는 막 없이 색만 부드럽게 바뀌고 화살표가 살짝 나간다 ---------- */
.btn { transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease, transform 160ms var(--ease-out); }
.btn i { font-size: 18px; transition: transform 400ms var(--slow); }
.btn-point { background: var(--point); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover i { transform: translate(3px, -3px); }
  .btn-primary:hover, .btn-point:hover { background: #3A3A38; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .5); }
  .btn-ghost:hover { background: var(--surface); border-color: var(--text); color: var(--text); }
}

/* ---------- 등장 효과 ---------- */
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.words .w > span { display: inline-block; }
.js .words .w > span { transform: translateY(110%); transition: transform 1.2s var(--slow); transition-delay: calc(var(--d, 0) * 150ms + var(--i) * 70ms); }
.js .words.is-in .w > span { transform: none; }

.js .rise-img { clip-path: inset(18% 0 0 0 round var(--r)); transition: clip-path 1.6s var(--slow); transition-delay: calc(var(--d, 0) * 150ms); }
.js .rise-img.is-in { clip-path: inset(0 0 0 0 round var(--r)); }

/* 형광 라임 밑줄이 그려진다 */
.mark-hl { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 100% .34em; }
.js .words .mark-hl, .js .rise .mark-hl, .js .statement .mark-hl { background-size: 0% .34em; transition: background-size 1s var(--slow) 1.1s; }
.js .is-in .mark-hl { background-size: 100% .34em; }

/* ---------- 페이지 전환: 먹색 막 + 흰 사슴 ---------- */
body::before, body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--point) url("mark-white.webp") center / 64px auto no-repeat;
}
body::before { transform: translateY(-100%); }
.js body::before { animation: curtain-up 900ms var(--in-out) 120ms both; }
/* 인트로가 나온 방문에서는 들어올 때 막을 쓰지 않는다 (intro 클래스는 로고 이동 후 지워지므로 끝까지 남는 no-curtain으로 막는다) */
.no-curtain body::before { animation: none; }
@keyframes curtain-up { from { transform: none; } to { transform: translateY(-100%); } }
body::after { transform: translateY(100%); visibility: hidden; transition: transform 520ms var(--in-out), visibility 0s 520ms; }
.leaving body::after { transform: none; visibility: visible; pointer-events: auto; transition: transform 520ms var(--in-out); }

/* ---------- 인트로 (홈 첫 진입) ---------- */
.intro-stage { display: none; }
.intro .intro-stage { display: flex; position: fixed; inset: 0; z-index: 90; flex-direction: column; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 24px); pointer-events: none; }
.intro-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); transition: opacity 700ms ease 250ms; }
.intro-leave .intro-stage::before { opacity: 0; }
.intro-stage .mark { width: clamp(150px, 20vw, 250px); }
.intro-stage .wordmark { width: clamp(195px, 26vw, 325px); height: auto; }
.intro-stage .mark img { clip-path: inset(100% 0 0 0); animation: intro-wipe 1.1s var(--slow) 150ms forwards; }
.intro-stage .wordmark { opacity: 0; transform: translateY(40%); animation: intro-rise 1.1s var(--slow) 450ms forwards; }
.intro-stage .mark i { opacity: 0; scale: .4; animation: intro-pop 600ms var(--pop) forwards; }
.intro-stage .mark i:nth-of-type(5) { animation-delay: 800ms; }
.intro-stage .mark i:nth-of-type(3) { animation-delay: 900ms; }
.intro-stage .mark i:nth-of-type(4) { animation-delay: 1000ms; }
.intro-stage .mark i:nth-of-type(1) { animation-delay: 1100ms; }
.intro-stage .mark i:nth-of-type(2) { animation-delay: 1200ms; }
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-rise { to { opacity: 1; transform: none; } }
@keyframes intro-pop { to { opacity: 1; scale: 1; } }
.intro .nav .logo { opacity: 0; }
.intro .nav nav, .intro .menu-btn { opacity: 0; transition: opacity 600ms ease 600ms; }
.intro-leave .nav nav, .intro-leave .menu-btn { opacity: 1; }

/* ---------- 공통 섹션 ---------- */
.section { padding: clamp(96px, 12vw, 168px) 0; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--point); }

/* 서브 페이지 머리 */
.page-head { position: relative; padding: clamp(72px, 10vw, 136px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-head h1 { font-family: var(--font-en); font-size: clamp(56px, 10vw, 144px); font-weight: 700; letter-spacing: -0.055em; line-height: 1; }
.page-head .en-sub { display: block; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.page-head p { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 32ch; }
.head-dots { position: absolute; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: clamp(40px, 6vw, 80px); width: clamp(120px, 16vw, 220px); aspect-ratio: 1; pointer-events: none; }
.head-dots i { position: absolute; border-radius: 50%; background: var(--text); animation: bob var(--t) ease-in-out infinite alternate; }
.head-dots i:nth-child(1) { width: 34%; aspect-ratio: 1; left: 8%; top: 12%; background: var(--hl); --t: 3.2s; }
.head-dots i:nth-child(2) { width: 14%; aspect-ratio: 1; left: 64%; top: 4%; --t: 2.6s; }
.head-dots i:nth-child(3) { width: 20%; aspect-ratio: 1; left: 58%; top: 52%; --t: 3.8s; }
.head-dots i:nth-child(4) { width: 10%; aspect-ratio: 1; left: 22%; top: 72%; --t: 2.9s; }
@keyframes bob { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.js .head-dots i { opacity: 0; scale: .4; transition: opacity 500ms ease, scale 700ms var(--pop); transition-delay: calc(var(--k) * 120ms + 700ms); }
.js .head-dots.is-in i { opacity: 1; scale: 1; }
@media (max-width: 860px) { .head-dots { width: 96px; top: 48px; bottom: auto; } }

/* 빈 상태 (포트폴리오·후기) */
.empty { display: grid; justify-items: center; text-align: center; gap: 18px; padding: clamp(64px, 9vw, 120px) 24px; border: 1.5px dashed var(--line); border-radius: var(--r); }
.empty .mark { width: 84px; }
.empty .mark i { animation: hop 2.4s var(--slow) infinite; }
.empty .mark i:nth-of-type(2) { animation-delay: 120ms; }
.empty .mark i:nth-of-type(3) { animation-delay: 240ms; }
.empty .mark i:nth-of-type(4) { animation-delay: 360ms; }
.empty .mark i:nth-of-type(5) { animation-delay: 480ms; }
@keyframes hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px); } }
.empty h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.empty p { color: var(--muted); font-size: 17px; }
.empty .btn { margin-top: 10px; }

/* ---------- 푸터 ---------- */
.foot { background: var(--bg); color: var(--text); padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px 48px; }
.foot .wordmark { width: clamp(140px, 14vw, 180px); height: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-size: 15px; transition: color 200ms ease; }
.foot-links li:has(.is-pending) { display: none; }
.foot-copy { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; font-family: var(--font-en); }
@media (hover: hover) and (pointer: fine) { .foot-links a:not(.is-pending):hover { color: var(--muted); } }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- 홈: 히어로 ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); display: flex; align-items: center; padding: 24px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero .brand { font-family: var(--font-en); font-size: clamp(64px, 9.4vw, 148px); font-weight: 700; letter-spacing: -0.06em; line-height: .95; }
.hero-sub { margin-top: clamp(24px, 3vw, 36px); font-size: clamp(24px, 2.5vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; }
.hero .lead { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-cta .btn { min-height: 56px; padding: 0 30px; font-size: 17px; }

/* 작업물 사진 기둥 2줄: 왼쪽은 위로, 오른쪽은 아래로 흐른다. 누르면 포트폴리오로 */
.showcase { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; height: clamp(520px, calc(100dvh - var(--nav-h) - 64px), 820px); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.showcase .track { display: flex; flex-direction: column; gap: 14px; animation: col-up 60s linear infinite; }
.showcase .col:nth-child(2) .track { animation-name: col-down; animation-duration: 68s; }
.showcase img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: filter 400ms ease; }
@keyframes col-up { to { transform: translateY(calc(-50% - 7px)); } }
@keyframes col-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: none; } }
.showcase .view { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--point); color: var(--ink); font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity 250ms ease, transform 350ms var(--slow); pointer-events: none; }
.showcase:focus-visible .view { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: hover) and (pointer: fine) {
  .showcase:hover .track { animation-play-state: paused; }
  .showcase:hover img { filter: brightness(.6); }
  .showcase:hover .view { opacity: 1; transform: translate(-50%, -50%); }
}
@media (hover: none) { .showcase .view { opacity: 1; top: auto; bottom: 12%; transform: translateX(-50%); } }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .showcase { height: 460px; gap: 10px; }
  .showcase .track { gap: 10px; }
  @keyframes col-up { to { transform: translateY(calc(-50% - 5px)); } }
  @keyframes col-down { from { transform: translateY(calc(-50% - 5px)); } to { transform: none; } }
}

/* ---------- 홈: 키워드 띠 ---------- */
.marquee { background: var(--point); color: var(--ink); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee ul { display: flex; align-items: center; list-style: none; padding: 0; }
.marquee li { display: flex; align-items: center; font-family: var(--font-en); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; white-space: nowrap; }
.marquee li::after { content: ""; width: .42em; height: .42em; margin: 0 .9em; border-radius: 50%; background: var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 홈: 소개 ---------- */
.statement { margin-top: 36px; font-size: clamp(30px, 4.2vw, 58px); font-weight: 700; line-height: 1.3; letter-spacing: -0.04em; }
.statement .w { color: #D2D2CE; transition: color 600ms ease; transition-delay: calc(var(--i) * 70ms + 200ms); }
.statement.is-in .w { color: var(--text); }
.statement .w.em { position: relative; }
.points { margin-top: clamp(72px, 9vw, 120px); list-style: none; padding: 0; }
.points li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 24px 48px; padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--point); transform: scaleY(0); transform-origin: bottom; transition: transform 500ms var(--slow); }
.points .en { font-size: clamp(40px, 6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.points h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; }
.points p { margin-top: 8px; color: var(--muted); font-size: 17px; line-height: 1.65; }
@media (hover: hover) and (pointer: fine) {
  .points li:hover::before { transform: none; }
  .points li:hover { color: var(--ink); }
  .points li:hover p { color: var(--ink); }
}
@media (max-width: 720px) { .points li { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- 홈: 바로가기 ---------- */
.tiles { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(250px, auto)); gap: 16px; margin-top: 48px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r); overflow: hidden; isolation: isolate; transition: transform 300ms var(--slow); }
.tile:active { transform: scale(.985); }
.tile h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; }
.tile p { margin-top: 10px; font-size: 17px; }
.tile .go { align-self: flex-start; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 24px; transition: transform 450ms var(--slow); }
.tile-work { grid-row: span 2; background: var(--surface); color: var(--text); }
.tile-work p { color: var(--ink-muted); }
.tile-work .go { background: var(--point); color: var(--ink); }
.tile-work .bg-mark { position: absolute; right: -8%; bottom: -14%; width: 62%; z-index: -1; opacity: .9; transition: transform 1.2s var(--slow); }
.tile-work .bg-mark img { opacity: .07; filter: invert(1); }
.tile-price { background: var(--point); color: var(--ink); }
.tile-price .go { background: var(--ink); color: var(--text); }
.tile-price .from { font-family: var(--font-en); font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tile-price .from small { font-family: var(--font-body); font-size: .36em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.tile-review { border: 1px solid var(--line); }
.tile-review .go { background: var(--text); color: var(--ink); }
.tile-review .quote { position: absolute; right: 24px; bottom: -92px; z-index: -1; font-family: var(--font-en); font-size: 200px; font-weight: 700; line-height: 1; color: #EDEDEA; transition: transform 800ms var(--slow); }
.tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .go { transform: rotate(45deg); }
  .tile-work:hover .bg-mark { transform: translate(-4%, -4%) scale(1.04); }
  .tile-review:hover .quote { transform: translateY(-12px) rotate(-6deg); }
}
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile-work { grid-row: auto; min-height: 340px; }
}

/* ---------- 홈: 연락처 ---------- */
.reach { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 96px); }
.reach .h2 { font-size: clamp(48px, 8vw, 112px); letter-spacing: -0.05em; }
.reach .sub { margin-top: 24px; color: var(--ink-muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.channels { display: grid; gap: 0; margin-top: clamp(48px, 6vw, 80px); list-style: none; padding: 0; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 20px; padding: 26px 8px; isolation: isolate; }
.channels a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--point); transform: scaleY(0); transform-origin: bottom; transition: transform 450ms var(--slow); }
.channels .ic { font-size: 30px; }
.channels strong { font-family: var(--font-en); display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.channels span.val { display: block; margin-top: 2px; color: var(--ink-muted); font-size: 15px; overflow-wrap: anywhere; }
.channels .arrow { font-size: 28px; transition: transform 450ms var(--slow); }
.channels a.is-pending { cursor: default; }
.channels a.is-pending strong, .channels a.is-pending .ic { color: #A5A5A0; }
.channels a.is-pending .arrow { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .channels a:not(.is-pending):hover { color: var(--ink); }
  .channels a:not(.is-pending):hover .val { color: #BDBDB8; }
  .channels a:not(.is-pending):hover::before { transform: none; }
  .channels a:not(.is-pending):hover .arrow { transform: rotate(45deg); }
}
@media (max-width: 560px) { .channels a { grid-template-columns: 40px 1fr auto; gap: 14px; } }

/* ---------- 가격 ---------- */
/* 패키지 하나: 넓은 검정 카드에 가격 / 포함 혜택 / 맞춤 옵션을 나란히 */
.deal { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(32px, 4vw, 64px); padding: clamp(32px, 4vw, 56px); border-radius: var(--r); background: var(--point); color: var(--ink); }
.deal-name { font-family: var(--font-en); font-size: 15px; font-weight: 600; letter-spacing: .08em; color: #A3A39B; }
.deal h2 { margin-top: 16px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; }
.price { margin-top: 24px; font-family: var(--font-en); font-size: clamp(52px, 5.6vw, 80px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: .3em; font-weight: 700; letter-spacing: 0; margin-left: 6px; }
.plan-meta { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.plan-meta span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #2A2A28; font-size: 14px; font-weight: 600; }
.deal-main { display: flex; flex-direction: column; align-items: flex-start; }
.deal-main .btn { margin-top: 36px; width: 100%; min-height: 56px; font-size: 17px; }
.deal .btn-point { background: var(--ink); color: var(--point); }
@media (hover: hover) and (pointer: fine) { .deal .btn-point:hover { background: #E4E4E1; color: var(--point); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); } }
.deal-col { padding-left: clamp(32px, 4vw, 64px); border-left: 1px solid #2E2E2B; }
.deal h3 { font-size: 18px; font-weight: 700; }
.incl { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 14px; }
.incl li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.incl li i { flex: none; font-size: 18px; }
.incl em { flex: none; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--point); font-style: normal; font-size: 13px; font-weight: 800; }
.opts { list-style: none; padding: 0; margin-top: 20px; }
.opts li { border-bottom: 1px solid #2E2E2B; font-size: 16px; }
.opts a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .opts a:hover { opacity: .7; } }
.opt-fallback { padding: 16px 0; color: #A3A39B; }
.opts li:first-child { border-top: 1px solid #2E2E2B; }
.opts a > span { white-space: nowrap; }
.opts small { color: #A3A39B; font-size: 14px; margin-left: 4px; }
.opts b { font-family: var(--font-en); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.opts b small { font-family: var(--font-body); font-size: 14px; color: inherit; margin-left: 2px; }
@media (max-width: 1080px) {
  .deal { grid-template-columns: 1fr 1fr; }
  .deal-main { grid-column: 1 / -1; }
  .deal-main .btn { width: auto; }
  .deal-main + .deal-col { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .deal { grid-template-columns: 1fr; }
  .deal-main .btn { width: 100%; }
  .deal-col { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid #2E2E2B; }
}
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--point); color: var(--ink); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; list-style: none; padding: 0; }
.steps li { position: relative; padding: 36px 24px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--slow); transition-delay: calc(var(--d, 0) * 250ms + 400ms); }
.steps.is-in li::after { transform: none; }
.steps .dot { position: absolute; left: 0; top: -7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); transition: background-color 300ms ease; transition-delay: calc(var(--d, 0) * 250ms + 400ms); }
.steps.is-in .dot { background: var(--point); }
.steps h3 { font-size: 22px; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 36px 36px; }
  .steps li::before, .steps li::after { left: 7px; right: auto; top: 8px; bottom: 0; width: 2px; height: auto; }
  .steps li::after { transform: scaleY(0); transform-origin: top; }
  .steps .dot { top: 0; }
}

/* ---------- 포트폴리오·후기 목록 ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.work figure { overflow: hidden; border-radius: var(--r); background: var(--surface); aspect-ratio: 4 / 3; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--slow); }
.work { animation: notice-in 700ms var(--slow) both; animation-delay: calc(var(--k, 0) * 60ms); }
.work h2 { margin-top: 20px; font-size: 24px; font-weight: 800; }
.work h2 i { font-size: 20px; vertical-align: -2px; }
.work p { margin-top: 4px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .work:hover img { transform: scale(1.05); } }
@media (max-width: 720px) { .works { grid-template-columns: 1fr; } }

.reviews { columns: 2 320px; column-gap: 16px; }
.review { break-inside: avoid; margin-bottom: 16px; padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.review blockquote { font-size: 19px; line-height: 1.65; font-weight: 500; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.review figcaption strong { color: var(--text); }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ch { position: relative; display: flex; flex-direction: column; gap: 56px; min-height: 280px; padding: 32px; border-radius: var(--r); overflow: hidden; isolation: isolate; transition: transform 300ms var(--slow); }
.ch:active { transform: scale(.985); }
.ch .ic { font-size: 40px; }
.ch strong { font-family: var(--font-en); display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.ch .val { display: block; margin-top: 6px; font-size: 16px; overflow-wrap: anywhere; }
.ch .go { position: absolute; right: 28px; top: 28px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; transition: transform 450ms var(--slow); }
.ch-ig { background: var(--surface); color: var(--text); }
.ch-ig .val { color: var(--ink-muted); }
.ch-ig .go { background: var(--point); color: var(--ink); }
.ch-mail { background: var(--point); color: var(--ink); }
.ch-mail .go { background: var(--ink); color: var(--text); }
.ch-kakao { border: 1px solid var(--line); }
.ch-kakao .val { color: var(--muted); }
.ch-kakao .go { background: var(--text); color: var(--ink); }
.ch.is-pending { cursor: default; }
.ch.is-pending .go { display: none; }
.ch.is-pending .val { color: inherit; opacity: .6; }
@media (hover: hover) and (pointer: fine) { .ch:not(.is-pending):hover .go { transform: rotate(45deg); } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .ch { min-height: 0; gap: 40px; } }

.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; margin-top: clamp(80px, 10vw, 128px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.brief .h2 { font-size: clamp(30px, 3.4vw, 44px); }
.brief > div > p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.template { position: relative; padding: 28px; border-radius: var(--r); background: var(--surface); color: var(--text); }
.template pre { margin: 0; font-family: "Pretendard", system-ui, sans-serif; font-size: 16px; line-height: 1.9; white-space: pre-wrap; }
.template .btn { margin-top: 20px; }
.copy-status { margin-top: 12px; min-height: 1.5em; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .brief { grid-template-columns: 1fr; } }

/* ---------- 공지사항 ---------- */
.notice-admin, .board-bar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
.notices { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.notice { border-bottom: 1px solid var(--line); animation: notice-in 700ms var(--slow) both; animation-delay: calc(var(--k) * 60ms); }
@keyframes notice-in { from { opacity: 0; transform: translateY(16px); } }
.notice summary { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; padding: 26px 4px; cursor: pointer; list-style: none; }
.notice summary::-webkit-details-marker { display: none; }
.notice time { font-family: var(--font-en); font-size: 15px; color: var(--muted); }
.notice-title { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; }
.notice summary i { font-size: 20px; transition: transform 300ms var(--slow); }
.notice details[open] summary i { transform: rotate(45deg); }
.notice-body { padding: 0 4px 32px calc(120px + 20px); }
.notice-body img { width: min(100%, 560px); border-radius: 16px; margin-top: 20px; }
.notice-text { white-space: pre-line; color: #333330; line-height: 1.75; max-width: 65ch; }
.notice-tools { display: flex; gap: 8px; margin-top: 20px; }
.notice-error { padding: 24px; border-radius: var(--r); background: var(--surface); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .notice summary:hover .notice-title { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 640px) {
  .notice summary { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .notice time { grid-column: 1 / -1; font-size: 14px; }
  .notice-body { padding-left: 4px; }
}

/* 공지 쓰기 창 */
.editor { margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: var(--bg); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35); }
.editor::backdrop { background: rgba(17, 17, 17, .45); }
.editor form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 36px); }
.editor h2 { font-size: 24px; font-weight: 800; }
.field { display: grid; gap: 8px; }
.field > span, .field > label:first-child { font-size: 15px; font-weight: 700; }
.field input:not([type=checkbox]):not([type=file]), .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #CFCFCB; border-radius: 12px; background: #fff; font-size: 16px; line-height: 1.6; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; border-color: var(--text); }
.field input[type=file] { font-size: 15px; }
.editor-preview { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.editor-actions { display: flex; justify-content: flex-end; gap: 8px; }
.gate-error { min-height: 1.4em; color: #B42318; font-size: 15px; }

/* 관리자 로그인 화면 */
.admin-gate { min-height: 100dvh; display: grid; place-content: center; justify-items: start; gap: 16px; width: min(400px, calc(100vw - 32px)); margin: 0 auto; padding: 40px 0; }
.admin-gate .logo { margin-bottom: 24px; }
.admin-gate h1 { font-size: 28px; font-weight: 800; }
.admin-gate > p { color: var(--muted); }
.gate-form { display: grid; gap: 16px; width: 100%; margin-top: 8px; }
.gate-form .btn { width: 100%; }

/* ---------- 후기 ---------- */
.review { animation: notice-in 700ms var(--slow) both; }
.review blockquote { white-space: pre-line; }
.review img { width: 100%; margin-top: 20px; border-radius: 16px; }
.review time { font-family: var(--font-en); font-size: 14px; white-space: nowrap; }
.pending { margin-bottom: 56px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); border: 1.5px dashed #BDBDB8; }
.pending h2 { font-size: 22px; font-weight: 800; }
.pending h2 b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--point); color: var(--ink); font-family: var(--font-en); font-size: 15px; vertical-align: 3px; }
.pending > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pending .reviews { margin-top: 24px; }
.pending .review { background: #fff; }
.pending-empty { margin-top: 20px !important; }
.editor-sub { margin-top: -10px; color: var(--muted); font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review-done { display: grid; justify-items: start; gap: 12px; padding: clamp(24px, 4vw, 36px); }
.review-done h2 { font-size: 24px; font-weight: 800; }
.review-done p { color: var(--muted); }
.review-done .btn { margin-top: 12px; }
.admin-gate .btn + .btn { margin-top: -6px; }

/* ---------- 가격: 추가 옵션 상세 ---------- */
.opt-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.opt-top .notice-admin { margin-bottom: 0; }
.opt-detail { list-style: none; padding: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.opt-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.opt-head h3 { font-size: 20px; font-weight: 700; }
.opt-head h3 small { color: var(--muted); font-size: 15px; font-weight: 500; }
.opt-head b { font-family: var(--font-en); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.opt-head b small { font-family: var(--font-body); font-size: 15px; margin-left: 2px; }
.opt-desc { white-space: pre-line; color: var(--muted); line-height: 1.75; }
.opt-item .notice-tools { grid-column: 1 / -1; margin-top: 0; }
.opt-item:target { background: linear-gradient(var(--surface), var(--surface)); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) {
  .opt-item { grid-template-columns: 1fr; }
}
