:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --fg: #ffffff;
  --fg-2: #b0b0b0;
  --fg-3: #6b6b6b;
  --red: #c8181f;
  --red-hi: #e63946;
  --kakao: #FEE500;
  --ink: #111111;
  /* 밝은 배경 위 어두운 텍스트 공통(드롭다운/프로세스/서비스 설명 등) */
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* === Typography tokens — 모든 페이지/섹션 헤드 공통.
     새 페이지를 추가할 때도 이 토큰을 그대로 사용해 통일된 헤드 스타일을 유지한다. === */
  --t-section: clamp(36px, 5vw, 72px);
  /* 페이지·섹션 메인 타이틀 (.section-title) */
  --t-section-w: 900;
  /* 굵기 */
  --t-section-ls: -0.025em;
  /* 자간 */
  --t-section-lh: 1.1;
  /* 줄간격 */
  --t-desc: 16px;
  /* 섹션 제목 아래 설명문 공통 크기 */
}

/* === 공통 헤드 클래스 — 페이지·섹션 메인 타이틀은 모두 이 클래스를 사용.
   메인/about/앞으로 만들 페이지 모두 동일. 내부 강조는 .accent (빨강). === */
.section-title {
  font-size: var(--t-section);
  font-weight: var(--t-section-w);
  letter-spacing: var(--t-section-ls);
  line-height: var(--t-section-lh);
  color: var(--fg);
  word-break: keep-all;
}

.section-title .accent,
.section-title .red {
  color: var(--red);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Lenis 호환 — 브라우저 네이티브 smooth 와 충돌 방지 */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

/* 스크롤바 숨기기 — 스크롤 기능은 그대로 유지, 보이는 막대만 제거.
   다시 보이게 하려면 이 블록 전체를 지우거나 주석 처리하세요. */
html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE / 구 Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  /* Chrome / Safari / 신 Edge */
}

/* very subtle grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* =================================================================
   GNB — all 5 menus centered as one group, hamburger only on right
   ================================================================= */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* 헤더 높이 조절: 첫 번째 값(위아래 패딩)을 키우면 헤더가 더 두꺼워짐.
     기본 15px. 두 번째 값(44px)은 좌우 패딩이라 높이와 무관. */
  padding: 22px 36px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(3px);
  background: linear-gradient(to bottom, rgba(10, 10, 10, .35), rgba(10, 10, 10, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 46px;
}

.brand img {
  height: 46px;
  width: auto;
  display: block;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 44px;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.nav a {
  position: relative;
  color: var(--fg);
  padding: 8px 2px;
  transition: color .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.2, .7, .2, 1);
}

.nav a:hover {
  color: var(--fg);
}

.nav a:hover::after {
  width: 100%;
}

/* 모바일 햄버거 버튼 — 데스크톱에선 숨김 */
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 70;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 0 auto;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* CONTACT menu — same styling as other nav items */

/* === GNB dropdown ("애드코드" → 회사소개) === */
.nav-item.has-dropdown {
  position: relative;
}

.nav-item .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 110px;
  padding: 2px 0;
  background: #ffffff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}

/* 애드코드 ↔ 드롭다운 사이 투명한 hover 브리지 — 마우스가 빈 공간을 지나도 hover 유지 */
.nav-item .dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown,
.nav-item.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item .dropdown a {
  display: block;
  padding: 10px 14px;
  margin: 2px 6px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.nav-item .dropdown a::after {
  display: none;
  /* 드롭다운 아이템은 nav 의 빨강 언더라인 효과 비활성화 */
}

.nav-item .dropdown a:hover {
  color: var(--red);
  background: rgba(200, 24, 31, 0.12);
}

.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .25s ease, background-color .25s ease;
  justify-self: end;
}

.burger:hover {
  border-color: var(--red);
  background: rgba(200, 24, 31, .08);
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--fg);
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  /* 3개 페이지 1섹션 공통 높이 — 마퀴 위치를 페이지 간 동일하게 맞춤 */
  min-height: 490px;
  padding: 185px 44px 80px;
  display: grid;
  grid-template-rows: auto;
  gap: 32px;
  overflow: hidden;
  /* clean black w/ very subtle dark radial — no red slash */
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(255, 255, 255, 0.025), transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(200, 24, 31, 0.04), transparent 60%),
    var(--bg);
}

/* full-bleed visual hero (image under the transparent GNB) */
.hero-media {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 50px);
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media-label {
  position: absolute;
  left: 44px;
  bottom: 94px;
  /* 라벨 위치 — 키우면 위로 올라가고, 줄이면 아래로 내려감 */
  z-index: 2;
  font-weight: 900;
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-shadow: 0 6px 34px rgba(0, 0, 0, .55);
}

.hero-media-label span {
  display: block;
  min-height: 1.02em;
}

.hero-media-label .red {
  color: var(--red);
  /* ADCODE WORKS와 동일한 빨간색 (#c8181f) */
}

/* hero main grid — headline + right side */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  column-gap: 56px;
  align-items: end;
  position: relative;
  z-index: 2;
}

/* headline — fits in 3 lines on desktop */
.headline {
  font-weight: 700;
  font-size: clamp(26px, 3.7vw, 58px);
  line-height: 1.34;
  letter-spacing: -0.025em;
  color: var(--fg);
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: nowrap;
  /* desktop: force 3 lines via <br> */
}

/* intro: grey base text; white "types in" left→right. Plays once when .play is added
   (on scroll-into-view). No padding on .line so the white layer sits exactly over the grey. */
.headline .line {
  position: relative;
  display: block;
}

.headline .fill {
  display: inline-block;
}

.headline .fill-base {
  color: #555;
  clip-path: inset(0 0 0 0);
}

.headline .fill-top {
  position: absolute;
  top: -5px;
  left: 0;
  color: #fff;
  clip-path: inset(0 100% 0 0);
  /* hidden until revealed */
}

/* white reveals left→right (fillRight); grey is wiped away in sync (clearLeft) so the grey
   never shows behind the white text */
.headline.play .line:nth-child(1) .fill-top {
  animation: fillRight 1s steps(16) .3s forwards;
}

.headline.play .line:nth-child(1) .fill-base {
  animation: clearLeft 1s steps(16) .3s forwards;
}

.headline.play .line:nth-child(2) .fill-top {
  animation: fillRight 1s steps(17) 1.3s forwards;
}

.headline.play .line:nth-child(2) .fill-base {
  animation: clearLeft 1s steps(17) 1.3s forwards;
}

.headline.play .line:nth-child(3) .fill-top {
  animation: fillRight 1s steps(14) 2.3s forwards;
}

.headline.play .line:nth-child(3) .fill-base {
  animation: clearLeft 1s steps(14) 2.3s forwards;
}

@keyframes fillRight {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes clearLeft {
  to {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* inline image — collapsed at first; each slides in (width grows) pushing text aside,
   timed to when the white fill reaches its word: img1 (line 2) ≈ "만들어가는", img2 (line 3) ≈ "에이전시" */
.headline .inline-img {
  display: inline-block;
  vertical-align: middle;
  height: 0.7em;
  width: 0;
  margin: 0;
  opacity: 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.headline.play .line:nth-child(2) .inline-img {
  animation: imgIn .45s ease-out 2s both;
}

.headline.play .line:nth-child(3) .inline-img {
  animation: imgIn .45s ease-out 3s both;
}

@keyframes imgIn {
  from {
    width: 0;
    margin: 0;
    opacity: 0;
  }

  to {
    width: 1.4em;
    /* 2:1 ratio at 0.7em height */
    margin: 0 .2em;
    opacity: 1;
  }
}

/* reduced motion: skip the intro, jump to the final state */
@media (prefers-reduced-motion: reduce) {
  .headline .fill-top {
    animation: none !important;
    clip-path: inset(0 0 0 0);
  }

  .headline .fill-base {
    animation: none !important;
    clip-path: inset(0 0 0 100%);
  }

  .headline .inline-img {
    animation: none !important;
    width: 1.4em;
    margin: 0 .2em;
    opacity: 1;
  }
}

/* right column */
.right-col {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  justify-items: end;
  text-align: right;
  padding-bottom: 4px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .9s ease 1.0s forwards;
}

.sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 32ch;
  letter-spacing: -0.005em;
}

.english {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--fg-3);
  line-height: 1.9;
}

.english .big {
  display: block;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-top: 6px;
}

.english .big i {
  font-style: normal;
  color: var(--red);
}

.english .brand-logo-img {
  display: block;
  height: 30px;
  width: auto;
  margin-top: 8px;
  margin-left: auto;
  pointer-events: none;
  user-select: none;
}

/* pill download button (right column) */
/* 공통 다운로드 버튼 — 메인/회사소개/사업영역 1섹션 '회사소개서 ↓' 버튼 모두 이 클래스 사용 */
.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px 14px 24px;
  background: var(--red);
  color: var(--fg);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background-color .25s ease, padding .3s ease;
}

.pill-cta:hover {
  background: var(--red-hi);
  padding-right: 32px;
}

.pill-cta .arrow {
  transition: transform .25s ease;
}

.pill-cta:hover .arrow {
  transform: translateY(2px);
}

/* watermark wordmark — kept (no slash) */
.watermark {
  position: absolute;
  pointer-events: none;
  right: -40px;
  bottom: -28px;
  font-weight: 900;
  font-size: clamp(180px, 22vw, 360px);
  line-height: .85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  z-index: 0;
}

/* =================================================================
   MARQUEE  +  VIEW MORE PORTFOLIO
   ================================================================= */
.marquee-wrap {
  background: var(--bg);
}

/* 회사소개 — 마퀴는 히어로 바로 아래 (참고1 레이아웃) */
.about .marquee-wrap {
  margin-top: 0;
}

.marquee {
  position: relative;
  padding: 10px 0;
  overflow: hidden;
  border-top: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: roll 30s linear infinite;
  will-change: transform;
}

.marquee-track .item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 52px);
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.marquee-track .item .word {
  color: var(--fg);
}

.marquee-track .item .word.red {
  color: var(--red);
}

.marquee-track .item .word.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}

/* 구분자 — 가운뎃점(·)으로 가독성 강화 */
.marquee-track .item .sep {
  color: var(--fg);
  font-weight: 800;
  transform: translateY(-0.12em);
}

@keyframes roll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-foot {
  display: flex;
  justify-content: center;
  padding: 24px 44px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: transparent;
  color: var(--fg);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, padding .3s ease;
}

.pill-btn .arrow {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: transform .35s ease;
}

.pill-btn .arrow svg {
  width: 10px;
  height: 10px;
}

.pill-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  padding-right: 40px;
}

.pill-btn:hover .arrow {
  transform: translateX(4px);
}

/* =================================================================
   CONTACT — left big title + info; right form
   ================================================================= */
.contact {
  position: relative;
  padding: 120px 44px 120px;
  display: grid;
  grid-template-columns: minmax(280px, 38fr) minmax(0, 62fr);
  column-gap: 72px;
  row-gap: 64px;
  align-items: start;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

/* left side */
.contact-left {
  position: relative;
}

.contact-title {
  font-weight: 900;
  font-size: clamp(64px, 7vw, 116px);
  line-height: .92;
  letter-spacing: -0.035em;
  color: var(--fg);
}

.contact-title .dot {
  color: var(--red);
  display: inline-block;
  transform: translateY(-0.05em);
}

.contact-tag {
  margin-top: 28px;
  font-size: 19px;
  /* 좌측 큰 문구 — 더 키우려면 20~22px */
  font-weight: 600;
  line-height: 1.55;
  color: var(--fg);
  letter-spacing: -0.015em;
  max-width: 26ch;
  word-break: keep-all;
}

.contact-tag-sub {
  margin-top: 10px;
  font-size: 16px;
  /* 좌측 부문구 — 더 키우려면 17~18px */
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 32ch;
  word-break: keep-all;
}

.contact-info {
  margin-top: 44px;
  display: grid;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-info .row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: baseline;
}

.contact-info .k {
  /* font-family 미지정 → 본문 폰트(Pretendard) 상속, 폼 라벨과 통일 */
  font-size: 13px;
  /* 라벨 크기 — 키우려면 14px */
  font-weight: 500;
  /* 살짝 굵게 */
  letter-spacing: .12em;
  color: var(--fg-2);
  /* 더 밝은 회색 */
}

.contact-info .v {
  font-size: 16px;
  /* 값(이메일/전화번호 등) 크기 — 키우려면 17~18px */
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.contact-info .v a {
  transition: color .25s ease;
}

.contact-info .v a:hover {
  color: var(--red);
}

.contact-info .sns-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-info .sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.contact-info .sns-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.contact-info .sns-link:hover {
  color: var(--fg);
  border-color: var(--red);
  background: rgba(200, 24, 31, 0.08);
}

/* right side: form */
.form {
  display: grid;
  gap: 36px;
  padding-top: 8px;
}

.field-group {
  display: grid;
  gap: 12px;
}

.field-label {
  /* font-family 미지정 → 본문 폰트(Pretendard) 상속.
     이전엔 var(--mono)였는데 한글이 굴림으로 폴백돼서 폼 라벨에는 부적합 */
  font-size: 16px;
  /* 더 키우려면 14~15px */
  font-weight: 600;
  /* 살짝 더 두껍게 (한 단계 더 굵게는 700) */
  letter-spacing: .02em;
  /* 한글에 맞게 좁힘 (영문 라벨이면 .12em 정도 권장) */
  color: var(--fg-2);
  text-transform: uppercase;
}

.field-label .req {
  color: var(--red);
  margin-left: 2px;
}

/* visit-path chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 13px 22px;
  /* 박스 크기 — 더 키우려면 14px 26px */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  font-size: 15px;
  /* 칩 글자 크기 — 더 키우려면 16px */
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.chip:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.32);
}

.chip[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* inline 2-col input grid */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  color: var(--fg);
  font-size: 15px;
  letter-spacing: -0.005em;
  outline: none;
  transition: border-color .25s ease;
  width: 100%;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--red);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-3);
  font-weight: 500;
  /* 살짝 더 두껍게 */
  letter-spacing: 0.04em;
  /* 자간 넓힘 — 더 넓히려면 0.04em */
}

.field textarea {
  min-height: 120px;
  line-height: 1.6;
}

/* 동의 체크박스 — 둘 다 required 라서 미체크 시 브라우저가 자동으로 제출 차단 */
.consents {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--fg-2);
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent .cbox {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  transition: border-color .2s ease, background-color .2s ease;
  flex-shrink: 0;
}

.consent:hover .cbox {
  border-color: rgba(255, 255, 255, 0.32);
}

.consent input:checked+.cbox {
  background: var(--red);
  border-color: var(--red);
}

.consent input:checked+.cbox::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.consent input:focus-visible+.cbox {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px 18px 32px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color .25s ease, padding .3s ease;
}

.submit-btn:hover {
  background: var(--red-hi);
  padding-right: 36px;
}

.submit-btn .arrow {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  transition: transform .35s ease, border-color .25s ease;
}

.submit-btn:hover .arrow {
  transform: translateX(4px);
  border-color: #fff;
}

.submit-btn .arrow svg {
  width: 11px;
  height: 11px;
}

/* =================================================================
   FLOATING WIDGET RAIL — bottom right, 4 stacked circular buttons
   ================================================================= */
.rail {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.rail a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #0f0f0f;
  border: 1px solid var(--line-2);
  color: var(--fg);
  transition: transform .3s cubic-bezier(.2, .7, .15, 1), background-color .3s ease, border-color .3s ease;
  position: relative;
}

.rail a:not(.kakao):hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────
   회사소개서 · 블로그 · 문의하기 아이콘 크기
   ↓ 아래 --rail-icon 값(px)만 바꾸면 세 아이콘이 함께 커지고 작아집니다.
   (기본 22px → 28px 로 키운 상태)
   모바일 크기는 파일 아래쪽 @media 안의 --rail-icon 에서 조절하세요.
   ─────────────────────────────────────────────────────────── */
.rail a {
  --rail-icon: 28px;
}

.rail a svg {
  width: var(--rail-icon);
  height: var(--rail-icon);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 회사소개서 — 다른 라인 아이콘보다 크게 (이 숫자만 바꾸면 됨, 권장 28~38px) */
.rail a.brochure svg {
  width: 34px;
  height: 34px;
}

/* 블로그 — 검은 배경 위에 흰 'blog' 텍스트만 */
.rail a.blog svg {
  /* SVG 박스 크기(카카오 버블과 동일). 더 키우거나 줄이려면 이 숫자만 변경 */
  width: 40px;
  height: 40px;
}

.rail a.blog .blog-word {
  fill: #fff;
  /* 'blog' 글자 — 흰색 */
  stroke: none;
  font-family: 'Montserrat', 'Noto Sans KR', system-ui, sans-serif;
  font-weight: 800;
  font-size: 8px;
  /* 글자 크기 — 이 값만 키우거나 줄이면 됩니다 (권장 7 ~ 11px) */
  letter-spacing: -0.03em;
}

.rail a .tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0f0f0f;
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .15, 1);
}

.rail a:hover .tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Kakao — yellow, bigger speech bubble with TALK clearly readable */
.rail a.kakao {
  background: var(--kakao);
  border-color: var(--kakao);
  color: #3C1E1E;
  overflow: hidden;
}

.rail a.kakao:hover {
  background: #ffe913;
  border-color: #ffe913;
  transform: translateY(-2px);
}

.rail a.kakao .bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.rail a.kakao .bubble svg {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 40px;
  fill: #3C1E1E;
  stroke: none;
}

.rail a.kakao .bubble .talk {
  position: relative;
  z-index: 1;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #FEE500;
  transform: translateY(-2px);
  line-height: 1;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 44px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--fg-3);
  font-size: 12px;
  letter-spacing: .02em;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer .left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer .left img {
  height: 22px;
  width: auto;
  opacity: .8;
}

.footer .right {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer .right a {
  transition: color .25s ease;
}

.footer .right a:hover {
  color: var(--fg);
}

/* =================================================================
   scroll-reveal
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .15, 1), transform .9s cubic-bezier(.2, .7, .15, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: .08s;
}

.reveal[data-delay="2"] {
  transition-delay: .16s;
}

.reveal[data-delay="3"] {
  transition-delay: .24s;
}

.reveal[data-delay="4"] {
  transition-delay: .32s;
}

/* =================================================================
   ABOUT PAGE (/about)
   ================================================================= */

/* SECTION 1 — HERO INTRO */
.about-hero {
  position: relative;
  /* 메인(.hero) 1섹션과 통일 — 공통 높이 490px, 콘텐츠 상단 고정 */
  min-height: 490px;
  padding: 185px 44px 80px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--bg);
}

/* 배경 — about_1.png 풀블리드 + 좌측 어둡게(텍스트 가독성) + 좌상단 와인레드 글로우 */
.about-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 46% 60% at 4% 0%, rgba(200, 24, 31, 0.22), transparent 60%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.5) 55%, rgba(10, 10, 10, 0.62) 100%),
    url('/public/about/about_1.png') center / cover no-repeat;
}

/* 배경 이미지 위에선 워터마크가 시각적으로 겹치니 살짝 더 옅게 */
.about-hero .about-hero-bg .bg-num {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.05);
}

.about-hero .about-hero-bg .bg-text {
  color: rgba(200, 24, 31, 0.05);
}

/* 배경 장식 — 거대 'ABOUT' + '01' 워터마크 */
.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.about-hero-bg .bg-num {
  position: absolute;
  top: 130px;
  right: 4vw;
  font-size: clamp(140px, 18vw, 280px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}

.about-hero-bg .bg-text {
  position: absolute;
  bottom: 60px;
  right: -2vw;
  font-size: clamp(90px, 14vw, 220px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(200, 24, 31, 0.07);
}

/* 메인(.hero-grid)과 동일 — 좌:카피 / 우:설명+버튼, 하단정렬, 풀폭 */
.about-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  column-gap: 56px;
  align-items: end;
}

/* 좌측 텍스트 블록 */
.about-hero-copy {
  max-width: none;
}

/* 우측 컬럼 — 메인 .right-col과 동일 패턴 */
.about-hero-side {
  display: grid;
  gap: 24px;
  justify-items: end;
  text-align: right;
  padding-bottom: 4px;
}

/* "ADCODE MARKETING" 라벨 — 넓은 자간 (빨강 막대 제거) */
.about-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 5px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--fg-3);
}

.about-hero-label .red {
  color: var(--red);
}

/* 메인 大타이포 — 메인(.headline)과 통일 (크기/자간/행간/굵기) */
.about-hero-title {
  font-size: clamp(26px, 3.7vw, 58px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.025em;
  color: var(--fg);
  white-space: nowrap;
}

.about-hero-title .red {
  color: var(--red);
}

/* 1섹션 회사소개서 버튼은 공통 .pill-cta 클래스를 사용 (별도 정의 없음) */

/* 우측 캡션 — 짧은 빨강 라인 장식 (about_참고1 기준) */
.about-hero-caption {
  position: relative;
  padding-right: 22px;
  text-align: right;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg-2);
  letter-spacing: -0.005em;
}

/* 텍스트 오른쪽의 세로 빨강선 ( | ) */
.about-hero-caption::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
}

/* === Section 1 hero reveal — 줄별 마스크 슬라이드 + 우측 본문 stagger fade-up.
   .about-hero.played 가 붙으면 재생. 느리고 부드러운 ease-out 으로 세련된 느낌. === */
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  /* 글자 디센더가 마스크에 잘리지 않도록 살짝 여유 */
}

.hero-line__in {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 2.4s cubic-bezier(.2, .85, .25, 1);
  will-change: transform;
}

.about-hero.played .hero-line__in {
  transform: translateY(0);
}

.about-hero.played .hero-line:nth-child(1) .hero-line__in {
  transition-delay: .35s;
}

.about-hero.played .hero-line:nth-child(2) .hero-line__in {
  transition-delay: .65s;
}

.about-hero.played .hero-line:nth-child(3) .hero-line__in {
  transition-delay: .95s;
}

.about-hero.played .hero-line:nth-child(4) .hero-line__in {
  transition-delay: 1.25s;
}

.hero-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 2.2s cubic-bezier(.2, .85, .25, 1),
    transform 2.2s cubic-bezier(.2, .85, .25, 1);
  will-change: transform, opacity;
}

.about-hero.played .hero-fade {
  opacity: 1;
  transform: translateY(0);
}

.about-hero.played .hero-fade[data-stagger="1"] {
  transition-delay: 0.5s;
}

.about-hero.played .hero-fade[data-stagger="2"] {
  transition-delay: 1s;
}

.about-hero.played .hero-fade[data-stagger="3"] {
  transition-delay: 1.5s;
}

@media (prefers-reduced-motion: reduce) {

  .hero-line__in,
  .hero-fade {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* 우측 본문 — 우측 정렬 */
.about-hero-text {
  text-align: right;
  transform: translateY(-80px);
  max-width: 420px;
  margin-left: auto;
}

/* 리드 문단(첫 문단) — 더 크고 굵게, 흰색 (빨강 바 제거) */
.about-hero-lead {
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--fg);
  word-break: keep-all;
  margin: 0 0 26px;
}

/* 나머지 본문 — 부드러운 회색, 우측정렬 (parent 상속) */
.about-hero-rest {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-hero-rest p {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  word-break: keep-all;
}

/* SECTION 2 — SLOGAN (about_2 sticky scale reveal) */
.about-slogan-pin {
  position: relative;
  height: 220vh;
}

.about-slogan {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 140px 44px 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}

/* about_2 배경 — JS 가 스크롤 진행도에 따라 대각선 clip-path 와이프 제어.
   초기엔 좌상단 모서리만 보이는 상태(거의 비어있음)에서 우하단으로 사선으로 펼쳐짐. */
.about-slogan-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/public/about/about_2.png') center / cover no-repeat;
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  will-change: clip-path;
}

/* 분위기 전환용 오버레이 — 와이프가 진행될수록 진해짐(배포본처럼 균일하게 어둡게) */
.about-slogan-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.22) 100%),
    radial-gradient(ellipse 60% 55% at 0% 100%, rgba(200, 24, 31, 0.18), transparent 60%),
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.62));
  will-change: opacity;
}

/* 텍스트 초기 상태 — JS 가 진행도 후반에 staggered 로 노출 */
.about-slogan-line,
.about-slogan-desc {
  opacity: 0;
  will-change: transform, opacity;
}

/* 모바일: 핀 구간 축소 */
@media (max-width: 760px) {
  .about-slogan-pin {
    height: 130vh;
  }
}

/* 모션 최소화: 핀/스케일 해제하고 풀스크린 + 텍스트 정적 노출 */
@media (prefers-reduced-motion: reduce) {
  .about-slogan-pin {
    height: auto;
  }

  .about-slogan {
    position: relative;
    height: auto;
    min-height: 100vh;
  }

  .about-slogan-bg {
    clip-path: none;
  }

  .about-slogan-overlay {
    opacity: 0.55;
  }

  .about-slogan-line,
  .about-slogan-desc {
    opacity: 1;
  }

  .info-box {
    opacity: 1;
  }

  .info-box-text {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

.about-slogan-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

/* === Section 2 정보 박스 — 박스 안 텍스트 세로 무한 슬라이드 === */
.info-box {
  position: absolute;
  z-index: 3;
  width: 260px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: transparent;
  /* 이미지 와이프가 끝난 뒤에 나타남 (JS 가 .boxes-on 부여) */
  opacity: 0;
  transition: opacity .5s ease;
}

.about-slogan.boxes-on .info-box {
  opacity: 1;
}

.info-box-text {
  white-space: nowrap;
  color: var(--fg);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  animation: infoBoxSlide 4s linear infinite;
  /* 박스가 켜지기 전엔 슬라이드 정지 → 켜지면 처음부터 재생 */
  animation-play-state: paused;
  will-change: transform, opacity;
}

.about-slogan.boxes-on .info-box-text {
  animation-play-state: running;
}

.info-box-text .ib-key {
  color: var(--red);
  font-weight: 700;
}

@keyframes infoBoxSlide {
  0%   { transform: translateY(100%); opacity: 0; }
  20%  { transform: translateY(0);    opacity: 1; }
  80%  { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

/* 배치 — 메인 카피(좌측)와 겹치지 않게 우측·중앙에 자유 배치 */
.info-box--insight {
  top: 130px;
  right: 60px;
}

.info-box--strategy {
  top: 50%;
  left: 52%;
  transform: translateY(-50%);
}

.info-box--operate {
  bottom: 120px;
  right: 60px;
}

/* 셋이 완전히 동일하게(같은 속도·같은 타이밍) 움직이도록 delay 통일 */
.info-box-text { animation-delay: 0s; }

/* 상단 작은 라벨 — 좌측 가로 라인 + 모노 텍스트 */
.about-slogan-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  color: #888;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.about-slogan-eyebrow .dash {
  display: inline-block;
  width: 44px;
  height: 1px;
  background: #888;
}

/* 메인 슬로건 — 타이포는 .section-title 토큰 사용. 좌측 정렬 + 줄간격 120%. */
.about-slogan-title {
  margin-bottom: 60px;
  text-align: left;
  line-height: 1.2;
}

.about-slogan-line {
  display: block;
}

.about-slogan-line .red {
  color: var(--red);
}

/* 하단 설명 — 흰색, 좌측 정렬, 줄간격 150%, 자간 50 */
.about-slogan-desc {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  letter-spacing: 0.05em;
  text-align: left;
  max-width: 600px;
  word-break: keep-all;
}

/* === 스크롤 시 순차 등장 애니메이션 ===
   .about-slogan 에 .played 가 붙으면 각 요소가 transition-delay 로 차례로 등장 */
.about-slogan-anim {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2, .7, .15, 1),
    transform .7s cubic-bezier(.2, .7, .15, 1);
  will-change: transform, opacity;
}

.about-slogan-anim[data-anim="eyebrow"] {
  transform: translateX(-20px);
}

.about-slogan-anim[data-anim^="line"] {
  transform: translateY(30px);
}

.about-slogan-anim[data-anim="desc"] {
  transform: translateY(20px);
}

.about-slogan.played .about-slogan-anim {
  opacity: 1;
  transform: translate(0, 0);
}

.about-slogan.played .about-slogan-anim[data-anim="eyebrow"] {
  transition-delay: 0s;
}

.about-slogan.played .about-slogan-anim[data-anim="line-1"] {
  transition-delay: .2s;
}

.about-slogan.played .about-slogan-anim[data-anim="line-2"] {
  transition-delay: .4s;
}

.about-slogan.played .about-slogan-anim[data-anim="line-3"] {
  transition-delay: .6s;
}

.about-slogan.played .about-slogan-anim[data-anim="desc"] {
  transition-delay: .9s;
}

@media (prefers-reduced-motion: reduce) {

  /* 모션 줄이기: 즉시 표시, 트랜지션 제거 */
  .about-slogan-anim {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}

/* SECTION 3 — ORG CHART */
.about-org {
  padding: 120px 44px;
}

/* 헤더 — 좌: 라벨+大타이틀 / 우: 설명. 트리와 동일 폭으로 중앙 정렬(좌우 여백 확보) */
.about-org-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  max-width: 1500px;
  margin: 0 auto 60px;
}

/* 라벨 — "ORGANIZATION STRUCTURE" (자간 350, 보조 회색) */
.about-org-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--fg-3);
}

/* 조직구성 타이틀 — 공통 .section-title 토큰 사용(크기/자간/줄간격 상속), 좌측 정렬만 지정 */
.about-org-title {
  text-align: left;
}

/* 찾아오시는길 타이틀 — 공통 .section-title 토큰 사용, 좌측 정렬만 지정 */
.about-location-title {
  text-align: left;
}

/* 우측 설명 — 세로 빨강 라인 + 2줄 (참고2: 너무 오른쪽 X, 안쪽으로 들여쓰기) */
.about-org-desc {
  position: relative;
  padding-left: 20px;
  max-width: 320px;
  font-size: var(--t-desc);
  line-height: 1.7;
  color: var(--fg-2);
  word-break: keep-all;
}

.about-org-desc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--red);
}

/* ===== 가로 트리 — 좌측 ADCODE 박스 → 버스 라인 → 5개 부서 ===== */
.org {
  position: relative;
  display: flex;
  align-items: flex-start;
  max-width: 1500px;
  margin: 0 auto;
}

/* 루트: 와인레드 세로 박스 — 윗변을 부서 박스와 동일선상에 두고 세로로 길게 */
.org-root {
  flex: 0 0 200px;
  align-self: flex-start;
  margin-top: 44px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--red);
  border-radius: 18px;
}

.org-root img {
  height: 44px;
  width: auto;
  display: block;
}

/* 루트 → 경영지원부 왼쪽으로 연결되는 가로선 (부서 헤더 중앙 높이) */
.org-root::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 100%;
  width: 56px;
  height: 2px;
  background: var(--line-2);
}

.org-branches {
  flex: 1;
  position: relative;
  margin-left: 56px;
  padding-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

/* 가로 버스 라인(최상단) — 경영지원부 ~ 콘텐츠디렉터 중심 사이만 (오버행 없음) */
.org-bus {
  position: absolute;
  top: 0;
  left: calc(10% - 7px);
  right: calc(10% - 7px);
  height: 2px;
  background: var(--line-2);
}

.org-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 버스 → 부서 헤더 세로 드롭선 */
.org-drop {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 44px;
  background: var(--line-2);
}

/* 부서 헤더 — 검정 + 둥근 모서리 + 얇은 테두리 + 빨강 아이콘 */
.org-dept {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  background: #0d0d0d;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}

.org-ico {
  display: inline-flex;
  color: var(--red);
}

.org-ico svg {
  width: 22px;
  height: 22px;
}

.org-dept-name {
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: nowrap;
}

/* 하위팀 — 세로 나열, 밝은 회색 박스 + 어두운 글씨 */
.org-teams {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.org-teams li {
  background: #cfcfcf;
  color: #1a1a1a;
  text-align: center;
  padding: 16px 10px;
  border-radius: 10px;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* SECTION 4 — LOCATION */
.about-location {
  padding: 120px 44px;
}

/* 콘텐츠 폭/좌우 여백을 1섹션(.about-hero-inner)과 동일하게 통일 */
.about-location-inner {
  max-width: 1500px;
  margin: 0 auto;
}

/* 찾아오시는길 타이틀 — 폰트 크기는 위 .about-org-title 그룹 규칙에서 통일. 간격만 지정. */
.about-location-title {
  margin-bottom: 20px;
}

/* 타이틀 아래 안내 문구 — 좌측 정렬, 보조 회색(#676d6d). */
.about-location-desc {
  font-size: var(--t-desc);
  line-height: 1.5;
  color: var(--fg-3);
  text-align: left;
  word-break: keep-all;
  margin-bottom: 40px;
}

.about-map {
  border-radius: 12px;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid var(--line-2);
}

.about-map iframe {
  display: block;
  width: 100%;
  height: 315px;
  border: 0;
  filter: grayscale(0.15) brightness(0.95);
}

.about-address {
  margin-top: 40px;
  background: var(--red);
  color: #fff;
  padding: 24px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* 정보 한 묶음(아이콘 + 키 + 값) — 아이콘·키·값 간격 통일(8px) */
.about-address .addr-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 라인 SVG 픽토그램 — 흰 선, 글자 크기에 맞춰 정렬 */
.about-address .addr-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: #fff;
}

/* 정보 구분자 ㅣ */
.about-address .addr-sep {
  opacity: 0.55;
  margin: 0 8px;
}

.about-address .addr-key {
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* 값(': 내용')은 키와 달리 볼드 해제 */
.about-address .addr-val {
  font-weight: 400;
}

.about-address .hl {
  color: var(--kakao);
  /* 와인레드 배경 위에서 잘 보이는 강조 색 (#FEE500) */
  font-weight: 800;
  margin: 0 2px;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
    align-items: start;
  }

  .right-col {
    justify-items: start;
    text-align: left;
  }

  .watermark {
    font-size: 26vw;
    bottom: -8px;
    right: -20px;
  }

  .headline {
    white-space: normal;
    font-size: clamp(32px, 5vw, 60px);
  }

  .headline br {
    display: none;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-title {
    font-size: clamp(64px, 12vw, 100px);
  }

  /* about: 1100px 이하 — 사진 더 어둡게(가독성), 캡션 흐름 배치, 조직도 3열 */
  .about-hero {
    padding: 130px 32px 80px;
  }

  .about-hero-photo {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.66) 100%),
      url('/public/about/about_1.png') center / cover no-repeat;
  }

  /* 모바일/태블릿(스택) — 1컬럼, 우측 컬럼이 카피 아래로 내려와 왼쪽 정렬(Plan A) */
  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-side {
    justify-items: start;
    text-align: left;
    margin-top: 24px;
  }

  .about-hero-caption {
    text-align: left;
    padding: 0 0 0 16px;
  }

  .about-hero-caption::before {
    left: 0;
    right: auto;
  }

  .about-org {
    padding: 100px 32px;
  }

  .about-org-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .about-org-desc {
    max-width: none;
  }

  /* 트리: 루트 위 → 부서 아래(3열), 연결선 숨김 */
  .org {
    flex-direction: column;
  }

  .org-root {
    flex-basis: auto;
    width: 100%;
    height: 120px;
    margin-top: 0;
    margin-bottom: 36px;
  }

  .org-root::after {
    display: none;
  }

  .org-branches {
    /* .org 가 세로 배치로 바뀌면 align-items:flex-start 때문에 늘어나지 않음 → 폭 명시 */
    width: 100%;
    margin-left: 0;
    padding-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .org-bus,
  .org-drop {
    display: none;
  }

  /* 프로세스 — 1100 이하 세로 스택 (각 단계 한 줄, 막대 100%) */
  .process-track {
    flex-direction: column;
    gap: 12px;
  }

  .process-step {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .gnb {
    padding: 16px 20px;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.72);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 42px;
    height: 42px;
  }

  .gnb.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .gnb.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .gnb.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* 모바일 메뉴 — 헤더 바로 아래 풀폭 패널 (햄버거로 토글) */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 16px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    font-size: 16px;
  }

  .gnb.nav-open .nav {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 14px 4px;
  }

  .nav-item.has-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* "애드코드" 옆 펼침 표시(▾) — 모바일에서만. (데스크톱 .nav a::after 밑줄을 대체) */
  .nav-item.has-dropdown > a {
    position: relative;
  }

  .nav-item.has-dropdown > a::after {
    content: "▾";
    position: static;
    width: auto;
    height: auto;
    margin-left: 8px;
    background: none;
    transform: none;
    color: var(--fg-2);
    font-size: 0.8em;
    display: inline-block;
    transition: transform .2s ease;
  }

  .nav-item.has-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  /* 드롭다운 — 모바일에선 인라인으로 펼침(흰 박스 제거) */
  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-item.has-dropdown.open .dropdown {
    display: block;
  }

  .nav-item .dropdown a {
    margin: 0;
    border-radius: 8px;
    color: var(--fg-2);
  }

  .nav-item .dropdown a:hover {
    color: var(--red);
    background: rgba(200, 24, 31, 0.12);
  }

  .hero-media-label {
    left: 20px;
    bottom: 40px;
  }

  .hero {
    padding: 100px 20px 64px;
  }

  .headline {
    font-size: clamp(28px, 7.5vw, 46px);
    line-height: 1.4;
  }

  .headline .inline-img {
    height: 0.6em;
  }

  .english .big {
    font-size: 22px;
  }

  .about .marquee-wrap {
    margin-top: 0;
  }

  .marquee {
    padding: 16px 0;
  }

  .marquee-foot {
    padding: 16px 20px;
  }

  .marquee-track {
    animation-duration: 26s;
  }

  .contact {
    padding: 80px 20px;
  }

  .row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer {
    padding: 28px 20px;
  }

  .rail {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .rail a {
    width: 46px;
    height: 46px;
    --rail-icon: 24px;
    /* 모바일 아이콘 크기 (기본 19px → 24px) */
  }

  .contact-info .row {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  /* about: 모바일 패딩·간격 ↓, 조직도 1열 아코디언 */
  .about-hero {
    padding: 120px 20px 80px;
  }

  /* 모바일에선 워터마크 살짝 줄여서 노이즈 최소화 */
  .about-hero-bg .bg-num {
    top: 90px;
    right: 8px;
    font-size: 110px;
  }

  .about-hero-bg .bg-text {
    bottom: 30px;
    right: -10px;
    font-size: 84px;
  }

  .about-hero-eyebrow {
    margin-bottom: 24px;
  }

  .about-hero-title {
    margin-bottom: 44px;
    white-space: normal;
  }

  .about-slogan {
    padding: 80px 20px;
  }

  .about-slogan-title {
    margin-bottom: 40px;
  }

  .about-slogan-eyebrow {
    margin-bottom: 28px;
    font-size: 11px;
    letter-spacing: 0.25em;
  }

  .about-slogan-eyebrow .dash {
    width: 30px;
  }

  /* 정보 박스 — 모바일 축소 & 화면 안 재배치 */
  .info-box {
    width: 160px;
    height: 44px;
    border-radius: 12px;
  }

  .info-box-text {
    font-size: 13px;
  }

  .info-box--insight {
    top: 96px;
    right: 16px;
  }

  .info-box--strategy {
    top: 50%;
    left: auto;
    right: 16px;
  }

  .info-box--operate {
    bottom: 96px;
    right: 16px;
  }

  .about-org {
    padding: 80px 20px;
  }

  .about-org-head {
    margin-bottom: 48px;
  }

  .about-location {
    padding: 80px 20px 100px;
  }

  .about-map iframe {
    height: 300px;
  }

  .about-address {
    padding: 18px 22px;
    font-size: 14px;
  }

  /* 조직도 — 모바일 1열 (루트 위 → 부서 아래로 세로 나열) */
  .org-branches {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .org-root {
    height: 110px;
    margin-bottom: 26px;
  }

  .org-dept {
    justify-content: flex-start;
    padding-left: 18px;
  }
}

/* =================================================================
   FOOTER COPYRIGHT (centered, very bottom)
   ================================================================= */
.footer-copy {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}

/* =================================================================
   POLICY / SUCCESS MODALS
   ================================================================= */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(2px);
}

.policy-modal.open {
  display: flex;
}

.policy-modal .modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 34px 34px 38px;
}

.policy-modal .modal-box--center {
  max-width: 460px;
  text-align: center;
}

.policy-modal .modal-box h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.policy-modal .modal-box h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 6px;
  color: var(--fg);
}

.policy-modal .modal-box p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 8px;
  word-break: keep-all;
}

.policy-modal .modal-box ul {
  margin: 6px 0 8px 18px;
}

.policy-modal .modal-box li {
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-2);
}

.policy-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  color: var(--fg-3);
  display: inline-grid;
  place-items: center;
}

.policy-modal .modal-close:hover {
  color: var(--fg);
}

/* =================================================================
   BUSINESS (사업영역) — /business
   ================================================================= */

/* ---------- Section 1 — Intro ---------- */
.biz-hero {
  position: relative;
  /* 메인(.hero) 1섹션과 통일 — 공통 높이 490px, 콘텐츠 상단 고정 */
  min-height: 490px;
  padding: 185px 44px 80px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(200, 24, 31, 0.16), transparent 60%),
    var(--bg);
}

/* 메인(.hero-grid)과 동일 — 좌:카피 / 우:설명+버튼, 하단정렬, 풀폭 */
.biz-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  column-gap: 56px;
  align-items: end;
}

/* 우측 컬럼 — 메인 .right-col과 동일 패턴 */
.biz-hero-side {
  display: grid;
  gap: 24px;
  justify-items: end;
  text-align: right;
  padding-bottom: 4px;
}

/* "BUSINESS AREA" 라벨 — 자간 350, 보조회색(+AREA 빨강) */
.biz-hero-label {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--fg-3);
}

.biz-hero-label .red {
  color: var(--red);
}

/* 메인 카피 — 메인(.headline)과 통일 (크기/자간/행간/굵기) */
.biz-hero-title {
  font-size: clamp(26px, 3.7vw, 58px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.025em;
  color: var(--fg);
  white-space: nowrap;
}

.biz-hero-title .red {
  color: var(--red);
}

/* 우측 설명 — 오른쪽 정렬, 줄간격 150%, 자간 50, 텍스트 오른쪽 세로 빨강선 */
.biz-hero-caption {
  position: relative;
  padding-right: 22px;
  text-align: right;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg-2);
  letter-spacing: -0.005em;
}

.biz-hero-caption::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
}

/* ---------- Section 2 — Tabs + services ---------- */
.biz-services {
  padding: 120px 44px;
  background: var(--bg);
}

.biz-tabbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto 56px;
}

.biz-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.biz-tab {
  padding: 13px 28px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.biz-tab:hover {
  border-color: var(--red);
  color: var(--fg);
}

.biz-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.biz-deck {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .25s ease;
}

.biz-deck:hover {
  background: var(--red-hi);
}

/* 패널 — 기본 숨김, 활성만 표시 */
.biz-panel {
  display: none;
  max-width: 1500px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.biz-panel.is-active {
  display: grid;
}

/* 좌측 */
.biz-cat-title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: 0.005em;
  line-height: 1.5;
}

.biz-cat-desc {
  margin-top: 18px;
  font-size: var(--t-desc);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg-3);
  word-break: keep-all;
}

/* 아이콘 — 모든 이미지를 그림 영역에 맞춰 크롭해둠(여백 균일) → 동일 높이로 크게 표시 */
/* 4개 카테고리 아이콘 — 컬럼 폭을 꽉 채우도록 너비 기준(높이는 비율대로).
   높이 고정 시 정사각형 비율 이미지(디자인·콘텐츠)가 좁게 보이던 문제 해결. */
.biz-cat-icon {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 40px;
}

/* 우측 */
.biz-hint {
  margin-bottom: 18px;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-3);
}

.biz-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 기본: 닫힌 박스 — 제목만. hover 시 반전(밝게) + 내용만 표시.
   박스 높이는 내용(body)이 결정 → hover 시 높이 변화 없음 (제목은 절대배치 오버레이) */
.biz-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-2);
  padding: 26px 30px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .35s ease, background-color .35s ease;
}

/* 제목 — 박스에 절대 배치(높이에 영향 없음), 세로 중앙 */
.biz-item-head {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 30px;
  transition: opacity .3s ease;
}

/* 번호 — 아주 작게, 은은하게 */
.biz-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  transition: color .35s ease;
}

/* 제목 — 크게 */
.biz-name {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--fg);
}

/* 내용 — 일반 흐름(박스 높이 결정), 기본 숨김 */
.biz-item-body {
  opacity: 0;
  transition: opacity .3s ease;
}

/* hover/터치 — 반전: 밝은 배경, 제목 숨김, 내용 텍스트만 표시 (높이 고정) */
.biz-item:hover,
.biz-item.open {
  background: #f2f2f2;
  border-color: #f2f2f2;
}

.biz-item:hover .biz-item-head,
.biz-item.open .biz-item-head {
  opacity: 0;
}

.biz-item:hover .biz-item-body,
.biz-item.open .biz-item-body {
  opacity: 1;
}

.biz-tags {
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-spacing: 8px;
  margin-bottom: 12px;
  word-break: keep-all;
}

/* 반전 배경 위 — 어두운 본문 글씨 */
.biz-item-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  word-break: keep-all;
}

/* ---------- Section 3 — ADCODE PROCESS ---------- */
.biz-process {
  padding: 120px 44px;
  background: var(--bg);
}

.biz-process-head {
  max-width: 1500px;
  margin: 0 auto 64px;
}

.biz-process-desc {
  margin-top: 24px;
  font-size: var(--t-desc);
  font-weight: 500;
  line-height: 1.8;
  color: var(--fg-2);
  word-break: keep-all;
}

/* 프로세스 트랙 — 7단계 가로 한 줄 (감싸는 박스 없음) */
.process-track {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1500px;
  margin: 0 auto;
}

/* 한 단계 = 왼쪽 원형 배지 + 오른쪽만 둥근 막대 */
.process-step {
  position: relative;
  flex: 1;
  min-width: 0;
}

/* 막대 — 왼쪽 거의 직각 / 오른쪽만 크게 둥근 D자 */
.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 0 18px 0 28px;            /* 왼쪽 배지와 안 겹치게 */
  border-radius: 6px 36px 36px 6px;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}

/* 배지 — 작은 원, 막대 바깥 왼쪽에 분리 */
.step-badge {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

/* 단계별 색상 — 막대 / 배지(막대보다 한 톤 진하게) */
.step-01 .step-bar { background: #6b6b6b; } .step-01 .step-badge { background: #555555; }
.step-02 .step-bar { background: #8a8a8a; } .step-02 .step-badge { background: #6e6e6e; }
.step-03 .step-bar { background: #b0b0b0; } .step-03 .step-badge { background: #8f8f8f; }
.step-04 .step-bar { background: #e0e0e0; } .step-04 .step-badge { background: #b8b8b8; }
.step-05 .step-bar { background: #f5d4d4; } .step-05 .step-badge { background: #e8a5a5; }
.step-06 .step-bar { background: #e87a7a; } .step-06 .step-badge { background: #d44b4b; }
.step-07 .step-bar { background: #c8181f; } .step-07 .step-badge { background: #9e1218; }

/* ---------- 반응형 ---------- */
/* 히어로 스택 — about과 동일 분기점(≤1100). 우측 컬럼이 카피 아래로, 왼쪽 정렬(Plan A) */
@media (max-width: 1100px) {
  .biz-hero-inner {
    grid-template-columns: 1fr;
  }

  .biz-hero-side {
    justify-items: start;
    text-align: left;
    margin-top: 24px;
  }

  .biz-hero-title {
    white-space: normal;
  }

  .biz-hero-caption {
    text-align: left;
    padding: 0 0 0 16px;
  }

  .biz-hero-caption::before {
    left: 0;
    right: auto;
  }
}

@media (max-width: 900px) {
  .biz-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .biz-hero {
    padding: 120px 20px 80px;
  }

  .biz-hero-title {
    font-size: clamp(26px, 7.5vw, 44px);
  }

  .biz-services {
    padding: 80px 20px;
  }

  .biz-tabbar {
    gap: 8px;
    margin-bottom: 40px;
  }

  .biz-tablist {
    gap: 8px;
  }

  .biz-tab {
    padding: 10px 18px;
    font-size: 13px;
  }

  .biz-deck {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 13px;
  }

  /* 모바일: hover/탭 반전 대신 항상 펼친 상태로 표시 → 빈 박스(높이만 차지) 방지 */
  .biz-hint {
    display: none;
  }

  .biz-item {
    padding: 22px 24px;
  }

  /* 제목을 흐름 안으로(절대배치 해제) → 박스 높이가 내용에 맞춰짐 */
  .biz-item-head {
    position: static;
    padding: 0;
    margin-bottom: 12px;
    opacity: 1;
  }

  .biz-item-body {
    opacity: 1;
  }

  /* 어두운 박스 유지하므로 본문은 밝은 회색 */
  .biz-item-desc {
    color: var(--fg-2);
  }

  /* 반전(밝은 배경) 비활성화 — 모바일은 항상 동일하게 보이도록 */
  .biz-item:hover,
  .biz-item.open {
    background: var(--bg-2);
    border-color: var(--line);
  }

  .biz-item:hover .biz-item-head,
  .biz-item.open .biz-item-head,
  .biz-item:hover .biz-item-body,
  .biz-item.open .biz-item-body {
    opacity: 1;
  }

  .biz-item:hover .biz-item-desc,
  .biz-item.open .biz-item-desc {
    color: var(--fg-2);
  }

  .biz-process {
    padding: 80px 20px 100px;
  }

  /* 프로세스 — 모바일 글자/배지 약간 축소 */
  .step-bar {
    height: 64px;
    font-size: 14px;
    padding-left: 26px;
  }

  .step-badge {
    width: 30px;
    height: 30px;
    left: -16px;
    font-size: 12px;
  }
}