/* Incoming page components are scoped to preserve the shared blue theme. */
.content-theme {

600;700&display=swap");

& {
  --bg: #f3f0e8;
  --surface: #fffcf6;
  --ink: #161411;
  --muted: #6d675e;
  --faint: #9a948a;
  --line: #ddd6c8;
  --line-strong: #c9c0b0;
  --accent: #b33a12;
  --accent-soft: #f3e4d8;
  --btn: #161411;
  --btn-hover: #2c2822;
  --ok: #2c6a4a;
  --warn: #8a5a12;
  --danger: #b42318;
  --kakao: #fee500;
  --kakao-ink: #191600;
  --radius: 4px;
  --wrap: 1080px;
  --header: 56px;
  --serif: "Noto Serif KR", "Source Han Serif KR", Georgia, serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }



& {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; appearance: none; background: none; border: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }

::selection { background: #e8c4b0; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.accent { color: var(--accent); }
.hidden { display: none !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  color: var(--ink);
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}
.brand-word { display: inline-block; }
.brand-word span { color: var(--accent); }
.brand-lg {
  font-size: 24px;
  gap: 10px;
}
.brand-lg .brand-mark {
  width: 34px;
  height: 34px;
}
.brand-footer {
  font-size: 16px;
  gap: 7px;
  pointer-events: auto;
}
.brand-footer .brand-mark {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link,
.nav-drop > summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13.5px;
  letter-spacing: -0.02em;
  list-style: none;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary { cursor: pointer; }
.nav-drop > summary::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.45;
}
.nav-link:hover,
.nav-drop > summary:hover,
.nav-link.is-current { color: var(--accent); }
.nav-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 148px;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(22, 20, 17, 0.08);
  z-index: 50;
}
.drop-menu.right { left: auto; right: 0; }
.drop-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
}
.drop-menu a:hover { background: var(--accent-soft); }
.drop-menu .sep {
  height: 1px;
  margin: 6px 0;
  background: var(--line);
}
.drop-menu a.danger { color: var(--danger); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.points {
  font-size: 12px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 6px 11px;
  font-size: 13px;
  border-radius: var(--radius);
}

/* Drawer */
.drawer { display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 20, 17, 0.4);
  z-index: 60;
}
.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--surface);
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(22, 20, 17, 0.12);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 20px;
  line-height: 1;
  border-radius: var(--radius);
}
.drawer-who {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}
.drawer-nav {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-nav a {
  padding: 10px 8px;
  font-size: 14px;
}
.drawer-nav a:hover { color: var(--accent); }
.drawer-label {
  margin: 16px 8px 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Main / footer */
.site-main {
  padding: 28px 0 80px;
  min-height: calc(100vh - var(--header) - 160px);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer-brand {
  margin: 0 0 6px;
}
.footer-brand .brand {
  font-weight: 700;
}
.footer-links { display: flex; gap: 14px; }
.footer-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.btn:hover { background: var(--btn-hover); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-kakao {
  background: var(--kakao);
  color: var(--kakao-ink);
}
.btn-kakao:hover { filter: brightness(0.96); }
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: #e8b4b0;
}
.btn-danger:hover { background: #fdf2f0; }
.btn-sm { min-height: 32px; padding: 0 11px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label,
.field-label {
  font-size: 13px;
  color: var(--muted);
}
.input,
select.input,
textarea.input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
}
textarea.input { resize: vertical; min-height: 120px; line-height: 1.65; }
.input:focus {
  outline: none;
  border-color: var(--ink);
}
.form-grid {
  display: grid;
  gap: 14px;
}
.form-grid.two {
  grid-template-columns: 1fr 1fr;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

/* Flash / badges */
.flash {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
}
.flash-success { border-color: #c9ddd2; background: #f3f8f5; }
.flash-error { border-color: #e8c4c0; background: #fdf4f3; }
.flash-info { border-color: #e4d3b0; background: #faf6ee; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 11.5px;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.badge-pending { color: var(--muted); }
.badge-contacted { color: var(--ok); border-color: #c9ddd2; }
.badge-in_progress { color: var(--warn); border-color: #e4d3b0; }
.badge-completed { color: var(--ok); border-color: #c9ddd2; background: #f3f8f5; }
.badge-cancelled { color: var(--danger); border-color: #e8c4c0; }
.badge-dark { background: var(--ink); color: #fff; border-color: var(--ink); }

.stars { letter-spacing: 1px; color: var(--line-strong); font-size: 12px; }
.stars .on { color: var(--accent); }

/* Hero */
.hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.hero-lead {
  max-width: 36rem;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  max-width: 520px;
  border-top: 1px solid var(--line);
}
.hero-meta > div {
  padding: 14px 16px 0 0;
}
.hero-meta dt {
  font-size: 12px;
  color: var(--faint);
}
.hero-meta dd {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* Blocks */
.block,
.panel,
.team-intro { scroll-margin-top: calc(var(--header) + 12px); }
.block { margin: 56px 0; }
.block-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.block-head .idx {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  min-width: 1.6em;
}
.block-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  flex: 1;
}
.more {
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.more:hover { color: var(--ink); border-bottom-color: var(--ink); }
.block-head .btn { flex-shrink: 0; align-self: center; }
.works-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 8px;
}
.works-cta .btn {
  min-width: 200px;
  min-height: 48px;
  font-size: 15px;
}

.visit-chart {
  position: relative;
  height: 240px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
  .visit-chart { height: 200px; }
}

/* Services */
.svc { border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.svc-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.svc-desc { color: var(--muted); font-size: 14px; }
.svc-meta {
  font-size: 13px;
  color: var(--faint);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.svc-meta b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 18px;
  background: var(--surface);
  min-height: 160px;
}
.quote:hover { background: #fff; }
.quote-title {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 15px;
}
.quote-body {
  flex: 1;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.quote-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--faint);
}

/* Feed / tables */
.feed { border-top: 1px solid var(--line); }
.feed a,
.feed-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.feed a:hover .feed-title { color: var(--accent); }
.feed-cat { color: var(--muted); font-size: 13px; }
.feed-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-date {
  color: var(--faint);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  min-width: 7.5em;
  text-align: right;
}
.feed-board a,
.feed-board .feed-row {
  grid-template-columns: 48px 1fr auto auto auto;
  grid-template-areas: none;
}
.feed-num { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13px; }

.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 8px;
  white-space: nowrap;
}
.table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table tbody tr:hover td { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.table a:hover { color: var(--accent); }

.empty {
  padding: 48px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Steps / FAQ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps li {
  padding: 22px 20px 22px 0;
}
.steps b {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}
.steps span {
  color: var(--muted);
  font-size: 13.5px;
}

.faq { border-top: 1px solid var(--line); }
.faq > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.faq dt {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq dd { color: var(--muted); margin: 0; }

/* Panels (inner pages) */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 28px 32px;
}
.panel.narrow { max-width: 640px; margin-inline: auto; }
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-head h1,
.panel-head h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lede {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.body-text {
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 15px;
}

.note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  text-align: center;
}
.note p + p { margin-top: 6px; }
.lock-box { text-align: center; padding: 32px 16px; }
.lock-box .price {
  font-family: var(--serif);
  font-size: 28px;
  margin: 8px 0 12px;
}

.admin-box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.admin-box h3 {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--muted);
}

.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.comment.is-admin { background: var(--accent-soft); padding: 14px; border: 1px solid #e8d2c4; margin-bottom: 8px; }
.comment-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 6px;
}
.comment-head time { color: var(--faint); }
.comment-body { white-space: pre-wrap; font-size: 14px; line-height: 1.7; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.pager a {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 13px;
}
.pager a.is-current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  background: transparent;
}
.chip.is-on,
.chip:hover { border-color: var(--ink); background: var(--surface); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.stat-row div {
  background: var(--bg);
  padding: 12px 10px;
  text-align: center;
}
.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.stat-row span { font-size: 11.5px; color: var(--muted); }

.profile-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.profile-bar b { color: var(--ink); font-weight: 600; }

/* Team */
.team-intro {
  max-width: 36rem;
  margin-bottom: 36px;
}
.team-intro h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.member {
  display: flex;
  flex-direction: column;
}
.member-photo {
  background: var(--bg);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member h2 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 14px 0 4px;
  letter-spacing: -0.03em;
}
.member .role { font-size: 13px; color: var(--accent); }
.member .bio {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 8px;
}
.team-cta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.career {
  border-top: 1px solid var(--line);
}
.career li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.career b {
  grid-row: span 3;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.career-org { font-weight: 600; }
.career-role { font-size: 13px; color: var(--muted); }
.career p { margin: 4px 0 0; color: var(--muted); font-size: 14px; grid-column: 2; }
.work-stack { margin-top: 4px; }

.work-feature { display: flex; flex-direction: column; gap: 36px; }
.work-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
  scroll-margin-top: calc(var(--header) + 12px);
}
.work-row:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.work-row:nth-child(even) .work-thumb { order: 2; }
.work-row.no-thumb { grid-template-columns: 1fr; }
.work-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ece8df;
  border: 1px solid var(--line);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.work-copy h3,
.work-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 4px 0 10px;
}
.work-cat { font-size: 12px; color: var(--accent); letter-spacing: 0.04em; }
.work-copy p,
.work-body p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.work-copy ul {
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}
.work-copy li {
  position: relative;
  padding: 4px 0 4px 14px;
  font-size: 13.5px;
  color: var(--ink);
}
.work-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.work-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header) + 12px);
  color: inherit;
}
a.work-card:hover h3 { color: var(--accent); }
.work-card .work-thumb { border: 0; aspect-ratio: 16 / 10; }
.work-body { padding: 16px 16px 20px; }
.work-body h3 { font-size: 17px; margin-bottom: 6px; }
.work-copy h3 a { color: inherit; }
.work-copy h3 a:hover { color: var(--accent); }
.work-thumb-lg { aspect-ratio: 16 / 9; margin-bottom: 22px; }
.work-article h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 6px 0 18px;
}
.work-article .body-text { max-width: 40rem; }
.work-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.work-points li {
  position: relative;
  padding: 5px 0 5px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.work-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--ink);
}

@media (max-width: 860px) {
  .career li { grid-template-columns: 1fr; }
  .career b { grid-row: auto; }
  .career p { grid-column: auto; }
  .work-row,
  .work-row:nth-child(even) { grid-template-columns: 1fr; }
  .work-row:nth-child(even) .work-thumb { order: 0; }
  .work-grid { grid-template-columns: 1fr; }
}

/* Auth */
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}
.auth-card {
  width: min(420px, 100%);
}
.auth-card .brand { margin-bottom: 4px; }
.auth-card h1 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 18px 0 8px;
  letter-spacing: -0.03em;
}
.auth-card .lede { margin-bottom: 22px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--faint);
  font-size: 12px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.btn-google {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-google:hover { background: var(--bg); }
.btn-google svg { width: 16px; height: 16px; }
.auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.auth-foot a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 16px;
  isolation: isolate;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 17, 0.45);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.modal-head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.modal-head h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.modal-panel form { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; }

/* Kakao */
.kakao-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 36;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--kakao);
  color: var(--kakao-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(22, 20, 17, 0.16);
}
.kakao-fab:hover { filter: brightness(0.97); }
.kakao-fab svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav, .nav-end { display: none; }
  .menu-toggle { display: inline-flex; }
  .svc-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name name"
      "desc desc"
      "meta btn";
    gap: 6px 12px;
    padding: 16px 0;
  }
  .svc-name { grid-area: name; }
  .svc-desc { grid-area: desc; }
  .svc-meta { grid-area: meta; text-align: left; }
  .svc-row .btn { grid-area: btn; justify-self: end; align-self: end; }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq > div { grid-template-columns: 1fr; gap: 6px; }
  .members { grid-template-columns: 1fr; max-width: 360px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .form-grid.two { grid-template-columns: 1fr; }
  .feed a,
  .feed-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "cat title"
      "cat meta";
  }
  .feed-cat { grid-area: cat; }
  .feed-title { grid-area: title; white-space: normal; }
  .feed a .badge,
  .feed-row .badge { grid-area: meta; justify-self: start; }
  .feed-date { display: none; }
  .feed-board a,
  .feed-board .feed-row {
    grid-template-columns: 36px 1fr;
    grid-template-areas: none;
  }
  .feed-board .feed-date,
  .feed-board .faint { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr 1fr; }
  .panel { padding: 20px 16px 24px; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .hero { padding: 28px 0 28px; margin-bottom: 32px; }
  .hero h1 { font-size: 32px; }
  .block { margin: 40px 0; }
  .steps { grid-template-columns: 1fr; }
  .hero-meta dd { font-size: 18px; }
  .site-main { padding-bottom: 96px; }
}

& { --bg:#f6f7f9; --surface:#fff; --ink:#172339; --muted:#667085; --faint:#7b8494; --line:#e4e8ef; --line-strong:#d9e0e9; --accent:#315bea; --accent-soft:#eff4ff; --btn:#315bea; --btn-hover:#2548cd; --radius:16px; --serif:Pretendard,sans-serif; --sans:Pretendard,sans-serif; background:transparent; font-size:16px; }
.btn { border-radius:10px; }
.panel,.member,.work-card,.work-article { border-radius:18px; }
.panel { background:#fff; }

}
