/* ==========================================================================
   FLEXUP — 광고대행 · 광고제작
   다크 톤 + 생성 아트워크 중심의 원페이지. 색·서체는 :root 변수만 바꾸면 됩니다.
   ========================================================================== */
:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-alt: #1b1b1f;
  --ink: #f4eee4;
  --mute: #9a958c;
  --accent: #ff4a1c;
  --accent-ink: #0a0a0b;
  --line: rgba(244, 238, 228, 0.14);
  --badge-bg: rgba(244, 238, 228, 0.1);
  --radius: 18px;
  --max-w: 1160px;
  --gutter: clamp(20px, 4vw, 56px);
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Instrument Serif", "Noto Serif KR", "Nanum Myeongjo", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* 필름 그레인: 평평한 디지털 느낌을 지운다 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.11; mix-blend-mode: overlay;
}

/* ───────────── Header ───────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.site-header .wrap { max-width: none; padding: 0 var(--gutter); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.02em; font-size: 1.05rem; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .nav button {
  padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  color: var(--ink); opacity: 0.72; border: 0; background: none; cursor: pointer; font-family: inherit;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.nav a:hover, .nav button:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; border: 1px solid var(--line); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* 홈에서는 히어로 위에 떠 있다가, 스크롤하면 배경이 생긴다 */
.is-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-home .site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 72%, transparent); border-color: var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.is-home .site-header.is-hidden { transform: translateY(-100%); }

/* ───────────── 공통 조각 ───────────── */
/* 강조어는 명조로: 고딕 헤드라인 사이에서 한 단어만 결이 달라진다 */
.fx em, .fx-display em { font-family: var(--serif); font-style: normal; font-weight: 600; letter-spacing: -0.05em; }
.fx-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
}
.fx-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.fx-display { font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(2.9rem, 10.4vw, 10.5rem); }
.fx-display em { color: var(--accent); }

[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ───────────── Hero ───────────── */
.fx-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.fx-hero-art { position: absolute; inset: -12% 0 -12% 0; z-index: -2; will-change: transform; }
.fx-hero-art img { width: 100%; height: 100%; object-fit: cover; animation: fx-drift 26s ease-in-out infinite alternate; }
.fx-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0) 26%, rgba(10,10,11,0.15) 55%, var(--bg) 100%);
}
@keyframes fx-drift {
  from { transform: scale(1.06) translate3d(-1.5%, 0, 0); filter: hue-rotate(0deg); }
  to   { transform: scale(1.18) translate3d(2%, -2%, 0); filter: hue-rotate(-18deg); }
}
.fx-hero-inner { width: 100%; padding: 120px var(--gutter) clamp(72px, 9vh, 110px); }
.fx-kicker { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: clamp(18px, 3vh, 32px); }
.fx-kicker i { width: 44px; height: 1px; background: currentColor; opacity: 0.6; }
.fx-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.fx-line > span { display: block; transform: translateY(105%); animation: fx-rise 1.15s var(--ease) forwards; }
.fx-line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes fx-rise { to { transform: none; } }
.fx-hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: clamp(24px, 4vh, 44px); padding-top: 22px; border-top: 1px solid var(--line);
  opacity: 0; animation: fx-fade 1s 0.55s ease forwards;
}
.fx-hero-foot p { font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.5; max-width: 26ch; }
@keyframes fx-fade { to { opacity: 1; } }
.fx-round {
  flex: none; width: clamp(104px, 11vw, 148px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center;
  font-weight: 700; font-size: clamp(0.82rem, 1vw, 1rem); line-height: 1.25;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.fx-round svg, .fx-card--cta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.4s var(--ease); }
.fx-round:hover { transform: scale(1.08) rotate(-6deg); background: var(--ink); }
.fx-round:hover svg { transform: translate(3px, -3px); }
.fx-scroll {
  position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7;
  display: flex; align-items: center; gap: 12px;
}
.fx-scroll::after { content: ""; width: 1px; height: 64px; background: currentColor; transform-origin: top; animation: fx-scroll 2.2s ease-in-out infinite; }
@keyframes fx-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(64px); opacity: 0; } }

/* ───────────── Marquee ───────────── */
.fx-marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.fx-marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: fx-marquee 34s linear infinite; }
.fx-marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.8rem); white-space: nowrap; }
.fx-marquee b { color: var(--accent); font-size: 1.1rem; }
@keyframes fx-marquee { to { transform: translateX(-50%); } }

/* ───────────── Manifesto ───────────── */
.fx-manifesto { padding: clamp(96px, 17vh, 200px) var(--gutter); }
.fx-statement {
  margin-top: 28px; max-width: 19ch; font-weight: 700; letter-spacing: -0.04em; line-height: 1.18;
  font-size: clamp(2rem, 6.2vw, 6rem);
}
.fx-statement .w { opacity: 0.16; transition: opacity 0.5s ease; }
.fx-statement .w.on { opacity: 1; }

/* ───────────── Services ───────────── */
.fx-services { padding: 0 var(--gutter) clamp(80px, 12vh, 160px); display: grid; gap: clamp(72px, 13vh, 170px); }
.fx-service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.fx-service--flip .fx-service-art { order: 2; }
.fx-service-art { border-radius: clamp(16px, 2vw, 28px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.fx-service-art img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; will-change: transform; }
.fx-num { font-size: 0.85rem; letter-spacing: 0.16em; color: var(--accent); font-weight: 600; }
.fx-num span { color: var(--mute); margin-left: 10px; text-transform: uppercase; }
.fx-service h2 { margin-top: 14px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 600; color: var(--mute); letter-spacing: -0.01em; }
.fx-copy { margin-top: 10px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.08; font-size: clamp(2.3rem, 5.4vw, 5.2rem); }
.fx-copy em { color: var(--accent); }
.fx-desc { margin-top: 22px; color: var(--mute); max-width: 34ch; font-size: clamp(1rem, 1.15vw, 1.12rem); }
.fx-tags { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tags li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.fx-tags li:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ───────────── Work: 세로 스크롤을 가로 이동으로 ───────────── */
.fx-work { position: relative; background: var(--ink); color: var(--bg); border-radius: clamp(20px, 3vw, 44px) clamp(20px, 3vw, 44px) 0 0; }
.fx-work .fx-label { color: rgba(10, 10, 11, 0.55); }
.fx-work-pin { padding: clamp(64px, 10vh, 110px) 0; overflow: hidden; }
.fx-work-head { padding: 0 var(--gutter); margin-bottom: clamp(32px, 5vh, 56px); }
.fx-work-head h2 { margin-top: 18px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; font-size: clamp(2.2rem, 5.6vw, 5.4rem); }
.fx-work-head em { color: var(--accent); }
.fx-work-track {
  display: flex; gap: clamp(14px, 2vw, 28px); padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.fx-work-track::-webkit-scrollbar { display: none; }
.fx-card { position: relative; flex: none; width: min(74vw, 400px); margin: 0; scroll-snap-align: center; }
.fx-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: clamp(14px, 1.6vw, 22px); transition: transform 0.7s var(--ease), border-radius 0.7s var(--ease); }
.fx-card:hover img { transform: scale(0.965) rotate(-1.2deg); border-radius: 36px; }
.fx-card figcaption { display: grid; gap: 2px; padding: 16px 4px 0; }
.fx-card figcaption span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--accent); }
.fx-card figcaption strong { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.03em; }
.fx-card--cta {
  aspect-ratio: 4 / 5; align-self: flex-start; border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--bg); color: var(--ink); padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-direction: column; justify-content: space-between; transition: background 0.35s, color 0.35s;
}
.fx-card--cta span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent); }
.fx-card--cta strong { font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; }
.fx-card--cta svg { width: 44px; height: 44px; stroke-width: 1.4; align-self: flex-end; }
.fx-card--cta:hover { background: var(--accent); color: var(--accent-ink); }
.fx-card--cta:hover span { color: var(--accent-ink); }
.fx-card--cta:hover svg { transform: translate(6px, -6px); }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js-ready .fx-work { height: var(--work-h, 300vh); }
  .js-ready .fx-work-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 76px 0 28px; }
  .js-ready .fx-work-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
  .js-ready .fx-card { width: clamp(280px, 25vw, 400px); }
  .js-ready .fx-card--low { margin-top: clamp(28px, 6vh, 72px); }
  .js-ready .fx-work-head { margin-bottom: clamp(18px, 3vh, 36px); }
  .js-ready .fx-work-head h2 { font-size: clamp(2rem, 4.4vw, 4.4rem); }
  .js-ready .fx-card img, .js-ready .fx-card--cta { height: min(46vh, 500px); width: auto; aspect-ratio: 4 / 5; }
  .js-ready .fx-card { width: auto; }
}

/* ───────────── Process ───────────── */
.fx-process { background: var(--ink); color: var(--bg); padding: clamp(40px, 8vh, 90px) var(--gutter) clamp(90px, 14vh, 170px); }
.fx-process .fx-label { color: rgba(10, 10, 11, 0.55); }
.fx-process ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fx-process li { padding: 26px 22px 6px 0; border-top: 1px solid rgba(10, 10, 11, 0.85); }
.fx-process li + li { padding-left: 22px; border-left: 1px solid rgba(10, 10, 11, 0.14); }
.fx-process li span { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1; color: var(--accent); }
.fx-process h3 { margin-top: clamp(40px, 9vh, 110px); font-size: clamp(1.5rem, 2.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; }
.fx-process li p { margin-top: 8px; color: rgba(10, 10, 11, 0.62); }
.fx-process li:nth-child(2) { transition-delay: 0.08s; }
.fx-process li:nth-child(3) { transition-delay: 0.16s; }
.fx-process li:nth-child(4) { transition-delay: 0.24s; }

/* ───────────── News ───────────── */
.fx-news { padding: clamp(72px, 11vh, 130px) var(--gutter) 0; }
.fx-news-list { margin-top: 22px; border-top: 1px solid var(--line); }
.fx-news-list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease), color 0.3s; }
.fx-news-list a:hover { padding-left: 18px; color: var(--accent); }
.fx-news-board { font-size: 0.8rem; color: var(--mute); letter-spacing: 0.06em; }
.fx-news-list strong { font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em; }
.fx-news-list time { color: var(--mute); font-size: 0.85rem; }

/* ───────────── Contact ───────────── */
.fx-cta { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(72px, 11vh, 130px); }
.fx-process + .fx-cta { margin-top: 0; }
.fx-cta picture { position: absolute; inset: 0; z-index: -1; }
.fx-cta picture img { width: 100%; height: 100%; object-fit: cover; animation: fx-drift 22s ease-in-out infinite alternate; }
.fx-cta-inner { padding: clamp(96px, 18vh, 210px) var(--gutter) clamp(72px, 12vh, 140px); }
.fx-cta .fx-display { margin-top: 26px; }
.fx-cta .fx-display em { color: var(--ink); }
.fx-cta-actions { margin-top: clamp(32px, 6vh, 64px); display: flex; flex-wrap: wrap; gap: 12px; }
.fx-pill { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 999px; border: 1px solid rgba(244, 238, 228, 0.5); font-weight: 600; font-size: clamp(0.95rem, 1.15vw, 1.1rem); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.fx-pill:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-3px); }
.fx-pill--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fx-pill--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ───────────── Footer ───────────── */
.site-footer { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 0.85rem; }
.site-footer .wrap { max-width: none; padding: 0 var(--gutter); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }

/* ───────────── 게시판 · 글 · 회원 · 오류 페이지 (공용 클래스) ───────────── */
.hero { padding: 96px 0 72px; }
.hero-lead { color: var(--mute); font-size: 1.1rem; max-width: 640px; }
.eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
main.wrap h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: none; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.6rem; letter-spacing: -0.03em; }
.section-head p { color: var(--mute); margin-top: 8px; }
.board-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); transition: background 0.2s; }
.board-row:first-child { border-top: 0; }
.board-row:hover { background: var(--surface-alt); }
.board-meta { color: var(--mute); font-size: 0.85rem; white-space: nowrap; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; margin-right: 8px; }
.form-card { max-width: 560px; margin: 48px auto; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 16px; }
.form-card label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--mute); }
.form-card input, .form-card textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card a { color: var(--accent); }
.alert { padding: 12px 14px; border-radius: 12px; background: rgba(255, 74, 28, 0.14); color: #ffb49f; font-size: 0.9rem; font-weight: 600; }
.canvas-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.canvas-card .slot-tag { font-size: 0.75rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }

/* ───────────── 문의하기 (/contact) ───────────── */
.ct { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 68px); padding: clamp(48px, 9vh, 110px) var(--gutter) clamp(64px, 10vh, 120px); }
.ct-art { position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1; opacity: 0.5; mask-image: linear-gradient(to top, #000 10%, transparent 95%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%); }
.ct-art img { width: 100%; height: 100%; object-fit: cover; animation: fx-drift 24s ease-in-out infinite alternate; }
.ct em { font-family: var(--serif); font-style: normal; font-weight: 600; color: var(--accent); letter-spacing: -0.05em; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: start; max-width: 1500px; margin: 0 auto; }
.ct-intro { position: sticky; top: 110px; }
.ct-intro h1 { margin-top: 22px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.06; font-size: clamp(2.5rem, 6vw, 5.6rem); }
.ct-lead { margin-top: 24px; color: var(--mute); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.ct-meta { margin: clamp(32px, 6vh, 64px) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ct-meta div { display: grid; grid-template-columns: 84px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-meta dt { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.05rem; }
.ct-meta dd { margin: 0; }
.ct-meta a:hover { color: var(--accent); }

.ct-form { display: grid; gap: clamp(26px, 4vh, 40px); padding: clamp(22px, 3.4vw, 48px); border: 1px solid var(--line); border-radius: clamp(18px, 2.2vw, 30px); background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
.ct-field { display: grid; gap: 4px; }
.ct-field > span, .ct-chips legend { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--mute); }
.ct-field b { color: var(--accent); font-weight: 600; }
.ct-field input, .ct-field textarea {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: none; color: var(--ink); font: inherit; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; letter-spacing: -0.02em;
  transition: border-color 0.3s;
}
.ct-field textarea { resize: vertical; min-height: 120px; font-weight: 500; line-height: 1.6; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: rgba(244, 238, 228, 0.22); font-weight: 500; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--accent); }
.ct-field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }
.ct-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips legend { padding: 0; margin-bottom: 12px; width: 100%; }
.ct-chips legend small { margin-left: 8px; opacity: 0.7; }
.ct-chips label { cursor: pointer; }
.ct-chips input { position: absolute; opacity: 0; pointer-events: none; }
.ct-chips label span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--ease); }
.ct-chips label:hover span { border-color: var(--ink); }
.ct-chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ct-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-submit { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 8px; }
.ct-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--mute); max-width: 44ch; cursor: pointer; }
.ct-agree input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.ct-agree small { display: block; opacity: 0.75; }
.ct-send {
  flex: none; display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 800; font-size: 1.05rem;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.ct-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform 0.4s var(--ease); }
.ct-send:hover { background: var(--ink); transform: translateY(-3px); }
.ct-send:hover svg { transform: translate(4px, -4px); }
.ct-error { padding: 14px 18px; border-radius: 14px; background: rgba(255, 74, 28, 0.14); color: #ffb49f; font-weight: 600; }
.ct-done { min-height: 62vh; display: grid; align-content: center; justify-items: start; gap: 26px; max-width: 1500px; margin: 0 auto; }
.ct-done p:not(.fx-label) { color: var(--mute); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.ct-done .fx-display em { color: var(--accent); }

@media (max-width: 899px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-intro { position: static; }
}
@media (max-width: 560px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-submit { flex-direction: column; align-items: stretch; }
  .ct-send { justify-content: center; }
}

/* ───────────── 적응형 ───────────── */
@media (max-width: 899px) {
  .fx-service, .fx-service--flip { grid-template-columns: 1fr; gap: 28px; }
  .fx-service--flip .fx-service-art { order: 0; }
  .fx-service-art { aspect-ratio: 5 / 4; }
  .fx-process ol { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fx-process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .fx-process h3 { margin-top: 34px; }
  .fx-scroll { display: none; }
}
@media (max-width: 560px) {
  .header-inner { min-height: 58px; }
  .is-home .nav a:not(.nav-cta) { display: none; }
  .nav a, .nav button { padding: 7px 11px; font-size: 0.85rem; }
  .fx-hero-inner { padding-bottom: 44px; }
  .fx-hero-foot { align-items: center; }
  .fx-statement { max-width: none; }
  .fx-news-list a { grid-template-columns: 1fr auto; }
  .fx-news-board { grid-column: 1 / -1; }
  .fx-pill { width: 100%; justify-content: center; }
  .board-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .form-card { padding: 22px; margin: 28px auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .fx-line > span { transform: none; }
  .fx-hero-foot { opacity: 1; }
  .fx-statement .w { opacity: 1; }
}
