:root {
  --ink: #1c1b19;
  --ink-soft: #4f4b45;
  --muted: #827c74;
  --line: rgba(28, 27, 25, 0.12);
  --line-strong: rgba(28, 27, 25, 0.22);
  --paper: #fbfaf7;
  --cream: #f3eee6;
  --cream-deep: #e8dfd3;
  --white: #ffffff;
  --accent: #7c5f46;
  --accent-dark: #59412e;
  --sage: #647064;
  --danger: #a84848;
  --success: #45705b;
  --shadow-sm: 0 10px 34px rgba(31, 25, 20, 0.06);
  --shadow-md: 0 24px 70px rgba(31, 25, 20, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --content: min(1240px, calc(100vw - 48px));
  --header-height: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.018em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { border: 0; cursor: pointer; }
::selection { background: #d9c9b8; color: #1c1b19; }

.app-shell { min-height: 100vh; }
.container { width: var(--content); margin-inline: auto; }
.section { padding: 128px 0; }
.section.compact { padding: 88px 0; }
.section.warm { background: var(--cream); }
.section.dark { background: var(--ink); color: var(--white); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 720;
  word-break: keep-all;
}
.section-title.is-nowrap { white-space: nowrap; }
.section-title.small { font-size: clamp(29px, 3.2vw, 46px); }
.section-copy {
  margin: 20px 0 0;
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.78;
}
.section.dark .section-copy { color: rgba(255,255,255,.68); }
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
  letter-spacing: -0.01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 26px rgba(28,27,25,.18); }
.btn-primary:hover { background: #30302d; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-outline:hover { background: rgba(28,27,25,.05); }
.btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: var(--white); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { min-height: 40px; padding-inline: 16px; font-size: 13px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.icon { width: 18px; height: 18px; flex: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 680; }
.text-link .icon { transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: var(--header-height);
  transition: background .3s ease, box-shadow .3s ease, color .3s ease;
  color: var(--white);
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(251,250,247,.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(20px);
}
.header-inner {
  width: min(1360px, calc(100vw - 48px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; font-size: 15px; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; object-position: center; border-radius: 50%; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.45vw, 22px); }
.nav-link { position: relative; font-size: 13px; font-weight: 590; opacity: .86; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { opacity: 1; font-weight: 720; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.site-header:not(.scrolled):not(.solid) .header-actions .btn-primary { background: var(--white); color: var(--ink); box-shadow: none; }
.menu-toggle { display: none; background: transparent; color: currentColor; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  padding: 110px 28px 36px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav { display: grid; gap: 6px; }
.mobile-nav a,
.mobile-nav span { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 620; display: block; }
.mobile-menu .btn { width: 100%; margin-top: 24px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background: #cfc4b5;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video,
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22,20,18,.62) 0%, rgba(22,20,18,.28) 38%, rgba(22,20,18,.06) 64%, rgba(22,20,18,.18) 100%),
    linear-gradient(0deg, rgba(22,20,18,.34), transparent 38%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1360px, calc(100vw - 48px));
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 52px) 0 64px;
}
.hero-copy { max-width: min(1100px, 100%); margin-top: 22px; }
.hero-kicker { margin-bottom: 25px; font-size: 12px; font-weight: 720; letter-spacing: .2em; text-transform: uppercase; opacity: .82; }
.hero h1 { margin: 0; font-size: clamp(24px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -.055em; font-weight: 680; white-space: nowrap; word-break: keep-all; }
.hero h1 span[style] { display: inline; margin-top: 0; font-weight: inherit; letter-spacing: inherit; }
.hero-description { margin: 28px 0 0; max-width: 500px; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.hero-scroll span { width: 1px; height: 30px; background: linear-gradient(transparent, white); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{ transform: scaleY(.45); transform-origin: top; opacity:.45;} 50%{transform:scaleY(1);opacity:1;} }
.hero-badge { position: absolute; right: 42px; bottom: 38px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); font-size: 12px; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #d9ead8; box-shadow: 0 0 0 5px rgba(217,234,216,.14); }

/* Cards */
.friend-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.friend-card { display: block; min-width: 0; }
.friend-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
}
.friend-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform .7s cubic-bezier(.2,.65,.3,1);
}
.friend-card:hover .friend-image img { transform: scale(1.03); }
.status-badge, .branch-badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); font-size: 11px; font-weight: 700; }
.branch-badge { left: auto; right: 16px; color: var(--ink-soft); }
.friend-meta { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 18px 3px 4px; }
.friend-name { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 680; }
.friend-desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.friend-gender {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f2f1ee;
  color: var(--ink-soft);
  transition: background .2s ease, transform .2s ease;
}
.friend-gender .gender-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.35;
}
.friend-gender.is-male {
  background: #eef6fb;
  color: #7ebced;
}
.friend-gender.is-female {
  background: #fdf4f6;
  color: #f0a4b5;
}
.friend-card:hover .friend-gender { transform: translateY(-1px); }
.friend-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-soft); }

/* Filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }
.filter-chip { min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 650; transition: .2s ease; }
.filter-chip:hover, .filter-chip.active { background: var(--ink); color: white; border-color: var(--ink); }
.empty-state { padding: 72px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); text-align: center; color: var(--muted); }

/* Intro story */
.split-section { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 720px; }
.split-visual { position: relative; overflow: hidden; min-height: 620px; height: 100%; background: #d7cbbd; }
.split-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.split-visual::after { content: ""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(15,14,13,.24),transparent 55%); }
.split-caption { position:absolute; z-index:2; left:38px; bottom:32px; color:white; font-size:13px; letter-spacing:.03em; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 130px); background: var(--cream); }
.value-list { display: grid; gap: 0; margin-top: 42px; }
.value-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-number { color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.value-title { margin: 0; font-size: 18px; font-weight: 680; }
.value-copy { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* Branch */
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.branch-card { position: relative; min-height: 450px; overflow: hidden; border-radius: var(--radius-lg); padding: 38px; background: linear-gradient(135deg,#d8c8b7,#b8aa99); color: white; display:flex; flex-direction:column; justify-content:space-between; }
.branch-card:nth-child(2) { background: linear-gradient(135deg,#9aa095,#656e64); }
.branch-card:nth-child(3) { background: linear-gradient(135deg,#b7a08e,#806d5d); }
.branch-card:nth-child(4) { background: linear-gradient(135deg,#89938f,#5d6965); }
.branch-card::before { content:""; position:absolute; width:430px; height:430px; border:1px solid rgba(255,255,255,.26); border-radius:50%; right:-160px; top:-140px; }
.branch-card::after { content:""; position:absolute; width:260px; height:260px; background:rgba(255,255,255,.08); border-radius:50%; right:-40px; bottom:-100px; backdrop-filter:blur(8px); }
.branch-card > * { position:relative; z-index:1; }
.branch-city { font-size: 12px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.branch-card h3 { margin: 12px 0 0; font-size: clamp(36px,4vw,56px); line-height:1.05; letter-spacing:-.045em; font-weight:660; }
.branch-card p { max-width:360px; margin:16px 0 0; color:rgba(255,255,255,.78); }
.branch-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.branch-count { font-size:13px; opacity:.82; }

/* Stories */
.story-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; align-items:stretch; }
.story-card { position:relative; display:flex; flex-direction:column; min-width:0; height:100%; color:inherit; border-radius: var(--radius-md); overflow:hidden; background:white; border:1px solid var(--line); }
.story-image { position: relative; aspect-ratio: 16/11; background:var(--cream-deep); overflow:hidden; flex:none; }
.story-image img { width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .6s ease; }
.story-card:hover img { transform:scale(1.035); }
.story-body { display:flex; flex-direction:column; padding:22px 24px 26px; flex:1; }
.story-label { font-size:11px; font-weight:750; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
.story-title {
  margin:9px 0 0;
  font-size:21px;
  line-height:1.38;
  font-weight:680;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:calc(1.38em * 2);
}
.story-excerpt {
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:1.45em;
}

/* CTA */
.cta-panel { position:relative; overflow:hidden; padding:clamp(54px,7vw,92px); border-radius:var(--radius-lg); background:var(--ink); color:white; }
.cta-panel::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; border:1px solid rgba(255,255,255,.1); right:-170px; top:-230px; }
.cta-panel::after { content:""; position:absolute; width:240px; height:240px; border-radius:50%; background:rgba(255,255,255,.04); right:90px; bottom:-130px; }
.cta-content { position:relative; z-index:2; display:flex; align-items:end; justify-content:space-between; gap:40px; }
.cta-title { margin:0; max-width:730px; font-size:clamp(36px,5vw,64px); line-height:1.1; letter-spacing:-.045em; }
.cta-copy { margin:18px 0 0; color:rgba(255,255,255,.68); }

/* Inner page */
.page-hero { padding: calc(var(--header-height) + 110px) 0 90px; background:var(--cream); }
.page-hero-inner { display:grid; grid-template-columns:1fr .65fr; gap:40px; align-items:end; }
.about-intro {
  padding: calc(var(--header-height) + 64px) 0 96px;
  background: var(--cream);
}
.about-intro-head { max-width: 720px; }
.about-intro-head .page-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.12;
}
.about-intro-head .page-lead { margin-top: 22px; }
.about-branch-list { display: grid; gap: 72px; margin-top: 64px; }
.about-branch { --about-frame: 320px; }
.about-branch-row { position: relative; }
.about-branch-mat {
  width: var(--about-frame);
  padding: 10px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(31, 25, 20, .08);
}
.about-branch-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--cream-deep);
}
.about-branch-photo img:not(.about-branch-seal) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.about-branch-photo.is-pohang img:not(.about-branch-seal) {
  object-position: center;
}
.about-branch-seal {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(28, 27, 25, .16);
}
.about-branch-photo.is-type {
  display: grid;
  place-items: end start;
  padding: 22px 20px;
  background: #efe8dc;
}
.about-branch-type-copy { display: grid; gap: 12px; }
.about-branch-type-copy strong {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 680;
}
.about-branch-type-copy span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.about-branch-caption {
  width: var(--about-frame);
  margin: 10px 2px 0;
  color: #8a847c;
  font-size: 13px;
  letter-spacing: .06em;
}
.about-branch-copy {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: calc(var(--about-frame) + 56px);
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-branch-name {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .08em;
}
.about-branch-story {
  margin: 14px 0 0;
  max-width: 22em;
  color: var(--ink);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.45;
  letter-spacing: -.025em;
  font-weight: 560;
}
.about-branch-spec {
  display: grid;
  gap: 14px;
  margin: 0;
}
.about-branch-spec > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.about-branch-spec dt,
.about-branch-spec dd { margin: 0; }
.about-branch-spec dt { color: #8a847c; }
.about-branch-foot .btn { margin-top: 22px; align-self: start; }
.about-branch-foot { display: flex; flex-direction: column; align-items: flex-start; }
.about-beliefs { padding-top: 72px; }
.belief-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.belief-group-title {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .1em;
}
.belief-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.belief-item:last-child { border-bottom: 1px solid var(--line); }
.belief-item h3 { margin: 0; font-size: 18px; font-weight: 680; }
.belief-item p { margin: 8px 0 0; max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.page-title { margin:0; font-size:clamp(52px,7vw,96px); line-height:.98; letter-spacing:-.06em; font-weight:680; }
.page-title.listing-title { white-space:nowrap; word-break:keep-all; font-size:clamp(26px, 4.4vw, 56px); }
.page-title .ko { display:block; margin-top:18px; font-size:.42em; letter-spacing:-.04em; font-weight:600; }
.page-lead { margin:0; max-width:520px; color:var(--ink-soft); font-size:17px; line-height:1.8; }
.breadcrumb { margin-bottom:22px; color:var(--muted); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }

/* Animal detail */
.section.detail-page { padding-top: calc(var(--header-height) + 48px); }
.detail-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr); gap:clamp(40px,6vw,90px); align-items:start; }
.detail-gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.detail-gallery img,
.detail-gallery .edit-image-wrap img { width:100%; aspect-ratio:1/1.14; object-fit:cover; border-radius:var(--radius-md); background:var(--cream-deep); }
.detail-gallery .gallery-item:first-child { grid-column:1/-1; }
.detail-gallery .gallery-item:first-child img { aspect-ratio:4/3; }
.detail-gallery.is-review .gallery-item:first-child img { aspect-ratio:16/11; }
.detail-gallery img.is-zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 28px 72px;
  background: rgba(18, 16, 14, .88);
  backdrop-filter: blur(10px);
}
.lightbox-stage { margin: 0; max-width: min(1200px, 100%); }
.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: min(86vh, 900px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  cursor: zoom-out;
}
.lightbox-count {
  margin-top: 14px;
  color: rgba(255,255,255,.72);
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav.is-prev { left: 18px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox-nav.is-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 760px) {
  .lightbox { padding: 72px 16px 28px; }
  .lightbox-nav { display: none; }
}
.review-detail-body { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.review-sex { display: flex; align-items: center; gap: 10px; }
.review-sex .friend-gender { width: 32px; height: 32px; border-radius: 10px; }
.review-sex .gender-icon { width: 16px; height: 16px; }
.info-row.is-review-body { align-items: start; }
.detail-gallery .edit-image-wrap { position: relative; display: block; }
.detail-info { position:sticky; top:calc(var(--header-height) + 28px); }
.detail-badges { display:flex; flex-wrap:wrap; gap:7px; }
.detail-info h1 { margin:18px 0 0; font-size:clamp(42px,5vw,68px); line-height:1.05; letter-spacing:-.05em; }
.detail-info h1.review-title { font-size:clamp(26px, 2.4vw, 34px); line-height:1.35; letter-spacing:-.03em; font-weight:680; }
.detail-sub { margin:10px 0 0; color:var(--muted); font-size:17px; }
.info-table { margin-top:34px; border-top:1px solid var(--line); }
.info-row { display:grid; grid-template-columns:110px 1fr; gap:20px; padding:17px 0; border-bottom:1px solid var(--line); font-size:14px; }
.info-label { color:var(--muted); }
.detail-intro { margin:32px 0 0; color:var(--ink-soft); font-size:16px; line-height:1.85; }
.detail-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:34px; }
.detail-actions .btn { min-height:56px; }

/* Guide */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; }
.step { background:var(--paper); padding:34px 28px; min-height:250px; }
.step-num { color:var(--accent); font-size:12px; font-weight:780; letter-spacing:.12em; }
.step h3 { margin:55px 0 0; font-size:22px; }
.step p { margin:12px 0 0; color:var(--muted); font-size:14px; }
.faq-list { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-question { width:100%; display:flex; justify-content:space-between; align-items:center; padding:24px 0; background:transparent; color:var(--ink); text-align:left; font-size:17px; font-weight:650; }
.faq-answer { max-height:0; overflow:hidden; color:var(--muted); transition:max-height .35s ease; }
.faq-answer > div { padding:0 0 26px; max-width:800px; }
.faq-item.open .faq-answer { max-height:240px; }
.faq-item.open .faq-question .icon { transform:rotate(45deg); }

/* News */
.news-list { border-top:1px solid var(--line); }
.news-item { display:grid; grid-template-columns:120px 1fr auto; gap:26px; align-items:center; padding:25px 0; border-bottom:1px solid var(--line); }
.news-date { color:var(--muted); font-size:13px; }
.news-title { margin:0; font-size:18px; font-weight:640; }
.news-branch { color:var(--accent); font-size:12px; font-weight:700; }

/* Forms */
.form-card { padding:clamp(28px,4vw,48px); border:1px solid var(--line); border-radius:var(--radius-md); background:white; box-shadow:var(--shadow-sm); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.form-group { display:grid; gap:9px; }
.form-group.full { grid-column:1/-1; }
.form-label { font-size:13px; font-weight:670; }
.form-input, .form-select, .form-textarea {
  width:100%;
  border:1px solid var(--line-strong);
  border-radius:12px;
  background:var(--paper);
  color:var(--ink);
  outline:none;
  padding:14px 15px;
  transition:border-color .2s, box-shadow .2s, background .2s;
}
.form-input, .form-select { height:50px; }
.form-textarea { min-height:140px; resize:vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { background:white; border-color:var(--accent); box-shadow:0 0 0 3px rgba(124,95,70,.1); }
.form-hint { color:var(--muted); font-size:12px; }
.checkbox { display:flex; align-items:flex-start; gap:10px; color:var(--ink-soft); font-size:13px; }
.checkbox input { margin-top:4px; }
.form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:28px; }
.alert { padding:14px 16px; border-radius:12px; font-size:13px; }
.alert.success { background:#eaf3ed; color:#315f48; }
.alert.error { background:#f8e9e9; color:#8b3f3f; }

/* Footer */
.site-footer {
  padding: 56px 0 48px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.footer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.footer-brand { font-size: 22px; font-weight: 780; letter-spacing: .02em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; color: var(--ink-soft); font-size: 14px; }
.footer-nav a:hover { color: var(--ink); }
.footer-info { display: grid; gap: 8px; margin-top: 48px; max-width: 920px; }
.footer-info-row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; color: #5c5852; font-size: 13px; line-height: 1.65; }
.footer-info-label { color: #8a847c; }
.footer-info-value a { color: inherit; }

/* Loading */
.skeleton { position:relative; overflow:hidden; background:#ece7df; }
.skeleton::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent); transform:translateX(-100%); animation:shimmer 1.4s infinite; }
@keyframes shimmer { to{transform:translateX(100%);} }
.spinner { width:22px; height:22px; border:2px solid rgba(28,27,25,.2); border-top-color:var(--ink); border-radius:50%; animation:spin .75s linear infinite; }
@keyframes spin { to{transform:rotate(360deg);} }
.toast-stack { position:fixed; z-index:300; right:20px; bottom:20px; display:grid; gap:10px; }
.toast { min-width:260px; max-width:360px; padding:14px 16px; border-radius:12px; background:var(--ink); color:white; box-shadow:var(--shadow-md); font-size:13px; animation:toastIn .25s ease; }
@keyframes toastIn { from{opacity:0;transform:translateY(10px);} }

/* Admin */
.admin-page { min-height:100vh; background:#f5f4f1; color:#1c1b19; }
.admin-login { min-height:100vh; display:grid; grid-template-columns:1.05fr .95fr; }
.admin-login-visual { position:relative; overflow:hidden; background:#b9aa98; }
.admin-login-visual img { width:100%; height:100%; object-fit:cover; }
.admin-login-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(18,17,15,.68),rgba(18,17,15,.08)); }
.admin-login-caption { position:absolute; z-index:2; left:clamp(28px,5vw,72px); bottom:clamp(30px,7vw,80px); color:white; max-width:520px; }
.admin-login-caption h1 { margin:0; font-size:clamp(40px,5vw,68px); line-height:1.04; letter-spacing:-.05em; }
.admin-login-caption p { color:rgba(255,255,255,.72); }
.admin-login-panel { display:grid; place-items:center; padding:40px; }
.admin-login-box { width:min(440px,100%); }
.admin-login-box .brand { color:var(--ink); margin-bottom:70px; }
.admin-login-box h2 { margin:0; font-size:36px; letter-spacing:-.04em; }
.admin-login-box > p { margin:12px 0 32px; color:var(--muted); }
.admin-layout { display:grid; grid-template-columns:260px 1fr; min-height:100vh; }
.admin-sidebar { position:sticky; top:0; height:100vh; padding:28px 20px; background:#1b1b19; color:white; display:flex; flex-direction:column; }
.admin-sidebar .brand { padding:8px 10px 32px; }
.admin-nav { display:grid; gap:4px; }
.admin-nav button, .admin-nav a { display:flex; align-items:center; gap:12px; width:100%; padding:12px 13px; border-radius:10px; color:rgba(255,255,255,.62); background:transparent; font-size:14px; text-align:left; }
.admin-nav button:hover, .admin-nav a:hover, .admin-nav a.active { background:rgba(255,255,255,.09); color:white; }
.admin-sidebar-footer { margin-top:auto; padding:14px 10px 0; border-top:1px solid rgba(255,255,255,.1); }
.admin-user { display:flex; align-items:center; gap:10px; }
.admin-avatar { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#e4d5c5; color:#1b1b19; font-size:13px; font-weight:750; }
.admin-user-name { font-size:13px; font-weight:680; }
.admin-user-role { color:rgba(255,255,255,.45); font-size:11px; }
.admin-main { min-width:0; }
.admin-topbar { position:sticky; top:0; z-index:30; height:72px; display:flex; align-items:center; justify-content:space-between; padding:0 34px; background:rgba(245,244,241,.9); backdrop-filter:blur(16px); border-bottom:1px solid var(--line); }
.admin-topbar h1 { margin:0; font-size:20px; }
.admin-content { padding:34px; }
.admin-content.is-studio { padding: 0; display: flex; flex-direction: column; min-height: calc(100vh - 72px); }
.admin-layout.is-studio .admin-topbar .studio-status { color: var(--muted); font-size: 13px; }
.studio-save-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.studio-save-bar .btn:disabled { opacity:.4; cursor:default; }
.studio-save-bar.is-dirty .studio-status { color:#8a5a20; font-weight:650; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.stat-card { padding:22px; border-radius:16px; background:white; border:1px solid var(--line); }
.stat-label { color:var(--muted); font-size:12px; }
.stat-value { margin-top:8px; font-size:34px; line-height:1; font-weight:720; }
.admin-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:20px; margin-top:20px; }
.panel { background:white; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 22px; border-bottom:1px solid var(--line); }
.panel-title { margin:0; font-size:16px; }
.panel-body { padding:22px; }
.data-table { width:100%; border-collapse:collapse; font-size:13px; }
.data-table th { padding:13px 14px; color:var(--muted); font-weight:650; text-align:left; border-bottom:1px solid var(--line); background:#faf9f7; }
.data-table td { padding:14px; border-bottom:1px solid var(--line); vertical-align:middle; }
.data-table tr:last-child td { border-bottom:0; }
.table-thumb { width:52px; height:60px; border-radius:9px; object-fit:cover; background:var(--cream); }
.table-actions { display:flex; gap:6px; }
.badge { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:999px; background:#f0eee9; color:#5f5a53; font-size:11px; font-weight:700; white-space:nowrap; }
.badge.available { background:#e6f1e9; color:#3c6a50; }
.badge.consulting { background:#f5ecdc; color:#815e25; }
.badge.family { background:#ece7f5; color:#62507e; }
.badge.pending { background:#f4e7e7; color:#864c4c; }
.badge.visible { background:#e6f1e9; color:#3c6a50; }
.badge.hidden { background:#f4e7e7; color:#864c4c; }
.admin-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.admin-toolbar-filters { display:flex; flex-wrap:wrap; gap:10px; align-items:center; flex:1; min-width:0; }
.admin-filter { width:auto; min-width:140px; height:44px; padding:0 12px; }
.admin-search { position:relative; width:min(360px,100%); }
.admin-search input { width:100%; height:44px; padding:0 14px 0 42px; border:1px solid var(--line); border-radius:12px; background:white; outline:none; }
.admin-search .icon { position:absolute; left:14px; top:13px; color:var(--muted); }
.admin-form { display:grid; gap:22px; }
.admin-form-section { padding:24px; background:white; border:1px solid var(--line); border-radius:16px; }
.admin-form-section h3 { margin:0 0 20px; font-size:16px; }
.admin-login-links { display:flex; justify-content:space-between; gap:14px; margin-top:20px; color:var(--muted); font-size:12px; }
.table-person { display:flex; align-items:center; gap:12px; }
.table-sub { color:var(--muted); font-size:12px; margin-top:2px; }
.admin-content .empty-state { padding:28px 8px; }
.upload-box { display:grid; place-items:center; min-height:180px; padding:24px; border:1px dashed var(--line-strong); border-radius:14px; background:#faf9f7; text-align:center; color:var(--muted); cursor:pointer; }
.upload-box.dragover { border-color:var(--accent); background:var(--cream); }
.upload-preview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:12px; }
.upload-preview img { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center; border-radius:10px; }
.upload-preview[data-slot="review"] img { aspect-ratio:16/11; }
.upload-item { position:relative; cursor:pointer; border-radius:12px; }
.upload-item.is-cover { box-shadow: 0 0 0 2px var(--ink); }
.upload-remove { position:absolute; top:6px; right:6px; width:28px; height:28px; padding:0; border-radius:50%; background:rgba(28,27,25,.78); color:#fff; display:grid; place-items:center; z-index:2; }
.upload-remove .icon { width:14px; height:14px; }
.upload-cover-label { position:absolute; left:6px; bottom:6px; padding:3px 7px; border-radius:999px; background:rgba(28,27,25,.78); color:#fff; font-size:10px; font-weight:700; }
.upload-cover-btn {
  position:absolute;
  left:6px;
  bottom:6px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--ink);
  font-size:11px;
  font-weight:750;
}
.upload-item:hover .upload-cover-btn { background:var(--ink); color:#fff; }
.user-row { display:flex; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.user-row:last-child { border-bottom:0; }
.user-row-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:flex-end; }
.user-password-form { display:flex; gap:6px; align-items:center; }
.user-password-form .form-input { height:38px; width:160px; padding:0 10px; }
.admin-mobile-menu { display:none; }

/* responsive */
@media (max-width: 1200px) {
  .main-nav { gap: 10px; }
  .nav-link { font-size: 12px; }
}
@media (max-width: 1080px) {
  :root { --content:min(100% - 40px, 1000px); }
  .header-inner { width:calc(100vw - 40px); grid-template-columns:190px 1fr auto; }
  .main-nav { gap:18px; }
  .nav-link { font-size:13px; }
  .friend-grid,
  .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns:repeat(2,1fr); }
  .admin-layout { grid-template-columns:220px 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .admin-grid { grid-template-columns:1fr; }
}

@media (max-width: 860px) {
  :root { --header-height:70px; }
  .main-nav, .header-actions .btn { display:none; }
  .header-inner { grid-template-columns:1fr auto; width:calc(100vw - 32px); }
  .header-actions { display:block; }
  .menu-toggle { display:grid; place-items:center; }
  .hero-content { width:calc(100vw - 40px); }
  .hero-media::after { background:linear-gradient(90deg,rgba(22,20,18,.55),rgba(22,20,18,.08)),linear-gradient(0deg,rgba(22,20,18,.5),transparent 54%); }
  .hero-badge { display:none; }
  .section { padding:92px 0; }
  .section-head { display:block; }
  .section-head .text-link { margin-top:22px; }
  .split-section { grid-template-columns:1fr; }
  .split-visual { min-height:520px; }
  .split-copy { padding:72px 32px; }
  .about-branch-row { position: static; }
  .about-branch-mat { width: min(320px, 100%); }
  .about-branch-caption { width: min(320px, 100%); }
  .about-branch-copy {
    position: static;
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 8px;
  }
  .about-branch-story { font-size: 22px; }
  .friend-grid,
  .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .friend-meta { gap: 8px; padding: 10px 0 0; }
  .friend-name { font-size: 14px; }
  .friend-desc { margin-top: 4px; font-size: 11px; }
  .friend-gender { width: 28px; height: 28px; border-radius: 8px; }
  .friend-gender .gender-icon { width: 15px; height: 15px; }
  .status-badge,
  .branch-badge { top: 8px; left: 8px; padding: 4px 7px; font-size: 9px; }
  .branch-badge { left: auto; right: 8px; }
  .story-body { padding: 12px 10px 14px; }
  .story-label { font-size: 9px; }
  .story-title { margin-top: 6px; font-size: 14px; line-height: 1.32; min-height: calc(1.32em * 2); }
  .story-excerpt { display: none; }
  .belief-groups { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-inner { grid-template-columns:1fr; }
  .branch-grid { grid-template-columns:1fr; }
  .branch-card { min-height:390px; }
  .detail-layout { grid-template-columns:1fr; }
  .detail-info { position:static; }
  .cta-content { display:block; }
  .cta-content .btn { margin-top:30px; }
  .footer-head { align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .admin-login { grid-template-columns:1fr; }
  .admin-login-visual { display:none; }
  .admin-layout { grid-template-columns:1fr; }
  .admin-sidebar { position:fixed; z-index:100; inset:0 auto 0 0; width:260px; transform:translateX(-100%); transition:transform .25s ease; }
  .admin-sidebar.open { transform:none; }
  .admin-mobile-menu { display:grid; place-items:center; background:transparent; }
  .admin-content { padding:24px 18px; }
  .admin-topbar { padding:0 18px; }
}

@media (max-width: 640px) {
  :root { --content:calc(100vw - 28px); }
  .hero-content { width:calc(100vw - 28px); align-items:end; padding-bottom:105px; }
  .hero-media video { object-position:52% center; }
  .hero-media::after { background:linear-gradient(0deg,rgba(22,20,18,.76) 0%,rgba(22,20,18,.28) 55%,rgba(22,20,18,.08) 100%); }
  .hero h1 { font-size: clamp(22px, 7vw, 34px); }
  .hero-description { font-size:15px; }
  .hero-actions { display:grid; grid-template-columns:1fr 1fr; }
  .hero-actions .btn { padding-inline:14px; }
  .hero-scroll { display:none; }
  .section { padding:76px 0; }
  .section.compact { padding:60px 0; }
  .section-title { font-size:38px; }
  .section-title.is-nowrap { white-space: normal; }
  .section-copy { font-size:15px; }
  .friend-grid,
  .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .friend-image { aspect-ratio: 4 / 5; }
  .friend-meta { gap: 6px; padding: 8px 0 0; }
  .friend-name { font-size: 13px; }
  .friend-desc { margin-top: 3px; font-size: 10px; }
  .friend-gender { width: 26px; height: 26px; border-radius: 8px; }
  .friend-gender .gender-icon { width: 14px; height: 14px; }
  .status-badge,
  .branch-badge { top: 6px; left: 6px; padding: 3px 6px; font-size: 9px; }
  .branch-badge { left: auto; right: 6px; }
  .story-body { padding: 10px 8px 12px; }
  .story-label { font-size: 9px; }
  .story-title { margin-top: 5px; font-size: 13px; line-height: 1.3; min-height: calc(1.3em * 2); }
  .story-excerpt { display: none; }
  .split-visual { min-height:420px; }
  .split-copy { padding:60px 22px; }
  .value-item { grid-template-columns:40px 1fr; }
  .branch-card { min-height:360px; padding:28px; border-radius:26px; }
  .cta-panel { border-radius:26px; }
  .page-hero { padding:calc(var(--header-height) + 72px) 0 64px; }
  .about-branch-mat { width: min(280px, 100%); }
  .about-intro-head .page-title { font-size: 42px; }
  .page-title { font-size:54px; }
  .page-title.listing-title { font-size:clamp(20px, 6.6vw, 32px); }
  .detail-gallery { gap:8px; }
  .detail-actions { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .step { min-height:220px; }
  .step h3 { margin-top:36px; }
  .news-item { grid-template-columns:80px 1fr; }
  .news-item .friend-arrow { display:none; }
  .form-grid { grid-template-columns:1fr; }
  .form-group.full { grid-column:auto; }
  .footer-info-row { grid-template-columns: 1fr; gap: 2px 10px; }
  .stats-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .stat-card { padding:17px; }
  .stat-value { font-size:28px; }
  .admin-toolbar { align-items:stretch; flex-direction:column; }
  .admin-search { width:100%; }
  .data-table { min-width:700px; }
  .panel-body.table-wrap { overflow-x:auto; padding:0; }
  .upload-preview { grid-template-columns:repeat(3,1fr); }
}


/* ZIBA PET local SEO & Kakao */
.local-seo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.local-seo-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:34px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:var(--paper);
  color:inherit;
  transition:transform .2s ease, box-shadow .2s ease;
}
a.local-seo-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.local-seo-card h2 { margin:10px 0 0; font-size:clamp(24px,3vw,34px); letter-spacing:-.035em; }
.local-seo-card p { margin:16px 0 26px; color:var(--muted); line-height:1.8; word-break:keep-all; overflow-wrap:break-word; }
.local-seo-card .text-link { margin-top:auto; }
.seo-city-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px;
  margin:0 0 28px;
}
.seo-city-links a { color:var(--accent); font-weight:650; }
.footer-seo {
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}
.footer-seo a:hover { color:var(--ink); }
.blog-home-link { margin: 28px 0 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  overflow: hidden;
  padding: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.blog-card-image {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-deep);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .6s ease;
}
a.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 12px 14px 0;
}
.blog-card .section-kicker {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: .12em;
  gap: 6px;
}
.blog-card .section-kicker::before { width: 14px; }
.blog-card h3 {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -.03em;
  font-weight: 680;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.blog-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.blog-card .text-link { margin-top: auto; font-size: 12px; }
.blog-hero-image {
  max-width: 920px;
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--cream-deep);
}
.blog-hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 30%;
}
.page-title.blog-title {
  max-width: 920px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.22;
  letter-spacing: -.03em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.blog-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}
.blog-body { max-width: 760px; }
.blog-body h2 {
  margin: 56px 0 16px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  word-break: keep-all;
  letter-spacing: -.03em;
  font-weight: 700;
}
.blog-body h2:first-child { margin-top: 0; }
.blog-body p,
.blog-rich p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}
.blog-body h3,
.blog-rich h3 {
  margin: 36px 0 12px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 720;
}
.blog-body h4,
.blog-rich h4 { margin: 28px 0 10px; font-size: 18px; font-weight: 700; }
.blog-rich ul,
.blog-rich ol { margin: 0 0 20px; padding-left: 1.3em; color: var(--ink-soft); }
.blog-rich li { margin: 0 0 8px; }
.blog-rich blockquote {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--cream);
  color: var(--ink-soft);
}
.blog-rich img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border-radius: 16px;
}
.blog-rich a { color: var(--accent-dark); text-decoration: underline; }
.blog-rich hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.rte {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #f7f4ef;
}
.rte-group { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rte-btn,
.rte-select {
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rte-btn:hover,
.rte-select:hover { border-color: var(--accent); }
.rte-select { min-width: 88px; }
.rte-pop { position: relative; }
.rte-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.rte-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.rte-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.16);
  cursor: pointer;
}
.rte-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.rte-area {
  min-height: 420px;
  padding: 22px 20px 32px;
  outline: none;
  line-height: 1.8;
}
.rte-area:focus { box-shadow: inset 0 0 0 2px rgba(124, 95, 70, .18); }
.rte-area h2 { margin: 1.2em 0 .4em; font-size: 28px; }
.rte-area h3 { margin: 1em 0 .35em; font-size: 22px; }
.rte-area img { max-width: 100%; height: auto; border-radius: 12px; }
.faq-editor { display: grid; gap: 12px; }
.faq-row { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.blog-cover-box { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 12px; }
.blog-cover-preview {
  width: min(320px, 100%);
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--muted);
  font-size: 13px;
}
.blog-cover-preview img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-facts {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}
.blog-facts .info-table { margin-top: 12px; }
.blog-facts .text-link { display: inline-flex; margin-top: 22px; }
.blog-faq { margin-top: 56px; }
.blog-faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.blog-faq-item:last-child { border-bottom: 1px solid var(--line); }
.blog-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.blog-faq-item p { margin: 12px 0 0; }
@media (max-width: 1080px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact-page { max-width: 1080px; }
.branch-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.contact-card,
.kakao-contact-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 250px;
  padding: 28px 26px 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover,
.kakao-contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card-top { display: flex; align-items: flex-start; gap: 18px; }
.contact-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  flex: none;
  overflow: hidden;
}
.contact-mark .icon { width: 28px; height: 28px; }
.contact-app-icon {
  display: block;
  width: 72px;
  height: 72px;
}
.contact-mark.is-phone { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(28, 27, 25, .06); }
.contact-mark.is-kakao,
.contact-mark.is-instagram { background: none; box-shadow: none; }
.contact-card-copy { min-width: 0; }
.contact-card-copy .section-kicker { margin-bottom: 8px; }
.contact-card h2,
.kakao-contact-card h2 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; }
.contact-card-text { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.contact-meta {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
}
.contact-meta li { display: flex; align-items: flex-start; gap: 8px; }
.contact-meta .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); flex: none; }
.contact-card .btn,
.kakao-contact-card .btn { align-self: flex-start; margin-top: auto; }
.contact-url-edit { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.contact-soon {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f1eb;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.btn-kakao { background: #fee500; color: #191919; box-shadow: 0 10px 24px rgba(254, 229, 0, .28); }
.btn-kakao:hover { background: #ffe44d; }
.btn-instagram {
  border: 0;
  background-image: linear-gradient(45deg, #ffdc80 0%, #f77737 22%, #e1306c 48%, #833ab4 78%, #405de6 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(225, 48, 108, .2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  transform: translateZ(0);
}
.btn-instagram:hover {
  filter: none;
  background-image: linear-gradient(45deg, #ffe08f 0%, #ff8648 22%, #ea3a78 48%, #8f48be 78%, #516eef 100%);
}
.btn-instagram span {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.btn-instagram .ig-glyph {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  color: #fff;
}
.btn-brand-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fee500;
  color: #191919;
  flex: none;
}
.btn-brand-icon .contact-brand-svg { display: block; width: 13px; height: 13px; }
.btn-kakao .btn-brand-icon { width: 20px; height: 20px; background: #191919; color: #fee500; }
.btn-kakao .btn-brand-icon .contact-brand-svg { width: 12px; height: 12px; }
.kakao-float { position:fixed; right:24px; bottom:24px; z-index:95; display:flex; align-items:center; gap:9px; min-height:48px; padding:8px 16px 8px 8px; border-radius:999px; background:#1c1b19; color:#fff; box-shadow:0 14px 34px rgba(28,27,25,.24); font-size:13px; font-weight:700; }
.kakao-float:hover { transform:translateY(-2px); }
.kakao-dot { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#fee500; color:#191919; flex:0 0 32px; }
.kakao-dot .contact-brand-svg { display:block; width:18px; height:18px; }
.footer-company { gap:14px; flex-wrap:wrap; }
@media (max-width: 1080px) { .main-nav { gap:11px; } .nav-link { font-size:12px; } }
@media (max-width: 860px) { .branch-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .local-seo-grid { grid-template-columns:1fr; } .kakao-float { right:14px; bottom:14px; } .kakao-float span:last-child { display:none; } .kakao-float { padding:8px; } }
.user-profile-form { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.user-profile-form .form-input { height:38px; width:140px; padding:0 10px; }
.footer-business { width:100%; color:var(--muted); font-size:13px; white-space:pre-wrap; }
.is-editable { outline: 1px dashed transparent; border-radius: 4px; position: relative; z-index: 3; cursor: text; user-select: text; caret-color: var(--ink); }
.is-editable:hover { outline-color: rgba(196,165,116,.85); background: rgba(196,165,116,.08); }
.is-editable:focus { outline: 2px solid #c4a574; background: rgba(255,255,255,.12); }
body.studio-mode a.has-edit { cursor: default; }
.gallery-item { position: relative; }
.gallery-add { min-height: 180px; border-radius: var(--radius-md); }
.edit-image-wrap { position: relative; display: block; }
.friend-image .edit-image-wrap,
.split-visual .edit-image-wrap,
.story-image .edit-image-wrap,
.about-branch-photo .edit-image-wrap { position: absolute; inset: 0; z-index: 3; }
.about-branch-photo .edit-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.about-branch-photo.is-pohang .edit-image-wrap img { object-position: center; }
.detail-gallery .edit-image-wrap { position: relative; display: block; }
.friend-image .edit-image-wrap img,
.split-visual .edit-image-wrap img,
.story-image .edit-image-wrap img,
.hero-media .edit-image-wrap img,
.detail-gallery .edit-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.friend-image .edit-image-wrap img { object-position: 50% 22%; }
.brand-logo-edit img { object-fit: contain; }
.edit-image-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(28,27,25,.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.edit-image-wrap.is-editable:hover .edit-image-hint,
.hero-media.is-editable:hover .edit-image-hint { opacity: 1; }
.brand-logo-edit { display: inline-flex; position: relative; }
.brand-logo-edit .edit-image-hint { left: 0; bottom: -18px; }
.friend-card.is-studio,
.story-card.is-studio { position: relative; cursor: default; }
.studio-drag,
.studio-delete {
  position: absolute;
  z-index: 4;
  top: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: rgba(28,27,25,.78);
  color: #fff;
  display: grid;
  place-items: center;
}
.studio-open {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(28,27,25,.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.friend-card.is-studio .status-badge { top: 50px; }
.studio-drag { right: 52px; cursor: grab; }
.studio-delete { right: 12px; }
.studio-drag .icon,
.studio-delete .icon { width: 15px; height: 15px; }
.friend-card.is-dragging,
.story-card.is-dragging { opacity: .42; }
.friend-card.is-drag-over,
.story-card.is-drag-over { outline: 2px solid #c4a574; outline-offset: 4px; }
.studio-add-card {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px dashed var(--line-strong);
  background: #faf8f4;
  color: var(--muted);
  text-align: center;
}
.studio-add-card span { display: grid; justify-items: center; gap: 10px; }
.studio-app { display: flex; flex-direction: column; min-height: calc(100vh - 72px); background: #f5f4f1; }
.studio-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.studio-pages a {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4f2ee;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}
.studio-pages a.active,
.studio-pages a:hover { background: var(--ink); color: #fff; }
.studio-pages .studio-open-site { margin-left: auto; background: transparent; border: 1px solid var(--line); }
.studio-format {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: min(520px, calc(100vw - 24px));
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(28, 27, 25, .2);
}
.studio-format.is-open { display: flex; }
.studio-format[hidden] { display: none !important; }
.studio-format-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}
.studio-format-field select,
.studio-format-field input[type="color"] {
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.studio-format-field select { padding: 0 8px; min-width: 72px; }
.studio-format-field input[type="color"] { width: 34px; padding: 2px; cursor: pointer; }
.studio-format-swatches { display: inline-flex; gap: 4px; }
.studio-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18);
}
.studio-swatch[data-format-color-preset="#ffffff"] { box-shadow: inset 0 0 0 1px #d7d2cb; }
.studio-format-btn {
  height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  background: #f4f2ee;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.studio-format-btn:hover { background: var(--ink); color: #fff; }
.studio-canvas .is-editable span[style] { display: inline; }
.studio-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--paper);
}
body.studio-mode { padding-top: 0; }
body.studio-mode .studio-canvas .site-header { position: sticky; top: 0; }
body.studio-mode .studio-canvas .kakao-float { position: absolute; }
body.studio-mode .studio-canvas .mobile-menu { position: absolute; }
