@font-face {
  font-family: "Binggrae";
  src:
    local("Binggrae"),
    local("빙그레체"),
    url("../fonts/Binggrae.ttf") format("ttf"),
    url("../fonts/Binggrae.ttf") format("ttf");
  font-display: swap;
}

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --bg: #f7f3ee;
  --paper: #ffffff;
  --ink: #1f1a16;
  --muted: #6a625b;
  --line: #e7ded5;
  --wood-1: #211209;
  --wood-2: #4e2f1f;
  --wood-3: #7a4a2e;
  --accent: #8d5b3b;
  --shadow: 0 18px 40px rgba(52, 34, 24, 0.10);
  --shadow-soft: 0 10px 24px rgba(52, 34, 24, 0.07);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg {
  width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 14px;
  background: #111; color: #fff; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), transparent),
    repeating-linear-gradient(6deg, rgba(255,255,255,.028) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #211209 0%, #422719 42%, #6d4228 63%, #25140c 100%);
  border-bottom: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 12px 30px rgba(36,20,13,.18);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: "Binggrae", "Pretendard", sans-serif;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.brand-sub {
  font-size: 15px;
  letter-spacing: -0.03em;
}
.brand-main {
  margin-top: 4px;
  font-size: 36px;
  letter-spacing: .18em;
  white-space: pre;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.site-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255,255,255,.94);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .18s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { width: 100%; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247,243,238,0.98) 0%, rgba(247,243,238,0.90) 34%, rgba(247,243,238,0.25) 62%, rgba(247,243,238,0.04) 100%),
    linear-gradient(0deg, rgba(247,243,238,.32), rgba(247,243,238,0));
}
.hero-content {
  width: min(var(--max), calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding-top: 132px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}
.hero h1,
.section h2,
.network h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.07em;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 72px);
}
.hero-desc {
  margin: 24px 0 0;
  max-width: 620px;
  color: #4f463f;
  font-size: 18px;
  font-weight: 650;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }
.btn-wood {
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(90deg, rgba(255,255,255,.05), transparent),
    linear-gradient(135deg, #24140d 0%, #5b3822 54%, #2d190f 100%);
  box-shadow: 0 12px 28px rgba(55, 33, 21, .22);
}
.btn-outline {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(90,56,37,.2);
  color: #302720;
}
.btn.full { width: 100%; }

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}
.section-head h2,
.network h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}
.section-head h2::after,
.network h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 13px;
  background: var(--accent);
  border-radius: 999px;
}
.section-head p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
}
.section-head.compact { margin-bottom: 28px; }

.about-grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 42px;
  align-items: start;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card,
.space-card,
.service-card,
.contact-card,
.link-card {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.feature-card {
  min-height: 222px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #f7efe6;
  color: var(--wood-2);
  font-size: 35px;
}
.feature-card h3,
.space-card h3,
.service-card h3,
.network-card h3,
.contact-card h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.feature-card h3 { font-size: 19px; }
.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Carousel */
.carousel {
  position: relative;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform .45s ease;
}
.space-card {
  flex: 0 0 calc((100% - 54px) / 4);
  overflow: hidden;
}
.space-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
}
.space-card div {
  min-height: 112px;
  padding: 18px 16px 20px;
  text-align: center;
}
.space-card h3 { font-size: 20px; }
.space-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.carousel-btn {
  position: absolute;
  top: 88px;
  z-index: 2;
  width: 34px;
  height: 54px;
  border: 0;
  background: transparent;
  color: #e11919;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 8px rgba(255,255,255,.8);
}
.carousel-btn.prev { left: -35px; }
.carousel-btn.next { right: -35px; }

.services {
  padding-top: 54px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
}
.service-card {
  min-height: 160px;
  padding: 20px 12px;
  text-align: center;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 13px;
  border-radius: 16px;
  background: #f3ebdf;
  color: var(--wood-2);
  font-size: 23px;
}
.service-card h3 { font-size: 14px; }
.service-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* Network */
.network {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), transparent),
    repeating-linear-gradient(6deg, rgba(255,255,255,.03) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #21120a 0%, #4b2d1c 44%, #28170f 100%);
}
.network-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}
.section-kicker.light { color: #ddb192; }
.network-head {
  margin-bottom: 26px;
}
.network-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
}
.network-image {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 36px rgba(0,0,0,.2);
}
.network-image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}
.network-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.network-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.network-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 30px;
}
.network-card h3 {
  color: #fff;
  font-size: 17px;
}
.network-card p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1fr .8fr;
  gap: 30px;
}
.info-list { margin: 28px 0 0; }
.info-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 10px 0;
}
.info-list dt {
  color: var(--muted);
  font-weight: 750;
}
.info-list dd {
  margin: 0;
  font-weight: 850;
}
.contact-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-card h3 { font-size: 24px; }
.contact-card p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 16px;
}
.contact-card small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.link-stack {
  display: grid;
  gap: 18px;
}
.link-card {
  min-height: 108px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.link-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: var(--wood-2);
  font-size: 20px;
}
.link-card span {
  font-size: 18px;
  font-weight: 850;
}

.site-footer {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), transparent),
    linear-gradient(135deg, #24140d, #4a2c1c 52%, #24140d);
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 114px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.footer-brand .brand-sub { font-size: 13px; }
.footer-brand .brand-main { font-size: 31px; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 700;
}
.site-footer p {
  margin: 0;
  text-align: right;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .about-grid,
  .contact-grid,
  .network-layout { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .network-image img { min-height: 340px; }
}

@media (max-width: 760px) {
  .header-inner,
  .section,
  .network-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  .header-inner { min-height: 74px; }
  .brand-sub { font-size: 12px; }
  .brand-main { font-size: 30px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background:
      linear-gradient(135deg, #26150d, #5a3622 56%, #2a170e);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }

  .hero { min-height: 600px; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(247,243,238,0.98), rgba(247,243,238,0.76)),
      linear-gradient(0deg, rgba(247,243,238,.24), rgba(247,243,238,0));
  }
  .hero-content {
    min-height: 600px;
    padding-top: 92px;
  }
  .hero h1 { font-size: 42px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { margin-top: 24px; }
  .btn { width: 100%; }

  .section { padding: 64px 0; }
  .feature-grid,
  .service-grid,
  .contact-grid,
  .network-card-grid { grid-template-columns: 1fr; }

  .space-card { flex-basis: 82vw; }
  .carousel-btn.prev { left: -10px; }
  .carousel-btn.next { right: -10px; }

  .network-inner { padding: 52px 0; }
  .network-image img { min-height: 300px; }
  .network-card { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 26px 0;
  }
  .site-footer p { text-align: left; }
}

/* ===== 20260605 CI + compact network update ===== */

/* CI 기준
   - Binggrae 우선
   - 기본 샘플 비율: 작은 글자 18 / 큰 글자 36
   - 작은 글자는 붙여쓰기
   - 큰 글자는 '공  간' 기준
   - 중앙 정렬
*/
.brand,
.ci {
  font-family: "Binggrae", "Pretendard", sans-serif !important;
}

.ci {
  display: inline-flex;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
}

.ci-small {
  font-size: var(--ci-small, 18px);
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.ci-large {
  font-size: var(--ci-large, 36px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.ci-horizontal {
  --ci-small: 15px;
  --ci-large: 30px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 210px;
}

.ci-horizontal .ci-small,
.ci-horizontal .ci-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ci-stacked {
  --ci-small: 14px;
  --ci-large: 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.ci-stacked .ci-small,
.ci-stacked .ci-large {
  display: block;
  width: 100%;
  text-align: center;
}

.ci-stacked .ci-large {
  margin-top: 5px;
}

/* legacy brand span neutralize */
.brand-sub,
.brand-main {
  all: unset;
}

/* Header balance after horizontal CI */
.header-inner {
  min-height: 72px !important;
}

.site-nav {
  gap: 28px !important;
}

/* 네트워크 및 보안 서비스: 기존 대비 대폭 축소 + 좌측 이미지/우측 상자 */
.network-inner {
  padding: 28px 0 !important;
}

.network-layout {
  display: grid !important;
  grid-template-columns: minmax(390px, 0.95fr) minmax(420px, 1.05fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.network-visual-col {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.network-head {
  margin: 0 !important;
}

.network-head h2 {
  font-size: clamp(24px, 2.5vw, 34px) !important;
}

.network-head h2::after {
  margin-top: 8px !important;
}

.network-head p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.55;
}

.network-image {
  border-radius: 18px !important;
}

.network-image img {
  min-height: 0 !important;
  height: 260px !important;
  object-fit: cover !important;
}

.network-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-content: stretch !important;
}

.network-card {
  min-height: 124px !important;
  grid-template-columns: 48px 1fr !important;
  gap: 12px !important;
  padding: 16px 15px !important;
  border-radius: 16px !important;
}

.network-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  font-size: 26px !important;
}

.network-card h3 {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.network-card p {
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

/* 서비스 섹션과 네트워크 섹션 간격 축소 */
.services {
  padding-bottom: 56px !important;
}

@media (max-width: 1200px) {
  .ci-horizontal {
    min-width: 178px;
    --ci-small: 13px;
    --ci-large: 26px;
    gap: 10px;
  }

  .network-layout {
    grid-template-columns: 1fr !important;
  }

  .network-image img {
    height: 300px !important;
  }
}

@media (max-width: 760px) {
  .ci-horizontal {
    --ci-small: 12px;
    --ci-large: 24px;
    min-width: 150px;
    gap: 9px;
  }

  .ci-stacked {
    --ci-small: 12px;
    --ci-large: 24px;
  }

  .network-inner {
    padding: 36px 0 !important;
  }

  .network-card-grid {
    grid-template-columns: 1fr !important;
  }

  .network-card {
    min-height: 96px !important;
  }

  .network-image img {
    height: 220px !important;
  }
}

/* 🎨 [최종 수정] 슬라이더 좌우 화살표 버튼 완전 투명화 및 테두리 제거 */
.carousel-btn {
  color: #3d2a1d !important; /* 화살표 기호는 헤더 우드톤 유지 */
  background-color: transparent !important; /* ⬜ 배경을 완전 투명하게 통과! */
  border: none !important; /* 🚫 흰색 사각형 테두리선 완전히 삭제! */
  box-shadow: none !important; /* 혹시 모를 그림자 잔상까지 깔끔 제거 */
  font-size: 2rem !important; /* 화살표 크기가 살짝 작아 보인다면 조절 가능 */
  transition: all 0.3s ease;
}

/* 🔥 마우스를 올렸을 때(Hover) 흐릿하게 변화를 주어 누르는 맛 살리기 */
.carousel-btn:hover {
  color: #8c6239 !important; /* 마우스 올리면 조금 더 밝은 브라운으로 변경 */
  background-color: transparent !important; /* 마우스를 올려도 배경은 투명 유지 */
  transform: scale(1.1); /* 버튼이 살짝 커지는 세련된 효과 추가 */
}