/* W.N 소신 - 맨홀교체 : GROUND / CIRCLE / STRUCTURE / REPAIR */

:root {
  --bg: #f6f5f2;
  --bg-soft: #eeece6;
  --surface: #ffffff;
  --ink: #232220;
  --ink-soft: #66635d;
  --ink-faint: #a3a099;
  --line: #ddd9d0;
  --accent: #e2501f;
  --accent-dark: #b93c14;
  --accent-soft: #fbe8de;
  --radius: 18px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Pretendard", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
section { position: relative; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 0 20px;
  margin-left: 12px;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--accent-dark); }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 22px; height: 22px; }
.mobile-nav .menu-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 32px rgba(35, 34, 32, 0.12);
}
.mobile-nav .menu-panel a {
  padding: 13px 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .menu-panel a:last-child { border-bottom: none; }
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  position: relative;
  flex: none;
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
.header-cta:hover { background: var(--accent-dark); }
.header-cta svg { width: 15px; height: 15px; }

/* ---------- hero first (real photo) ---------- */
.hero-first {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
  height: calc(100vh - 69px);
  min-height: 480px;
}
.hero-first figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.hero-first figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-first figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(35, 34, 32, 0.82);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-first .side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  background: var(--bg-soft);
}
.hero-first .lead {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-first .lead em {
  font-style: normal;
  color: var(--accent-dark);
}
.hero-first .sub {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- decorative rings ---------- */
.ring-field { position: relative; overflow: hidden; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

/* ---------- problem section ---------- */
.problem-section { padding: 96px 0 70px; }
.problem-statement {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
  line-height: 1.5;
}
.problem-desc {
  margin-top: 22px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.problem-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.problem-item {
  padding: 28px 18px 0;
  border-right: 1px solid var(--line);
}
.problem-item:last-child { border-right: none; }
.problem-item .num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.problem-item .label {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.98rem;
}

/* circular inset case card */
.inset-case {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.inset-case .photo {
  flex: none;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}
.inset-case .photo img { width: 100%; height: 100%; object-fit: cover; }
.inset-case .text .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.inset-case .text p { color: var(--ink-soft); font-size: 0.95rem; max-width: 480px; }

/* ---------- mid hero ---------- */
.mid-hero {
  padding: 120px 0;
  text-align: center;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mid-hero::before,
.mid-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.mid-hero::before { width: 620px; height: 620px; top: -260px; left: 50%; transform: translateX(-70%); }
.mid-hero::after { width: 420px; height: 420px; bottom: -220px; right: 50%; transform: translateX(70%); }
.mid-hero .eyebrow { color: #f0a884; }
.mid-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  position: relative;
}
.mid-hero .sub {
  margin: 22px auto 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  position: relative;
}
.btn-call {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-call:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-call svg { width: 18px; height: 18px; }
.btn-call.outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-call.outline:hover { background: var(--ink); color: #fff; }

/* ---------- case-wide (big photo + text) ---------- */
.case-wide { padding: 100px 0; }
.case-wide .grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.case-wide.reverse .grid { grid-template-columns: 1fr 1.3fr; }
.case-wide.reverse .grid .photo { order: 2; }
.case-wide .photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case-wide .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-wide .photo:hover img { transform: scale(1.04); }
.case-wide h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.case-wide p { margin-top: 18px; color: var(--ink-soft); }
.case-wide .caption-chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- process (circle timeline) ---------- */
.process-section { padding: 100px 0; background: var(--bg-soft); }
.process-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 560px;
}
.process-list { margin-top: 54px; position: relative; }
.process-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.process-step {
  display: flex;
  gap: 26px;
  padding: 22px 0;
  position: relative;
}
.process-step .node {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.process-step .body h3 {
  font-weight: 700;
  font-size: 1.08rem;
}
.process-step .body p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------- editorial environments ---------- */
.editorial { padding: 110px 0; }
.editorial h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  max-width: 640px;
  letter-spacing: -0.02em;
}
.editorial p.desc { margin-top: 18px; max-width: 560px; color: var(--ink-soft); }
.editorial-terms {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.editorial-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 30px;
}
.editorial-row.align-end { justify-content: flex-end; }
.editorial-terms span {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.editorial-terms span.t1 { font-size: 2.6rem; }
.editorial-terms span.t2 { font-size: 1.7rem; color: var(--accent-dark); }
.editorial-terms span.t3 { font-size: 1.15rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- checklist section ---------- */
.checklist-section { padding: 100px 0; }
.checklist-section .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.checklist-section .photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.checklist-section .photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist-section h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- final big photo ---------- */
.final-shot { padding: 40px 0 110px; }
.final-shot .frame {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.final-shot .frame img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.final-shot .frame .tag {
  position: absolute;
  left: 28px;
  top: 28px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}
.final-shot .caption {
  margin-top: 20px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- nseo link grid ---------- */
.nseo-section { padding: 100px 0; background: var(--bg-soft); }
.nseo-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nseo-list { margin-top: 46px; border-top: 1px solid var(--line); }
.nseo-row {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease, background 0.2s ease;
}
.nseo-row:hover { padding-left: 18px; background: var(--surface); }
.nseo-row .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-faint);
  width: 46px;
  flex: none;
}
.nseo-row .name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex: 1;
}
.nseo-row .ring-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
}
.nseo-row .arrow {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}
.nseo-row:hover .arrow { transform: translateX(6px); }

/* card variant used at bottom of detail pages */
.card-nav { padding: 90px 0 110px; }
.card-nav h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
}
.card-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
.card-slide {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-top: 40px;
}
.card-slide .nseo-card { flex: 0 0 250px; scroll-snap-align: start; }
.nseo-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nseo-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(35,34,32,0.08); }
.nseo-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.nseo-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.nseo-card .card-label {
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nseo-card .card-label svg { width: 16px; height: 16px; flex: none; }

/* ---------- FAQ ---------- */
.faq-section { padding: 100px 0; }
.faq-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.faq-list { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q-mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.faq-list summary .plus { margin-left: auto; font-size: 1.3rem; color: var(--ink-faint); transition: transform 0.2s ease; }
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list .a {
  margin-top: 14px;
  padding-left: 46px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- final cta band ---------- */
.cta-band {
  padding: 90px 0;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.cta-band p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ---------- article body (detail pages) ---------- */
.article-body { padding: 70px 0; }
.article-body h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.article-body .lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 640px;
}
.article-body h2 {
  margin-top: 54px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.article-body p { margin-top: 16px; color: var(--ink-soft); max-width: 680px; }
.article-body table {
  margin-top: 22px;
  border-collapse: collapse;
  width: 100%;
  max-width: 680px;
}
.article-body table th, .article-body table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.92rem;
}
.article-body table th { background: var(--bg-soft); font-weight: 700; }
.article-body ul.dot { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.article-body ul.dot li { padding-left: 18px; position: relative; color: var(--ink-soft); font-size: 0.96rem; }
.article-body ul.dot li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; background: var(--accent); border-radius: 2px;
}
.breadcrumb { font-size: 0.82rem; color: var(--ink-faint); padding-top: 26px; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.66); padding: 40px 0 64px; }
.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
}
.site-footer .brand { color: #fff; flex: none; }
.site-footer .biz {
  font-size: 0.84rem;
  line-height: 1.8;
  text-align: right;
}
.site-footer .biz strong { color: #fff; }
.site-footer .copy {
  margin-top: 18px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 640px) {
  .site-footer .footer-row { flex-direction: column; align-items: flex-start; }
  .site-footer .biz { text-align: left; }
}

/* ---------- floating call button ---------- */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 26px rgba(226, 80, 31, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}
.floating-call:hover { background: var(--accent-dark); transform: translateY(-2px); }
.floating-call svg { width: 18px; height: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .mobile-nav { display: block; }
  .card-slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
  }
  .card-slide .nseo-card { flex: none; }
  .hero-first { grid-template-columns: 1fr; height: auto; min-height: 0; max-height: none; }
  .hero-first figure { height: auto; }
  .hero-first figure img { height: auto; min-height: 320px; max-height: 60vh; }
  .hero-first .side { padding: 40px 24px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .inset-case { flex-direction: column; text-align: center; }
  .inset-case .text p { max-width: none; }
  .case-wide .grid, .case-wide.reverse .grid { grid-template-columns: 1fr; }
  .case-wide.reverse .grid .photo { order: 0; }
  .checklist-section .grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid.cols-5, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .mid-hero { padding: 90px 0; }
  .floating-call span { display: none; }
  .floating-call { padding: 16px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .editorial-terms span.t1 { font-size: 2rem; }
  .editorial-terms span.t2 { font-size: 1.35rem; }
}
