/* Company K Studio — 프리미엄 레코딩 스튜디오 사이트
   어두운 바탕 + 따뜻한 앰버(VU 미터 색) + 큰 사진. 글은 적게, 간격은 넓게. */
:root {
  --bg: #0a0908;
  --bg-2: #0f0d0c;
  --surface: #151211;
  --ink: #efe8dc;
  --muted: #a39a8b;
  --faint: #6f675b;
  --line: rgba(239, 232, 220, .13);
  --amber: #e0a63f;
  --amber-soft: rgba(224, 166, 63, .16);
  --rec: #ff4a3d;
  --latin: "Jost", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "Noto Sans KR", system-ui, "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.8; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; padding-bottom: 64px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
::selection { background: var(--amber); color: #111; }

.eyebrow { font-family: var(--latin); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--amber); font-weight: 400; }
.title { font-family: var(--latin); font-weight: 300; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.12; letter-spacing: .01em; margin-top: 18px; }
.title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber); letter-spacing: 0; }
.title-ko { font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; margin-top: 18px; color: var(--ink); }
.sec { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head p { color: var(--muted); margin-top: 22px; max-width: 34em; }

/* ───────── 상단 메뉴 ───────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 9, 8, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: var(--latin); font-size: 19px; letter-spacing: .14em; font-weight: 600; white-space: nowrap; }
.logo b { font-weight: 300; margin-left: .35em; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 34px; }
.menu a { font-family: var(--latin); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .25s; position: relative; padding: 6px 0; }
.menu a:hover { color: var(--ink); }
.menu a.cta { color: var(--ink); border: 1px solid var(--line); padding: 10px 20px; border-radius: 999px; transition: background .3s, border-color .3s, color .3s; }
.menu a.cta:hover { background: var(--amber); border-color: var(--amber); color: #111; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i, .burger i::before { content: ""; position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.burger i { top: 21px; } .burger i::before { top: 7px; left: 0; right: 0; }
.menu-open .burger i { transform: rotate(45deg); }
.menu-open .burger i::before { transform: translateY(-7px) rotate(-90deg); }

/* ───────── 첫 화면 ───────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: saturate(.85) contrast(1.06) brightness(.82); transform: scale(1.02); animation: drift 26s var(--ease) infinite alternate; }
@keyframes drift { to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(10, 9, 8, .62) 0%, rgba(10, 9, 8, .18) 58%, transparent 100%),
  radial-gradient(120% 80% at 70% 30%, rgba(224, 166, 63, .22), transparent 60%),
  linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .25) 38%, rgba(10, 9, 8, .86) 82%, var(--bg) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-in { padding: 140px 0 clamp(120px, 16vh, 190px); }
.rec { display: inline-flex; align-items: center; gap: 12px; font-family: var(--latin); font-size: 12px; letter-spacing: .3em; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px 9px 14px; background: rgba(10, 9, 8, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 rgba(255, 74, 61, .6); animation: rec 1.6s ease-out infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 10px rgba(255, 74, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 74, 61, 0); } }
.hero h1 { font-family: var(--latin); font-weight: 600; font-size: clamp(46px, 10.4vw, 156px); line-height: .98; letter-spacing: .015em; margin: 30px 0 0; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 .light { font-weight: 200; color: var(--ink); opacity: .92; }
.hero .ko { font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .5em; margin-top: 26px; color: var(--amber); font-weight: 400; }
.hero .lead { max-width: 30em; margin-top: 30px; color: #cfc6b7; font-size: clamp(15px, 1.5vw, 18px); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--latin); letter-spacing: .16em; text-transform: uppercase; font-size: 13px; padding: 17px 32px; border-radius: 999px; border: 1px solid var(--line); transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease); font-weight: 400; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn.fill { background: var(--amber); border-color: var(--amber); color: #121008; font-weight: 500; }
.btn.fill:hover { background: #f0b954; }
.btn.line:hover { border-color: var(--ink); }
.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; display: flex; align-items: flex-end; gap: 3px; padding: 0 24px; opacity: .55; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wave i { flex: 1; min-width: 2px; background: linear-gradient(180deg, var(--amber), rgba(224, 166, 63, .08)); height: 18%; transform-origin: bottom; animation: bar 2.4s ease-in-out infinite; border-radius: 2px 2px 0 0; }
@keyframes bar { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.scroll { position: absolute; right: 24px; bottom: 96px; font-family: var(--latin); font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--amber), transparent); }

/* ───────── 소개 ───────── */
.about .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.frame { position: relative; overflow: hidden; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.about .frame { aspect-ratio: 4 / 5; }
.about .frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(239, 232, 220, .22); pointer-events: none; }
.about p.body { color: var(--muted); margin-top: 28px; max-width: 32em; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--line); }
.fig { padding: 24px 18px 0 0; }
.fig + .fig { padding-left: 22px; border-left: 1px solid var(--line); }
.fig b { display: block; font-family: var(--latin); font-weight: 200; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--ink); }
.fig b small { font-size: .36em; margin-left: 4px; color: var(--amber); font-weight: 400; letter-spacing: .1em; }
.fig span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ───────── 서비스 ───────── */
.services { background: var(--bg-2); }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease), background .5s; }
.row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--amber); transition: width .7s var(--ease); }
.row:hover::before { width: 100%; }
.row .no { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--amber); }
.row h3 { font-family: var(--latin); font-weight: 300; font-size: clamp(24px, 3vw, 38px); letter-spacing: .01em; line-height: 1.25; }
.row h3 small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--muted); margin-top: 6px; font-weight: 300; }
.row p { color: var(--muted); font-size: 15px; }

/* ───────── 스튜디오 갤러리 ───────── */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.shot { position: relative; overflow: hidden; background: var(--surface); cursor: zoom-in; border: 0; padding: 0; text-align: left; color: inherit; }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04) brightness(.94); transition: transform 1.2s var(--ease), filter .6s; }
.shot:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.05) brightness(1); }
.shot figcaption, .shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(10, 9, 8, .85)); font-size: 13px; letter-spacing: .02em; color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.shot:hover .cap, .shot:focus-visible .cap { opacity: 1; transform: none; }
.shot .cap b { display: block; font-family: var(--latin); font-weight: 400; letter-spacing: .18em; font-size: 11px; color: var(--amber); text-transform: uppercase; margin-bottom: 4px; }
.g1 { grid-column: span 8; aspect-ratio: 16 / 10; }
.g2 { grid-column: span 4; aspect-ratio: 4 / 5; }
.g3 { grid-column: span 4; aspect-ratio: 1; }
.g4 { grid-column: span 4; aspect-ratio: 1; }
.g5 { grid-column: span 4; aspect-ratio: 1; }
.g6 { grid-column: span 6; aspect-ratio: 16 / 10; }
.g7 { grid-column: span 6; aspect-ratio: 16 / 10; }
.gal-note { margin-top: 18px; font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* ───────── 장비 ───────── */
.gear { background: var(--bg-2); }
.gear .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: 38px; }
.gear h3 { font-family: var(--latin); font-weight: 400; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.gear h3 small { display: block; font-family: var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 13px; margin-top: 4px; font-weight: 300; }
.gear ul { list-style: none; margin-top: 22px; }
.gear li { padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--latin); font-size: 16px; font-weight: 300; letter-spacing: .01em; transition: color .25s, padding .35s var(--ease); }
.gear li:hover { color: var(--amber); padding-left: 8px; }
.gear .hero-gear { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.gear .hero-gear .frame { aspect-ratio: 16 / 10; }

/* ───────── 가격 ───────── */
.price .rows .row { grid-template-columns: 1fr auto; align-items: center; padding: 30px 0; }
.price h3 { font-family: var(--sans); font-weight: 400; font-size: clamp(18px, 2vw, 22px); }
.price h3 small { font-size: 14px; }
.price .amt { font-family: var(--latin); font-weight: 200; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; letter-spacing: .01em; text-align: right; white-space: nowrap; }
.price .amt small { font-size: .38em; color: var(--muted); margin-left: 6px; font-weight: 300; letter-spacing: 0; font-family: var(--sans); }
.price .row.pkg { background: linear-gradient(90deg, var(--amber-soft), transparent 70%); padding-left: 22px; padding-right: 22px; }
.price .tag { display: inline-block; font-family: var(--latin); font-size: 11px; letter-spacing: .2em; color: #121008; background: var(--amber); padding: 3px 10px; border-radius: 999px; margin-left: 12px; vertical-align: middle; font-weight: 500; text-transform: uppercase; }
.price .notes { margin-top: 34px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.price .notes li { list-style: none; padding-left: 16px; position: relative; }
.price .notes li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--amber); }

/* ───────── 예약 ───────── */
.contact { overflow: hidden; isolation: isolate; text-align: center; }
.contact .bg { position: absolute; inset: 0; z-index: -2; }
.contact .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.8) blur(1.5px); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 40%, rgba(10, 9, 8, .35), var(--bg) 92%); }
.contact .title { margin-left: auto; margin-right: auto; max-width: 14em; }
.contact .sub { color: var(--muted); max-width: 30em; margin: 24px auto 0; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(44px, 6vw, 72px); text-align: left; }
.way { text-align: left; width: 100%; border: 1px solid var(--line); background: rgba(21, 18, 17, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 30px 28px 28px; transition: border-color .4s, transform .5s var(--ease), background .4s; display: flex; flex-direction: column; gap: 6px; min-height: 190px; }
.way:hover { border-color: var(--amber); transform: translateY(-4px); background: rgba(21, 18, 17, .85); }
.way .k { font-family: var(--latin); font-size: 11px; letter-spacing: .3em; color: var(--amber); text-transform: uppercase; }
.way .v { font-family: var(--latin); font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; margin-top: 10px; word-break: break-all; }
.way .h { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.way .h i { font-style: normal; font-family: var(--latin); letter-spacing: .14em; font-size: 11px; color: var(--ink); text-transform: uppercase; }
.loc { margin-top: 44px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.loc a { color: var(--ink); border-bottom: 1px solid var(--amber); padding-bottom: 1px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer a { color: var(--muted); } footer a:hover { color: var(--amber); }
footer .logo { font-size: 15px; color: var(--ink); }

/* ───────── 하단 고정 바 (모바일) ───────── */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; grid-template-columns: 1fr 1fr 1.3fr; background: rgba(10, 9, 8, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bar a, .bar button { text-align: center; padding: 17px 0; font-size: 14px; font-weight: 400; letter-spacing: .02em; }
.bar > :last-child { background: var(--amber); color: #121008; font-weight: 500; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--ink); color: #111; padding: 12px 22px; border-radius: 999px; font-size: 14px; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); font-weight: 400; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 라이트박스 */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6, 5, 5, .95); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.on { display: flex; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lb figure { max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lb img { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; }
.lb figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.lb figcaption b { font-family: var(--latin); font-weight: 400; letter-spacing: .2em; font-size: 12px; color: var(--amber); display: block; text-transform: uppercase; margin-bottom: 4px; }
.lb button { position: absolute; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; transition: border-color .3s, background .3s; }
.lb button:hover { border-color: var(--amber); background: rgba(224, 166, 63, .1); }
.lb .x { top: 20px; right: 20px; } .lb .p { left: 20px; top: 50%; margin-top: -26px; } .lb .n { right: 20px; top: 50%; margin-top: -26px; }

/* 스크롤 등장 */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.hero .rv { animation: rise 1.2s var(--ease) both; animation-delay: var(--d, 0s); opacity: 1; transform: none; transition: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

@media (max-width: 960px) {
  .about .grid { grid-template-columns: 1fr; }
  .about .frame { aspect-ratio: 4 / 3; }
  .row { grid-template-columns: 56px 1fr; }
  .row p { grid-column: 2; }
  .gear .cols { grid-template-columns: 1fr; row-gap: 44px; }
  .gear .hero-gear { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .way { min-height: 0; }
  .g1 { grid-column: span 12; } .g2 { grid-column: span 6; } .g3, .g4, .g5 { grid-column: span 6; aspect-ratio: 4 / 3; } .g5 { grid-column: span 12; aspect-ratio: 16 / 9; } .g6, .g7 { grid-column: span 12; }
  .shot .cap { opacity: 1; transform: none; padding-top: 44px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 58px; }
  .wrap { width: calc(100% - 36px); }
  .menu { position: fixed; inset: 72px 0 0 0; background: rgba(10, 9, 8, .97); flex-direction: column; justify-content: center; gap: 28px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
  .menu a { font-size: 18px; }
  .menu-open .menu { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .nav { background: rgba(10, 9, 8, .97); }
  .burger { display: block; margin-right: -10px; }
  .bar { display: grid; }
  .scroll { display: none; }
  .hero-in { padding-bottom: 130px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .figs { grid-template-columns: 1fr; border-top: 0; }
  .fig, .fig + .fig { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fig span { margin: 0; }
  .gear .cols { grid-template-columns: 1fr; }
  .price .row.pkg { padding-left: 16px; padding-right: 16px; }
  .price .row { grid-template-columns: 1fr; gap: 10px; }
  .price .amt { text-align: left; }
  .g2, .g3, .g4 { grid-column: span 12; aspect-ratio: 4 / 3; }
  .lb .p, .lb .n { top: auto; bottom: 20px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
