:root {
  --ink: #101622;
  --navy: #111a2c;
  --navy-2: #17243d;
  --blue: #235fd6;
  --blue-2: #1749af;
  --sky: #eaf2ff;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #dfe5ef;
  --muted: #647084;
  --gold: #b99049;
  --danger: #c24135;
  --shadow: 0 24px 70px rgba(16,22,34,.12);
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: -.02em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223,229,239,.9);
}
.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: flex-end; gap: 10px; min-width: 190px; transform: translateY(4px); }
.brand-logo { display: block; width: auto; height: 40px; object-fit: contain; object-position: center center; flex: 0 0 auto; }
.brand-text { display: block; }
.brand-text strong { display: block; font-size: 17px; line-height: 1.1; }
.brand-text span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; letter-spacing: .03em; }
.navlinks { display: flex; align-items: center; gap: 28px; color: #263248; font-size: 15px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.pill.primary { background: var(--blue); color: white; box-shadow: 0 12px 24px rgba(35,95,214,.22); }
.pill.dark { background: var(--navy); color: white; }
.pill.ghost { border-color: var(--line); color: var(--ink); background: white; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(35,95,214,.16), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #fff 76%);
}
.hero::before {
  content: "YEOEUL IP";
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(78px, 14vw, 188px);
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(17,26,44,.045);
  white-space: nowrap;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 430px;
  gap: 48px;
  padding: 86px 0 78px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.065em;
  color: var(--navy);
}
h1 .blue { color: var(--blue); }
.lead {
  margin: 26px 0 0;
  color: #364259;
  font-size: 20px;
  line-height: 1.72;
  max-width: 700px;
  word-break: keep-all;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
  max-width: 760px;
}
.proof {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-height: 112px;
  box-shadow: 0 12px 30px rgba(16,22,34,.055);
}
.proof strong { display: block; font-size: 26px; color: var(--navy); letter-spacing: -.05em; }
.proof span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 560px;
  background: #eef2f7;
  border: 1px solid rgba(17,26,44,.08);
  box-shadow: var(--shadow);
}
.hero-photo, .profile-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-photo { min-height: 560px; object-position: 52% 14%; }
.profile-photo { position: absolute; inset: 0; object-position: 50% 10%; }
.visual-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, rgba(17,26,44,.92), rgba(23,36,61,.82));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
}
.visual-badge b { display: block; font-size: 20px; letter-spacing: -.04em; }
.visual-badge span { display: block; margin-top: 7px; color: #c7d1e4; line-height: 1.55; font-size: 14px; }
.mini-card {
  position: absolute;
  top: 22px;
  right: -46px;
  width: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(17,26,44,.08);
  box-shadow: 0 16px 42px rgba(16,22,34,.14);
  transform: rotate(2deg);
}
.mini-card img { width: 100%; display: block; }
.mini-card-caption { padding: 11px 13px; font-size: 12px; color: var(--muted); font-weight: 800; }

section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-kicker { color: var(--blue); font-weight: 900; font-size: 14px; letter-spacing: .02em; margin-bottom: 10px; }
.section-head h2, .center-head h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.16; letter-spacing: -.055em; color: var(--navy); word-break: keep-all; text-wrap: pretty; }
.section-head h2 .nowrap { white-space: nowrap; }
.section-head p, .center-head p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; font-size: 17px; max-width: 640px; word-break: keep-all; text-wrap: pretty; }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.center-head p { margin-left: auto; margin-right: auto; }

.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card h3 { margin: 0; font-size: 24px; letter-spacing: -.045em; }
.service-card p { color: var(--muted); line-height: 1.62; margin: 14px 0 20px; word-break: keep-all; }
.price { color: var(--blue); font-weight: 900; font-size: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 7px 10px; border-radius: 999px; background: #eef3fb; color: #3d4d68; font-size: 13px; font-weight: 750; }

.difference {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.difference::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -180px; top: -160px;
  background: radial-gradient(circle, rgba(35,95,214,.45), transparent 64%);
}
.difference .section-kicker { color: #93b7ff; }
.difference h2 { color: white; }
.difference p { color: #c7d1e4; }
.diff-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; z-index: 1; }
.diff-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 28px;
  min-height: 194px;
}
.diff-card b { display: block; font-size: 20px; margin-bottom: 12px; }
.diff-card span { color: #c7d1e4; line-height: 1.65; word-break: keep-all; }

.cases-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 22px;
}
.searchbox { position: relative; }
.searchbox input {
  width: 100%; height: 56px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px 0 48px;
  outline: none;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,22,34,.05);
}
.searchbox::before { content: "⌕"; position: absolute; left: 20px; top: 13px; color: var(--muted); font-size: 26px; transform: rotate(-15deg); }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filterbar button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 0 16px;
  color: #364259;
  cursor: pointer;
  font-weight: 760;
}
.filterbar button.active { background: var(--navy); color: white; border-color: var(--navy); }
.case-list { border-top: 2px solid var(--navy); background: white; }
.case-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 128px 32px;
  gap: 18px;
  align-items: center;
  padding: 24px 2px;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.case-item .cat { color: var(--blue); font-weight: 900; font-size: 14px; }
.case-item h3 { margin: 0; font-size: 22px; letter-spacing: -.04em; line-height: 1.36; }
.case-item p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.case-meta { color: var(--muted); font-size: 14px; text-align: right; }
.arrow { color: var(--blue); font-size: 24px; }
.case-item:hover h3 { color: var(--blue-2); }

.blog { background: linear-gradient(180deg, #f7f9fd, #fff); }
.blog-subnav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: -12px 0 26px; }
.blog-subnav a { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; color: #364259; background: white; font-weight: 800; }
.blog-subnav a:hover { border-color: var(--blue); color: var(--blue-2); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 0; }
.blog-card { display: block; background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 36px rgba(16,22,34,.07); }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #eef2f7; }
.blog-card div { padding: 20px; }
.blog-card .label { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .02em; }
.blog-card h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.34; letter-spacing: -.045em; color: var(--navy); word-break: keep-all; }
.blog-card p { margin: 0; color: var(--muted); line-height: 1.55; word-break: keep-all; }
.blog-card:hover h3 { color: var(--blue-2); }
.blog-more { text-align: center; margin-top: 34px; }

/* ---- Blog article page ---- */
.article-page { padding: 56px 0 88px; background: linear-gradient(180deg, #f7f9fd, #fff 320px); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--blue-2); }
.breadcrumb span { margin: 0 8px; color: #b3bccb; }
.blog-article { background: white; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 18px 50px rgba(16,22,34,.08); }
.article-meta { color: var(--blue); font-weight: 900; font-size: 14px; letter-spacing: .02em; }
.article-meta time { color: var(--muted); font-weight: 700; margin-left: 10px; }
.blog-article h1 { margin: 10px 0 16px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.18; letter-spacing: -.055em; color: var(--navy); word-break: keep-all; }
.blog-article .summary { color: #364259; font-size: 18px; line-height: 1.75; margin: 0 0 26px; word-break: keep-all; }
.article-body { max-width: 900px; margin: 0 auto; }
.article-body h2 { margin: 34px 0 12px; font-size: 24px; letter-spacing: -.045em; color: var(--navy); word-break: keep-all; }
.article-body h3 { margin: 26px 0 10px; font-size: 19px; letter-spacing: -.04em; color: var(--navy); word-break: keep-all; }
.article-body p, .article-body li { margin: 0 0 18px; color: #3c475d; line-height: 1.86; font-size: 17px; word-break: keep-all; }
.article-body li { margin-bottom: 8px; }
.article-body figure { margin: 26px 0 30px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #f8fafc; }
.article-body figure img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-faq { margin-top: 36px; }
.article-faq details { margin-bottom: 10px; }
.author-box {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 40px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.author-box b { display: block; font-size: 18px; color: var(--navy); letter-spacing: -.04em; }
.author-box span { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 6px; word-break: keep-all; }
.article-cta { margin-top: 32px; padding: 22px; border-radius: 20px; background: var(--navy); color: white; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.article-cta b { font-size: 20px; letter-spacing: -.04em; }
.article-cta span { display: block; color: #c7d1e4; margin-top: 6px; line-height: 1.5; }
.related { margin-top: 44px; }
.related h2 { font-size: 22px; letter-spacing: -.045em; color: var(--navy); margin: 0 0 16px; }

/* ---- Blog index page ---- */
.blog-index { padding: 56px 0 88px; }
.blog-index .center-head { margin-bottom: 30px; }

.profile-strip { background: linear-gradient(180deg, #fff, #f6f8fc); }
.profile-grid { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 34px; align-items: center; }
.portrait-card {
  background: var(--navy);
  color: white;
  border-radius: 28px;
  min-height: 560px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,26,44,0) 42%, rgba(17,26,44,.94) 100%);
  z-index: 1;
}
.portrait-copy { position: relative; z-index: 2; padding: 28px; }
.portrait-card .role { color: #d6b667; font-weight: 850; }
.portrait-card h3 { margin: 12px 0 0; font-size: 42px; letter-spacing: -.065em; }
.portrait-card p { margin: 16px 0 20px; color: #e1e7f1; line-height: 1.7; }
.profile-list { display: grid; gap: 16px; }
.profile-point {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.num { color: var(--blue); font-weight: 950; font-size: 24px; letter-spacing: -.04em; }
.profile-point b { display: block; font-size: 19px; margin-bottom: 8px; }
.profile-point span { color: var(--muted); line-height: 1.6; }
.profile-credentials {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .82fr 1fr 1.2fr;
  gap: 16px;
  margin-top: 6px;
}
.credential-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(16,22,34,.06);
}
.credential-card .label { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .08em; margin-bottom: 8px; }
.credential-card h3 { margin: 0 0 14px; color: var(--navy); font-size: 22px; letter-spacing: -.045em; }
.credential-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.credential-card li { position: relative; padding-left: 14px; color: #445066; line-height: 1.5; word-break: keep-all; }
.credential-card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.faq { background: #f7f9fd; }
.brand-materials { background: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.brand-card { background: #f8fafc; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 16px 40px rgba(16,22,34,.08); }
.brand-card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: white; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 19px 20px; }
summary { cursor: pointer; font-weight: 850; color: #202b42; }
details p { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }

.contact { background: var(--navy); color: white; padding-bottom: 120px; }
.contact-box { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 28px; align-items: stretch; }
.contact h2 { color: white; }
.contact p { color: #c7d1e4; }
.info-card, .inquiry-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 28px; }
.info-list { display: grid; gap: 14px; margin-top: 26px; }
.info-list div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 14px; }
.info-list span { color: #91a0b9; }
.info-list b { font-weight: 760; line-height: 1.55; }
.sns-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sns-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: white; font-weight: 800; font-size: 13.5px; transition: background .15s, border-color .15s; }
.sns-chips a:hover { background: rgba(214,182,103,.18); border-color: #d6b667; }
.sns-chips svg { width: 15px; height: 15px; flex: none; }
.form-help { color: #91a0b9; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.map-embed { position: relative; margin-top: 20px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.map-embed iframe { width: 100%; height: 250px; display: block; border: 0; background: #eef2f7; }
.map-open { position: absolute; top: 10px; left: 10px; background: white; color: var(--navy); font-size: 12.5px; font-weight: 850; padding: 7px 12px; border-radius: 10px; box-shadow: 0 4px 14px rgba(16,22,34,.25); }
.map-open:hover { color: var(--blue-2); }
.inquiry-card h3 { margin: 0 0 18px; color: white; font-size: 25px; letter-spacing: -.045em; }
.direct-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.direct-list li { position: relative; padding: 15px 16px 15px 42px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); color: #e5ebf5; line-height: 1.5; }
.direct-list li::before { content: "✓"; position: absolute; left: 16px; top: 15px; color: #d6b667; font-weight: 900; }

.footer { background: #0b111f; color: #c7d1e4; padding: 34px 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer strong { color: white; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .navlinks { display: none; }
  .hero-grid, .profile-grid, .contact-box { grid-template-columns: 1fr; }
  .profile-credentials { grid-template-columns: 1fr; }
  .proof-row, .service-grid, .diff-grid, .faq-grid, .brand-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .photo-card { min-height: 500px; }
  .hero-photo { min-height: 500px; }
  .mini-card { right: 12px; width: 220px; }
  .cases-tools { grid-template-columns: 1fr; }
  .filterbar { justify-content: flex-start; }
  .case-item { grid-template-columns: 80px minmax(0, 1fr) 24px; }
  .case-meta { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section-head h2 .nowrap { white-space: normal; }
  .nav { height: 66px; gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; gap: 9px; }
  .brand-logo { width: auto; height: 32px; }
  .brand-text strong { font-size: 14px; }
  .brand-text span { display: none; }
  .nav-cta { display: none; }
  .hero-grid { padding: 54px 0 54px; gap: 28px; }
  .hero-visual { min-height: 420px; }
  .photo-card { min-height: 420px; border-radius: 24px; }
  .hero-photo { min-height: 420px; object-position: 50% 10%; }
  .visual-badge { left: 12px; right: 30px; bottom: 12px; padding: 14px 16px 14px 14px; border-radius: 16px; }
  .mini-card { display: none; }
  .portrait-card { min-height: 520px; }
  .article-cta { display: block; }
  .article-cta .pill { margin-top: 16px; }
  .author-box { grid-template-columns: 1fr; }
  .lead { font-size: 17px; overflow-wrap: anywhere; word-break: normal; line-height: 1.62; }
  section { padding: 62px 0; }
  .section-head { display: block; }
  .proof, .service-card, .diff-card, .profile-point { padding: 20px; }
  .profile-point { grid-template-columns: 1fr; gap: 8px; }
  .case-item { grid-template-columns: 1fr 24px; gap: 10px; padding: 20px 0; }
  .case-item .cat { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
}
