/* FLOWM STUDIO */
:root {
  --ink: #0c0c0e;
  --ink-2: #16161a;
  --ink-3: #222228;
  --paper: #f5f1e8;
  --paper-2: #e6dece;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(12, 12, 14, .12);
  --muted: #a19c92;
  --muted-dark: #5f5a50;
  --accent: #d9ceb9;
  --accent-soft: #d9ceb9;
  --taupe: #8c7d62;
  --radius: 18px;
  --wrap: 1180px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(12, 12, 14, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; letter-spacing: .04em; font-size: 18px; }
.brand span { font-weight: 400; opacity: .7; margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.nav a { opacity: .75; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: 1; }
.nav .nav-cta { opacity: 1; border: 1px solid var(--paper); border-radius: 999px; padding: 8px 18px; transition: background .2s, color .2s; }
.nav .nav-cta:hover { background: var(--paper); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; }
.menu-btn i { display: block; width: 22px; height: 2px; background: var(--paper); margin: 5px auto; transition: transform .25s, opacity .25s; }

/* Type */
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); font-weight: 600; }
.h-xl { font-size: clamp(34px, 6.2vw, 78px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.h-lg { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.h-md { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 46em; }
.dot { color: var(--accent); }
.accent { color: var(--accent-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.light .btn-primary { background: var(--ink); color: var(--paper); }
.light .btn-primary:hover { background: #2a2a30; }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* Sections */
section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.light { background: var(--paper); color: var(--ink); }
.light .lead, .light .muted { color: var(--muted-dark); }
.light .eyebrow { color: var(--taupe); }
.light .dot { color: #b9aa8a; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 16px; }
.sec-head.center { text-align: center; justify-items: center; }
.muted { color: var(--muted); }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-bg::before { width: 70vw; height: 46vw; left: 38%; top: -8%; background: radial-gradient(closest-side, rgba(217, 206, 185, .26), transparent); animation: drift 16s ease-in-out infinite alternate; }
.hero-bg::after { width: 56vw; height: 40vw; left: -18%; bottom: -24%; background: radial-gradient(closest-side, rgba(217, 206, 185, .13), transparent); animation: drift 20s ease-in-out infinite alternate-reverse; }
.hero-strip { position: absolute; inset: 0; background: url(../assets/works-strip.jpg) center 22% / 190% auto no-repeat; opacity: .13; filter: grayscale(1); mask-image: linear-gradient(180deg, #000 0, transparent 62%); -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 62%); }
@keyframes drift { to { transform: translate3d(-8%, 10%, 0) scale(1.12); } }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 26px; }
.hero .sub { font-size: clamp(16px, 1.7vw, 21px); color: rgba(247, 246, 241, .78); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.page-hero { padding: 168px 0 72px; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 8px; }
.stat b { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat b small { font-size: .45em; font-weight: 700; margin-left: 2px; color: var(--accent-soft); }
.stat span { font-weight: 600; }
.stat em { font-style: normal; font-size: 13px; color: var(--muted); }

/* Contrast */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus > div { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.versus .bad { background: var(--paper-2); color: var(--muted-dark); }
.versus .good { background: var(--ink); color: var(--paper); }
.versus .num { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.versus .good .num { color: var(--accent-soft); }
.versus .tag { font-size: 12px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; opacity: .7; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs { display: grid; gap: 4px; position: sticky; top: 96px; }
.tab { text-align: left; padding: 14px 16px; border-radius: 12px; display: grid; gap: 2px; opacity: .55; transition: opacity .2s, background .2s; border-left: 2px solid transparent; }
.tab:hover { opacity: .9; }
.tab.on { opacity: 1; background: var(--ink-2); border-left-color: var(--accent); }
.tab b { font-size: 16px; }
.tab span { font-size: 12px; color: var(--muted); }
.panel-head { display: grid; gap: 8px; margin-bottom: 22px; }
.grid-v { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-v.feature > :first-child { grid-column: span 2; grid-row: span 2; }
.vcard { position: relative; border-radius: 14px; overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 9; display: block; width: 100%; }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.vcard:hover img { transform: scale(1.05); opacity: .55; }
.vcard .cap { position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard:hover .cap, .vcard:focus-visible .cap { opacity: 1; transform: none; }
.vcard .play { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(12, 12, 14, .7); display: grid; place-items: center; }
.vcard .play::before { content: ""; border-left: 10px solid #fff; border-block: 6px solid transparent; margin-left: 3px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.8vw, 34px); display: grid; gap: 12px; align-content: start; background: var(--ink-2); transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(217, 206, 185, .6); transform: translateY(-3px); }
.light .card { background: #fff; border-color: var(--line-dark); }
.card .no { font-size: 12px; letter-spacing: .16em; color: var(--accent-soft); font-weight: 700; }
.light .card .no { color: var(--taupe); }
.card p { color: var(--muted); font-size: 15px; }
.light .card p { color: var(--muted-dark); }
.card .from { font-weight: 700; font-size: 15px; margin-top: 6px; }

/* Case */
.case { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 60px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-dark); }
.case:last-child { border-bottom: 1px solid var(--line-dark); }
.case .result { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.case dl { display: grid; gap: 16px; }
.case dt { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--taupe); margin-bottom: 4px; }
.case dd { color: var(--muted-dark); font-size: 15px; }
.case dd strong { color: var(--ink); }

/* Table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.light .tbl-wrap { border-color: var(--line-dark); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th, td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.light th, .light td { border-color: var(--line-dark); }
tr:last-child td { border-bottom: 0; }
thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }
.compare td:first-child { font-weight: 700; white-space: nowrap; }
.compare td:nth-child(2) { color: var(--muted-dark); }
.compare td:nth-child(3), .compare th:nth-child(3) { background: rgba(140, 125, 98, .13); font-weight: 600; }
.compare th:nth-child(3) { color: var(--ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 26px 22px 0 0; display: grid; gap: 8px; align-content: start; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 12px; letter-spacing: .16em; color: var(--accent-soft); font-weight: 700; }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.step p { font-size: 14px; color: var(--muted); }

/* CTA */
.cta { text-align: center; background: #e4dac6; color: var(--ink); overflow: hidden; }
.cta .wrap { display: grid; gap: 22px; justify-items: center; position: relative; z-index: 1; }
.cta::before { content: ""; position: absolute; width: 120vw; height: 120vw; left: 50%; top: 46%; transform: translateX(-50%); border-radius: 50%; background: rgba(255, 255, 255, .38); }
.cta p { max-width: 36em; opacity: .9; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { display: grid; gap: 14px; align-content: start; }
.member .ph { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85); transition: transform .5s, filter .3s; }
.member:hover .ph img { transform: scale(1.04); filter: none; }
.member .role { font-size: 12px; letter-spacing: .14em; color: var(--accent-soft); font-weight: 700; text-transform: uppercase; }
.member ul { list-style: none; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.member ul b { color: var(--paper); font-weight: 600; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.timeline li span { color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.timeline li em { font-style: normal; color: var(--muted-dark); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose { display: grid; gap: 16px; font-size: 17px; }
.prose p { color: var(--muted-dark); }
.prose strong { color: var(--ink); }

/* Price */
.price-nav { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: 68px; z-index: 20; background: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-nav a { font-size: 13px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: all .2s; white-space: nowrap; }
.price-nav a:hover { color: var(--paper); border-color: var(--paper); }
.price-group { padding-top: 64px; scroll-margin-top: 110px; }
.price-group h2 { margin-bottom: 6px; }
.price-group > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price td:first-child { font-weight: 700; white-space: nowrap; }
.price td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.price td:nth-child(3) { color: rgba(247, 246, 241, .85); }
.price td:nth-child(4) { color: var(--muted); font-size: 14px; }
.price .note { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 3px; white-space: normal; }
.notice { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; background: var(--ink-2); }
.notice li { margin-left: 18px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { font-size: 14px; font-weight: 600; }
label i, legend i { color: var(--taupe); font-style: normal; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(12, 12, 14, .1); }
fieldset { border: 0; display: grid; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { font-weight: 500; cursor: pointer; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: #fff; transition: all .2s; }
.checks input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.checks input:focus-visible + span { box-shadow: 0 0 0 4px rgba(12, 12, 14, .18); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; color: var(--muted-dark); }
.agree input { margin-top: 4px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: #e7f6ec; color: #17603a; }
.form-msg.err { display: block; background: #fdeaea; color: #8f1d1d; }
.info { display: grid; gap: 22px; }
.info-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; background: #fff; display: grid; gap: 8px; }
.info-card .tag { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--taupe); text-transform: uppercase; }
.info-card a { text-decoration: underline; text-underline-offset: 3px; }
.info-card p { color: var(--muted-dark); font-size: 15px; }

/* Logos */
.logos-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1.5fr 1fr 1fr; gap: 32px; }
.site-footer .loc { display: block; font-size: 11px; letter-spacing: .16em; color: var(--accent); font-weight: 700; margin-top: 10px; }
.site-footer .loc:first-of-type { margin-top: 0; }
.site-footer b { color: var(--paper); display: block; margin-bottom: 10px; font-size: 14px; letter-spacing: .04em; }
.site-footer p, .site-footer a { display: block; line-height: 1.9; }
.site-footer a:hover { color: var(--paper); }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 10px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .9); display: none; place-items: center; padding: 20px; }
.lb.open { display: grid; }
.lb .frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.lb iframe { width: 100%; height: 100%; border: 0; }
.lb .x { position: absolute; top: 18px; right: 22px; font-size: 34px; line-height: 1; width: 44px; height: 44px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .2s; }
.chip.on, .chip:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; }
  .tabs { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .tab { flex: 0 0 auto; border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
  .tab span { display: none; }
  .tab.on { background: var(--paper); color: var(--ink); }
  .cards, .cards.four, .team { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .case, .split, .contact-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border-radius: 999px; }
  body.menu-open .nav { transform: none; }
  body.menu-open .site-header { background: var(--ink); }
  body.menu-open .menu-btn i:first-child { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn i:last-child { transform: translateY(-7px) rotate(-45deg); }
  .stats, .versus, .cards, .cards.two, .cards.four, .field-row { grid-template-columns: 1fr; }
  .grid-v { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-v.feature > :first-child { grid-row: auto; }
  .team { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .vcard .cap { opacity: 1; transform: none; font-size: 12px; }
  .price-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  th, td { padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
